private void добавитьГородToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var countries = countryDB.GetList();

            if (countries.Count == 0)
            {
                MessageBox.Show("Вы ещё не добавили страну!");
                return;
            }
            CityForm cityForm = new CityForm(countryDB, dB);

            cityForm.ShowDialog();
            LoadBox();
        }
예제 #2
0
파일: Form1.cs 프로젝트: Meltos/Bufet1131
        private void добавитьГородToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CityForm cityForm = new CityForm();

            cityForm.ShowDialog();
        }