private void save_Click(object sender, RoutedEventArgs e) { if (fileName != String.Empty) { TextFileOperations.WriteTextFileContents(fileName, input.Text); } }
private void open_Click(object sender, RoutedEventArgs e) { fileName = GetFileName(); if (fileName != String.Empty) { // input.Text = TextFileOperations.ReadTextFileContents(fileName); input.Text = TextFileOperations.ReadAndFilterTextFileContents(fileName); } }