private void clickReport(object sender, LinkLabelLinkClickedEventArgs e) { ReportForm r = new ReportForm(); r.MdiParent = this; r.Show(); }
private void report_Click(object sender, EventArgs e) { ReportForm formRP = new ReportForm(); formRP.userIDRP = this.txtUserID.Text; formRP.MdiParent = this; formRP.Show(); formRP.Dock = DockStyle.Fill; formRP.FormBorderStyle = FormBorderStyle.None; }