private void Initialize() { DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End); // this.retailOrderList = null; this.para = new GetCostumeDistributionsPara(); // skinComboBox_PfCustomer.Initialize(false, true,1); SetDisplay(); }
private void SetSelectPara() { bool isOpenDate = true; Date startDate = new Date(this.dateTimePicker_Start.Value); Date endDate = new Date(this.dateTimePicker_End.Value); string SCustumeId = string.IsNullOrEmpty(this.costumeTextBox1.Text) ? "" : this.costumeTextBox1.Text; this.para = new GetCostumeDistributionsPara() { BrandID = Convert.ToInt32(this.skinComboBox_Brand.SelectedValue), CostumeID = SCustumeId, StartDate = startDate, EndDate = endDate, ClassID = skinComboBoxBigClass.SelectedValue.ClassID, Year = Convert.ToInt32(skinComboBoxYear.SelectedValue), IsChooseColor = skinCheckBoxShowColor.Checked, InStartDate = new Date(dateTimePicker1.Value), QueryType = (CostumeDistributionType)skinComboBox_State.SelectedValue, Season = ((ListItem <String>) this.skinComboBoxSeason.skinComboBox.SelectedItem).Value, OnlyShowStoreNotZero = skinCheckBox1.Checked, }; }