Ejemplo n.º 1
0
        private void SpecifyCropArea(object sender, RoutedEventArgs e)
        {
            CropHelper helper = new CropHelper((int)ACT.MANUAL);

            helper.Owner = this;
            helper.Show();
        }
Ejemplo n.º 2
0
 private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
 {
     if (msg == WM_HOTKEY)
     {
         if (wParam.ToInt32() == hotkeyid)
         {
             CropHelper crophelper = new CropHelper((int)ACT.AUTO);
             crophelper.Owner = this;
             crophelper.Show();
         }
     }
     return(IntPtr.Zero);
 }