【原】ComboBoxety用户输入自动匹配

//在界面构造函数里加入下面两行代码
 this.cbbDepartureAirport.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.cbbDepartureAirport.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;

 

posted @ 2015-08-31 15:55  哥本哈根  阅读(317)  评论(0编辑  收藏  举报