public frmMemberInfo(frmCourtTime frm, Form f, string rid)
 {
     frmcourt = frm;
     parent = f;
     reserve_id = int.Parse(rid);
     InitializeComponent();
 }
 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();
 }
 private void Court9_Click(object sender, EventArgs e)
 {
     frmCourtTime court_time = new frmCourtTime(this, this, reserve_data, 9, dtpDate.Text);
     court_time.Show();
     this.Enabled = false;
 }