Exemplo n.º 1
0
        private void btnTopScores_Click(object sender, EventArgs e)
        {
            TopScoresChart topScoresChart = TopScoresChart.GetInstance();

            topScoresChart.MdiParent = this;
            topScoresChart.Show();
        }
Exemplo n.º 2
0
 public static TopScoresChart GetInstance()
 {
     if (_instance == null)
     {
         _instance = new TopScoresChart();
     }
     return(_instance);
 }
Exemplo n.º 3
0
 private void TopScoresChart_FormClosed(object sender, FormClosedEventArgs e)
 {
     _instance = null;
 }