Example #1
0
        public static void Main(string[] args)
        {
            string url = (args.Length > 0) ? args[0] : "";

            Application.Init ();
            MainWindow window = new MainWindow (url);
            window.Show ();
            Application.Run ();
        }
Example #2
0
 void NewWindow_Activated(object sender, EventArgs args)
 {
     MainWindow anotherWindow = new MainWindow (url);
     anotherWindow.Show ();
 }