GrapeCity.Win.CalendarGrid.v10 アセンブリ > GrapeCity.Win.CalendarGrid 名前空間 > GcCalendarGrid クラス : SelectionChanged イベント |
Public Event SelectionChanged As EventHandler
public event EventHandler SelectionChanged
void gcCalendarGrid_SelectionChanged(object sender, EventArgs e) { this.Text = "Selected cell count: " + this.gcCalendarGrid.SelectedCells.Count; this.Text += " Selected dates count: " + this.gcCalendarGrid.SelectedDates.Count; }
Private Sub gcCalendarGrid_SelectionChanged(sender As Object, e As EventArgs) Me.Text = "Selected cell count: " + Me.gcCalendarGrid.SelectedCells.Count Me.Text += " Selected dates count: " + Me.gcCalendarGrid.SelectedDates.Count End Sub