hallo,
wie kann ich machen das es immer nur die ilde anzeigt von dem markierten plugin?
mfg filmee24
VB.NET-Quellcode
- Private Sub ListBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
- If IsNothing(PlugIn.Platz1Bild) Then
- PictureBox1.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox1.Image = PlugIn.Platz1Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz2Bild) Then
- PictureBox2.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox2.Image = PlugIn.Platz2Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz3Bild) Then
- PictureBox3.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- PictureBox3.Image = PlugIn.Platz3Bild
- End If
- If IsNothing(PlugIn.Platz4Bild) Then
- PictureBox4.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox4.Image = PlugIn.Platz4Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz5Bild) Then
- PictureBox5.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox5.Image = PlugIn.Platz5Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz6Bild) Then
- PictureBox6.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox6.Image = PlugIn.Platz6Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz7Bild) Then
- PictureBox7.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox7.Image = PlugIn.Platz7Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz8Bild) Then
- PictureBox8.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox8.Image = PlugIn.Platz8Bild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- If IsNothing(PlugIn.Platz9Bild) Then
- PictureBox9.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox9.Image = PlugIn.Platz9Bild
- End If
- If IsNothing(PlugIn.ErgebnisBild) Then
- PictureBox10.Image = My.Resources.leer
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- Else
- PictureBox10.Image = PlugIn.ErgebnisBild
- ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
- End If
- End Sub
wie kann ich machen das es immer nur die ilde anzeigt von dem markierten plugin?
mfg filmee24