You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
3.1 KiB
90 lines
3.1 KiB
Public Class frmCalendar
|
|
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 MonthCalendar1 As System.Windows.Forms.MonthCalendar
|
|
Friend WithEvents btnAbbruch As System.Windows.Forms.Button
|
|
Friend WithEvents Button1 As System.Windows.Forms.Button
|
|
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
|
|
Me.MonthCalendar1 = New System.Windows.Forms.MonthCalendar()
|
|
Me.btnAbbruch = New System.Windows.Forms.Button()
|
|
Me.Button1 = New System.Windows.Forms.Button()
|
|
Me.SuspendLayout()
|
|
'
|
|
'MonthCalendar1
|
|
'
|
|
Me.MonthCalendar1.Location = New System.Drawing.Point(48, 8)
|
|
Me.MonthCalendar1.Name = "MonthCalendar1"
|
|
Me.MonthCalendar1.ShowTodayCircle = False
|
|
Me.MonthCalendar1.TabIndex = 0
|
|
'
|
|
'btnAbbruch
|
|
'
|
|
Me.btnAbbruch.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
|
Me.btnAbbruch.Location = New System.Drawing.Point(16, 176)
|
|
Me.btnAbbruch.Name = "btnAbbruch"
|
|
Me.btnAbbruch.TabIndex = 1
|
|
Me.btnAbbruch.Text = "&Abbruch"
|
|
'
|
|
'Button1
|
|
'
|
|
Me.Button1.DialogResult = System.Windows.Forms.DialogResult.OK
|
|
Me.Button1.Location = New System.Drawing.Point(200, 176)
|
|
Me.Button1.Name = "Button1"
|
|
Me.Button1.TabIndex = 2
|
|
Me.Button1.Text = "&OK"
|
|
'
|
|
'frmCalendar
|
|
'
|
|
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
|
|
Me.ClientSize = New System.Drawing.Size(288, 205)
|
|
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Button1, Me.btnAbbruch, Me.MonthCalendar1})
|
|
Me.Name = "frmCalendar"
|
|
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
|
Me.Text = "Datum auswählen"
|
|
Me.ResumeLayout(False)
|
|
|
|
End Sub
|
|
|
|
#End Region
|
|
|
|
Dim m_datum As Date
|
|
|
|
Private Sub btnAbbruch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAbbruch.Click
|
|
Me.Close()
|
|
End Sub
|
|
|
|
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
|
|
Me.Close()
|
|
End Sub
|
|
|
|
|
|
End Class
|