private void eventsToolStripMenuItem_Click(object sender, EventArgs e) { AuditTrailForm trailForm = new AuditTrailForm { MdiParent = this }; trailForm.Show(); }
private void OnAuditTrailClick(object sender, LinkLabelLinkClickedEventArgs e) { var auditTrailForm = new AuditTrailForm { MdiParent = Application.OpenForms[0] }; auditTrailForm.Show(); }