| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- //
- // System.Windows.Forms.Label.cs
- //
- // Author:
- // stubbed out by Daniel Carrera ([email protected])
- // implemented for Gtk+ by Rachel Hestilow ([email protected])
- //
- // (C) 2002 Ximian, Inc
- //
- namespace System.Windows.Forms {
- using System.Drawing;
- // <summary>
- //
- // </summary>
-
- public class Label : Control {
-
- public Label () : base ()
- {
- }
-
- //public virtual bool AutoSize {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public FlatStyle FlatStyle {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public Image Image {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public ContentAlignment ImageAlign {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public int ImageIndex {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public ImageList ImageList {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public ImeMode ImeMode {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public int PreferredHeight {
- // get {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public int PreferredWidth {
- // get {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public bool TabStop {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- [MonoTODO]
- public virtual ContentAlignment TextAlign {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- //[MonoTODO]
- //public bool UseMnemonic {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
- //
- // --- Public Methods
- //
- //[MonoTODO]
- //public virtual bool Equals(object o);
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //public static bool Equals(object o1, object o2);
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //public void Select()
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //public override string ToString()
- //{
- // throw new NotImplementedException ();
- //}
- //
- // --- Public Events
- //
- //[MonoTODO]
- //public event EventHandler AutoSizeChanged {
- // add {
- // throw new NotImplementedException ();
- // }
- // remove {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public event EventHandler TextAlignChanged {
- // add {
- // throw new NotImplementedException ();
- // }
- // remove {
- // throw new NotImplementedException ();
- // }
- //}
- //
- // --- Protected Methods
- //
- //[MonoTODO]
- //protected Rectangle CalcImageRenderBounds( Image image, Rectangle rect, ContentAlignment align)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override AccessibleObject CreateAccessibilityInstance()
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected void Dispose()
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void Dispose(bool val)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected void DrawImage( Graphics g, Image img, Rectangle r, ContentAlignment align)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void OnEnabledChanged (EventArgs e)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void OnFontChanged (EventArgs e)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void OnPaint (PaintEventArgs e)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void OnParentChanged (EventArgs e)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- protected override void OnTextChanged (EventArgs e)
- {
- ((Gtk.Label) Widget).Text = Text;
- }
- //[MonoTODO]
- //protected override void OnVisibleChanged (EventArgs e)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override bool ProcessMnemonic(char charCode)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected ContentAlignment RtlTranslateAlignment( ContentAlignment alignment)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected HorizontalAlignment RtlTranslateAlignment( HorizontalAlignment alignment)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected virtual void Select(bool val1, bool val2)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void SetBoundsCore( int x, int y, int width, int height BoundsSpecified specified)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected void UpdateBounds()
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected void UpdateBounds(int b1, int b2, int b3, int b4)
- //{
- // throw new NotImplementedException ();
- //}
- //[MonoTODO]
- //protected override void WndProc(ref Message m)
- //{
- // throw new NotImplementedException ();
- //}
- internal override Gtk.Widget CreateWidget () {
- return new Gtk.Label (Text);
- }
- }
- }
|