Ejemplo n.º 1
0
 public void AddNewRadioButtonModel(RadioButtonViewModel viewModel)
 {
     if (UserChoiceMathFunction == null && viewModel.IsFuncChecked)
     {
         UserChoiceMathFunction = viewModel.MathFunction;
     }
     else if (UserChoiceMathFunction != null && viewModel.IsFuncChecked)
     {
         viewModel.IsFuncChecked = false;
     }
     RadioButtons.Add(viewModel);
 }
 public RadioButtonDemoController()
 {
     RadioButtonVM = new RadioButtonViewModel();
 }