void ShowViewPage() { // Hide all the widgets on the edit page textView.Hide(); cancelButton.Hide(); saveButton.Hide(); // Show all the widgets on the view page textLabel.Show(); deleteButton.Show(); editButton.Show(); // Switch back to the View Page Page = viewPageId; }