Exemplo n.º 1
0
 private void GetAutoCompleteList(AutoCompleteListEventArgs e)
 {
     e.AutoCompleteList.Clear();
     for (int i = 0; i < 10; i++)
     {
         e.AutoCompleteList.Add(String.Format("{0}{1}", e.AutoSearchText, RandomString(5, true)));
     }
 }
        /// <summary>
        /// Triggers the GetAutoCompleteList event.
        /// </summary>
        public virtual void RaiseGetAutoCompleteList(AutoCompleteListEventArgs ea)
        {
            GetAutoCompleteListEventHandler handler = (GetAutoCompleteListEventHandler)Events[getAutoCompleteList];

            if (handler != null)
            {
                handler(GetEventSender(), ea);
            }
        }
Exemplo n.º 3
0
 private void repositoryItemMyLookUpEdit1_GetAutoCompleteList(object sender, AutoCompleteListEventArgs e)
 {
     GetAutoCompleteList(e);
 }
Exemplo n.º 4
0
 private void myLookUpEdit1_Properties_GetAutoCompleteList(object sender, AutoCompleteListEventArgs e)
 {
     GetAutoCompleteList(e);
 }