T
tascien
In java, you can do:
public class MyJButton extends JButton{
public MyJButton(){
}
}
then you can use this custom button as if it was a JButton...
Applet.add(new MyJButton());
same as
Applet.add(new JButton());
is it possible in C# or VB.net?
Question 2:
In vb.net i can do:
Dim ohttp As Object = Server.CreateObject("MSXML2.ServerXMLHTTP")
ohttp.Open ("GET","http://www.google.ca",false)
ohttp.Send()
But in C#, it says that Generic Object does not have 'Open' method?
what can i use?
public class MyJButton extends JButton{
public MyJButton(){
}
}
then you can use this custom button as if it was a JButton...
Applet.add(new MyJButton());
same as
Applet.add(new JButton());
is it possible in C# or VB.net?
Question 2:
In vb.net i can do:
Dim ohttp As Object = Server.CreateObject("MSXML2.ServerXMLHTTP")
ohttp.Open ("GET","http://www.google.ca",false)
ohttp.Send()
But in C#, it says that Generic Object does not have 'Open' method?
what can i use?