public static void Main(string[] args) { Application.Init (); MainWindow win = new MainWindow (); win.Show (); Application.Run (); }
public static void Main(string[] args) { Application.Init (); //initializes the application MainWindow win = new MainWindow (); //creates the window win.Show (); //shows the window Application.Run (); //runs the application }
public static void Main(string[] args) { Application.Init (); charp = new CharpGtk (); charp.baseUrl = "http://www.imr.local/"; charp.credentialsSet ("testuser", "6f1ed002ab5595859014ebf0951522d9"); charp.credentialsSave (); MainWindow win = new MainWindow (charp); win.Show (); Application.Run (); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); MainWindow Main = new MainWindow(); Main.Show(); }