예제 #1
0
파일: ClawWindow.cs 프로젝트: UserXXX/Claw
        /// <summary>
        /// Called when the highlights width changed.
        /// </summary>
        /// <param name="d">The dependency object. This is the ClawWindow.</param>
        /// <param name="e">Event arguments.</param>
        private static void OnHighlightWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ClawWindow window = (ClawWindow)d;

            window.InvalidateVisual();
        }
예제 #2
0
 /// <summary>
 /// Called when the window completed it's opening.
 /// </summary>
 /// <param name="sender">Event sender.</param>
 /// <param name="e">Event arguments.</param>
 private void OnOpenCompleted(object sender, EventArgs e)
 {
     window.Opening = false;
     window.InvalidateVisual();
 }