Jul 24, 2008

Message Box (c#)

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

free web hosting

Message Box (c#)

Blackbelt012
First add a button
Then double click on it

Add this code below for the simple version.
CODE
MessageBox.Show("Whatever you want the message to say");

Now to add a title to you message box do this.
CODE
MessageBox.Show("Whatever you want the message to say", "Your Title");

This adds a title to the message box.

This is very easy but if you need more help just lemme know.

Reply

Imtay22
Okay yeah I could see someone who actually knows what C# is thinking that was easy, but I don't know, I've never done anything with C or C#, so I don't have a clue what it is. I don't have a clue on "double-click that button". What program? I need help.

Reply

Blackbelt012
OK, so the program you use is Microsoft C# 2005 Express Edition. When you start a new project there is a place on the left side called "Toolbox" and there is something in there called "button". You drag and drop the button onto your application. Once you did that you double click on the button you just added. If you still need more help let me know.

Reply

Imtay22
Ahh very cool thanks Blackbelt!~

Reply

iGuest
How do you make it so when somone clicks no the message pops up again.. I'm having trouble with that

-reply by Snarf

Reply

iGuest
Replying to iGuest
If this follows the guidelines of C++ Use
If(IDNO != NULL){
goto [put label here];
}
That way when they click no it redirects it to the label you set up before the message box.

-reply by Daidryk

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. 2008 messagebox c# - 2.78 hr back. (1)
  2. c# message - 3.03 hr back. (1)
  3. mesage box c# - 3.71 hr back. (1)
  4. frontpage msgbox example popup title - 3.84 hr back. (1)
  5. c# mssage box - 4.08 hr back. (1)
  6. "message box" c# - 5.02 hr back. (1)
  7. messagebox c# - 5.74 hr back. (1)
  8. pop up message box in c# code - 6.10 hr back. (1)
  9. msgbox en c# - 6.40 hr back. (1)
  10. c3 message box - 8.46 hr back. (1)
  11. notification box c# - 8.67 hr back. (1)
  12. c# messagebox - 3.00 hr back. (5)
  13. messagebox c# error - 9.04 hr back. (1)
  14. message box with text box c# - 9.82 hr back. (1)
Similar Topics

Keywords : message


    Looking for message, box, c,

Searching Video's for message, box, c,
advertisement



Message Box (c#)



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE