Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Message Box (c#)
Blackbelt012
post Aug 12 2007, 10:16 PM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 12-August 07
Member No.: 48,045



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.
Go to the top of the page
 
+Quote Post
Imtay22
post Aug 13 2007, 12:51 PM
Post #2


Super Member
*********

Group: [HOSTED]
Posts: 299
Joined: 27-January 07
From: Winter is cold here.
Member No.: 37,984
Spam Patrol



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.
Go to the top of the page
 
+Quote Post
Blackbelt012
post Aug 13 2007, 02:46 PM
Post #3


Newbie
*

Group: Members
Posts: 4
Joined: 12-August 07
Member No.: 48,045



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.
Go to the top of the page
 
+Quote Post
Imtay22
post Aug 13 2007, 06:15 PM
Post #4


Super Member
*********

Group: [HOSTED]
Posts: 299
Joined: 27-January 07
From: Winter is cold here.
Member No.: 37,984
Spam Patrol



Ahh very cool thanks Blackbelt!~
Go to the top of the page
 
+Quote Post
iGuest
post Jun 2 2008, 11:44 PM
Post #5


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



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

-reply by Snarf
Go to the top of the page
 
+Quote Post
iGuest
post Jul 3 2008, 06:23 AM
Post #6


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



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
Go to the top of the page
 
+Quote Post
iGuest
post Jul 28 2008, 01:36 PM
Post #7


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



how to create a meesage box in web site
Message Box (c#)

How to create a message box using a website using c# code(Dot Net 2005)
Message box contains OK and CANCEL button's if press OK some code execute
If press CANCEL button some code executes
Please help for me its very urgent
How to show it in a web application

-reply by jimson
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Error 28 (on Phpmyadmin)(10)
  2. Scroll Message On Top Of Your Browser..(3)
  3. Help Me _ Error Message: "could Not Retrieve Session Record"(2)
  4. Gmail Outrage(19)
  5. Tray Info Message(7)
  6. Imap Problem(1)
  7. Frontpage Problem(0)
  8. Just About Completed My Own Message Board Source.(10)
  9. Virus Thru Msn Messenger(6)
  10. Microsoft Warns Users Of Pirated Windows Os(34)
  11. Well Hello New Message Board(0)
  12. Site Taking Too Long To Respond(12)
  13. Question About Adding Message Board To Site(5)
  14. Can You Convert This Binary Message(6)
  15. Simple Message Box(3)
  1. Is This Message Normal?(4)
  2. Message Tracker(2)
  3. Hi Friends,(1)
  4. My Site Is Showing A Forbidden Message, Need Help Now.(3)
  5. Useless Topics. Message To Trap17 Admins.(6)
  6. Cpanel Is In The Process Of Maintenance(12)
  7. Cpanel Error Message(2)
  8. Unmountable_boot_volume(8)
  9. Cpanel Message And Cannot Login To Your Account(6)
  10. cPanel Certificate alert message(9)
  11. Msql Error Message(5)
  12. Error Message(4)
  13. php My Admin Rejecting Me/ SQL outtage(6)
  14. What Feature Are You Looking For In Forum/message Board Software?(10)
  15. Messenger Service Message Virus(28)


 



- Lo-Fi Version Time is now: 8th October 2008 - 04:16 AM