MessageBox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smahaboob
    New Member
    • Mar 2007
    • 32

    MessageBox

    How can we display our own Message Box Buttons


    suppose in message box default message box buttons are "yes no cancle"

    I want to display my own caption on messagebox buttons. How can it?


    any one can help? using c#
  • SammyB
    Recognized Expert Contributor
    • Mar 2007
    • 807

    #2
    Originally posted by smahaboob
    How can we display our own Message Box Buttons


    suppose in message box default message box buttons are "yes no cancle"

    I want to display my own caption on messagebox buttons. How can it?


    any one can help? using c#
    There are lots of overloads for Show, some of them allow you to specify the buttons. For example,
    Code:
    MessageBox.Show("Hi",MessageBoxButtons.YesNoCancel);

    Comment

    • smahaboob
      New Member
      • Mar 2007
      • 32

      #3
      Originally posted by SammyB
      There are lots of overloads for Show, some of them allow you to specify the buttons. For example,
      Code:
      MessageBox.Show("Hi",MessageBoxButtons.YesNoCancel);

      thanks for your reply,


      but in the place of "yes no cancle" i am looking my own caption like "yeah noe cnc" like that

      Comment

      • SammyB
        Recognized Expert Contributor
        • Mar 2007
        • 807

        #4
        Originally posted by smahaboob
        thanks for your reply,


        but in the place of "yes no cancle" i am looking my own caption like "yeah noe cnc" like that
        In that case, you just have to make your own form.

        Comment

        Working...