예제 #1
0
 private void SentenceConfirm_Click(object sender, RoutedEventArgs e)
 {
     Common.repairSettings.SentenceRepeatFindCharNum = Sentence_TextBox.Text;
     Common.RepairFuncInit();
     repairedTextBox.Text        = TextRepair.RepairFun_RemoveSentenceRepeat(sourceTextBox.Text);
     Sentence_InputDrawer.IsOpen = false;
 }
 private void SentenceConfirm_Click(object sender, RoutedEventArgs e)
 {
     if (!int.TryParse(Sentence_TextBox.Text, out int num))
     {
         return;
     }
     Common.repairSettings.SentenceRepeatFindCharNum = num;
     Common.RepairFuncInit();
     repairedTextBox.Text        = TextRepair.RepairFun_RemoveSentenceRepeat(sourceTextBox.Text);
     Sentence_InputDrawer.IsOpen = false;
 }