Example #1
0
        public void NewEntity()
        {
            if (ReadOnly)
            {
                return;
            }
            ClosedDaysForm fwday = new ClosedDaysForm();

            fwday.Country = Country;
            if (fwday.ShowDialog() == DialogResult.OK)
            {
                LoadDays();
                clearSelectedItems();
            }
        }
Example #2
0
 public void NewEntity()
 {
     if (ReadOnly) return;
     ClosedDaysForm fwday = new ClosedDaysForm();
     fwday.Country = Country;
     if (fwday.ShowDialog() == DialogResult.OK)
     {
         LoadDays();
         clearSelectedItems();
     }
 }