예제 #1
0
 private void closeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainApp.GetDBConnection().closeDBConnection();
     System.Environment.Exit(0);
 }
예제 #2
0
 private void disconnectToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainApp.GetDBConnection().closeDBConnection();
     disconnectToolStripMenuItem.Enabled = false;
     connectToolStripMenuItem.Enabled    = true;
 }