Guest User

Untitled

a guest
Oct 15th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.69 KB | None | 0 0
  1. string bbb = File.ReadAllText(Application.StartupPath + "\\Data\\User Info\\" + cbUser.SelectedItem);
  2.            string accountUsername = bbb.Split(new string() {"<username>", "</username>" }, StringSplitOptions.none);
  3.            string accountMail = bbb.Split(new string() { "<mail>", "</mail>" }, StringSplitOptions.none);
  4.         string accountPassword = bbb.Split(new string() {"<password>", "</password>"}, StringSplitOptions.none);
  5.         string accountSmtp = bbb.Split(new string() {"<smtp>", "</smtp>"}, StringSplitOptions.none);
  6.         User.Text = accountUsername(1);
  7.         UserAdress.Text = accountMail(1);
  8.         Password.Text = accountPassword(1);
  9.         Smtp.Text = accountSmtp(1);
Add Comment
Please, Sign In to add comment