Beispiel #1
0
 private void frmLogin2_Load(object sender, EventArgs e)
 {
     PanelTransition.Hide(panelProcess);
     PanelTransition.ShowSync(panelProcess);
     this.Width        = 310;
     btnClose.Location = new Point(135, 4);
 }
Beispiel #2
0
        private void btnMenu_Click(object sender, EventArgs e)
        {
            if (panel1.Width == 50)
            {
                //Expand the panel , width = 250
                //Show logo

                panel1.Visible = false;
                panel1.Width   = 260;
                PanelTransition.ShowSync(panel1);
                Logo1Transition.ShowSync(logo);
            }
            else
            {
                PanelTransition.Hide(logo);
                panel1.Visible = false;
                panel1.Width   = 50;
                PanelTransition.ShowSync(panel1);
            }
        }
Beispiel #3
0
 private void ImgBtnBack_Click(object sender, EventArgs e)
 {
     PanelTransition.Hide(RegPanel);
     PanelTransition.Show(LoginPanel);
 }
Beispiel #4
0
 private void GoRegBtn_Click(object sender, EventArgs e)
 {
     PanelTransition.Hide(LoginPanel);
     PanelTransition.Show(RegPanel);
 }