void m_Session_OnAccountMessage(object sender, BWAccount accountMsg) { string str = m_Session.Account; string[] strArr = str.Split('~'); _acct = strArr[0]; _cpl = accountMsg.ClosedProfit; }