Ejemplo n.º 1
0
 private void MouseDown(object sender, WindowsHookLib.MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         pressingLMouseBtn = true;
         if (pressingPrintAreaBtns())
         {
             // start screen selection
             mouseStartPos  = e.Location;
             printSelection = new PrintAreaSelection(mouseStartPos);
         }
     }
 }
Ejemplo n.º 2
0
 private void MouseDown(object sender, WindowsHookLib.MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         pressingLMouseBtn = true;
         if (pressingPrintAreaBtns())
         {
             // start screen selection
             mouseStartPos = e.Location;
             printSelection = new PrintAreaSelection(mouseStartPos);
         }
     }
 }