コード例 #1
0
 private void radioButton_Click(object sender, RoutedEventArgs e)
 {
     strategy = instances[((RadioButton)sender).Name];
 }
コード例 #2
0
 public MainWindow()
 {
     InitializeComponent();
     strategy = instances["arrayRd"];
     changeButtonStatus(true);
 }