Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            //open employee portal
            FrmMain2 FrmM2 = new FrmMain2();

            FrmM2.ShowDialog();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            //open from main
            FrmMain2 frmMain2 = new FrmMain2();

            frmMain2.ShowDialog();
        }