private void Reg_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { this.Visible = false; FormAddUser form = new FormAddUser(); form.ShowDialog(); this.Visible = true; }
private void button2_Click(object sender, EventArgs e) { this.Visible = false; FormAddUser form = new FormAddUser(); form.ShowDialog(); dataGridView1.Rows.Clear(); WorkWithBD.ReadUserForAdminFormForDataGirdView(dataGridView1); this.Visible = true; }