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

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