private void btnShowResources_Click(object sender, EventArgs e) { GameEngine.Instance.playInterfaceSound("BattleResultPopup_resources"); if ((resourcesPanel != null) && !resourcesPanel.Created) { resourcesPanel.Close(); resourcesPanel = null; } resourcesPanel = new AttackReportsResourcesPanel(); resourcesPanel.setResources(this.m_reportReturnData); resourcesPanel.Show(); }