Interaction logic for Pressure.xaml
Inheritance: System.Windows.Controls.Page
 private void OnUnloaded(object sender, RoutedEventArgs e)
 {
     Instance = null;
 }
        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();
        }