Beispiel #1
0
 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
 }
Beispiel #3
0
        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 ();
        }
Beispiel #4
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     MainWindow Main = new MainWindow();
     Main.Show();
 }