2
Answers

Graphical user Interface problem

Photo of Asad Ali

Asad Ali

14y
8k
1

Hi ,
I am trying to calculate simpsons rule of integration. when i use normal empty project for console application my code works alrite, but when i use windows form application, i creat 3 check boxes for 3 different type of simpsons integration and 3 input boxes one for upper value, one for lower value and when for no of n values . and a calulate button . i put all of my code behind calculate button, but when i run it it runs for a second like an eye blink and then goes back to normal form .also when i run it my form bottom splits into two portions right one saying Immediate window and closes down within no time , it shows me no errors as well, and my second problem is when i try to assign the value of 'a' to TextBox1.Text , i cant find Textbox1.Text in the popdown menu while typing it.
Please help ASAP? 

Answers (2)

0
Photo of Frogleg
NA 4.9k 37.2k 14y

textbox1.text is a string so you will have to convert to an integer
eg
int a;
a = Convert.ToInt32(textbox1.Text);
0
Photo of Crish
NA 2.4k 92.8k 14y
Hi

A GUI (usually pronounced GOO-ee) is a graphical (rather than purely textual) user interface to a computer. If you want to get more detail about graphical user interface than just go for this below link.

http://searchwindevelopment.techtarget.com/definition/GUI