There are few ways to get the watermark effect on textboxes. Here are useful references to achieve that effect.
1. http://pastebin.com/iFzanuC2
usage: txtName.SetWatermark("Enter Username");
2. http://stackoverflow.com/questions/4902565/watermark-textbox-in-winforms/4902969#4902969
3. http://www.codeproject.com/Articles/27849/WaterMark-TextBox-For-Desktop-Applications-Using-C
4. http://www.c-sharpcorner.com/UploadFile/scottlysle/WatermarkCS05072007024947AM/WatermarkCS.aspx
cheers
Samitha
1. http://pastebin.com/iFzanuC2
usage: txtName.SetWatermark("Enter Username");
2. http://stackoverflow.com/questions/4902565/watermark-textbox-in-winforms/4902969#4902969
3. http://www.codeproject.com/Articles/27849/WaterMark-TextBox-For-Desktop-Applications-Using-C
4. http://www.c-sharpcorner.com/UploadFile/scottlysle/WatermarkCS05072007024947AM/WatermarkCS.aspx
cheers
Samitha
No comments:
Post a Comment