1 write to formatTypeListBox
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
48
formatTypeListBox
= new System.Windows.Forms.ListBox();
33 references to formatTypeListBox
System.Windows.Forms.Design (33)
System\Windows\Forms\Design\FormatControl.cs (28)
35
if (
formatTypeListBox
.SelectedItem is FormatTypeClass formatType)
46
formatTypeListBox
.SelectedIndex = 0;
48
for (int i = 0; i <
formatTypeListBox
.Items.Count; i++)
50
var formatType = (FormatTypeClass)
formatTypeListBox
.Items[i];
54
formatTypeListBox
.SelectedIndex = i;
60
public FormatTypeClass? FormatTypeItem =>
formatTypeListBox
.SelectedItem as FormatTypeClass;
92
var customFormatType = (CustomFormatType?)
formatTypeListBox
.SelectedItem;
101
var item = (FormatTypeClass?)
formatTypeListBox
.SelectedItem;
110
var item = (FormatTypeClass?)
formatTypeListBox
.SelectedItem;
122
var item = (FormatTypeClass?)
formatTypeListBox
.SelectedItem;
165
formatTypeListBox
.Focus();
175
int selIndex =
formatTypeListBox
.SelectedIndex;
230
formatTypeListBox
.SelectedIndexChanged -= formatTypeListBox_SelectedIndexChanged;
235
formatTypeListBox
.SelectedIndex = -1;
241
formatTypeListBox
.SelectedIndexChanged += formatTypeListBox_SelectedIndexChanged;
322
formatTypeListBox
.Height = tableLayoutPanel1.Bottom -
formatTypeListBox
.Top;
388
formatTypeListBox
.SelectedIndexChanged -= formatTypeListBox_SelectedIndexChanged;
389
formatTypeListBox
.Items.Clear();
390
formatTypeListBox
.Items.Add(new NoFormattingFormatType());
391
formatTypeListBox
.Items.Add(new NumericFormatType(this));
392
formatTypeListBox
.Items.Add(new CurrencyFormatType(this));
393
formatTypeListBox
.Items.Add(new DateTimeFormatType(this));
394
formatTypeListBox
.Items.Add(new ScientificFormatType(this));
395
formatTypeListBox
.Items.Add(new CustomFormatType(this));
396
formatTypeListBox
.SelectedIndex = 0;
397
formatTypeListBox
.SelectedIndexChanged += formatTypeListBox_SelectedIndexChanged;
404
var item = (FormatTypeClass?)
formatTypeListBox
.SelectedItem;
System\Windows\Forms\Design\FormatControl.Designer.cs (5)
72
tableLayoutPanel3.Controls.Add(this.
formatTypeListBox
, 0, 2);
166
resources.ApplyResources(this.
formatTypeListBox
, "formatTypeListBox");
167
formatTypeListBox
.FormattingEnabled = true;
168
formatTypeListBox
.Name = "formatTypeListBox";
169
formatTypeListBox
.SelectedIndexChanged += this.formatTypeListBox_SelectedIndexChanged;