private void SetGcTimeSpanCellDisplayFields(CalendarGcTimeSpanCellType gcTimeSpanCell1)
{
gcTimeSpanCell1.DisplayFields.Clear();
TimeSpanSignDisplayField timeSpanSignDisplayField1 = new TimeSpanSignDisplayField();
TimeSpanHourDisplayField timeSpanHourDisplayField1 = new TimeSpanHourDisplayField();
TimeSpanLiteralDisplayField timeSpanLiteralDisplayField1 = new TimeSpanLiteralDisplayField();
TimeSpanMinuteDisplayField timeSpanMinuteDisplayField1 = new TimeSpanMinuteDisplayField();
TimeSpanLiteralDisplayField timeSpanLiteralDisplayField2 = new TimeSpanLiteralDisplayField();
TimeSpanSecondDisplayField timeSpanSecondDisplayField1 = new TimeSpanSecondDisplayField();
timeSpanHourDisplayField1.Digits = 2;
timeSpanLiteralDisplayField1.Text = ":";
timeSpanMinuteDisplayField1.Digits = 2;
timeSpanLiteralDisplayField2.Text = ":";
timeSpanSecondDisplayField1.Digits = 2;
gcTimeSpanCell1.DisplayFields.AddRange(new TimeSpanDisplayField[] { timeSpanSignDisplayField1, timeSpanHourDisplayField1, timeSpanLiteralDisplayField1, timeSpanMinuteDisplayField1, timeSpanLiteralDisplayField2, timeSpanSecondDisplayField1 });
}
Private Sub SetGcTimeSpanCellDisplayFields(gcTimeSpanCell1 As CalendarGcTimeSpanCellType)
gcTimeSpanCell1.DisplayFields.Clear()
Dim timeSpanSignDisplayField1 As New TimeSpanSignDisplayField()
Dim timeSpanHourDisplayField1 As New TimeSpanHourDisplayField()
Dim timeSpanLiteralDisplayField1 As New TimeSpanLiteralDisplayField()
Dim timeSpanMinuteDisplayField1 As New TimeSpanMinuteDisplayField()
Dim timeSpanLiteralDisplayField2 As New TimeSpanLiteralDisplayField()
Dim timeSpanSecondDisplayField1 As New TimeSpanSecondDisplayField()
timeSpanHourDisplayField1.Digits = 2
timeSpanLiteralDisplayField1.Text = ":"
timeSpanMinuteDisplayField1.Digits = 2
timeSpanLiteralDisplayField2.Text = ":"
timeSpanSecondDisplayField1.Digits = 2
gcTimeSpanCell1.DisplayFields.AddRange(New TimeSpanDisplayField() {timeSpanSignDisplayField1, timeSpanHourDisplayField1, timeSpanLiteralDisplayField1, timeSpanMinuteDisplayField1, timeSpanLiteralDisplayField2, timeSpanSecondDisplayField1})
End Sub