private void SetGcTimeSpanCellFields(CalendarGcTimeSpanCellType gcTimeSpanCell1)
{
gcTimeSpanCell1.Fields.Clear();
TimeSpanSignField fields0 = new TimeSpanSignField();
TimeSpanDayField fields1 = new TimeSpanDayField();
fields1.Digits = 1;
TimeSpanLiteralField fields2 = new TimeSpanLiteralField();
fields2.Text = ".";
TimeSpanHourField fields3 = new TimeSpanHourField();
fields3.Digits = 2;
TimeSpanLiteralField fields4 = new TimeSpanLiteralField();
fields4.Text = ":";
TimeSpanMinuteField fields5 = new TimeSpanMinuteField();
fields5.Digits = 2;
TimeSpanLiteralField fields6 = new TimeSpanLiteralField();
fields6.Text = ":";
TimeSpanSecondField fields7 = new TimeSpanSecondField();
fields7.Digits = 2;
gcTimeSpanCell1.Fields.AddRange(new TimeSpanField[] { fields0, fields1, fields2, fields3, fields4, fields5, fields6, fields7 });
}
Private Sub SetGcTimeSpanCellFields(gcTimeSpanCell1 As CalendarGcTimeSpanCellType)
gcTimeSpanCell1.Fields.Clear()
Dim fields0 As New TimeSpanSignField()
Dim fields1 As New TimeSpanDayField()
fields1.Digits = 1
Dim fields2 As New TimeSpanLiteralField()
fields2.Text = "."
Dim fields3 As New TimeSpanHourField()
fields3.Digits = 2
Dim fields4 As New TimeSpanLiteralField()
fields4.Text = ":"
Dim fields5 As New TimeSpanMinuteField()
fields5.Digits = 2
Dim fields6 As New TimeSpanLiteralField()
fields6.Text = ":"
Dim fields7 As New TimeSpanSecondField()
fields7.Digits = 2
gcTimeSpanCell1.Fields.AddRange(New TimeSpanField() {fields0, fields1, fields2, fields3, fields4, fields5, _
fields6, fields7})
End Sub