04
06/11
dat保存登陆密码
winform--记住密码 收藏 要引用IO包 private string accountFilePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) +"\\accounts.dat "; private IDictionary<string, string> accounts = new SortedList<string, string>(); /// <summary> /// 记住密码 /// </summary> private void ReloadAccounts() { this.txtUserName.AutoCompleteCustomSource.Clear(); accounts.Clear(); ...