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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -