Пример #1
0
		private void TextPreprocessingWindow_OnLoaded (object Sender, RoutedEventArgs E)
			{
			TextHandler = new TextPreprocessor();
			AlpenVereinProgrammMapping.AlpenVereinProgrammMappingControl AlpenEnvironment = new AlpenVereinProgrammMappingControl();
			TextHandler.LoadFromFile(AlpenEnvironment.SaveStoreName + ".TextPre");
			if (PropertyChanged != null)
				PropertyChanged(this, new PropertyChangedEventArgs("TextHandler"));
			}
		private void ReplaceButton_OnClick (object Sender, RoutedEventArgs E)
			{
			TextPreprocessor Prep = new TextPreprocessor ();
			Prep.LoadFromFile (SaveStoreName + ".TextPre");
			InputText.Text = Prep.DoTextProcessing (InputText.Text);
			}