internal void calTrainDate_MouseUp(Object eventSender, UpgradeHelpers.Events.MouseEventArgs eventArgs) { //Get Staff for Selected Unit / Date string ListString = ""; PTSProject.clsUnit UnitCL = Container.Resolve <clsUnit>(); PTSProject.clsTraining TrainCL = Container.Resolve <clsTraining>(); string TrainDate = UpgradeHelpers.Helpers.DateTimeHelper.ToString(ViewModel.calTrainDate.SelectionRange.Start); TrainDate = TrainDate + " 8:00AM"; if (ViewModel.cboUnitList.SelectedIndex == -1) { return; } string TrainUnit = modGlobal.Clean(ViewModel.cboUnitList.Text); ViewModel.lstUnitStaff.Items.Clear(); if (UnitCL.GetPTSPersonnel(TrainUnit, TrainDate) != 0) { while (!UnitCL.UnitPersonnel.EOF) { ListString = modGlobal.Clean(UnitCL.UnitPersonnel["emp_id"]); if (TrainCL.GetEmployee(ListString) != 0) { ListString = modGlobal.Clean(TrainCL.Employee["name_full"]) + " :" + Convert.ToString(TrainCL.Employee["employee_id"]); ViewModel.lstUnitStaff.AddItem(ListString); } UnitCL.UnitPersonnel.MoveNext(); } ; } }
protected override void OnMouseWheel(UpgradeHelpers.Events.MouseEventArgs e) { }
public static UpgradeHelpers.Helpers.MouseButtons Get_Button(this UpgradeHelpers.Events.MouseEventArgs _MouseEventArgs) { throw new NotImplementedException("This is an automatic generated code, please implement the requested logic."); }