示例#1
0
        public override void Init(DrawHost dh)
        {
            drawhost = dh;
            drawhost.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(drawhost_MouseLeftButtonDown);

            drawhost.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(drawhost_MouseRightButtonDown);

            
        }
示例#2
0
 public override void Deinit(DrawHost dh)
 {
     drawhost.MouseLeftButtonDown -= drawhost_MouseLeftButtonDown;
     points = null;
 }
示例#3
0
 public abstract void Deinit(DrawHost dh);
示例#4
0
 public override void Deinit(DrawHost dh)
 {
     drawhost.MouseLeftButtonDown -= drawhost_MouseLeftButtonDown;
    
     drawhost.MouseRightButtonDown -= drawhost_MouseRightButtonDown;
 }
示例#5
0
 public abstract void Init(DrawHost dh);