76 references to listBoxAutoComplete
System.Workflow.Activities (76)
Rules\Design\Dialogs\IntellisenseTextBox.cs (76)
53
this.
listBoxAutoComplete
.FullRowSelect = true;
54
this.
listBoxAutoComplete
.MultiSelect = false;
55
this.
listBoxAutoComplete
.SmallImageList = this.autoCompletionImageList;
56
this.
listBoxAutoComplete
.LargeImageList = this.autoCompletionImageList;
57
this.
listBoxAutoComplete
.View = System.Windows.Forms.View.Details;
58
this.
listBoxAutoComplete
.HeaderStyle = ColumnHeaderStyle.None;
59
this.
listBoxAutoComplete
.Columns.Add(Messages.No, this.
listBoxAutoComplete
.Size.Width);
60
this.
listBoxAutoComplete
.CausesValidation = false;
61
this.
listBoxAutoComplete
.Sorting = SortOrder.Ascending;
63
this.
listBoxAutoComplete
.Visible = false;
78
this.TopLevelControl.Controls.Add(this.
listBoxAutoComplete
);
79
this.
listBoxAutoComplete
.DoubleClick += new EventHandler(listBoxAutoComplete_DoubleClick);
80
this.
listBoxAutoComplete
.SelectedIndexChanged += new EventHandler(listBoxAutoComplete_SelectedIndexChanged);
81
this.
listBoxAutoComplete
.Enter += new EventHandler(listBoxAutoComplete_Enter);
96
if (this.
listBoxAutoComplete
.Visible)
112
if (
listBoxAutoComplete
.Visible)
124
else if (!this.
listBoxAutoComplete
.Visible
131
if (this.
listBoxAutoComplete
.Visible)
134
else if (this.
listBoxAutoComplete
.Visible)
157
if (!this.
listBoxAutoComplete
.Visible)
181
else if (this.
listBoxAutoComplete
.Visible)
188
if (this.
listBoxAutoComplete
.Visible)
190
if (this.
listBoxAutoComplete
.SelectedIndices.Count > 0 && this.
listBoxAutoComplete
.SelectedIndices[0] > 0)
192
this.
listBoxAutoComplete
.Items[this.
listBoxAutoComplete
.SelectedIndices[0] - 1].Selected = true;
193
this.
listBoxAutoComplete
.Items[this.
listBoxAutoComplete
.SelectedIndices[0]].Focused = true;
201
if (this.
listBoxAutoComplete
.Visible)
203
if (this.
listBoxAutoComplete
.SelectedIndices.Count == 0)
205
if (this.
listBoxAutoComplete
.Items.Count > 0)
207
this.
listBoxAutoComplete
.Items[0].Selected = true;
208
this.
listBoxAutoComplete
.Items[0].Focused = true;
211
else if (this.
listBoxAutoComplete
.SelectedIndices[0] < this.
listBoxAutoComplete
.Items.Count - 1)
213
this.
listBoxAutoComplete
.Items[this.
listBoxAutoComplete
.SelectedIndices[0] + 1].Selected = true;
214
this.
listBoxAutoComplete
.Items[this.
listBoxAutoComplete
.SelectedIndices[0]].Focused = true;
228
if (this.
listBoxAutoComplete
.Visible)
249
if ((this.
listBoxAutoComplete
.Focused == false) && (this.Focused == false))
250
this.
listBoxAutoComplete
.Visible = false;
279
foreach (ListViewItem listViewItem in this.
listBoxAutoComplete
.Items)
301
if (this.
listBoxAutoComplete
.SelectedItems.Count == 1)
314
if (this.
listBoxAutoComplete
.SelectedItems.Count > 0)
324
string fill = this.
listBoxAutoComplete
.SelectedItems[0].Text;
338
this.
listBoxAutoComplete
.Items.Clear();
402
this.
listBoxAutoComplete
.Items.Add(listViewItem);
405
this.
listBoxAutoComplete
.Sort();
407
if (this.
listBoxAutoComplete
.Items.Count > 0)
409
this.
listBoxAutoComplete
.Columns[0].Width = -2; // this will set the column size to the longest value
410
this.
listBoxAutoComplete
.Size = new Size(this.
listBoxAutoComplete
.Items[0].Bounds.Width + 30, 72);
416
this.
listBoxAutoComplete
.Hide();
422
if (this.
listBoxAutoComplete
.Items.Count > 0)
440
Rectangle listboxRectangle = new Rectangle(locationInDialog, this.
listBoxAutoComplete
.Size);
444
if (this.
listBoxAutoComplete
.Size.Width > topLevelControlSize.Width)
445
this.
listBoxAutoComplete
.Size = new Size(topLevelControlSize.Width, this.
listBoxAutoComplete
.Height);
447
locationInDialog = new Point(topLevelControlSize.Width - this.
listBoxAutoComplete
.Size.Width, locationInDialog.Y);
450
this.
listBoxAutoComplete
.Size = new Size(this.
listBoxAutoComplete
.Width, topLevelControlSize.Height - listboxRectangle.Top);
453
this.
listBoxAutoComplete
.Location = locationInDialog;
454
this.
listBoxAutoComplete
.BringToFront();
455
this.
listBoxAutoComplete
.Show();
473
if (string.IsNullOrEmpty(currentValue.Trim()) && this.
listBoxAutoComplete
.Items.Count > 0)
476
this.
listBoxAutoComplete
.Items[0].Selected = true;
477
this.
listBoxAutoComplete
.Items[0].Focused = true;
481
for (int i = 0; i < this.
listBoxAutoComplete
.Items.Count; i++)
483
if (this.
listBoxAutoComplete
.Items[i].Text.StartsWith(currentValue, StringComparison.OrdinalIgnoreCase))
486
this.
listBoxAutoComplete
.Items[i].Selected = true;
487
this.
listBoxAutoComplete
.Items[i].Focused = true;
492
if (!wordMatched && this.
listBoxAutoComplete
.SelectedItems.Count == 1)
493
this.
listBoxAutoComplete
.SelectedItems[0].Selected = false;
612
if (this.
listBoxAutoComplete
.Visible)