コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: wshanshan/DDD
 private Boolean _readyToSendItems = true;//default to true so we always send the first scheduled item
 public MainWindow()
 {
     _items = new Dictionary<string, T_Item>();
     _ptItems = new Dictionary<string, T_Item>();
     _timelineEvents = new ScheduledItemsList();
     _dmCPEs = new Dictionary<string, CPEPair>();
     _ddd = new DDDAdapter();
     _ddd.SetTickCallback(new DDDAdapter.TimeTickDelegate(TimeTick));
     InitializeComponent();
     LoadCommandLineArgs();
     tbHostname.Text = _dddHostname;
     tbPort.Text = _dddPort.ToString();
     tbShareName.Text = _dddShare;
     _itemSelector = new AdaptiveSelector.AdaptiveSelector(new ChallengeMethod(), "");
 }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: xiangnanyue/DDD
 private Boolean _readyToSendItems = true;//default to true so we always send the first scheduled item
 public MainWindow()
 {
     _items          = new Dictionary <string, T_Item>();
     _ptItems        = new Dictionary <string, T_Item>();
     _timelineEvents = new ScheduledItemsList();
     _dmCPEs         = new Dictionary <string, CPEPair>();
     _ddd            = new DDDAdapter();
     _ddd.SetTickCallback(new DDDAdapter.TimeTickDelegate(TimeTick));
     InitializeComponent();
     LoadCommandLineArgs();
     tbHostname.Text  = _dddHostname;
     tbPort.Text      = _dddPort.ToString();
     tbShareName.Text = _dddShare;
     _itemSelector    = new AdaptiveSelector.AdaptiveSelector(new ChallengeMethod(), "");
 }