예제 #1
0
        static void RunStatePropertyChangedCallbask(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            WaitingProgress wp = (sender as WaitingProgress);

            if (wp != null)
            {
                if (wp.RunState)
                {
                    wp.Start();
                }
                else
                {
                    wp.Stop();
                }
            }
        }
예제 #2
0
        static void TextPropertyChangedCallbask(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            WaitingProgress wp = sender as WaitingProgress;

            wp.TextShow.Text = wp.Text;
        }