コード例 #1
0
 private void ChangePassword_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         this.Hide();
         //Form.ActiveForm.SendToBack();
         studentWorks.SendToBack();
         //Form.ActiveForm.SendToBack();
         ChangePass chpass = new ChangePass(numStudent, studentWorks);
         chpass.Show();
         chpass.BringToFront();
         studentWorks.Activate();
         Form.ActiveForm.SendToBack();
         //this.Opacity -= .03;
         //if (this.Opacity == 0)
         //    this.Hide();
     }
     else
     {
         this.Hide();
     }
 }
コード例 #2
0
 private void сменитьПарольToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ChangePass chpass = new ChangePass(numStudent,this);
     chpass.Show();
 }