Bilder immer nur aus bestimmten Plugin laden?

  • VB.NET

Es gibt 6 Antworten in diesem Thema. Der letzte Beitrag () ist von filmee24.

    Bilder immer nur aus bestimmten Plugin laden?

    hallo,

    VB.NET-Quellcode

    1. Private Sub ListBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
    2. If IsNothing(PlugIn.Platz1Bild) Then
    3. PictureBox1.Image = My.Resources.leer
    4. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    5. Else
    6. PictureBox1.Image = PlugIn.Platz1Bild
    7. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    8. End If
    9. If IsNothing(PlugIn.Platz2Bild) Then
    10. PictureBox2.Image = My.Resources.leer
    11. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    12. Else
    13. PictureBox2.Image = PlugIn.Platz2Bild
    14. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    15. End If
    16. If IsNothing(PlugIn.Platz3Bild) Then
    17. PictureBox3.Image = My.Resources.leer
    18. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    19. Else
    20. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    21. PictureBox3.Image = PlugIn.Platz3Bild
    22. End If
    23. If IsNothing(PlugIn.Platz4Bild) Then
    24. PictureBox4.Image = My.Resources.leer
    25. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    26. Else
    27. PictureBox4.Image = PlugIn.Platz4Bild
    28. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    29. End If
    30. If IsNothing(PlugIn.Platz5Bild) Then
    31. PictureBox5.Image = My.Resources.leer
    32. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    33. Else
    34. PictureBox5.Image = PlugIn.Platz5Bild
    35. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    36. End If
    37. If IsNothing(PlugIn.Platz6Bild) Then
    38. PictureBox6.Image = My.Resources.leer
    39. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    40. Else
    41. PictureBox6.Image = PlugIn.Platz6Bild
    42. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    43. End If
    44. If IsNothing(PlugIn.Platz7Bild) Then
    45. PictureBox7.Image = My.Resources.leer
    46. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    47. Else
    48. PictureBox7.Image = PlugIn.Platz7Bild
    49. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    50. End If
    51. If IsNothing(PlugIn.Platz8Bild) Then
    52. PictureBox8.Image = My.Resources.leer
    53. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    54. Else
    55. PictureBox8.Image = PlugIn.Platz8Bild
    56. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    57. End If
    58. If IsNothing(PlugIn.Platz9Bild) Then
    59. PictureBox9.Image = My.Resources.leer
    60. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    61. Else
    62. PictureBox9.Image = PlugIn.Platz9Bild
    63. End If
    64. If IsNothing(PlugIn.ErgebnisBild) Then
    65. PictureBox10.Image = My.Resources.leer
    66. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    67. Else
    68. PictureBox10.Image = PlugIn.ErgebnisBild
    69. ToolTip1.ToolTipTitle = PlugIn.Platz1Beschreibung
    70. End If
    71. End Sub


    wie kann ich machen das es immer nur die ilde anzeigt von dem markierten plugin?

    mfg filmee24