예제 #1
0
 private void btnBack_Click(object sender, EventArgs e)
 {
     FrmConfig formConf = new FrmConfig();
     this.Visible = false;
     formConf.ShowDialog();
     this.Close();
 }
예제 #2
0
 private void menuItemExit_Click(object sender, EventArgs e)
 {
     var ans = MessageBox.Show("Are you sure you want to exit the process manager?", "Confirm Exit", MessageBoxButtons.YesNo, MessageBoxIcon.Stop);
     if(ans == DialogResult.Yes)
     {
         FrmConfig formConf = new FrmConfig();
         this.Visible = false;
         formConf.ShowDialog();
         this.Close();
     }
     else
     {
         return;
     }
 }