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