LayoutFarm.DzBoardSample.UIControllerBox.OnMouseUp C# (CSharp) Method

OnMouseUp() protected method

protected OnMouseUp ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void
        protected override void OnMouseUp(UIMouseEventArgs e)
        {
            //create commadn history and add?

            var newBeginPoint = new Point(this.TargetBox.Left, this.TargetBox.Top);
            this.DesignBoardModule.HistoryRecordDzElementNewPosition(
                this.TargetBox,
                new Point(this.beginRect.Left, this.beginRect.Top),
                newBeginPoint);
            this.beginRect = new Rectangle(newBeginPoint.X, newBeginPoint.Y, this.TargetBox.Width, this.TargetBox.Height);
            base.OnMouseUp(e);
        }