예제 #1
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 = (ServerFormView)view;

            LoadDataFromConfigurator();
        }
예제 #2
0
 /// <summary>
 /// Handles the Click event of the buttonInstallAsp control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void buttonInstallAsp_Click(object sender, EventArgs e)
 {
     ServerFormView.CreateAspSite(this.GetConfigurator(), this.ParentFormView.SnapIn.Console, null);
     InitAspBlock();
 }