示例#1
0
 private void ShowEditButtons()
 {   //hides edit button
     EventEditMatchResult.Hide();
     //shows save and edit buttons & label for changes made
     EventSave.Show();
     EventCancelEdit.Show();
     LabelChangesMade.Show();
 }
示例#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
 }