The text box has a string property called Text which is the entered text in the text box. For example, if you name your text box myText, you can do the following in your mouse click event:
private void MouseClick(object sender, EventArgs e)
string text = myText.Text;
if (String.IsNullOrEmpty(text)) // check to see we actually have some text
throw Exception.Create("Require text!");
// do something here with the string "text"
i am trying to create a library management system which is supposed to be used to store/keep infp for the library and the library members( book title, author, name and picture for borrower and other stuffs). The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload ...