private void AddBottonRightButtons()
{
CalendarNavigationButton calendarNavigationButton1 = new CalendarNavigationButton();
calendarNavigationButton1.ButtonBehavior = GrapeCity.Win.CalendarGrid.CalendarTitleButtonBehavior.Next;
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.BottomRightButtons.Add(calendarNavigationButton1);
}
Private Sub AddBottonRightButtons()
Dim calendarNavigationButton1 As New CalendarNavigationButton()
calendarNavigationButton1.ButtonBehavior = GrapeCity.Win.CalendarGrid.CalendarTitleButtonBehavior.[Next]
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.BottomRightButtons.Add(calendarNavigationButton1)
End Sub