How To Use InputBox in Visual C#

Visual C# InputBox

The InputBox object allows us to get information from the user with the help of a dialog box. But this class is not normally valid for the C# programming language. If we still want to create an inputbox object using this class;

Project menu / Add Reference / .NET / Microsoft.VisualBasic

We can include this class in our project by following the steps above. In this way, we can use objects of this class as follows:

int n;
n =Convert.ToInt32(Microsoft.VisualBasic.Interaction.InputBox( "Your message",  "Title", "" , 10, 10));

 

visual c# inputbox örnekleri, c# inputbox kullanımı, inputbox neden çalışmıyor, c# de inputbox kullanabilmek için

EXERCISES

There are no examples related to this subject.



COMMENTS




Read 856 times.

Online Users: 200



visual-c-sharp-inputbox