コード例 #1
0
ファイル: MainWindow.cs プロジェクト: pgin78/crontabviewer
 /// <summary>
 /// Refreshes instance grid view.
 /// Allows to apply filters to a list of instances.
 /// </summary>
 public void RefreshInstanceList()
 {
     this.instanceList = this.ruleList.GetInstanceList(this.dateFilter.Value);
     if (this.enableTimeFilter.Checked)
     {
         this.instanceList.FilterByTime(this.timeFilterFrom.Value, this.timeFilterTo.Value);
     }
     this.instanceGridView.DataSource = this.instanceList;
     this.RefreshScheduleBrowser();
 }
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: pgin78/crontabviewer
 /// <summary>
 /// Refreshes instance grid view.
 /// Allows to apply filters to a list of instances.
 /// </summary>
 public void RefreshInstanceList()
 {
     this.instanceList = this.ruleList.GetInstanceList(this.dateFilter.Value);
     if (this.enableTimeFilter.Checked)
     {
         this.instanceList.FilterByTime(this.timeFilterFrom.Value, this.timeFilterTo.Value);
     }
     this.instanceGridView.DataSource = this.instanceList;
     this.RefreshScheduleBrowser();
 }
コード例 #3
0
 /// <summary>
 /// Creates default, parser object.
 /// </summary>
 public CrontabRuleParser()
 {
     this.rules = new CrontabRuleList();
     this.instances = new CrontabInstanceList();
 }