Click here to Skip to main content
16,021,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I'm programming in C# and I use Visual stuido 2012... Previously when i wrote like

Messagebox. (it showed up a little box that showed me options to choose) I don't know what i've done but for some reason I've removed it accidently :S How can I get it back? Please help
Posted

Intellisense (the little box with options) only works when you spell things correctly.

It is not "Messagebox" it's "MessageBox" - c# is case=sensitive

[EDIT]

Close down Visual Studio and restart.

If you still have a problem have a look at some options here[^]

and here[^]
 
Share this answer
 
v2
Well, that little box is called intelisense.
So try to reboot machine & reset the Visual Studio settings.
See here[^], here[^] and the very most important notes arehere[^].

-KR
 
Share this answer
 
Try the messagebox parameters mentioned at MessageBox.Show Method[^].
public static DialogResult Show(
	string text,
	string caption,
	MessageBoxButtons buttons,
	MessageBoxIcon icon,
	MessageBoxDefaultButton defaultButton,
	MessageBoxOptions options,
	bool displayHelpButton
)


The last option displayHelpButton when passed as true will display the help button.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900