Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            ChangePass cp = new ChangePass(houseKeeper);

            cp.RefToLastForm = this;
            this.Visible     = false;
            cp.Show();
        }
Пример #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            ChangePass cp = new ChangePass(secretary);

            cp.RefToLastForm = this;
            this.Visible     = false;
            cp.Show();
        }
Пример #3
0
        private void button3_Click(object sender, EventArgs e)//change password
        {
            ChangePass cp = new ChangePass(student);

            cp.RefToLastForm = this;
            this.Visible     = false;
            cp.Show();
        }