示例#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();
            }
        }