3 writes to domainIndex
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DomainUpDown.cs (3)
306domainIndex = matchIndex; 472domainIndex = index; 568domainIndex = matchIndex;
16 references to domainIndex
System.Windows.Forms (16)
winforms\Managed\System\WinForms\DomainUpDown.cs (16)
144return domainIndex; 299matchIndex = MatchIndex(Text, false, domainIndex); 317if (domainIndex < domainItems.Count - 1) { 318SelectIndex(domainIndex + 1); 336return MatchIndex(text, complete, domainIndex); 427int matchIndex = MatchIndex(new string(character), false, domainIndex + 1); 473if (domainIndex >= 0) { 474stringValue = domainItems[domainIndex].ToString(); 482Debug.Assert(domainIndex >=0 || UserEdit == true, "UserEdit should be true when domainIndex < 0 " + UserEdit); 553if (domainIndex == -1 && LocalAppContextSwitches.UseLegacyDomainUpDownControlScrolling) { 560matchIndex = MatchIndex(Text, false, domainIndex); 578if (domainIndex > 0) { 579SelectIndex(domainIndex - 1); 684if (item < owner.domainIndex) { 686owner.SelectIndex(owner.domainIndex - 1); 688else if (item == owner.domainIndex) {