public void ClickJieSan() { if (TableState == TableState.Over) { Dictionary <string, object> dic = new Dictionary <string, object>(); object obj = RealRoomId; dic["roomId"] = obj; Facade.Instance <TwManger>().SendAction("group.dissolveRoom", dic, msg => { TeaUtil.GetBackString(msg); TeaPanel.GetTableList(false); }); } else { Dictionary <string, object> dic = new Dictionary <string, object>(); object obj = RealRoomId; dic["roomId"] = obj; Facade.Instance <TwManger>().SendAction("group.removeRoom", dic, msg => { TeaUtil.GetBackString(msg); TeaPanel.GetTableList(false); }); } }
public void ClickJieSan() { if (TableState == TableState.Over) { YxMessageBox.Show( "您是否确定删除房间", null, (window, btnname) => { switch (btnname) { case YxMessageBox.BtnLeft: Dictionary <string, object> dic = new Dictionary <string, object>(); object obj = RealRoomId; dic["roomId"] = obj; Facade.Instance <TwManager>().SendAction("group.dissolveRoom", dic, msg => { TeaUtil.GetBackString(msg); TeaPanel.GetTableList(false); }); break; } }, true, YxMessageBox.LeftBtnStyle | YxMessageBox.RightBtnStyle ); } else { YxMessageBox.Show( "您是否确定解散房间", null, (window, btnname) => { switch (btnname) { case YxMessageBox.BtnLeft: Dictionary <string, object> dic = new Dictionary <string, object>(); object obj = RealRoomId; dic["roomId"] = obj; Facade.Instance <TwManager>().SendAction("group.removeRoom", dic, msg => { TeaUtil.GetBackString(msg); TeaPanel.GetTableList(false); }); break; } }, true, YxMessageBox.LeftBtnStyle | YxMessageBox.RightBtnStyle ); } }
private void BackJieSan(object msg) { TeaUtil.GetBackString(msg); RoomInfo.DangQianClick(); }
private void CreateRoomBack(object obj) { TeaUtil.GetBackString(obj); teaPanel.GetTableList(false); Close(); }
private void BackJieSan(object msg) { TeaUtil.GetBackString(msg); RoomInfo.GetTableList(); }
private void Ok(object msg) { TeaUtil.GetBackString(msg); teaPower.getApplyList(); }
private void GoOutOk(object msg) { TeaUtil.GetBackString(msg); teaPower.GetMemberList(); }
private void ApplyBackMs(object msg) { TeaUtil.GetBackString(msg); }