Sender from contextmenustrip

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
14 posts Page 2 of 2
Contributors
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Nope still nothing so i will give you the Full source code to the project here is EVERYTHING if your ablet to sort this out tahnk you very much https://dl.dropbox.com/u/44654220/Alexandru.zip
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

muttley1968 wrote:
Nope still nothing so i will give you the Full source code to the project here is EVERYTHING if your ablet to sort this out tahnk you very much https://dl.dropbox.com/u/44654220/Alexandru.zip
i sent you a PM with the FIX.
if your happy with it awesome.

remember to Lock this topic and mark it answered.
Image
User avatar
noypikami
VIP - Donator
VIP - Donator
Posts: 151
Joined: Sat Dec 22, 2012 1:49 am

Re: Sender from contextmenustrip
noypikami
#muttley1968


====put this code in context menu======
Code: Select all
 Private Sub RemoveImageToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RemoveImageToolStripMenuItem.Click
      
            For Each c As Control In Panel1.Controls
                If TypeOf c Is Button Or TypeOf c Is PictureBox Then
                  
                        Panel1.Controls.Remove(c)
                  
                End If
            Next
        Next
    End Sub


=================CHEERS====================== hehaho;
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Thanks Very much scottie your code worked like a charm
I will post the project on here when im done its basically just for
a fan application for a Youtuber :P
14 posts Page 2 of 2
Return to “Coding Help & Support”