'宣言 Public Property WeekRule As CalendarWeekRule
public CalendarWeekRule WeekRule {get; set;}
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.IO Imports System.Globalization Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click ' 年の最初の週は最初の完全な週であるために WeekRule を設定します Me.ultraCalendarInfo1.WeekRule = CalendarWeekRule.FirstFullWeek End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.IO; using System.Globalization; private void button1_Click(object sender, System.EventArgs e) { // 年の最初の週は最初の完全な週であるために WeekRule を設定します this.ultraCalendarInfo1.WeekRule = CalendarWeekRule.FirstFullWeek; }