示例#1
0
        static void Main()
        {
            if (File.Exists(binFilepath + @"\installed.dub") == false | Directory.Exists(binFilepath) == false)
            {

                isInstalled = false;
                Install();
            }

            if (File.Exists(WaiolibFilepath) == false)
            {
                MessageBox.Show("waiolib.dll could not be found. Please ensure the file exists and restart the program.");
                Environment.Exit(1);
            }

            string s1 = "test";
            Application.EnableVisualStyles();

            MainWindow form1 = new MainWindow();

            form1.Size = new System.Drawing.Size(1280, 720);

            MainWindow ref1 = form1;

            Application.Run(form1);
        }
示例#2
0
 public static void Main(string[] args)
 {
     Application.Init ();
     MainWindow win = new MainWindow ();
     win.Show ();
     Application.Run ();
 }
示例#3
0
        static void Main()
        {
            if (File.Exists(binFilepath + @"\installed.dub") == true)
            {
                isInstalled = true;
            }
            else
            {
                isInstalled = false;
            }

            Application.EnableVisualStyles();

            MainWindow form1 = new MainWindow();

            form1.Size = new System.Drawing.Size(1280, 720);

            MainWindow ref1 = form1;

            Application.Run(form1);
        }
示例#4
0
 private void newWindowToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainWindow f1 = new MainWindow();
     f1.Show();
 }
 public accessibilitySettings(MainWindow mw)
 {
     this.parent = mw;
     InitializeComponent();
 }