private void investmentRecordsToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); frmInvestmentRecords frm = new frmInvestmentRecords(); frm.lblUserType.Text = UserType.Text; frm.lblUser.Text = User.Text; frm.ShowDialog(); }
private void btnGetData_Click(object sender, EventArgs e) { this.Hide(); frmInvestmentRecords frm = new frmInvestmentRecords(); frm.SET.Text = "CS"; frm.lblUser.Text = lblUser.Text; frm.lblUserType.Text = lblUserType.Text; frm.Show(); }