Inheritance: Microsoft.ManagementConsole.View
 public FormViewContainerControl(FormView view)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     this._view = view;
 }
Example #2
0
        /// <summary>
        /// Uses the associated Windows Forms view to initialize the control that implements the interface.
        /// </summary>
        /// <param name="view">The associated <see cref="T:Microsoft.ManagementConsole.FormView"></see> value.</param>
        void IFormViewControl.Initialize(FormView view)
        {
            this.ParentFormView = (UpdateFormView)view;

            InitializeUpdateInfoBlock();
        }
Example #3
0
        public void Initialize(FormView formView)
        {
            Interface.LoadOptions();

            if(Interface.Parent != null) {
                Interface.OnModuleChanged -= ((HostControl)Interface.Parent).ModuleChangedHandler;
            }

            Interface.OnModuleChanged += ModuleChangedHandler;
            view = formView;
        }
 public void Initialize(FormView view)
 {
     UpdateData();
 }