public MacroPlayer(NewMainForm mainForm, string file)
 {
     form = mainForm;
     fileName = file;
     string text = System.IO.File.ReadAllText(fileName);
     tokens = Regex.Split(text, @"\s+");
 }
 private static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Version version = typeof(string).Assembly.GetName().Version;
     newMainForm = new NewMainForm();
     WSSWebRequestCreate.RegisterPrefixes();
     newMainForm.ShowDialog();
 }
Beispiel #3
0
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Version version = typeof(string).Assembly.GetName().Version;

            newMainForm = new NewMainForm();
            WSSWebRequestCreate.RegisterPrefixes();
            newMainForm.ShowDialog();
        }