Public Class frmDescription Inherits System.Windows.Forms.Form #Region " Vom Windows Form Designer generierter Code " Public Sub New() MyBase.New() ' Dieser Aufruf ist für den Windows Form-Designer erforderlich. InitializeComponent() ' Initialisierungen nach dem Aufruf InitializeComponent() hinzufügen End Sub ' Die Form überschreibt den Löschvorgang der Basisklasse, um Komponenten zu bereinigen. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub ' Für Windows Form-Designer erforderlich Private components As System.ComponentModel.IContainer 'HINWEIS: Die folgende Prozedur ist für den Windows Form-Designer erforderlich 'Sie kann mit dem Windows Form-Designer modifiziert werden. 'Verwenden Sie nicht den Code-Editor zur Bearbeitung. Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox Friend WithEvents lblMessage As System.Windows.Forms.Label Friend WithEvents Panel1 As System.Windows.Forms.Panel Friend WithEvents cmdOk As System.Windows.Forms.Button Friend WithEvents lblTitel As System.Windows.Forms.Label Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmDescription)) Me.PictureBox2 = New System.Windows.Forms.PictureBox() Me.lblMessage = New System.Windows.Forms.Label() Me.Panel1 = New System.Windows.Forms.Panel() Me.cmdOk = New System.Windows.Forms.Button() Me.lblTitel = New System.Windows.Forms.Label() Me.Panel1.SuspendLayout() Me.SuspendLayout() ' 'PictureBox2 ' Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Bitmap) Me.PictureBox2.Location = New System.Drawing.Point(8, 8) Me.PictureBox2.Name = "PictureBox2" Me.PictureBox2.Size = New System.Drawing.Size(34, 33) Me.PictureBox2.TabIndex = 7 Me.PictureBox2.TabStop = False ' 'lblMessage ' Me.lblMessage.Anchor = (((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right) Me.lblMessage.BackColor = System.Drawing.SystemColors.Control Me.lblMessage.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D Me.lblMessage.Location = New System.Drawing.Point(48, 40) Me.lblMessage.Name = "lblMessage" Me.lblMessage.Size = New System.Drawing.Size(536, 240) Me.lblMessage.TabIndex = 8 Me.lblMessage.Text = "Label1" ' 'Panel1 ' Me.Panel1.Controls.AddRange(New System.Windows.Forms.Control() {Me.cmdOk}) Me.Panel1.Dock = System.Windows.Forms.DockStyle.Bottom Me.Panel1.Location = New System.Drawing.Point(0, 285) Me.Panel1.Name = "Panel1" Me.Panel1.Size = New System.Drawing.Size(584, 32) Me.Panel1.TabIndex = 9 ' 'cmdOk ' Me.cmdOk.Dock = System.Windows.Forms.DockStyle.Right Me.cmdOk.Location = New System.Drawing.Point(520, 0) Me.cmdOk.Name = "cmdOk" Me.cmdOk.Size = New System.Drawing.Size(64, 32) Me.cmdOk.TabIndex = 0 Me.cmdOk.Text = "Ok" ' 'lblTitel ' Me.lblTitel.Anchor = ((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right) Me.lblTitel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D Me.lblTitel.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lblTitel.Location = New System.Drawing.Point(48, 8) Me.lblTitel.Name = "lblTitel" Me.lblTitel.Size = New System.Drawing.Size(536, 24) Me.lblTitel.TabIndex = 10 Me.lblTitel.Text = "Label2" ' 'frmDescription ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(584, 317) Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.lblTitel, Me.Panel1, Me.lblMessage, Me.PictureBox2}) Me.KeyPreview = True Me.Name = "frmDescription" Me.Text = "frmDescription" Me.Panel1.ResumeLayout(False) Me.ResumeLayout(False) End Sub #End Region #Region " Declarationen " Private m_sTitel As String Private m_sMeldung As String Private m_sFormTitel As String #End Region #Region " Property " Public Property Titel() Get Return m_sTitel End Get Set(ByVal Value) m_sTitel = Value End Set End Property Public Property FormTitel() Get Return m_sFormTitel End Get Set(ByVal Value) m_sFormTitel = Value End Set End Property Public Property Meldung() Get Return m_sMeldung End Get Set(ByVal Value) m_sMeldung = Value End Set End Property #End Region #Region " Formular Functionen " Private Sub frmDescription_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.lblMessage.Text = m_sMeldung Me.lblTitel.Text = m_sTitel Me.Text = m_sFormTitel End Sub #End Region Private Sub cmdOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOk.Click Me.Close() End Sub End Class