Overriding newbie question.

Tech-Archive recommends: Fix windows errors by optimizing your registry

CobraStrikes_at_al.com
Date: 12/05/04


Date: 5 Dec 2004 11:23:37 GMT

Hi,
    A control has
 privtae void MethodA()
{

//etc

MethodB();
{

// NO CODE, THE PROGRAM WHICH WILL INHERIT THIS CONTROL WILL PROVIDE THE CODE.
}

I hope this make sense, I have tried using virtual and override without success the control always calls its own methodB

any help/thoughts will be appericated.

TIA



Relevant Pages

  • Re: ThreadSafe Query
    ... plus if you inherit from control, you get all the other stuff from a Control ... >>>In TestClass I create a thread and from this thread I raise an event. ... >>>have a sub in TestClass that handles this event and obviously this sub ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Forms authentication puzzle
    ... > You said in this reply "All of my pages inherit from a page control that I ... > "Ken Dopierala Jr." ... >> in the cell that displays specials and what not. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multiple Base Classes in .Net
    ... Let's say I have a business Entity called "User Roster". ... Let's say I want to build a .Net Windows Forms control called "User ... This control MUST inherit from "control", ... stitch these two together into a bidirectional stream. ...
    (microsoft.public.dotnet.framework)
  • Re: What do I call what I want to do?
    ... Inherit the class from System.Windows.Forms.CommonDialog. ... and you can drag it onto your project (it ... it doesn't work - it looks for a dll and can't find it. ... A control is a class. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Is someone willing to help me with a simple VB example?
    ... I'll check but indeed inherit would be the best. ... I just need to extend a textbox therefore inherit seems the best option to ... > create a new control that inherits from an existing control... ... >> I seen examples using some kind of ordinary class which wraps a ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)