Ejemplo n.º 1
0
 private void cleanupToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         CleanupForm cleanupForm = new CleanupForm();
         cleanupForm.MdiParent = this;
         cleanupForm.Show();
     } catch (Exception ex) {
         MessageBox.Show(ex.Message);
     }
 }
 private void BtnCloseMacroSplitterClick(object sender, EventArgs e)
 {
     try {
         if (CommonUtils.ShowConfirmation("Are you sure you want to close?") == DialogResult.Yes) {
             if (splitPerformed) {
                 bool disposing = this.ParentForm.Disposing  ;
                 if (CommonUtils.ShowConfirmation("Do you want to proceed to level one cleanup?") == DialogResult.Yes) {
                     CleanupForm form = new CleanupForm(txtOutputDir.Text);
                     form.MdiParent = this.MdiParent;
                     form.Show();
                 }
             }
             this.Close();
         }
     } catch (Exception ex) {
         CommonUtils.ShowError(ex.Message, ex);
     }
 }
 private void btnSplitFile_Click(object sender, EventArgs e)
 {
     try {
         StartSplittingFile();
         //FrontendUtils.ShowInformation("Splitting done!");
         btnSplitFile.Enabled = false;
         if (CommonUtils.ShowConfirmation("Splitting done.\nDo you want to proceed to level one cleanup?") == DialogResult.Yes) {
             CleanupForm form = new CleanupForm(txtOutputDir.Text);
             form.MdiParent = this.MdiParent;
             form.Show();
         }
     } catch (Exception ex) {
         CommonUtils.ShowError(ex.Message, ex);
     }
 }
Ejemplo n.º 4
0
 private void firstLevelCleanupToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         CleanupForm form = new CleanupForm();
         form.MdiParent = this;
         form.Show();
     } catch (Exception ex) {
         FrontendUtils.ShowError(ex.Message);
     }
 }
Ejemplo n.º 5
0
 private void firstLevelCleanupToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         FrontendUtils.SendUsageNotification("First Level Cleanup started by " + loggedInUser);
         CleanupForm form = new CleanupForm();
         form.MdiParent = this;
         form.Show();
     } catch (Exception ex) {
         FrontendUtils.ShowError(ex.Message, ex);
     }
 }
 private void BulkMacroSplitterTreeForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     try {
         if (FrontendUtils.ShowConformation("Do you want to proceed to level one cleanup?") == DialogResult.Yes) {
             CleanupForm form = new CleanupForm(txtOutputDir.Text);
             form.MdiParent = this.MdiParent;
             form.Show();
         }
     } catch (Exception ex) {
         FrontendUtils.ShowError(ex.Message, ex);
     }
 }