private void FrmPlayerTrade_Load(object sender, EventArgs e) { //服务器列表 CEnum.Message_Body[] mContent = new CEnum.Message_Body[2]; mContent[0].eName = CEnum.TagName.ServerInfo_GameDBID; mContent[0].eTag = CEnum.TagFormat.TLV_INTEGER; mContent[0].oContent = 3; mContent[1].eName = CEnum.TagName.ServerInfo_GameID; mContent[1].eTag = CEnum.TagFormat.TLV_INTEGER; mContent[1].oContent = m_ClientEvent.GetInfo("GameID_SDO"); mServerInfo = Operation_Kart.GetServerList(this.m_ClientEvent, mContent); CmbServer = Operation_Kart.BuildCombox(mServerInfo, CmbServer); //货币类型 CmbType.Items.Add("M币"); CmbType.Items.Add("G币"); CmbType.Items.Add("所有类型"); CmbType.SelectedIndex = 0; PnlPage.Visible = false; LblTotal.Text = ""; }
private void FrmPlayerConsume_Load(object sender, EventArgs e) { CEnum.Message_Body[] mContent = new CEnum.Message_Body[2]; mContent[0].eName = CEnum.TagName.ServerInfo_GameDBID; mContent[0].eTag = CEnum.TagFormat.TLV_INTEGER; mContent[0].oContent = 3; mContent[1].eName = CEnum.TagName.ServerInfo_GameID; mContent[1].eTag = CEnum.TagFormat.TLV_INTEGER; mContent[1].oContent = m_ClientEvent.GetInfo("GameID_CR"); mServerInfo = Operation_Kart.GetServerList(this.m_ClientEvent, mContent); CmbServer = Operation_Kart.BuildCombox(mServerInfo, CmbServer); PnlPage.Visible = false; }
private void FrmPlayerBan_Load(object sender, EventArgs e) { CEnum.Message_Body[] mContent = new CEnum.Message_Body[2]; mContent[0].eName = CEnum.TagName.ServerInfo_GameDBID; mContent[0].eTag = CEnum.TagFormat.TLV_INTEGER; mContent[0].oContent = 1; mContent[1].eName = CEnum.TagName.ServerInfo_GameID; mContent[1].eTag = CEnum.TagFormat.TLV_INTEGER; mContent[1].oContent = m_ClientEvent.GetInfo("GameID_SDO"); mServerInfo = Operation_Kart.GetServerList(this.m_ClientEvent, mContent); CmbServer = Operation_Kart.BuildCombox(mServerInfo, CmbServer); LblUser.Text = ""; PnlInput.Visible = true; GrdList.DataSource = null; PnlPage.Visible = false; }