Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ViewUpdate viewPar = new ViewUpdate
            {
                Text = "Список родителей"
            };

            viewPar.ShowDialog();
        }
Пример #2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            ViewUpdate viewCh = new ViewUpdate
            {
                Text = "Список учеников"
            };

            viewCh.ShowDialog();
        }