static void Main(string[] args) { SQMParser parser = new SQMParser(@"C:\Users\Sebastian\Documents\Arma 3 - Other Profiles\Head\MPMissions\ffff.Altis\mission.sqm"); parser.Process(); parser.Print(); Console.Read(); }
private void openToolStripButton_Click(object sender, EventArgs e) { DialogResult result = OpenFileDialog.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { Parser = new SQMParser(OpenFileDialog.FileName); Parser.SetupBackgroundWorker(Thread); ProgressBar.Show(); Thread.RunWorkerAsync(); } }