public void SetUp()
		{
			_invokeCount = 10;
			_dehService = new NuGenDEHService(new MockTimer(_invokeCount));
			_eventHandler = new MockEventHandler();
			_eventInitiator = new MockEventInitiator();
		}
예제 #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenTaskListUI"/> class.
		/// </summary>
		public NuGenTaskListUI()
		{
			this.InitializeComponent();

			INuGenTimer timer = new NuGenTimer();
			timer.Interval = 500;

			NuGenDEHService service = new NuGenDEHService(timer);
			service.AddClient(_TaskEditBox);
			service.AddClient(_TaskTreeView);
		}