상속: test.Window
예제 #1
0
파일: Main.cs 프로젝트: ubufugu/131-test
 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
 }
예제 #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 ();
        }
예제 #4
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     MainWindow Main = new MainWindow();
     Main.Show();
 }