コード例 #1
0
 /// <summary>
 /// Creates a new dependent trackbar.
 /// </summary>
 public UpdateNumericUpDown()
 {
     _depEnabled       = Dependent.New("UpdateNumericUpDown.Enabled", UpdateEnabled);
     _depValueAndRange = Dependent.New("UpdateNumericUpDown.ValueAndRange", UpdateValueAndRange);
     _depIncrement     = Dependent.New("UpdateNumericUpDown.Increment", UpdateIncrement);
     _helper           = new GuiUpdateHelper(this, _depEnabled, _depValueAndRange, _depIncrement);
 }
コード例 #2
0
 /// <summary>
 /// Creates a new dependent trackbar.
 /// </summary>
 public UpdateNumericUpDown()
 {
     _depEnabled = Dependent.New("UpdateNumericUpDown.Enabled", UpdateEnabled);
     _depValueAndRange = Dependent.New("UpdateNumericUpDown.ValueAndRange", UpdateValueAndRange);
     _depIncrement = Dependent.New("UpdateNumericUpDown.Increment", UpdateIncrement);
     _helper = new GuiUpdateHelper(this, _depEnabled, _depValueAndRange, _depIncrement);
 }
コード例 #3
0
ファイル: ProjectModel.cs プロジェクト: default0/LoycCore
		public ProjectModel(TaskRunner runner, OptionsModel options) 
		{ 
			_runner = runner; 
			_options = options;
			_runner.TaskComplete += new Action<ITask, Exception>(OnTaskComplete);
			_depFileSystemWatchers = new Dependent(UpdateFileSystemWatchers);
			_updater = new GuiUpdateHelper(_depFileSystemWatchers);
		}
コード例 #4
0
ファイル: TestingForm.cs プロジェクト: default0/LoycCore
		public TestingForm(ProjectVM tree)
		{
			_tree = tree;

			InitializeComponent();

			_tvAdvModel = new TreeViewAdvModel(tree, _testTreeView);
			_testTreeView.Model = _tvAdvModel;

			_updater = new GuiUpdateHelper(Options_PropertyChanged);
		}