Пример #1
0
 private void ChangeLogoutOpener_Click(object sender, EventArgs e)
 {
     ChangePasswordPanel.SendToBack();
     ChangePasswordPanel.Visible = false;
     LogoutPanel.BringToFront();
     LogoutPanel.Visible = true;
 }
Пример #2
0
        public SettingsPage(int recievedform, string email)
        {
            InitializeComponent();
            returnform = recievedform;
            this.email = email;
            Image myimage = new Bitmap(MySQLFunctions.getProfileImage(email));

            pictureBox1.BackgroundImage = myimage;
            user_button.Text            = MySQLFunctions.getName(email);
            ChangePasswordPanel.Visible = false;
            ChangePasswordPanel.SendToBack();
            LogoutPanel.Visible = false;
            LogoutPanel.BringToFront();
        }
Пример #3
0
 private void PasswordCancel_Click(object sender, EventArgs e)
 {
     ChangePasswordPanel.SendToBack();
     ChangePasswordPanel.Visible = false;
 }
Пример #4
0
 private void CancellogoutButton_Click(object sender, EventArgs e)
 {
     LogoutPanel.SendToBack();
     ChangePasswordPanel.SendToBack();
     LogoutPanel.Visible = false;
 }