Пример #1
0
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     using (frmResouceScheduling frm = new frmResouceScheduling())
     {
         frm.ResourceSchedulingBEList = list;
         if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             list.Add(frm.SchedulerShift);
             schedulerShiftBindingSource.DataSource = list;
             gridControl1.RefreshDataSource();
         }
     }
    
     
     //bool x = _ResourceScheduling.Date_IsContained(dateEdit1.DateTime);
 }
Пример #2
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            using (frmResouceScheduling frm = new frmResouceScheduling())
            {
                frm.ResourceSchedulingBEList = list;
                if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    list.Add(frm.SchedulerShift);
                    schedulerShiftBindingSource.DataSource = list;
                    gridControl1.RefreshDataSource();
                }
            }


            //bool x = _ResourceScheduling.Date_IsContained(dateEdit1.DateTime);
        }