public ServiceRequestsWinController(RequestRecordCalledOff rec, RequestWindowPuropse mode, ServiceRequests servReq, Form parentReq) { serviceRequests = servReq; this.requestWindow = parentReq; this.purposeOfTheWindow = mode; catchTheControls(); adjustCancelledRecFields(rec); }
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(); }