Exemple #1
0
        private void AddBreak()
        {
            break1.From = DateTime.Now;
            break1.To   = DateTime.Now.AddHours(1);
            break1.Name = DateTime.Now.Ticks.ToString();
            break1.Paid = false;
            break1.WorkingCalendarID = _dtCtrl.GetWorkingCalendarList()[0].ID;

            break1.ID = _dtCtrl.AddBreak(break1);
        }