コード例 #1
0
 public void PreLoadItemList()
 {
     AutoCompleteList.ApplyItemList(GetListItems());
     AutoCompleteList.Opacity = 0f;
     AutoCompleteList.Show();
     AutoCompleteList.Hide();
     AutoCompleteList.Opacity = 0.9f;
 }
コード例 #2
0
        private void UpdateAutoCompleteList(bool forceShow)
        {
            if (NeedCurrentParseResult == null)
            {
                return;
            }

            ParseResult parseResult = GetParseResults();

            UpdateItemList();

            bool isShowing = GetIsShowing(parseResult, forceShow);

            if (!isShowing)
            {
                AutoCompleteList.Hide();
                return;
            }

            UpdateAutoCompleteList(parseResult);
        }
コード例 #3
0
 private void keyHandler_CloseAutoCompleteList(object sender, EventArgs e)
 {
     AutoCompleteList.Hide();
 }