Exemplo n.º 1
0
		public void SetUp()
		{
			_dummyClass = new DummyClass();
			_dummyClass.PrivateField = _fooValue;
			_eventSink = new EventSink();
			_invoker = new NuGenInvoker(_dummyClass);
		}
		public void SetUp()
		{
			_parentCtrl = new StubControl();
			_parentCtrl.Bounds = new Rectangle(0, 0, 200, 200);

			_ctrl = new NuGenWndLessControl();
			_ctrl.Bounds = new Rectangle(20, 20, 50, 50);
			_ctrl.Parent = _parentCtrl;

			_eventSink = new EventSink(_ctrl);

			_goodMouseEventArgs = new MouseEventArgs(MouseButtons.Left, 1, 30, 30, 0);
			_goodMouseEventArgs2 = new MouseEventArgs(MouseButtons.Left, 1, 50, 50, 0);
			_badMouseEventArgs = new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0);
		}
Exemplo n.º 3
0
		public void SetUp()
		{
			_int = new NuGenInt32(_min, _max);
			_eventSink = new EventSink(_int);
		}
		public void SetUp()
		{
			_int = new NuGenPositiveInt32();
			_eventSink = new EventSink(_int);
		}
Exemplo n.º 5
0
 public void SetUp()
 {
     _int       = new NuGenInt32(_min, _max);
     _eventSink = new EventSink(_int);
 }
 public void SetUp()
 {
     _int       = new NuGenNonNegativeInt32();
     _eventSink = new EventSink(_int);
 }