By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

Going to Sound Stupid but ......

P: n/a
In know i might sound stupid but i`ve looked all over and carn`t find out.

I have a Tool Bar on my project vut how do i assign a button to a command,
say i want ToolBar1, Button1 to Open a Form, Button2, to open another form,
Button3 to run the Close.Me command etc etc

Many thanks for any help in advance
Regards
Si
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "Newbie!" <s_************@yahoo.co.uk> scripsit:
In know i might sound stupid but i`ve looked all over and carn`t find out.

I have a Tool Bar on my project vut how do i assign a button to a command,
say i want ToolBar1, Button1 to Open a Form, Button2, to open another form,
Button3 to run the Close.Me command etc etc


\\\
Private Sub ToolBar1_ButtonClick( _
ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs _
) Handles ToolBar1.ButtonClick
Select Case True
Case e.Button Is Me.ToolBarButton1
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.