Пример #1
0
        private void btnProfile_Click(object sender, EventArgs e)
        {
            frmViewLog frmView = new frmViewLog(roleVp, imageVp, nameVp, mobileVp, emailVp, surnameVp);

            this.Hide();
            frmView.Show();
        }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            //pnlSide.Height = btnViewLog.Height;
            //pnlSide.Top = btnViewLog.Top;

            frmViewLog frmView = new frmViewLog(roleVp, imageVp, nameVp, mobileVp, emailVp, surnameVp);

            this.Hide();
            frmView.Show();
        }