1 write to comboBox2
WinFormsControlsTest (1)
ComboBoxesWithScrollBars.Designer.cs (1)
36this.comboBox2 = new System.Windows.Forms.ComboBox();
23 references to comboBox2
WinFormsControlsTest (23)
ComboBoxesWithScrollBars.cs (13)
18comboBox2.Items.Add(i); 27changeCBHeight_UpDown2.Value = comboBox2.Size.Height; 32maxDropDownItemsUpDown2.Value = comboBox2.MaxDropDownItems; 37integralHeightCheckBox2.Checked = comboBox2.IntegralHeight; 42useDifferentHeightsCheckBox2.Checked = comboBox2.DrawMode == DrawMode.OwnerDrawVariable; 54changeCBHeight_UpDown2.ValueChanged += (s, e) => comboBox2.Size = new Size(comboBox2.Size.Width, (int)changeCBHeight_UpDown2.Value); 61maxDropDownItemsUpDown2.ValueChanged += (s, e) => comboBox2.MaxDropDownItems = (int)maxDropDownItemsUpDown2.Value; 64integralHeightCheckBox2.CheckedChanged += (s, e) => comboBox2.IntegralHeight = integralHeightCheckBox2.Checked; 95comboBox2.DrawMode = DrawMode.OwnerDrawVariable; 96comboBox2.MeasureItem += comboBox_MeasureItem; 100comboBox2.DrawMode = DrawMode.OwnerDrawFixed; 101comboBox2.MeasureItem -= comboBox_MeasureItem;
ComboBoxesWithScrollBars.Designer.cs (10)
83this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.Simple; 84this.comboBox2.FormattingEnabled = true; 85this.comboBox2.IntegralHeight = false; 86this.comboBox2.Location = new System.Drawing.Point(206, 348); 87this.comboBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 88this.comboBox2.Name = "comboBox2"; 89this.comboBox2.Size = new System.Drawing.Size(116, 155); 90this.comboBox2.TabIndex = 1; 91this.comboBox2.DrawItem += this.comboBox_DrawItem; 355this.Controls.Add(this.comboBox2);