/// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     SuspendLayout();
     PropertyTabChanged += new PropertyTabChangedEventHandler(XPropertyGrid_PropertyTabChanged);
     ResumeLayout(false);
 }
Example #2
0
        /// <summary>
        /// Extends BeginInvoke so that when a state object is not needed, null does not need to be passed.
        /// <example>
        /// propertytabchangedeventhandler.BeginInvoke(s, e, callback);
        /// </example>
        /// </summary>
        public static IAsyncResult BeginInvoke(this PropertyTabChangedEventHandler propertytabchangedeventhandler, Object s, PropertyTabChangedEventArgs e, AsyncCallback callback)
        {
            if (propertytabchangedeventhandler == null)
            {
                throw new ArgumentNullException("propertytabchangedeventhandler");
            }

            return(propertytabchangedeventhandler.BeginInvoke(s, e, callback, null));
        }