Button

Button marshal by reference, disposable

System. Windows .Forms (system. windows .forms.dll) class

This Control represents the standard windows pushbutton. Derived from ButtonBase , it adds the ability to specify a DialogResult that will be returned from the Form.ShowDialog() method if this button is clicked to dismiss it.

 public class  Button  : ButtonBase : IButtonControl {  // Public Constructors  public  Button  ();  // Public Instance Properties  public virtual DialogResult  DialogResult  {set; get; }  // implements IButtonControl   // Protected Instance Properties  protected override CreateParams  CreateParams  {get; }  // overrides ButtonBase   // Public Instance Methods  public virtual void  NotifyDefault  (bool  value  );  // implements IButtonControl  public void  PerformClick  ();  // implements IButtonControl  public override string  ToString  ();  // overrides System.ComponentModel.Component   // Protected Instance Methods  protected override void  OnClick  (EventArgs  e  );  // overrides Control  protected override void  OnMouseUp  (MouseEventArgs  mevent  );  // overrides ButtonBase  protected override bool  ProcessMnemonic  (char  charCode  );  // overrides Control  protected override void  WndProc  (ref Message  m  );  // overrides ButtonBase   // Events  public event EventHandler  DoubleClick  ;  // overrides Control  } 

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponen, System.IDisposable) Control(IOleContro, IOleObject , IOleInPlaceObject , IOleInPlaceActiveObject , IOleWindow , IViewObject , IViewObject2 , IPersist , IPersistStreamInit , IPersistPropertyBag , IPersistStorage , IQuickActivate , System.ComponentModel.ISynchronizeInvoke , IWin32Window) ButtonBase Button(IButtonControl)



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net