private void bntHall_Click(object sender, EventArgs e) { GridHall gridhall = GridViewHall; GridHallShow gridhallshow = GridViewShowHall; HallForm hallform = new HallForm(gridhall, gridhallshow); hallform.Owner = this; hallform.Show(); dataGridViewCoach.Visible = false; dataGridViewClient.Visible = false; dataGridViewLessons.Visible = false; dataGridViewHall.Visible = true; }
public HallForm(GridHall gridhall, GridHallShow gridhallshow) { _gridHall = gridhall; _gridHallShow = gridhallshow; InitializeComponent(); }