/// <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);
 }
 /// <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);
 }
Beispiel #3
0
		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);
		}
Beispiel #4
0
		public TestingForm(ProjectVM tree)
		{
			_tree = tree;

			InitializeComponent();

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

			_updater = new GuiUpdateHelper(Options_PropertyChanged);
		}