Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string bbb = File.ReadAllText(Application.StartupPath + "\\Data\\User Info\\" + cbUser.SelectedItem);
- string accountUsername = bbb.Split(new string() {"<username>", "</username>" }, StringSplitOptions.none);
- string accountMail = bbb.Split(new string() { "<mail>", "</mail>" }, StringSplitOptions.none);
- string accountPassword = bbb.Split(new string() {"<password>", "</password>"}, StringSplitOptions.none);
- string accountSmtp = bbb.Split(new string() {"<smtp>", "</smtp>"}, StringSplitOptions.none);
- User.Text = accountUsername(1);
- UserAdress.Text = accountMail(1);
- Password.Text = accountPassword(1);
- Smtp.Text = accountSmtp(1);
Add Comment
Please, Sign In to add comment