Hi
I am just starting to learn how to use microsoft visual j#,
and I wonder if anyone could help me with this problem, I am
trying to display a number stored in a varible into a message
Box.show but I keep getting the Error below:
Error 1 Cannot find method 'Show(int)' in
'System.Windows.Forms.MessageBox' C:\Documents and Settings\Keith\Local
Settings\Application Data\Temporary
Projects\WindowsApplication1\Form1.jsl 84 3 WindowsApplication1
The code I am writing is:
private void button1_Click(Object sender, System.EventArgs e)
{
int x = 6;
x = 6;
MessageBox.Show(x);
}
}
Could someone please help me with this?
Thanks
Keith
--
ByTe
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------