hi everyone... can anyone tell me how to show or guide me how to show only
a form one time only as u can press many times in toolbar or contextmenu???
this is my code
PrivateSub ToolBar1_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles ToolBar1.ButtonClick
select case toolbar1.buttons.indexof(e.button)
case 0
Dim room1 AsNew Rooms
room1.Show( )
room1.mdiparent = me
case 1
Dim guest1 AsNew Guests
guest1.Show()
guest1.mdiparent = me
case 2
Dim charges1 AsNew Charges
charges1.Show()
charges1.mdiparent = me
end select
EndSub
Pls Give Me Show Guide PLs PLs PLs PLS
a form one time only as u can press many times in toolbar or contextmenu???
this is my code
PrivateSub ToolBar1_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles ToolBar1.ButtonClick
select case toolbar1.buttons.indexof(e.button)
case 0
Dim room1 AsNew Rooms
room1.Show( )
room1.mdiparent = me
case 1
Dim guest1 AsNew Guests
guest1.Show()
guest1.mdiparent = me
case 2
Dim charges1 AsNew Charges
charges1.Show()
charges1.mdiparent = me
end select
EndSub
Pls Give Me Show Guide PLs PLs PLs PLS