public frmMember(frmMain fm, frmCourtTime frm, Form f, string stime, int c)
 {
     frmcourt = frm;
     frmmain = fm;
     parent = f;
     start_time = stime;
     end_time = stime;
     court = c;
     InitializeComponent();
 }
 public frmCourtTime(frmMain frm, Form f, DataTable d, int c, string dt)
 {
     frmmain = frm;
     parent = f;
     data = d;
     court = c;
     datereserve = dt;
     InitializeComponent();
     lblCourt.Text += " " + court.ToString();
     tlpHours.CellPaint += new TableLayoutCellPaintEventHandler(tlpHours_CellPaint);
 }