public ListSubjectSummaryViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListSubjectComplete += new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetListSubjectComplete); _modelTrain.DeleteSubjectComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_DeleteSubjectComplete); }
public ListTrainingViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListTrainingComplete += new EventHandler <ComplexResultsArgs <ImportTraining> >(_modelTrain_GetListTrainingComplete); _modelTrain.DeleteTrainingComplete += new EventHandler <InvokeOperationEventArgs>(_modelTrain_DeleteTrainingComplete); }
public ListDepartmentViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete += new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.DeleteDepartmentComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_DeleteDepartmentComplete); }
public NullParameterSelection(Parameter parameter, ITrainingModel training) { Guard.NotNull(() => parameter, parameter); Guard.NotNull(() => training, training); this.parameter = parameter; Training = training; }
public EditRoomViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetRoomComplete += new EventHandler <EntityResultsArgs <Vlu_PhongHoc> >(_modelTrain_GetRoomComplete); _modelTrain.GetRoomByKeyComplete += new EventHandler <EntityResultsArgs <Vlu_PhongHoc> >(_modelTrain_GetRoomByKeyComplete); _modelTrain.SaveRoomComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_SaveRoomComplete); }
public UploadClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); //_modelTrain.ImportSubjectComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_ImportSubjectComplete); _modelTrain.GetListDepartmentComplete += new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.ImportClassComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_ImportClassComplete); }
public MainPageViewModel(IAuthenticationModel modelAuth, ITrainingModel modelTrain) { _modelAuth = modelAuth; _modelTrain = modelTrain; _modelAuth.LoadUserComplete += new EventHandler <LoadUserOperationEventArgs>(_modelAuth_LoadUserComplete); _modelAuth.GetListAuthenticationMenuComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_modelAuth_GetListAuthenticationMenuComplete); _modelAuth.LogoutComplete += new EventHandler <LogoutOperationEventArgs>(_modelAuth_LogoutComplete); }
public EditTrainingViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListDepartmentComplete += new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.GetSubjectComplete += new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetSubjectComplete); _modelTrain.GetClassComplete += new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassComplete); _modelTrain.SaveTrainingComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_SaveTrainingComplete); }
public UploadTrainingViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete += new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.GetListSubjectComplete += new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetListSubjectComplete); _modelTrain.GetListClassComplete += new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetListClassComplete); _modelTrain.ImportTrainingComplete += new EventHandler <InvokeOperationEventArgs>(_modelTrain_ImportTrainingComplete); }
public GridParameterSelection(TaskFactory taskFactory, ITrainingModel training, GridSearchParameters parameters) { Guard.NotNull(() => parameters, parameters); Guard.NotNull(() => taskFactory, taskFactory); Guard.NotNull(() => training, training); SearchParameters = parameters; Training = training; this.taskFactory = taskFactory; }
public EditClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetClassComplete += new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassComplete); _modelTrain.GetClassParentComplete += new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassParentComplete); _modelTrain.GetClassByKeyComplete += new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassByKeyComplete); _modelTrain.SaveClassComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_SaveClassComplete); _modelTrain.GetListDepartmentComplete += new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListDepartmentComplete -= new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain = null; } _listData = null; _selectedItem = null; if (DialogSended != null) { DialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListDepartmentComplete -= new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.GetSubjectComplete -= new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetSubjectComplete); _modelTrain.GetClassComplete -= new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassComplete); _modelTrain.SaveTrainingComplete -= new EventHandler <SubmitOperationEventArgs>(_modelTrain_SaveTrainingComplete); _modelTrain = null; } ItemEdit = null; if (_dialogSended != null) { _dialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete -= new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.DeleteDepartmentComplete -= new EventHandler <SubmitOperationEventArgs>(_modelTrain_DeleteDepartmentComplete); _modelTrain = null; } _listData = null; _selectedItem = null; if (DialogSended != null) { DialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.ImportSubjectComplete -= new EventHandler <SubmitOperationEventArgs>(_modelTrain_ImportSubjectComplete); _modelTrain = null; } _listData = null; _listMonHoc = null; _listType = null; if (_dialogSended != null) { _dialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetSubjectComplete -= new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetSubjectComplete); _modelTrain.GetSubjectByKeyComplete -= new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetSubjectByKeyComplete); _modelTrain.SaveSubjectComplete -= new EventHandler <SubmitOperationEventArgs>(_modelTrain_SaveSubjectComplete); _modelTrain = null; } ItemEdit = null; if (_dialogSended != null) { _dialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListTrainingComplete -= new EventHandler <ComplexResultsArgs <ImportTraining> >(_modelTrain_GetListTrainingComplete); _modelTrain.DeleteTrainingComplete -= new EventHandler <InvokeOperationEventArgs>(_modelTrain_DeleteTrainingComplete); _modelTrain = null; } _listType = null; _listData = null; _selectedItem = null; if (DialogSended != null) { DialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetClassComplete -= new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassComplete); _modelTrain.GetClassParentComplete -= new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassParentComplete); _modelTrain.GetClassByKeyComplete -= new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetClassByKeyComplete); _modelTrain.SaveClassComplete -= new EventHandler <SubmitOperationEventArgs>(_modelTrain_SaveClassComplete); _modelTrain.GetListDepartmentComplete -= new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain = null; } ItemEdit = null; _listKhoa = null; if (_dialogSended != null) { _dialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete -= new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); _modelTrain.GetListSubjectComplete -= new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetListSubjectComplete); _modelTrain.GetListClassComplete -= new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetListClassComplete); _modelTrain.ImportTrainingComplete -= new EventHandler <InvokeOperationEventArgs>(_modelTrain_ImportTrainingComplete); _modelTrain = null; } _listTraining = null; _listData = null; _listKhoa = null; _listLop = null; _listMonHoc = null; if (_dialogSended != null) { _dialogSended = null; } base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListDepartmentComplete -= new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.GetSubjectComplete -= new EventHandler<EntityResultsArgs<Vlu_MonHoc>>(_modelTrain_GetSubjectComplete); _modelTrain.GetClassComplete -= new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassComplete); _modelTrain.SaveTrainingComplete -= new EventHandler<SubmitOperationEventArgs>(_modelTrain_SaveTrainingComplete); _modelTrain = null; } ItemEdit = null; if (_dialogSended != null) _dialogSended = null; base.Cleanup(); }
public EditTrainingViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListDepartmentComplete += new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.GetSubjectComplete += new EventHandler<EntityResultsArgs<Vlu_MonHoc>>(_modelTrain_GetSubjectComplete); _modelTrain.GetClassComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassComplete); _modelTrain.SaveTrainingComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_SaveTrainingComplete); }
public MainPageViewModel(IAuthenticationModel modelAuth, ITrainingModel modelTrain) { _modelAuth = modelAuth; _modelTrain = modelTrain; _modelAuth.LoadUserComplete += new EventHandler<LoadUserOperationEventArgs>(_modelAuth_LoadUserComplete); _modelAuth.GetListAuthenticationMenuComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_modelAuth_GetListAuthenticationMenuComplete); _modelAuth.LogoutComplete += new EventHandler<LogoutOperationEventArgs>(_modelAuth_LogoutComplete); }
public UploadTrainingViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete += new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.GetListSubjectComplete += new EventHandler<EntityResultsArgs<Vlu_MonHoc>>(_modelTrain_GetListSubjectComplete); _modelTrain.GetListClassComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetListClassComplete); _modelTrain.ImportTrainingComplete += new EventHandler<InvokeOperationEventArgs>(_modelTrain_ImportTrainingComplete); }
/// <summary> /// Constructor for creating reference for Training repository /// </summary> /// <value>Interface TrainingModel</value> public TrainingController(ITrainingModel service) { _service = service; }
public ListTrainingViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListTrainingComplete += new EventHandler<ComplexResultsArgs<ImportTraining>>(_modelTrain_GetListTrainingComplete); _modelTrain.DeleteTrainingComplete += new EventHandler<InvokeOperationEventArgs>(_modelTrain_DeleteTrainingComplete); }
public EditChooseSubjectViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListSubjectComplete += new EventHandler <EntityResultsArgs <Vlu_MonHoc> >(_modelTrain_GetListSubjectComplete); }
public EditChooseDepartmentViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListDepartmentComplete += new EventHandler <EntityResultsArgs <Vlu_Khoa> >(_modelTrain_GetListDepartmentComplete); }
public TrainingService(ITrainingModel repository) { _repository = repository; }
public EditSubjectSummaryViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetSubjectComplete += new EventHandler<EntityResultsArgs<Vlu_MonHoc>>(_modelTrain_GetSubjectComplete); _modelTrain.GetSubjectByKeyComplete += new EventHandler<EntityResultsArgs<Vlu_MonHoc>>(_modelTrain_GetSubjectByKeyComplete); _modelTrain.SaveSubjectComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_SaveSubjectComplete); }
public ListTrainingViewModel(ITrainingModel modelTrain) { }
public EditRoomViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetRoomComplete += new EventHandler<EntityResultsArgs<Vlu_PhongHoc>>(_modelTrain_GetRoomComplete); _modelTrain.GetRoomByKeyComplete += new EventHandler<EntityResultsArgs<Vlu_PhongHoc>>(_modelTrain_GetRoomByKeyComplete); _modelTrain.SaveRoomComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_SaveRoomComplete); }
public ListClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListClassComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetListClassComplete); _modelTrain.DeleteClassComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_DeleteClassComplete); }
public MainPageViewModel(IAuthenticationModel modelAuth, ITrainingModel modelTrain, ISettingModel modelSetting) { _modelAuth = modelAuth; _modelTrain = modelTrain; _modelSetting = modelSetting; }
public EditChooseDepartmentViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListDepartmentComplete += new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); }
public UploadClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); //_modelTrain.ImportSubjectComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_ImportSubjectComplete); _modelTrain.GetListDepartmentComplete += new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.ImportClassComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_ImportClassComplete); }
public UploadSubjectViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler <ComplexResultsArgs <Authentication> >(_model_GetListAuthenticationFormComplete); _modelTrain.ImportSubjectComplete += new EventHandler <SubmitOperationEventArgs>(_modelTrain_ImportSubjectComplete); }
public UploadSubjectViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.ImportSubjectComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_ImportSubjectComplete); }
public EditChooseSubjectViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListSubjectComplete += new EventHandler<EntityResultsArgs<Vlu_MonHoc>>(_modelTrain_GetListSubjectComplete); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListDepartmentComplete -= new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain = null; } _listData = null; _selectedItem = null; if (DialogSended != null) DialogSended = null; base.Cleanup(); }
public CheckAccessAttribute() { ITrainingModel service = new TrainingRepository(); _service = service; }
public MainPageViewModel(IAuthenticationModel modelAuth, ITrainingModel modelTrain, ISettingModel modelSetting) { _modelAuth = modelAuth; _modelTrain = modelTrain; _modelSetting = modelSetting; }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete -= new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.DeleteDepartmentComplete -= new EventHandler<SubmitOperationEventArgs>(_modelTrain_DeleteDepartmentComplete); _modelTrain = null; } _listData = null; _selectedItem = null; if (DialogSended != null) DialogSended = null; base.Cleanup(); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListTrainingComplete -= new EventHandler<ComplexResultsArgs<ImportTraining>>(_modelTrain_GetListTrainingComplete); _modelTrain.DeleteTrainingComplete -= new EventHandler<InvokeOperationEventArgs>(_modelTrain_DeleteTrainingComplete); _modelTrain = null; } _listType = null; _listData = null; _selectedItem = null; if (DialogSended != null) DialogSended = null; base.Cleanup(); }
public ListTrainingViewModel(ITrainingModel modelTrain) { }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetClassComplete -= new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassComplete); _modelTrain.GetClassParentComplete -= new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassParentComplete); _modelTrain.GetClassByKeyComplete -= new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassByKeyComplete); _modelTrain.SaveClassComplete -= new EventHandler<SubmitOperationEventArgs>(_modelTrain_SaveClassComplete); _modelTrain.GetListDepartmentComplete -= new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain = null; } ItemEdit = null; if (_dialogSended != null) _dialogSended = null; base.Cleanup(); }
public EditChooseClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListClassComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetListClassComplete); }
public override void Cleanup() { if (_modelTrain != null) { _modelTrain.GetListAuthenticationFormComplete -= new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete -= new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.ImportClassComplete -= new EventHandler<SubmitOperationEventArgs>(_modelTrain_ImportClassComplete); _modelTrain = null; } _listData = null; _listLopHoc = null; _listType = null; if (_dialogSended != null) _dialogSended = null; base.Cleanup(); }
public ListDepartmentViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetListDepartmentComplete += new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); _modelTrain.DeleteDepartmentComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_DeleteDepartmentComplete); }
public EditClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListAuthenticationFormComplete += new EventHandler<ComplexResultsArgs<Authentication>>(_model_GetListAuthenticationFormComplete); _modelTrain.GetClassComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassComplete); _modelTrain.GetClassParentComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassParentComplete); _modelTrain.GetClassByKeyComplete += new EventHandler<EntityResultsArgs<Vlu_LopHoc>>(_modelTrain_GetClassByKeyComplete); _modelTrain.SaveClassComplete += new EventHandler<SubmitOperationEventArgs>(_modelTrain_SaveClassComplete); _modelTrain.GetListDepartmentComplete += new EventHandler<EntityResultsArgs<Vlu_Khoa>>(_modelTrain_GetListDepartmentComplete); }
public EditChooseClassViewModel(ITrainingModel modelTrain) { _modelTrain = modelTrain; _modelTrain.GetListClassComplete += new EventHandler <EntityResultsArgs <Vlu_LopHoc> >(_modelTrain_GetListClassComplete); }