private void AddTopLeftButtons()
{
CalendarNavigationButton calendarNavigationButton1 = new CalendarNavigationButton();
calendarNavigationButton1.ButtonBehavior = GrapeCity.Win.CalendarGrid.CalendarTitleButtonBehavior.Previous;
calendarNavigationButton1.DateFormat = "{LongDate}";
calendarNavigationButton1.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption;
calendarNavigationButton1.FlatAppearance.BorderSize = 2;
calendarNavigationButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
calendarNavigationButton1.Text = "";
calendarNavigationButton1.ToolTipText = "{0}";
this.gcCalendarGrid1.NavigationBar.TopLeftButtons.Add(calendarNavigationButton1);
}
Private Sub AddTopLeftButtons()
Dim calendarNavigationButton1 As New CalendarNavigationButton()
calendarNavigationButton1.ButtonBehavior = GrapeCity.Win.CalendarGrid.CalendarTitleButtonBehavior.Previous
calendarNavigationButton1.DateFormat = "{LongDate}"
calendarNavigationButton1.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption
calendarNavigationButton1.FlatAppearance.BorderSize = 2
calendarNavigationButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
calendarNavigationButton1.Text = ""
calendarNavigationButton1.ToolTipText = "{0}"
Me.gcCalendarGrid1.NavigationBar.TopLeftButtons.Add(calendarNavigationButton1)
End Sub