Beispiel #1
0
        private void OnDeleteAspAction(SyncStatus status)
        {
            DeleteAspForm form = new DeleteAspForm();

            if (this.SnapIn.Console.ShowDialog(form) == DialogResult.OK)
            {
                status.ReportProgress(0, 0, SnapInResources.ServerFormView_Action_AspDelete_Progress);

                this.GetConfigurator().DeleteAspSite(form.DeleteDatabase);
                //Thread.Sleep(10000);
            }
        }
        /// <summary>
        /// Handles the Click event of the buttonUninstallAsp 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 buttonUninstallAsp_Click(object sender, EventArgs e)
        {
            DeleteAspForm form = new DeleteAspForm();

            if (this.ParentFormView.SnapIn.Console.ShowDialog(form) == DialogResult.OK)
            {
                //status.ReportProgress(0, 0, SnapInResources.ServerFormView_Action_AspDelete_Progress);

                this.GetConfigurator().DeleteAspSite(form.DeleteDatabase);
                //Thread.Sleep(10000);

                InitAspBlock();
            }
        }
Beispiel #3
0
        private void OnDeleteAspAction(SyncStatus status)
        {
            DeleteAspForm form = new DeleteAspForm();

            if (this.SnapIn.Console.ShowDialog(form) == DialogResult.OK)
            {
                status.ReportProgress(0, 0, SnapInResources.ServerFormView_Action_AspDelete_Progress);

                this.GetConfigurator().DeleteAspSite(form.DeleteDatabase);
                //Thread.Sleep(10000);
            }
        }