private void btnReportingService_Click(object sender, EventArgs e) { Forms.ReportingService mReportingService = new Forms.ReportingService(userNameEntered, passwordEntered); mReportingService.Owner = this; mReportingService.ShowDialog(this); }