Page 2 of 2
Re: Sender from contextmenustrip
Posted: Sun Feb 10, 2013 3:07 am
by muttley1968
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
Re: Sender from contextmenustrip
Posted: Sun Feb 10, 2013 7:07 am
by Scottie1972
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.
Re: Sender from contextmenustrip
Posted: Sun Feb 10, 2013 8:59 am
by 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;
Re: Sender from contextmenustrip
Posted: Sun Feb 10, 2013 1:48 pm
by muttley1968
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