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]); } } }
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]); } } }