Exemplo n.º 1
0
        public static void Main()
        {
            Application app = new Application();
            var         win = new MyWindow {
                Background = null
            };

            app.Run(win);
        }
Exemplo n.º 2
0
        static void Main()
        {
            MyWindow form = new MyWindow();

            form.Text = "My First Window Form";

            Button button = new Button();

            button.Text = " Click Mi";
            form.Controls.Add(button);

            Application.Run(form);
        }