private void button4_Click(object sender, EventArgs e) { FormGL FormEditBD = new FormGL(); Hide(); FormEditBD.Show(); }
private void button5_Click(object sender, EventArgs e) { FormGL FormClients = new FormGL(); Hide(); FormClients.Show(); }
private void button3_Click(object sender, EventArgs e) { FormGL FormAddItems = new FormGL(); Hide(); FormAddItems.Show(); }
private void button6_Click(object sender, EventArgs e) { FormGL FormRemont = new FormGL(); Hide(); FormRemont.Show(); }
private void button3_Click(object sender, EventArgs e) { FormGL FormUslugi = new FormGL(); Hide(); FormUslugi.Show(); }
private void button1_Click(object sender, EventArgs e) { if ((comboBox1.Text == "admin") & (textBox2.Text == "123")) { FormGL FormAutorisation = new FormGL(); Hide(); FormAutorisation.Show(); } else { MessageBox.Show("Введен неверный пароль. Попробуйте еще раз!", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error); } }