public Reservation(WorkPlan _wp, DataTable dt)
 {
     InitializeComponent();
     table = dt;
     metroGrid2.DataSource = table;
     wp = _wp;
 }
 public void CallWorkPlan()
 {
     if (ActiveMdiChild != null)                 // 자식폼이 열려 있으면
     {
         if (this.ActiveMdiChild != mChildForm1) // 열려있는 자식폼이 Form1 이 아니면
         {
             //ActiveMdiChild.Close(); // 현재 활성화된 창을 닫아라
         }
         mChildForm1 = ShowOrActiveForm(mChildForm1, typeof(WorkPlan)) as WorkPlan;
     }
     else
     {
         mChildForm1 = ShowOrActiveForm(mChildForm1, typeof(WorkPlan)) as WorkPlan;
     }
 }
 public Reservation(WorkPlan _wp)
 {
     InitializeComponent();
     wp = _wp;
     FillGird();
 }