示例#1
0
 void GenUser() => user = WebHandler.CreateUser(RmSpace(eUsername.Text), RmSpace(eEmail.Text), RmSpace(ep.Text));
 void GenUser() => user = WebHandler.CreateUser(string.IsNullOrWhiteSpace(eUsername.Text.Trim()) || eUsername.Text.Trim() == user.Username ? null : eUsername.Text.Trim(), string.IsNullOrWhiteSpace(eEmail.Text.Trim()) || eEmail.Text.Trim() == user.Email ? null : eEmail.Text.Trim(), ep.Text);