Example #1
0
 public static void ClearWatermark(TextBox textBox)
 {
     WatermarkUtility.SendMessage(textBox.Handle, 5377, 0, string.Empty);
 }
Example #2
0
 public static void SetWatermark(TextBox textBox, string watermark)
 {
     WatermarkUtility.SendMessage(textBox.Handle, 5377, 0, watermark);
 }