Answers for "winforms input box"

1

c# winforms input

// Follow the video to set up the rest of the project
private void btnOK_Click(object sender, EventArgs e)
{
	MessageBox.Show($"Welcome {txtName.Text}, you're {txtAge.Text} years old.");
}
Posted by: Guest on August-30-2021
0

winforms input box

string input = Microsoft.VisualBasic.Interaction.InputBox("Prompt", 
                       "Title", 
                       "Default", 
                       0, 
                       0);
Posted by: Guest on October-01-2021

Browse Popular Code Answers by Language