void connector_ConnectedEvent(System.Net.Sockets.TcpClient client)
 {
     command = new SerialUser <ChessCommand>(client);
     command.SerialPackageRecivedEvent += new SerialPackageRecivedHandler <ChessCommand>(command_SerialPackageRecivedEvent);
     command.DisconnectEvent           += new TcpDisconnectHander(command_DisconnectEvent);
     command.Start();
     //command.Send(,)
     //throw new NotImplementedException();
 }
 void connector_ConnectedEvent(System.Net.Sockets.TcpClient client)
 {
     command = new SerialUser<ChessCommand>(client);
     command.SerialPackageRecivedEvent += new SerialPackageRecivedHandler<ChessCommand>(command_SerialPackageRecivedEvent);
     command.DisconnectEvent += new TcpDisconnectHander(command_DisconnectEvent);
     command.Start();    
     //command.Send(,)
     //throw new NotImplementedException();
 }