示例#1
0
        static void Main()
        {
            Form1 form = new Form1();
            User32Application app = new User32Application();

            app.Run(form);
        }
示例#2
0
        static void Main()
        {
            User32Application app = new User32Application();
            Form1 win = new Form1();

            app.Run(win);
        }
示例#3
0
		public static void Main(string[] args) 
		{
            PictureWindow win = new PictureWindow(50,50);

            User32Application app = new User32Application();
            app.Run(win);
        }
示例#4
0
        static void Main()
        {
            User32Application app = new User32Application();
            Projector win = new Projector();

            app.Run(win);
        }
示例#5
0
        public static void Main(string[] args)
        {
            SnapperWindow win = new SnapperWindow();

            User32Application app = new User32Application();
            app.Run(win);
        }
示例#6
0
		public static void Main(string[] args) 
		{
            
            MenuWindow win = new MenuWindow(50,50);
            win.Show();

            User32Application app = new User32Application();
            app.Run(win);
        }
示例#7
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// <remarks>You only need to use the [STAThread] attribute
        /// if the application needs to be single threaded from a Windows Forms, or other frameworks.
        /// This is the case if you intend to capture screen shots to the Clipboard and Windows.Forms.Clipboard
        /// will only work in a single threaded environment.
        /// </remarks>
        //[STAThread]
        static void Main()
        {
            // Create an instance of the window
            SnapperWindow win = new SnapperWindow();

            // Use the NewTOAPIA application object just for fun
            User32Application app = new User32Application();

            // This will autmatically show the window, and when the 
            // window is closed, the application will discontinue.
            app.Run(win);
        }
示例#8
0
		public static void Main(string[] args) 
		{

            //GUIStyleWindow win = new GUIStyleWindow();

            GUIStyleWindow win2 = new GUIStyleWindow();
            win2.IsApplicationWindow = false;
            win2.MoveTo(300, 300);
            win2.Show();

            User32Application app = new User32Application();
            app.Run(win2);
		}
示例#9
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 //[STAThread]
 static void Main()
 {
     JoyWindow win = new JoyWindow(640, 480);
     User32Application app = new User32Application();
     app.Run(win);
 }