private void btn_GameSetting_Click(object sender, EventArgs e) { if (this.onSetup != null) this.onSetup(this, e); pnl_Setting.Visible = true; pnl_Setting.Controls.Clear(); Setting_Game sg = new Setting_Game(); pnl_Setting.Controls.Add(sg); }