1 write to dateTimeFormatsListBox
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
46
dateTimeFormatsListBox
= new System.Windows.Forms.ListBox();
33 references to dateTimeFormatsListBox
System.Windows.Forms.Design (33)
System\Windows\Forms\Design\FormatControl.cs (26)
197
Debug.Assert(
dateTimeFormatsListBox
.Visible);
200
dateTimeFormatsListBox
.Focus();
229
dateTimeFormatsListBox
.SelectedIndexChanged -= dateTimeFormatsListBox_SelectedIndexChanged;
234
dateTimeFormatsListBox
.SelectedIndex = -1;
240
dateTimeFormatsListBox
.SelectedIndexChanged += dateTimeFormatsListBox_SelectedIndexChanged;
269
if (tableLayoutPanel1.Controls.Contains(
dateTimeFormatsListBox
))
271
tableLayoutPanel1.Controls.Remove(
dateTimeFormatsListBox
);
291
dateTimeFormatsListBox
.Visible = true;
292
tableLayoutPanel1.Controls.Add(
dateTimeFormatsListBox
, 0, 2);
293
tableLayoutPanel1.SetColumn(
dateTimeFormatsListBox
, 0);
294
tableLayoutPanel1.SetColumnSpan(
dateTimeFormatsListBox
, 2);
298
dateTimeFormatsListBox
.Visible = false;
327
dateTimeFormatsListBox
.SelectedIndexChanged -= dateTimeFormatsListBox_SelectedIndexChanged;
328
dateTimeFormatsListBox
.Items.Clear();
329
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "d"));
330
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "D"));
331
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "f"));
332
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "F"));
333
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "g"));
334
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "G"));
335
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "t"));
336
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "T"));
337
dateTimeFormatsListBox
.Items.Add(new DateTimeFormatsListBoxItem(s_dateTimeFormatValue, "M"));
338
dateTimeFormatsListBox
.SelectedIndex = 0;
339
dateTimeFormatsListBox
.SelectedIndexChanged += dateTimeFormatsListBox_SelectedIndexChanged;
352
dateTimeFormatsListBox
.Visible = false;
System\Windows\Forms\Design\FormatControl.DateTimeFormatType.cs (3)
26
if (_owner.
dateTimeFormatsListBox
.SelectedItem is null)
45
DateTimeFormatsListBoxItem item = (_owner.
dateTimeFormatsListBox
.SelectedItem as DateTimeFormatsListBoxItem)!;
108
_owner.
dateTimeFormatsListBox
.SelectedIndex = selectedIndex;
System\Windows\Forms\Design\FormatControl.Designer.cs (4)
109
tableLayoutPanel1.Controls.Add(this.
dateTimeFormatsListBox
, 0, 2);
155
resources.ApplyResources(this.
dateTimeFormatsListBox
, "dateTimeFormatsListBox");
156
dateTimeFormatsListBox
.FormattingEnabled = true;
157
dateTimeFormatsListBox
.Name = "dateTimeFormatsListBox";