Interaction logic for Pressure.xaml
Наследование: System.Windows.Controls.Page
Пример #1
0
 private void OnUnloaded(object sender, RoutedEventArgs e)
 {
     Instance = null;
 }
Пример #2
0
        private void OnLoaded(object sender, RoutedEventArgs e)
        {
            Instance = this;

            Start.Visibility = Visibility.Visible;
            Stop.Visibility = Visibility.Collapsed;
            Retry.Visibility = Visibility.Collapsed;
            Menu.Visibility = Visibility.Visible;

            Progress.maximum = K.MaxReadings;
            Progress.minimum = 0;
            Progress.Value = 0;

            Refresh();
        }