public void ShowSessionError(Entity.SessionError error) { MessageBox.Show(String.Format("Status {0}: {1}", error.Status.ToString(), error.Description), "Ecodex UniTest"); }
public Error(Entity.SessionError error) : this() { this.numberTextBox.Text = error.Status.ToString(); this.descriptionTextBox.Text = error.Description ?? String.Empty;; }