现在的位置: 首页 > 综合 > 正文

同事写的异步调用网络编程

2013年10月11日 ⁄ 综合 ⁄ 共 3922字 ⁄ 字号 评论关闭

同事写的异步调用网络编程

这里只是做个备份:

 

   {
if (CmbServer.Text == "")
            
{
                
return;
            }

            BtnSearch.Enabled 
= false;
            
this.RoleInfoView.DataSource = null;

            Enum.Message_Body[] mContent 
= new Enum.Message_Body[3];

            mContent[
0].eName = Enum.TagName.FJ_UserID;
            mContent[
0].eFormat =  Enum.TagFormat.TLV_STRING;
            mContent[
0].oContent = TxtAccount.Text;

            mContent[
1].eName = Enum.TagName.FJ_ServerIP;
            mContent[
1].eFormat =  Enum.TagFormat.TLV_STRING;
            mContent[
1].oContent = Operation_FJ.GetItemAddr(mServerInfo, CmbServer.Text);


            mContent[
2].eName = Enum.TagName.ServerInfo_City;
            mContent[
2].eFormat =  Enum.TagFormat.TLV_STRING;
            mContent[
2].oContent = CmbServer.Text;

            
查询角色信息
        }

        
查询角色信息

 ThreadTesk程序如下:

 

using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace ThreadTesk
{
    
任务工作状态

    
状态事件

抱歉!评论已关闭.