コード例 #1
0
		private void EditXmlConfig_Loaded(object sender, RoutedEventArgs e)
		{
			programme = DataContext as Programme;

			textEditor.ShowLineNumbers = true;
			textEditor.TextChanged += textEditor_TextChanged;
			textEditor.TextArea.TextEntered += new TextCompositionEventHandler(textEditor_TextEntered);

			programme.PropertyChanged += Programme_PropertyChanged;
		}
コード例 #2
0
        private void EditXmlConfig_Loaded(object sender, RoutedEventArgs e)
        {
            programme = DataContext as Programme;

            textEditor.ShowLineNumbers       = true;
            textEditor.TextChanged          += textEditor_TextChanged;
            textEditor.TextArea.TextEntered += new TextCompositionEventHandler(textEditor_TextEntered);

            programme.PropertyChanged += Programme_PropertyChanged;
        }