Results 1 to 4 of 4

Thread: Function to Tell an image is which?

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Posts
    193

    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
  •  



Click Here to Expand Forum to Full Width