Пример #1
0
        private void button14_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            StudentAv upwork = new StudentAv();

            upwork.Show();
        }
Пример #2
0
 private void button13_Click_2(object sender, EventArgs e)
 {
     if (!NotAvilableTime.Instance.pnlContainer.Controls.ContainsKey("StudentAv"))
     {
         StudentAv std = new StudentAv();
         std.Dock = DockStyle.Fill;
         NotAvilableTime.Instance.pnlContainer.Controls.Add(std);
     }
     NotAvilableTime.Instance.pnlContainer.Controls["StudentAv"].BringToFront();
 }