private void AtIdSupplement_Shown(object sender, EventArgs e) /*Handles this.Shown*/
 {
     TextId.Text = startChar;
     if (!string.IsNullOrEmpty(_StartsWith))
     {
         TextId.Text += _StartsWith.Substring(0, _StartsWith.Length);
     }
     TextId.SelectionStart = TextId.Text.Length;
     TextId.Focus();
 }
Exemple #2
0
 private void AtIdSupplement_Shown(object sender, EventArgs e)
 {
     TextId.Text = startChar;
     if (!MyCommon.IsNullOrEmpty(this.StartsWith))
     {
         TextId.Text += this.StartsWith.Substring(0, this.StartsWith.Length);
     }
     TextId.SelectionStart = TextId.Text.Length;
     TextId.Focus();
 }