Example #1
0
 public static TextInsertWindow GetTextInsertWin(TextListObject txtObj)
 {
     if (textInsertWin is null)
     {
         textInsertWin = new TextInsertWindow();
     }
     textInsertWin.insertTextTxtBox.Focus();
     textInsertWin.txtObj         = txtObj;
     textInsertWin.insertPosition = App.TaggingJobWin.corpusListSt.Children.IndexOf(txtObj);
     textInsertWin.dataPosition   = App.TaggingJobWin.TextList.IndexOf(txtObj);
     return(textInsertWin);
 }
Example #2
0
 private void InsertNewTextBtnClick()
 {
     App.TextInsertWin = TextInsertWindow.GetTextInsertWin(corpusListSt.Children[selectTextIndex] as TextListObject);
     App.TextInsertWin.Show();
 }