//无参构造 public ConditionOtherExitChooseForm() { InitializeComponent(); Book.UI.Settings.BasicData.Supplier.ChooseSupplier chooseSupplier = new Settings.BasicData.Supplier.ChooseSupplier(); this.newChooseContorlSupplier1.Choose = chooseSupplier; this.newChooseContorlSupplier2.Choose = chooseSupplier; this.dateEditStartDate.DateTime = System.DateTime.Now.AddMonths(-3); this.dateEditEndDate.DateTime = System.DateTime.Now; }
public ConditionOtherCompactChooseForm() { InitializeComponent(); this.dateEditStartDate.DateTime = System.DateTime.Now.Date.AddMonths(-1); this.dateEditEndDate.DateTime = System.DateTime.Now.Date.AddDays(1).AddSeconds(-1); #region 廠商初始值 Book.UI.Settings.BasicData.Supplier.ChooseSupplier chooseSupplier = new Settings.BasicData.Supplier.ChooseSupplier(); this.newChooseSupplier1.Choose = chooseSupplier; this.newChooseSupplier2.Choose = chooseSupplier; #endregion }