3 Replies - 25106 Views - Last Post: 31 January 2011 - 08:15 AM Rate Topic: -----

#1 vijayasok   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 30-January 11

JOptionPane Equivalent in C#

Posted 30 January 2011 - 12:09 PM

what is the equivalent code in c# for JOptionPane in java ??

MOD EDIT: Please don't use "C#" as the topic title for a post in the C# Forum; we KNOW it's a C# question or you (likely) wouldn't have asked in the C# Forum!!! Use a descriptive title, like that to which I've changed yours.

This post has been edited by JackOfAllTrades: 30 January 2011 - 01:45 PM

Is This A Good Question/Topic? 0
  • +

Replies To: JOptionPane Equivalent in C#

#2 Ryano121   User is offline

  • D.I.C Lover
  • member icon

Reputation: 1461
  • View blog
  • Posts: 3,289
  • Joined: 30-January 11

Re: JOptionPane Equivalent in C#

Posted 30 January 2011 - 12:11 PM

i believe you can just make a custom messagebox kind of idea as a new form and then just show it, returning the desired values afterwards.
Was This Post Helpful? 1
  • +
  • -

#3 Guest_Eric*


Reputation:

Re: JOptionPane Equivalent in C#

Posted 31 January 2011 - 07:47 AM

View PostRyano121, on 30 January 2011 - 12:11 PM, said:

i believe you can just make a custom messagebox kind of idea as a new form and then just show it, returning the desired values afterwards.



It would be MessageBox.Show("Message Goes Here");

You can also extend these parameters to give your message box more meaning
MessageBox.Show("Message Here","Title of Message Box", etc)
Was This Post Helpful? 0

#4 Curtis Rutland   User is offline

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 5103
  • View blog
  • Posts: 9,283
  • Joined: 08-June 10

Re: JOptionPane Equivalent in C#

Posted 31 January 2011 - 08:15 AM

If you're looking for input though, you'll have to roll your own.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1