Beispiel #1
0
 private void Change_Click(object sender, RoutedEventArgs e)
 {
     if (!ExistNameList.Contains(InputName.Text))
     {
         DialogResult = true;
     }
     else
     {
         Utils.DialogService.ShowSimpleTextDialog("Warning", "해당 이름이 이미 사용중입니다.");
         InputName.Focus();
         InputName.SelectionStart = InputName.Text.Length;
     }
 }
Beispiel #2
0
 public void SetText(string text)
 {
     InputName.Text = text;
     InputName.Focus();
     InputName.SelectionStart = InputName.Text.Length;
 }