void ShowGamePanel() { if (m_game == null) { m_game = new GamePanel(tfGamePanel); m_game.setPerent(con); } m_current = m_game; }
void ShowGiftBagPanel() { if (m_giftBag == null) { m_giftBag = new GifBagPane(tfGiftBagPanel); m_giftBag.setPerent(con); } m_current = m_giftBag; }
void ShowSystemPanel() { if (m_system == null) { m_system = new SystemPanel(tfSystemPanel); m_system.setPerent(con); } m_current = m_system; }