Esempio n. 1
0
 public UCStatTimeRegion()
 {
     InitializeComponent();
     ClearBeginRegion();
     ClearEndRegion();
     TimeRegion = new TimeRegionClass();
 }
Esempio n. 2
0
 private void cbDayEnd_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (TimeRegion == null)
     {
         TimeRegion = new TimeRegionClass();
     }
     TimeRegion.EndDay = cbDayEnd.Text == "不区分" ? -1 : int.Parse(cbDayEnd.Text.Replace("日", ""));
     if (ArgChanged != null)
     {
         ArgChanged();
     }
 }
Esempio n. 3
0
 private void cbMonthBegin_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (TimeRegion == null)
     {
         TimeRegion = new TimeRegionClass();
     }
     TimeRegion.BeginMonth = cbMonthBegin.Text == "不区分" ? -1 : int.Parse(cbMonthBegin.Text.Replace("月", ""));
     if (ArgChanged != null)
     {
         ArgChanged();
     }
 }