예제 #1
0
 public ServiceRequestsWinController(RequestRecordCalledOff rec, RequestWindowPuropse mode, ServiceRequests servReq,
                                     Form parentReq)
 {
     serviceRequests         = servReq;
     this.requestWindow      = parentReq;
     this.purposeOfTheWindow = mode;
     catchTheControls();
     adjustCancelledRecFields(rec);
 }
예제 #2
0
 public FormServiceRequestsWindow(RequestRecordCalledOff rec, RequestWindowPuropse mode, Form parMain,
                                  ServiceRequests servRequ)
 {
     this.parentMainWin = parMain;
     InitializeComponent();
     requestController = new ServiceRequestsWinController(rec, mode, servRequ, this);
     this.Show();
     parentMainWin.Hide();
 }