txtBoxReplaceNewLine() public static méthode

public static txtBoxReplaceNewLine ( TextBox txtb ) : void
txtb System.Windows.Forms.TextBox
Résultat void
Exemple #1
0
 public static void Cell_TextChanged(object sender, DataGridView dgv, Control e)
 {
     if (e != null)
     {
         Utilities.txtBoxReplaceNewLine((TextBox)e);
         dgv.CurrentCell.Value = e.Text;
     }
 }
Exemple #2
0
 private void txtAnswer_TextChanged(object sender, EventArgs e)
 {
     Utilities.txtBoxReplaceNewLine(txtAnswer);
 }