ISupportInitialize

ISupportInitialize

System.ComponentModel (system.dll) interface

Classes should implement this interface if they support the batched initialization of their properties. You would also implement it if you need to know that you are in the designer in your constructor, as DesignMode is not yet valid (because your Site will not have been set).

BeginInit() is called to start batching updates, and EndInit() ends batching and normally causes any update events to be raised.

 public interface  ISupportInitialize  {  // Public Instance Methods  public void  BeginInit  ();    public void  EndInit  (); } 

Implemented By

System.Diagnostics.{EventLog , PerformanceCounter} , System.IO.FileSystemWatcher , System.Timers.Timer , System.Windows.Forms.{AxHost , DataGrid , NumericUpDown , StatusBarPanel , TrackBar}



. 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