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);
}
}
}
Mthod Overiding on textbox
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Manikavelu VelayuthamRank #413 · 6K reputationPosted Aug 24, 2010, 10:48 PM EDT
Manikavelu VelayuthamRank #413 · 6K reputationPosted Aug 25, 2010, 4:25 AM EDT