Example #1
0
        private void salesRecordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmSalesRecord frm = new frmSalesRecord();

            frm.lblUserType.Text = UserType.Text;
            frm.lblUser.Text     = User.Text;
            frm.ShowDialog();
        }
Example #2
0
        private void btnGetData_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmSalesRecord frm = new frmSalesRecord();

            frm.SET.Text         = "CS";
            frm.lblUser.Text     = lblUser.Text;
            frm.lblUserType.Text = lblUserType.Text;
            frm.Show();
        }