none
Pictuebox probleme RRS feed

  • Frage

  • <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 2.0cm 70.85pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->

    Hallo ich wollte ein programm machen das jenachdem was man auswählt ein anderes bild anzeigt jetst hab ich diese lösung

       

    Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
            If RadioButton2.Checked Then
                PictureBox1.Image = CType(Resources.GetObject("test.image"), System.Drawing.Image)
            End If
        End Sub


    aber da findet er den error Fehler  "GetObject" ist kein Member von "Resources".

    Montag, 18. Mai 2009 12:22

Antworten

Alle Antworten