示例#1
0
        private void Window_ContentRendered(object sender, EventArgs e)
        {
            Vector2 windowPos = windowTalePosition;

            windowPos += -(Vector2)TailShape.TranslatePoint(new Point((float)TailShape.ActualWidth, (float)-TailShape.ActualHeight * 0.5f), this);

            Left = windowPos.x;
            Top  = windowPos.y;

            PlayShowingAnimation();
            Opacity = 1d;
        }
示例#2
0
        private void Window_ContentRendered(object sender, EventArgs e)
        {
            RegisterEvents();
            OnValueChanged_SelectedHsv();

            Vector2 windowPos = windowTalePosition;

            windowPos += -(Vector2)TailShape.TranslatePoint(new Point((float)TailShape.ActualWidth, (float)-TailShape.ActualHeight * 0.5f), this);

            Left = windowPos.x;
            Top  = windowPos.y;

            this.PlaySlideInAnim();

            Opacity = 1d;
        }