private void MyUploadedReports_Click(object sender, EventArgs e) { ViewReportForm viewReportForm = new ViewReportForm(); viewReportForm.ViewReports(UserInfo.UserID, false); viewReportForm.Tag = this; viewReportForm.ShowDialog(this); }
private void viewMyLabReportsToolStripMenuItem_Click(object sender, EventArgs e) { ViewReportForm viewReportForm = new ViewReportForm(); viewReportForm.ViewReports(UserInfo.UserID, true); viewReportForm.Tag = this; viewReportForm.ShowDialog(this); }
private void reportsSearchButton_Click(object sender, EventArgs e) { string patientID = ForPatientTextBox.Text.ToString().Split('(', ')')[1]; ViewReportForm viewReportForm = new ViewReportForm(); viewReportForm.ViewReports(patientID, true); viewReportForm.Tag = this; viewReportForm.ShowDialog(this); }