Mthod Overiding on textbox
Can someone explain to me why this doesn't work?
My textbox still lets me click in it!!!
Thanks,
-Ant
---------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace overridetest
{
class adtextbox : TextBox
{
protected override void OnMouseClick(MouseEventArgs e)
{
// base.OnMouseClick(e);
}
}
}