|
-
Apr 15th, 2010, 12:17 AM
#1
Thread Starter
Addicted Member
Function to Tell an image is which?
Im trying to make my life for simple by making a function that returns which image it is.
[CODE] Private Sub WordWrapToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WordWrapToolStripMenuItem.Click
WordWrapToolStripMenuItem.Image = My.Resources.accept 'check mark (OK)
End Sub
Private Function GetCurrentImage(ByVal FromWhere As System.Windows.Forms.ToolStrip)
If FromWhere = My.Resources.accept Then
MyImage = My.Resource.accept
E
Last edited by NoobieO.o; Apr 15th, 2010 at 12:48 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|