private void ShowEditButtons() { EventEdit.Hide(); //hides the edit button //shows the cancel edit & save button and changes made label EventCancelEdit.Show(); EventSave.Show(); LabelChangesMade.Show(); }
private void ShowEditButtons() { //hides edit button EventEditMatchResult.Hide(); //shows save and edit buttons & label for changes made EventSave.Show(); EventCancelEdit.Show(); LabelChangesMade.Show(); }
private void ShowEditButtons() { EventEdit.Hide(); //hides the edit button //Shows the changes made label and save & cancel edit buttons EventCancelEdit.Show(); EventSave.Show(); LabelChangesMade.Show(); LabelChangesMade.Text = "0 changes\nmade."; }
private void EditOn() { //changes the enabled state of the access level and team drop down boxes so they can be edited InputAccessLevel.Enabled = true; InputTeam.Enabled = true; EventEdit.Hide(); //hides the edit button //shows the changes made label and the save & cancel edit button EventCancelEdit.Show(); EventSave.Show(); LabelChangesMade.Show(); LabelChangesMade.Text = "0 changes\nmade."; //sets the text in the changes made label }