private void CodeViewSave_Click(object sender, RoutedEventArgs e) { File.WriteAllText(SelectedProgrammer.programPath, CodeTextView.Text); CodeViewButtons.Check(); }
private void CodeTextView_TextChanged(object sender, TextChangedEventArgs e) { CodeViewButtons.Check(); }
private void CodeViewCancel_Click(object sender, RoutedEventArgs e) { CodeTextView.Text = File.ReadAllText(SelectedProgrammer.programPath); CodeViewButtons.Check(); }