images in BindingNavigator

besmart2000

Active member
Joined
Feb 18, 2007
Messages
25
Programming Experience
1-3
hi
I found that the images in BindingNavigator Control are beautiful.
where can i access these images.
thanks
 
You can list the names in a Listbox like this:
VB.NET:
Dim a As Reflection.Assembly = GetType(Form).Assembly
ListBox3.DataSource = a.GetManifestResourceNames
And for example display in a Picturebox:
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim a As Reflection.Assembly = GetType(Form).Assembly
    Dim bmp As Bitmap = Image.FromStream(a.GetManifestResourceStream(ListBox3.SelectedValue))
    bmp.MakeTransparent(Color.Fuchsia)
    PictureBox1.Image = bmp
End Sub
...some also use Color.Lime as backcolor
 
Back
Top