Click here to Skip to main content
12,823,954 members (45,920 online)
   

Java

 
AnswerRe: Using MuPDF library in java Pin
yangxiaoyan18-Nov-12 17:58
memberyangxiaoyan18-Nov-12 17:58 
Questionuse snmp check equiment type Pin
XMafei13-Nov-12 23:05
memberXMafei13-Nov-12 23:05 
AnswerRe: use snmp check equiment type Pin
TorstenH.14-Nov-12 20:03
memberTorstenH.14-Nov-12 20:03 
Questionsynchronized Pin
geniuspc13-Nov-12 15:23
membergeniuspc13-Nov-12 15:23 
AnswerRe: synchronized Pin
Richard MacCutchan13-Nov-12 22:17
mvpRichard MacCutchan13-Nov-12 22:17 
AnswerRe: synchronized Pin
BobJanova13-Nov-12 23:41
memberBobJanova13-Nov-12 23:41 
GeneralRe: synchronized Pin
Manfred R. Bihy14-Nov-12 0:00
mvpManfred R. Bihy14-Nov-12 0:00 
QuestionJava code Convert to C# Pin
LAPEC13-Nov-12 13:03
memberLAPEC13-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

lapeci
AnswerRe: Java code Convert to C# Pin
Bernhard Hiller13-Nov-12 22:14
memberBernhard Hiller13-Nov-12 22:14 
GeneralRe: Java code Convert to C# Pin
LAPEC14-Nov-12 1:19
memberLAPEC14-Nov-12 1:19 
QuestionRe: Java code Convert to C# Pin
Blikkies14-Nov-12 2:06
memberBlikkies14-Nov-12 2:06 
GeneralRe: Java code Convert to C# Pin
Richard MacCutchan14-Nov-12 2:34
mvpRichard MacCutchan14-Nov-12 2:34 
AnswerRe: Java code Convert to C# Pin
Richard MacCutchan13-Nov-12 22:16
mvpRichard MacCutchan13-Nov-12 22:16 
AnswerRe: Java code Convert to C# Pin
Dave Doknjas17-Nov-12 4:17
memberDave Doknjas17-Nov-12 4:17 
QuestionTower of hanoi in java Pin
prog.sidra11-Nov-12 22:19
memberprog.sidra11-Nov-12 22:19 
AnswerRe: Tower of hanoi in java Pin
Richard MacCutchan11-Nov-12 22:49
mvpRichard MacCutchan11-Nov-12 22:49 
AnswerRe: Tower of hanoi in java Pin
TorstenH.12-Nov-12 1:22
memberTorstenH.12-Nov-12 1:22 
GeneralRe: Tower of hanoi in java Pin
prog.sidra12-Nov-12 20:58
memberprog.sidra12-Nov-12 20:58 
QuestionIf element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
Asad JOgi11-Nov-12 20:26
memberAsad JOgi11-Nov-12 20:26 
AnswerRe: If element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
TorstenH.11-Nov-12 22:15
memberTorstenH.11-Nov-12 22:15 
AnswerRe: If element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
BobJanova13-Nov-12 1:06
memberBobJanova13-Nov-12 1:06 
QuestionError show ImageIcon ??? Pin
nghia09t39-Nov-12 20:34
membernghia09t39-Nov-12 20:34 
AnswerRe: Error show ImageIcon ??? Pin
Richard MacCutchan10-Nov-12 0:32
mvpRichard MacCutchan10-Nov-12 0:32 
AnswerRe: Error show ImageIcon ??? Pin
TorstenH.10-Nov-12 15:02
memberTorstenH.10-Nov-12 15:02 
GeneralRe: Error show ImageIcon ??? Pin
Gowtham Gutha15-Nov-12 7:46
memberGowtham Gutha15-Nov-12 7:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.170308.1 | Last Updated 27 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid