Toolbar Easy Question

  • Thread starter Thread starter Ivan Weiss
  • Start date Start date
I

Ivan Weiss

I am having a mental block. I placed a toolbar on an MDI form and added
a few buttons. How do I open up another form when one of the buttons is
clicked? I thought I just double click on the button and create a
function to handle it, but that function is if the entire toolbar is
clicked...

Thanks!

-Ivan
 
Ivan Weiss said:
I am having a mental block. I placed a toolbar on an MDI form and added
a few buttons. How do I open up another form when one of the buttons is
clicked? I thought I just double click on the button and create a
function to handle it, but that function is if the entire toolbar is
clicked...

Handle the toolbar control's 'ButtonClick' as shown in the sample referenced
below:

<URL:http://dotnet.mvps.org/dotnet/code/techniques/#SelectCase>
 
Back
Top