Пример #1
0
 public static CGuiApplicationIntermediate InstanceCreation()
 {
     if (instance == null)
     {
         instance = new CGuiApplicationIntermediate();
         m_fHome = new FormHome();
         m_fAdmin = new FormAdmin();
         m_fAddUser = new FormAddUser();
         m_fAddTeam = new FormAddTeam();
         m_fEditPlayerList = new FormEditPlayersList();
         m_fPlayerDetailes = new FormPlayer();
         m_teams = new CTeamPool();
         m_teams.Teams = loadTeamsDb();
     }
     return instance;
 }
Пример #2
0
 public static CGuiApplicationIntermediate InstanceCreation()
 {
     if (instance == null)
     {
         instance          = new CGuiApplicationIntermediate();
         m_fHome           = new FormHome();
         m_fAdmin          = new FormAdmin();
         m_fAddUser        = new FormAddUser();
         m_fAddTeam        = new FormAddTeam();
         m_fEditPlayerList = new FormEditPlayersList();
         m_fPlayerDetailes = new FormPlayer();
         m_teams           = new CTeamPool();
         m_teams.Teams     = loadTeamsDb();
     }
     return(instance);
 }