예제 #1
0
 private void ChangePasswordOpener_Click(object sender, EventArgs e)
 {
     LogoutPanel.SendToBack();
     LogoutPanel.Visible = false;
     ChangePasswordPanel.BringToFront();
     ChangePasswordPanel.Visible = true;
 }
예제 #2
0
        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();
            }
        }