void ModifyQuest() { QuestionsTextBox.Clear(); string[] Quest = parser.Questions.Split('\r'); for (int i = 2 + Q; i < Quest.Length; i++) { QuestionsTextBox.Text += Quest[i] + "\n"; } }
private void OpenFileButton_Click(object sender, EventArgs e) { QuestionsTextBox.Clear(); AutorTextBox.Clear(); ObjectTextBox.Clear(); DynamicTextBox.Clear(); openFile.ShowDialog(); string path = openFile.FileName; parser.ParseFile(path); PrintObjects(parser.Objects); QuestionsTextBox.Text = parser.Questions; AutorTextBox.Text = parser.Autor; Go.Enabled = true; }