Esempio n. 1
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            var pleaseWait = new frmLoading();

            pleaseWait.Show();
            Application.DoEvents();

            ChangePanelLocation(pnlRedSide, btnHome);
            var frm = new Transactions.frmHome();

            methods.ChangePanelDisplay(frm, pnlMain);

            pleaseWait.Close();
        }
Esempio n. 2
0
        private void frmMenu_Load(object sender, EventArgs e)
        {
            var pleaseWait = new frmLoading();

            pleaseWait.Show();
            Application.DoEvents();

            ChangePanelLocation(pnlRedSide, btnHome);
            var frm = new Transactions.frmHome();

            methods.ChangePanelDisplay(frm, pnlMain);

            lblWelcome.Text = "Welcome, " + accountEL.Username + "!";

            pleaseWait.Close();
        }