_ Partial Class frmNotify Inherits System.Windows.Forms.Form 'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen. _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Wird vom Windows Form-Designer benötigt. Private components As System.ComponentModel.IContainer 'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich. 'Das Bearbeiten ist mit dem Windows Form-Designer möglich. 'Das Bearbeiten mit dem Code-Editor ist nicht möglich. _ Private Sub InitializeComponent() Me.Timer = New System.Windows.Forms.Timer() Me.pnl = New System.Windows.Forms.Panel() Me.lblText = New System.Windows.Forms.Label() Me.Header = New System.Windows.Forms.Panel() Me.lblTitle = New System.Windows.Forms.Label() Me.btnClose = New System.Windows.Forms.Button() Me.pnl.SuspendLayout() Me.Header.SuspendLayout() Me.SuspendLayout() ' 'Timer ' Me.Timer.Enabled = True Me.Timer.Interval = 5000 ' 'pnl ' Me.pnl.BackColor = System.Drawing.Color.White Me.pnl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.pnl.Controls.Add(Me.lblText) Me.pnl.Controls.Add(Me.Header) Me.pnl.Dock = System.Windows.Forms.DockStyle.Fill Me.pnl.Location = New System.Drawing.Point(0, 0) Me.pnl.Name = "pnl" Me.pnl.Size = New System.Drawing.Size(300, 70) Me.pnl.TabIndex = 1 ' 'lblText ' Me.lblText.Cursor = System.Windows.Forms.Cursors.Hand Me.lblText.Dock = System.Windows.Forms.DockStyle.Fill Me.lblText.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lblText.Location = New System.Drawing.Point(0, 25) Me.lblText.Name = "lblText" Me.lblText.Size = New System.Drawing.Size(298, 43) Me.lblText.TabIndex = 0 Me.lblText.Text = "Der LKW SD 13 AS steht bereits seit über 2 Stunden! " Me.lblText.TextAlign = System.Drawing.ContentAlignment.MiddleLeft ' 'Header ' Me.Header.BackColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(128, Byte), Integer)) Me.Header.Controls.Add(Me.lblTitle) Me.Header.Controls.Add(Me.btnClose) Me.Header.Dock = System.Windows.Forms.DockStyle.Top Me.Header.Location = New System.Drawing.Point(0, 0) Me.Header.Name = "Header" Me.Header.Size = New System.Drawing.Size(298, 25) Me.Header.TabIndex = 87 ' 'lblTitle ' Me.lblTitle.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lblTitle.ForeColor = System.Drawing.Color.White Me.lblTitle.Location = New System.Drawing.Point(3, 0) Me.lblTitle.Name = "lblTitle" Me.lblTitle.Size = New System.Drawing.Size(241, 24) Me.lblTitle.TabIndex = 88 Me.lblTitle.Text = "LKW Standzeit Benachrichtigung" Me.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft ' 'btnClose ' Me.btnClose.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.btnClose.BackColor = System.Drawing.Color.Red Me.btnClose.FlatAppearance.BorderColor = System.Drawing.Color.White Me.btnClose.FlatAppearance.BorderSize = 0 Me.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat Me.btnClose.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnClose.ForeColor = System.Drawing.Color.White Me.btnClose.Location = New System.Drawing.Point(264, -1) Me.btnClose.Name = "btnClose" Me.btnClose.RightToLeft = System.Windows.Forms.RightToLeft.Yes Me.btnClose.Size = New System.Drawing.Size(35, 25) Me.btnClose.TabIndex = 86 Me.btnClose.Text = "X" Me.btnClose.UseVisualStyleBackColor = False ' 'frmNotify ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.AutoSize = True Me.ClientSize = New System.Drawing.Size(300, 70) Me.Controls.Add(Me.pnl) Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None Me.MaximumSize = New System.Drawing.Size(300, 300) Me.MinimumSize = New System.Drawing.Size(100, 70) Me.Name = "frmNotify" Me.ShowIcon = False Me.ShowInTaskbar = False Me.Text = "frmNotify" Me.TopMost = True Me.pnl.ResumeLayout(False) Me.Header.ResumeLayout(False) Me.ResumeLayout(False) End Sub Friend WithEvents Timer As System.Windows.Forms.Timer Friend WithEvents pnl As System.Windows.Forms.Panel Friend WithEvents btnClose As System.Windows.Forms.Button Friend WithEvents Header As System.Windows.Forms.Panel Public WithEvents lblText As System.Windows.Forms.Label Public WithEvents lblTitle As System.Windows.Forms.Label End Class