public FormViewContainerControl(FormView view) { if (view == null) { throw new ArgumentNullException("view"); } this._view = view; }
/// <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(); }
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(); }