C
craig via DotNetMonster.com
Ok, there is probably a very simple answere to this, but I'm a VB newbe and
this is completely stumping me.
I am trying to create a user control which will consist of a DataGrid and
several buttons which will be used throught our application. There is code
that will always be executed when a button on this control is clicked and
then there is code that will depend on which form the control is on.
So, I have placed the common code within the click event of the button at the
control level. My question is how to I detect the click of that button at
the form level, execute the form specific code and then execute the common
code at the control level?
Thanks,
Craig
this is completely stumping me.
I am trying to create a user control which will consist of a DataGrid and
several buttons which will be used throught our application. There is code
that will always be executed when a button on this control is clicked and
then there is code that will depend on which form the control is on.
So, I have placed the common code within the click event of the button at the
control level. My question is how to I detect the click of that button at
the form level, execute the form specific code and then execute the common
code at the control level?
Thanks,
Craig