|
@@ -18,7 +18,7 @@ namespace YSAI.Windows.Anime.Samples
|
|
|
{
|
|
{
|
|
|
InitializeComponent();
|
|
InitializeComponent();
|
|
|
//拖动
|
|
//拖动
|
|
|
- dragControlsAnimate = new DragControlsAnimate(this, Pane, -(double)this.FindResource("TitleHeight")); //你得定义一个容器传容器对象或者Name
|
|
|
|
|
|
|
+ dragControlsAnimate = new DragControlsAnimate(this, Pane, (double)this.FindResource("TitleHeight")); //你得定义一个容器传容器对象或者Name
|
|
|
dragControlsAnimate.Insert(ConShow1);
|
|
dragControlsAnimate.Insert(ConShow1);
|
|
|
dragControlsAnimate.Insert(ConShow2);
|
|
dragControlsAnimate.Insert(ConShow2);
|
|
|
dragControlsAnimate.MessageEvenTrigger += MessageEvenTrigger;
|
|
dragControlsAnimate.MessageEvenTrigger += MessageEvenTrigger;
|