Beispiel #1
0
 /// 双击响应
 protected override void OnMouseDoubleClick(MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Middle)
     {
         trans.ZoomReset();
         this.Render();
     }
     base.OnMouseDoubleClick(e);
 }