Go to Other Forms with RadioButton in C# -
in c# windowsform app, have 3 forms , in first form have 2 radiobuttons. want go form2 if radiobutton1 selected , go form3 if radiobuttn2 selected.
how can that?!
just use checkedchanged
event of radio button detect radio selected , launch forms
private void radiobutton_checkedchanged(object sender, eventargs e) { if (radiobutton1.checked) new form1().show(); else new form2().show(); }
Comments
Post a Comment