Ejemplo n.º 1
0
 private void HideEditButtons()
 {   //shows edit button
     EventEditMatchResult.Show();
     //hides save and edit button & label for changes made
     EventSave.Hide();
     EventCancelEdit.Hide();
     LabelChangesMade.Hide();
 }
Ejemplo n.º 2
0
 private void HideButton()
 {
     if (Database.UserData.accessLevel == "Player") //checks if users access level is 'player'
     {
         EventEditMatchResult.Hide();               //hides edit button
     }
     else
     {
         this.Height += 36;
     }
     EventSave.Hide();        //hides save button
     EventCancelEdit.Hide();  //hides cancel edit button
     LabelChangesMade.Hide(); //hides changes made label
 }