How to: Display More than One Month in the Windows Forms MonthCalendar Control
The Windows Forms MonthCalendar control can display up to 12 months at a time. By default, the control displays only one month, but you can specify how many months are displayed and how they are arranged within the control. When you change the calendar dimensions, the control is resized, so be sure there is enough room on the form for the new dimensions.
To display multiple months
Set the CalendarDimensions property to the number of months to display horizontally and vertically.
MonthCalendar1.CalendarDimensions = New System.Drawing.Size (3,2)
monthCalendar1.CalendarDimensions = new System.Drawing.Size (3,2);
monthCalendar1->CalendarDimensions = System::Drawing::Size (3,2);
See also
Sadarbojieties ar mums vietnē GitHub
Šī satura avotu var atrast vietnē GitHub, kur varat arī izveidot un pārskatīt problēmas un atgādāšanas pieprasījumus. Lai iegūtu papildinformāciju, skatiet mūsu līdzstrādnieku rokasgrāmatu.
.NET Desktop feedback
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par