private void AccountsManager_Load(object sender, EventArgs e) { Vdf v = new Vdf(mainForm.SteamPath + "\\config\\loginusers.vdf"); Dictionary <string, SteamUserInfo> data = v.get(); int index = 0; foreach (SteamUserInfo user in data.Values) { listBox_account.Items.Insert(index, user.user); listBox_steamname.Items.Insert(index, user.name); index++; } }
private void ConfigManager_Load(object sender, EventArgs e) { Vdf v = new Vdf(mainForm.SteamPath + "\\config\\loginusers.vdf"); Dictionary <string, SteamUserInfo> data = v.get(); int index = 0; foreach (SteamUserInfo user in data.Values) { string str = user.user + " > " + user.name; cache_data.Add(index, user.id64); comboBox_dst.Items.Insert(index, str); comboBox_src.Items.Insert(index, str); index++; } }