private void Login_Click(object sender, EventArgs e) { //m_ClientEngine.m_WriteHelper.BeginWrite((UInt16)Command_ID.CMD_CHAR_NEW_ACCOUNT_REQ, 0); // m_ClientEngine.m_WriteHelper.WriteFixString("mmmmm",32); //m_ClientEngine.m_WriteHelper.WriteFixString("kkkkkk", 32); //m_ClientEngine.m_WriteHelper.EndWrite(); //m_ClientEngine.SendData(m_ClientEngine.m_WriteHelper.GetData(), m_ClientEngine.m_WriteHelper.GetDataLen()); m_ClientConnector.Login("test0", "123456", true); }
public bool Login(string userName, string password) { return(ClientConnector.Login(userName, password)); }