public void RaiseCallbackEvent(String eventArgument) { if (eventArgument == "progress") { strCallback = "progress," + SellersBLL.GetSyncMem(Users.Nick).ToString(); } else if (eventArgument == "syncmember") { bool br; br = SellersBLL.SetSyncMem(Users.Nick); if (br) { strCallback = "syncmember,success"; Client.CreateSyncEvent(); } else { strCallback = "syncmember,failed"; } } }