private void button1_Click(object sender, EventArgs e) { ViewUpdate viewPar = new ViewUpdate { Text = "Список родителей" }; viewPar.ShowDialog(); }
private void button1_Click_1(object sender, EventArgs e) { ViewUpdate viewCh = new ViewUpdate { Text = "Список учеников" }; viewCh.ShowDialog(); }