Click here to Skip to main content


AnswerRe: synchronized PinmvpRichard MacCutchan13-Nov-12 22:17 
AnswerRe: synchronized PinmemberBobJanova13-Nov-12 23:41 
GeneralRe: synchronized PinmvpManfred R. Bihy14-Nov-12 0:00 
QuestionJava code Convert to C# PinmemberLAPEC13-Nov-12 13:03 
Hello Everyone
I'm trying to convert this java code to C#, could someone please help me on this because I am very new into programming.
Here is the Java code...
import java.awt.Component;
import javax.swing.JOptionPane;
public class ConfirmDeleteDialog {
	public static final int YES = JOptionPane.YES_OPTION;
	public static final int NO = JOptionPane.NO_OPTION;
	public static final int CANCEL = JOptionPane.CANCEL_OPTION;
	static final int OK = JOptionPane.OK_OPTION;
	static final int CLOSED = JOptionPane.CLOSED_OPTION;
	public static int showMessage(Component parent, String message, String title) {
		return JOptionPane.showConfirmDialog(parent, message, title, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
thanks in advance
AnswerRe: Java code Convert to C# PinmemberBernhard Hiller13-Nov-12 22:14 
GeneralRe: Java code Convert to C# PinmemberLAPEC14-Nov-12 1:19 
QuestionRe: Java code Convert to C# PinmemberBlikkies14-Nov-12 2:06 
GeneralRe: Java code Convert to C# PinmvpRichard MacCutchan14-Nov-12 2:34 
AnswerRe: Java code Convert to C# PinmvpRichard MacCutchan13-Nov-12 22:16 
AnswerRe: Java code Convert to C# PinmemberDave Doknjas17-Nov-12 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 28 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid