コード例 #1
0
ファイル: Form1.cs プロジェクト: JichanJong/DevLazyLoad
 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)));
     }
 }
コード例 #2
0
        /// <summary>
        /// Triggers the GetAutoCompleteList event.
        /// </summary>
        public virtual void RaiseGetAutoCompleteList(AutoCompleteListEventArgs ea)
        {
            GetAutoCompleteListEventHandler handler = (GetAutoCompleteListEventHandler)Events[getAutoCompleteList];

            if (handler != null)
            {
                handler(GetEventSender(), ea);
            }
        }
コード例 #3
0
ファイル: Form1.cs プロジェクト: JichanJong/DevLazyLoad
 private void repositoryItemMyLookUpEdit1_GetAutoCompleteList(object sender, AutoCompleteListEventArgs e)
 {
     GetAutoCompleteList(e);
 }
コード例 #4
0
ファイル: Form1.cs プロジェクト: JichanJong/DevLazyLoad
 private void myLookUpEdit1_Properties_GetAutoCompleteList(object sender, AutoCompleteListEventArgs e)
 {
     GetAutoCompleteList(e);
 }