示例#1
0
文件: Form1.cs 项目: PisZzz/PP
        private void расселениеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RasselenieForm form5 = new RasselenieForm();

            form5.Text = "Расселение";
            form5.ShowDialog();
        }
示例#2
0
        private void Rasselenie_ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RasselenieForm rasselenieForm = new RasselenieForm();

            rasselenieForm.Text = "Рассиление";
            try
            {
                rasselenieForm.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK);
            }
        }