public void Execute(IMyGenerationMDI mdi, params string[] args)
 {
     SampleDialogContent sdc = new SampleDialogContent(mdi);
     DialogResult result = sdc.ShowDialog(mdi.DockPanel.Parent.FindForm());
 }
 public void Execute(IMyGenerationMDI mdi, params string[] args)
 {
     SampleDialogContent sdc    = new SampleDialogContent(mdi);
     DialogResult        result = sdc.ShowDialog(mdi.DockPanel.Parent.FindForm());
 }