/// <summary> /// 构造函数,控件的初始化 /// </summary> public JobRecordForm() { InitializeComponent(); Query(); lkpStaff.Properties.DataSource = userManager.GetAllList(); lkpBranch.Properties.DataSource = manager.GetDtBranch(); txtCreator.Text = Models.SqlHelper.Session._LoginName; }
public JobFilesForm() { InitializeComponent(); tlCategory.Properties.DataSource = manager.GetAllListCategory(); lkupStaff.Properties.DataSource = userManager.GetAllList(); dStartday.DateTime = DateTime.Now.Date.AddDays(-15); dEndday.DateTime = DateTime.Now.Date; dStartday.Properties.MaxValue = dEndday.Properties.MaxValue = DateTime.Now; dStartday.Properties.MinValue = dEndday.Properties.MinValue = DateTime.Parse("2000-01-01"); }
public FLoginLogs() { InitializeComponent(); customPageControl1.OnPageChanged += OnPageChangeds; #region 控件初始化 lkupSystem.Properties.DataSource = system.GetAllSystems(); lkupUser.Properties.DataSource = user.GetAllList(); dStartday.DateTime = DateTime.Now.Date.AddDays(-15); dEndday.DateTime = DateTime.Now.Date; dStartday.Properties.MaxValue = dEndday.Properties.MaxValue = DateTime.Now; dStartday.Properties.MinValue = dEndday.Properties.MinValue = DateTime.Parse("2020-01-01"); #endregion }
/// <summary> /// 构造函数 /// </summary> /// <param name="md">实体</param> public JobSolutionForm(Models.ys_JobRecord md) { InitializeComponent(); cbBranch.Properties.DataSource = manager.GetDtBranch(); tlJobCategory.Properties.DataSource = manager.GetAllListCategory(); cbStaff.Properties.DataSource = Usermanager.GetAllList(); if (md != null) { model = md; cbBranch.EditValue = model.BranchId.Trim(); txtContact.Text = model.Contact; cbStaff.EditValue = model.StaffId; this.txtDescription.Text = model.Description; this.txtCreatorName.Text = model.CreatorName; this.txtStartTime.DateTime = model.CreateTime; } }
/// <summary> /// 构造函数 /// </summary> public F_UserForBlackIP_Selectlist() { InitializeComponent(); tlDepartment.DataSource = deptMg.GetAllList(); gcData.DataSource = ltSource = userMg.GetAllList(); }
/// <summary> /// 新增构造函数 /// </summary> public JobFilesEditForm() { InitializeComponent(); tlCategory.Properties.DataSource = manager.GetAllListCategory(); lkpAuditor.Properties.DataSource = lkpStaff.Properties.DataSource = userManager.GetAllList(); }
public static List <Models.ACL_User> GetAllUser() { BLL.UserManager userManager = new BLL.UserManager(); return(userManager.GetAllList()); }
public override void Query() { gcData.DataSource = StockManager.GetAllList(); cboxMgUser.Properties.DataSource = userManager.GetAllList(); }