Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Load1()
- {
- XmlDocument doc = new XmlDocument();
- doc.Load("XMLFile1.xml");
- foreach (XmlNode node in doc.DocumentElement)
- {
- website = node.Attributes[0].Value;
- login = node["login"].InnerText;
- password = node["password"].InnerText;
- comboBox1.Items.Add(new Website(website, login, password));
- listBox1.Items.Add(new Website(website, login, password));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement