Beispiel #1
0
 void NewFeast()
 {
     if (ReadOnly) return;
     FormFeast ffeast = new FormFeast();
     ffeast.Country = this.Country;
     if (ffeast.ShowDialog() == DialogResult.OK)
     {
         Feast[] newFeast = ffeast.GetNewFeast();
         for (int i = 0; i < newFeast.Length; i++)
         {
             _bindingFeast.Add(newFeast[i]);
         }
     }
 }
Beispiel #2
0
        void NewFeast()
        {
            if (ReadOnly)
            {
                return;
            }
            FormFeast ffeast = new FormFeast();

            ffeast.Country = this.Country;
            if (ffeast.ShowDialog() == DialogResult.OK)
            {
                Feast[] newFeast = ffeast.GetNewFeast();
                for (int i = 0; i < newFeast.Length; i++)
                {
                    _bindingFeast.Add(newFeast[i]);
                }
            }
        }