コード例 #1
0
 private void DoRedirect_CheckedChange(object sender, CompoundButton.CheckedChangeEventArgs e)
 {
     if (e.IsChecked)
     {
         TrainInfoReader.SetRedirect(new InternalSavedDataReader());
     }
     else
     {
         TrainInfoReader.ClearRedirect();
     }
 }
コード例 #2
0
 private void DoRedirectCheckBox_Unchecked(object sender, RoutedEventArgs e)
 {
     TrainInfoReader.ClearRedirect();
 }