Exemplo n.º 1
0
 public ClientEvt()
 {
     cmdForm.Text = "与服务端(support)的通信命令";
     Client = new OESClient();
     Client.ReceivedMsg += new EventHandler(Client_ReceivedMsg);
     Client.WrittenMsg += new EventHandler(Client_WrittenMsg);
     Client.ReceivedTxt += new EventHandler(Client_ReceivedTxt);
     Client.ConnectedServer += new EventHandler(Client_ConnectedServer);
     cmdForm.Show();
 }
Exemplo n.º 2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     try
     {
         OESClient a = new OESClient();
     }
     catch
     {
         int i = 0;
         i++;
     }
 }