摘要:
winform 自动填充功能,一般使用AutoCompleteSource,绑定string[],和文件, 1: private void FormMain_Load(object sender, EventArgs e) 2: { 3: //窗体加载事件处理方法 4: this.InitTextBox(); 5: } 6:7: private void InitTextBox() 8: { 9: //初始化文本框(TextBox控件)10: this.txtAutoComplete.AutoCompleteSource = AutoCompleteSource.CustomSource;11 阅读全文