Monday, May 24, 2010

Visual C# Question: how do I make a button display words from textboxes?

I want to take words from textboxes and display the content in a seperate window when I click a button. (like messageBox.Show)

Visual C# Question: how do I make a button display words from textboxes?
on a form with txtBox1 and button1


the button1 click event:





private void button1_Click(object sender, EventArgs e)


{


MessageBox.Show(txtBox1.Text);


}
Reply://Answer:


Private Void()


{


msgbox(textbox1.text);


}


}


No comments:

Post a Comment