List of Exercises

TextBox for Password and Show ToolTop in | C#

	    	
namespace textbox_password
{
  public partial class Form1 : Form
  {
    public Form1()
    {
      InitializeComponent();
      textBox1.Text = "";
      textBox1.PasswordChar = '*';
      textBox1.MaxLength = 6;
    }

    private void textBox2_Enter(object sender, EventArgs e)
    {
      TextBox TB = (TextBox)sender;
      ToolTip tt = new ToolTip();
      tt.InitialDelay = 0;
      tt.Show("Enter 6 digit password.", TB, 0, 0, 1000);
    }

  }
}
		
	 


Download the project of Visual Studio 2013 in DropBox Download


How to Use TextBox for Password | Show ToolTop in TextBox C#


Video Thumbnail