EndControl.xaml.cs
上传用户:lvyingde
上传日期:2018-04-24
资源大小:610k
文件大小:1k
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Shapes;
- namespace wxwinter.WFDesignerSl
- {
- public partial class EndControl : ActivityControl
- {
- public EndControl()
- {
- InitializeComponent();
- }
- private void thumb_DragDelta(object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e)
- {
- Canvas.SetLeft(this, Canvas.GetLeft(this) + e.HorizontalChange);
- Canvas.SetTop(this, Canvas.GetTop(this) + e.VerticalChange);
- On刷新事件();
- }
- private void ActivityControl_MouseEnter(object sender, MouseEventArgs e)
- {
- if (myContext.mouseMove)
- {
- object o = myContext.sourceName;
- On连接事件(o.ToString());
- On刷新事件();
- myContext.mouseMove = false;
- myContext.sourceName = "";
-
- }
- }
- }
- }