Ejemplo n.º 1
0
        public void NewEntity()
        {
            if (ReadOnly)
            {
                return;
            }
            ClosedDaysForm fwday = new ClosedDaysForm();

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