예제 #1
0
 public UCStatTimeFrame()
 {
     InitializeComponent();
     ClearMonthSelect();
     ClearDaySelect();
     Init();
     TimeFrame = new TimeFrameClass();
 }
예제 #2
0
 private void cbDayEnd_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (TimeFrame == null)
     {
         TimeFrame = new TimeFrameClass();
     }
     TimeFrame.EndDay = cbDayEnd.Text == "不区分" ? -1 : int.Parse(cbDayEnd.Text.Replace("日", ""));
     if (ArgChanged != null)
     {
         ArgChanged();
     }
 }
예제 #3
0
 private void cbMonthBegin_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (TimeFrame == null)
     {
         TimeFrame = new TimeFrameClass();
     }
     TimeFrame.BeginMonth = cbMonthBegin.Text == "不区分" ? -1 : int.Parse(cbMonthBegin.Text.Replace("月", ""));
     if (ArgChanged != null)
     {
         ArgChanged();
     }
 }