public static string toString(User user) { return(new StringBuilder() .Append(user.getToken()) .Append("|") .Append(user.getNickname()) .Append("|") .Append(user.getPassword()) .ToString()); }
public Form3(User user) { InitializeComponent(); this.user = user; textBox1.Focus(); button1.Enabled = false; label1.Text = user.getNickname(); con = Program.connector; con.sender(Utill.GET + user.getToken()); }