예제 #1
0
 private void Change_Base_Button_Click(object sender, RoutedEventArgs e)
 {
     if (A_Radio.IsChecked == true)
     {
         if (myType != 'A')
         {
             mw.ChangeBaseType('A');
             this.Close();
         }
     }
     else if (U_Radio.IsChecked == true)
     {
         if (myType != 'U')
         {
             mw.ChangeBaseType('U');
             this.Close();
         }
     }
     else if (G_Radio.IsChecked == true)
     {
         if (myType != 'G')
         {
             mw.ChangeBaseType('G');
             this.Close();
         }
     }
     else if (C_Radio.IsChecked == true)
     {
         if (myType != 'C')
         {
             mw.ChangeBaseType('C');
             this.Close();
         }
     }
 }