示例#1
0
 void showHideProgressBar(bool hide)
 {
     if (hide)
     {
         ActivityIndicator.StopProgressAnimation();
         ActivityIndicator.Visibility = Visibility.Collapsed;
     }
     else
     {
         ActivityIndicator.Visibility = Visibility.Visible;
         ActivityIndicator.StartProgressAnimation();
     }
 }
        internal void StopBusyIndicator()
        {
            if (FindButton != null)
            {
                FindButton.IsEnabled = true;
            }

            if (ActivityIndicator != null)
            {
                ActivityIndicator.StopProgressAnimation();
                ActivityIndicator.Visibility = System.Windows.Visibility.Collapsed;
            }
        }