Exemplo n.º 1
0
 public void TearDown()
 {
     _capturer = null;
 }
Exemplo n.º 2
0
        public void SetUp()
        {
            _capturer = new Capturer();

            // Regular click in one spot.
            _mouseLeftDown1 = new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0);
            _mouseLeftUp1 = new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0);

            // Click-and-drag
            _mouseDragDown = new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0);
            _mouseDragUp = new MouseEventArgs(MouseButtons.Left, 1, 100, 100, 0);
        }