public FormServiceOrderingWindow(OrderingFailed rec, OrderingWindowPurpose mode, Form parentMain, ServiceOrdering servOrd)
 {
     InitializeComponent();
     controllerOrd   = new ServiceOrderingWinController(rec, mode, servOrd, this);
     this.parentMain = parentMain;
     this.Show();
     parentMain.Hide();
 }
 public FormServiceOrderingWindow(SetOfUserDetails soud, OrderingWindowPurpose mode, Form parentMain, ServiceOrdering servOrd)
 {
     InitializeComponent();
     controllerOrd   = new ServiceOrderingWinController(soud, mode, servOrd, this);
     this.parentMain = parentMain;
     this.Show();
     parentMain.Hide();
 }