private void btnDrpDb_Click(object sender, EventArgs e) { Drop_Database drop_database = new Drop_Database(); this.Hide(); drop_database.Show(); }
private void button1_Click(object sender, EventArgs e) { if (comboBox1.SelectedItem.ToString() != "") { DataLayer.Configuration.DropDatabase(comboBox1.SelectedItem.ToString()); Drop_Database drop = new Drop_Database(); this.Dispose(); drop.Show(); } }