private void ChangePasswordOpener_Click(object sender, EventArgs e) { LogoutPanel.SendToBack(); LogoutPanel.Visible = false; ChangePasswordPanel.BringToFront(); ChangePasswordPanel.Visible = true; }
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(); }
private void MainSelectPanelCheckSet_CheckedButtonChanged(object sender, EventArgs e) { TabNameLabel.Text = MainSelectPanelCheckSet.CheckedButton.Text; if (MainSelectPanelCheckSet.CheckedButton.Name == "ChangePassSelectButton") { ChangePasswordPanel.BringToFront(); } if (MainSelectPanelCheckSet.CheckedButton.Name == "ContactInformationSelectButton") { ContactInformationPanel.BringToFront(); } if (MainSelectPanelCheckSet.CheckedButton.Name == "PersonalSelectButton") { PersonalPanel.BringToFront(); } if (MainSelectPanelCheckSet.CheckedButton.Name == "SettingsButton") { SettingsPanel.BringToFront(); } }
private void changePassLink_Click(object sender, EventArgs e) { ChangePasswordPanel changePasswordPanel = new ChangePasswordPanel(this.MainForm, this.user); changePasswordPanel.Swipe(true); }
private void PasswordCancel_Click(object sender, EventArgs e) { ChangePasswordPanel.SendToBack(); ChangePasswordPanel.Visible = false; }
private void CancellogoutButton_Click(object sender, EventArgs e) { LogoutPanel.SendToBack(); ChangePasswordPanel.SendToBack(); LogoutPanel.Visible = false; }