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