Tim Haughton wrote:
"John Bailo" <ja*****@texeme.com> wrote in message
news:MO********************@speakeasy.net...
I want to name a variable in a form Move.
But Move() is a method, (Control.Move) that the form inherits.
Can I override a method and have a variable with the same name that I
can access publically?
What happened when you tried it?
Well, I couldn't figure out how.
I set a reference to a child form:
frmMove Move = new frmMove(parentForm);
Then when I tried to reference parentForm.Move in the Dispose() method,
it only referred to the Control.Move() method. So, I was wondering if
I could override the Control.Move() method so I could access the .Move
member.