示例#1
0
        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;
        }
示例#2
0
 public HallForm(GridHall gridhall, GridHallShow gridhallshow)
 {
     _gridHall     = gridhall;
     _gridHallShow = gridhallshow;
     InitializeComponent();
 }