Esempio n. 1
0
 public ModuleMainFormBase ShowDialog(System.Windows.Forms.Form owner, ModuleMainFormBase formToStart, bool isMDIChild, string formName)
 {
     if (ModuleClassBase.moduleParams == null)
     {
         throw new Exception("Parametri nisu definirani");
     }
     if (isMDIChild)
     {
         formToStart.MdiParent = owner;
     }
     formToStart.Show();
     formToStart.Text = formName;
     this.isMDIChild  = isMDIChild;
     return(formToStart);
 }
Esempio n. 2
0
 public ModuleMainFormBase ShowDialog(System.Windows.Forms.Form owner, ModuleMainFormBase formToStart, bool isMDIChild, string formName)
 {
     if (ModuleClassBase.moduleParams == null)
     {
         throw new Exception("Parametri nisu definirani");
     }
     if (isMDIChild)
     {
         formToStart.MdiParent = owner;
     }
     formToStart.Show();
     formToStart.Text = formName;
     this.isMDIChild = isMDIChild;
     return formToStart;
 }