public GameEndNotification(int score)
 {
     InitializeComponent();
     _CRank = new CRank();
     _name = _CRank.loadName();
     _rank = _CRank.loadRank();
     panelNewRecord.Visibility = System.Windows.Visibility.Hidden;
     rectNewRecord.Visibility = System.Windows.Visibility.Hidden;
     btnConfirm.Visibility = System.Windows.Visibility.Hidden;
     btnConfirm_Copy.Visibility = System.Windows.Visibility.Hidden;
     labRecords.Visibility = System.Windows.Visibility.Hidden;
     _score = score;
     txtName.Tag = false;
 }
Exemplo n.º 2
0
 public VRankPage()
 {
     InitializeComponent();
     _CRank = new CRank();
     _name = _CRank.loadName();
     _rank = _CRank.loadRank();
     name1.Content = _name[0];
     name2.Content = _name[1];
     name3.Content = _name[2];
     name4.Content = _name[3];
     name5.Content = _name[4];
     score1.Content = _rank[0];
     score2.Content = _rank[1];
     score3.Content = _rank[2];
     score4.Content = _rank[3];
     score5.Content = _rank[4];
 }