public MaterialCateogry(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialTypeObject materialType) { try { InitializeComponent(); MaterialTypeMember = materialType; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { Initialize(); InitializePropertyFormMaterialType(); SetPermissions(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Material(PROF_IT.Common.Enumerations.TypeForm typeForm, VehicleObject vehicle) { try { InitializeComponent(); _typeForm = typeForm; _material = new MaterialObject(); if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { Initialize(); louVehicle.EditValue = vehicle; SetPermissions(); } else { throw new NotImplementedException(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Material(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialObject material) { try { InitializeComponent(); _material = material; _materialOriginal = material.Clone(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { Initialize(); InitializePropertyForm(); SetPermissions(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public MaterialCateogry(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialSubTypeObject materialSubType) { try { InitializeComponent(); MaterialSubTypeMember = materialSubType; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { Initialize(); InitializePropertyFormMaterialSubType(); SetPermissions(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Memo(PROF_IT.Common.Enumerations.TypeForm typeForm) { try { InitializeComponent(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { Initialize(); } else { throw new NotImplementedException(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Task(PROF_IT.Common.Enumerations.TypeForm typeForm) { try { InitializeComponent(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { Initialize(); } else { throw new NotImplementedException(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Memo(PROF_IT.Common.Enumerations.TypeForm typeForm, MemoObject memo) { try { InitializeComponent(); _memo = memo; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public User(PROF_IT.Common.Enumerations.TypeForm typeForm) { try { InitializeComponent(); SetPermissions(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { _user = new TIS.DL.Internal.User.UserObject(); } else { _user = Context.User; } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Customer(PROF_IT.Common.Enumerations.TypeForm typeForm, CustomerObject customer) { try { InitializeComponent(); _customer = customer; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public FuelDeliveryDetail(PROF_IT.Common.Enumerations.TypeForm typeForm) { try { InitializeComponent(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { FuelDeliveryMember = new FuelDeliveryObject(); FindAll(); } else { throw new NotImplementedException(); } SetPermissions(); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public FuelDetail(PROF_IT.Common.Enumerations.TypeForm typeForm) { try { InitializeComponent(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { FuelMember = new FuelObject(); FindAll(); } else { throw new NotImplementedException(); } SetPermissions(); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Maintenance(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialObject material, MaintenanceObject maintenance) { try { InitializeComponent(); _material = material; _maintenance = maintenance; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Vehicle(PROF_IT.Common.Enumerations.TypeForm typeForm, VehicleObject vehicle) { try { InitializeComponent(); _vehicle = vehicle; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); SetPermissions(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Task(PROF_IT.Common.Enumerations.TypeForm typeForm, TaskObject task) { try { _taskOriginal = task.Clone(); InitializeComponent(); _task = task; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Schedule(PROF_IT.Common.Enumerations.TypeForm typeForm, TaskScheduleObject taskSchedule) { try { InitializeComponent(); _scheduleOriginal = taskSchedule.Schedule.Clone(); _schedule = taskSchedule.Schedule; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Employee(PROF_IT.Common.Enumerations.TypeForm typeForm, EmployeeObject employee) { try { InitializeComponent(); Uow = new UnitOfWork(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { EmployeeMember = employee; InitializePropertyForm(); } Initialize(); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public FuelDetail(PROF_IT.Common.Enumerations.TypeForm typeForm, TIS.DL.Internal.Fuel.FuelObject fuel) { try { InitializeComponent(); _fuel = fuel; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } FindAll(); SetPermissions(); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public BoardComputer(PROF_IT.Common.Enumerations.TypeForm typeForm, TIS.Model.Internal.BoardComputer boardComputer) { try { InitializeComponent(); Uow = new UnitOfWork(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { _boardComputer = new XPQuery <TIS.Model.Internal.BoardComputer>(Uow).Where(q => q.Id == boardComputer.Id).FirstOrDefault(); Initialize(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public BoardComputer(PROF_IT.Common.Enumerations.TypeForm typeForm) { try { InitializeComponent(); Uow = new UnitOfWork(); _typeForm = typeForm; _boardComputer = new TIS.Model.Internal.BoardComputer(Uow); if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { Initialize(); } else { throw new NotImplementedException(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public FuelDeliveryDetail(PROF_IT.Common.Enumerations.TypeForm typeForm, TIS.DL.Internal.FuelDelivery.FuelDeliveryObject fuel) { try { InitializeComponent(); _fuelDelivery = fuel; _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { InitializePropertyForm(); } FindAll(); SetPermissions(); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public BoardComputer(PROF_IT.Common.Enumerations.TypeForm typeForm, TIS.Model.Internal.BoardComputer boardComputer) { try { InitializeComponent(); Uow = new UnitOfWork(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { _boardComputer = new XPQuery<TIS.Model.Internal.BoardComputer>(Uow).Where(q => q.Id == boardComputer.Id).FirstOrDefault(); Initialize(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }