Public Class Form1
Inherits System.Windows.Forms.Form
Public tgl As Date
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
tgl = TextBox1.Text
MonthCalendar1.SelectionEnd = tgl
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
End
End Sub
End Class