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

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