c# add tooltip control programmatically
// Creating a ToolTip control
ToolTip t_Tip = new ToolTip();
// Set properties of ToolTip
t_Tip.Active = true;
// Attach tooltips
t_Tip.SetToolTip(box1, "Name should start with Capital letter");
t_Tip.SetToolTip(box2, "Password should be greater than 8 words");