static void Main() { Form1 form = new Form1(); User32Application app = new User32Application(); app.Run(form); }
static void Main() { User32Application app = new User32Application(); Form1 win = new Form1(); app.Run(win); }
public static void Main(string[] args) { PictureWindow win = new PictureWindow(50,50); User32Application app = new User32Application(); app.Run(win); }
static void Main() { User32Application app = new User32Application(); Projector win = new Projector(); app.Run(win); }
public static void Main(string[] args) { SnapperWindow win = new SnapperWindow(); User32Application app = new User32Application(); app.Run(win); }
public static void Main(string[] args) { MenuWindow win = new MenuWindow(50,50); win.Show(); User32Application app = new User32Application(); app.Run(win); }
/// <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); }
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); }
/// <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); }