mess110
July 30th, 2008, 04:37 PM
first of all hello :)
ok I moved to hardy and I was really interested in mono gtk# c#
I have a little problem here. from now on I want to make all my applications crossplatform but I have a little problem
// index.cs created with MonoDevelop
// Created by: kiki at 6:06 PM*7/30/2008
using System;
using Gtk;
using Microsoft;
public class GtkHelloWorld{
public static void Main() {
Application.Init();
Window myWin = new Window("My first gtk# app crossplatform");
myWin.Resize(200,200);
Label myLabel = new Label();
myLabel.Text = "Helloworld";
myWin.Add(myLabel);
myWin.ShowAll();
Application.Run();
}
}
this is a sample application I made and it works on linux. but it does not work on windows. I am using monodevelop. can anyone please tell me how to compile to work on both platforms? (I just press F5 to compile it.)
thx in advance
ok I moved to hardy and I was really interested in mono gtk# c#
I have a little problem here. from now on I want to make all my applications crossplatform but I have a little problem
// index.cs created with MonoDevelop
// Created by: kiki at 6:06 PM*7/30/2008
using System;
using Gtk;
using Microsoft;
public class GtkHelloWorld{
public static void Main() {
Application.Init();
Window myWin = new Window("My first gtk# app crossplatform");
myWin.Resize(200,200);
Label myLabel = new Label();
myLabel.Text = "Helloworld";
myWin.Add(myLabel);
myWin.ShowAll();
Application.Run();
}
}
this is a sample application I made and it works on linux. but it does not work on windows. I am using monodevelop. can anyone please tell me how to compile to work on both platforms? (I just press F5 to compile it.)
thx in advance