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