private void подобратьЖивотноеToolStripMenuItem_Click(object sender, EventArgs e) { frmSelect sel = new frmSelect(myConnection, User_Name,dgvPets); this.Hide(); sel.Show(this); }
private void btnQ_Click(object sender, EventArgs e) { frmSelect selec = new frmSelect(myConnection, user_name,dgvp); this.Hide(); selec.Show(this); }