Esempio n. 1
0
 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);
         });
     }
 }
Esempio n. 2
0
 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
             );
     }
 }
Esempio n. 3
0
 private void BackJieSan(object msg)
 {
     TeaUtil.GetBackString(msg);
     RoomInfo.DangQianClick();
 }
Esempio n. 4
0
 private void CreateRoomBack(object obj)
 {
     TeaUtil.GetBackString(obj);
     teaPanel.GetTableList(false);
     Close();
 }
Esempio n. 5
0
 private void BackJieSan(object msg)
 {
     TeaUtil.GetBackString(msg);
     RoomInfo.GetTableList();
 }
Esempio n. 6
0
 private void Ok(object msg)
 {
     TeaUtil.GetBackString(msg);
     teaPower.getApplyList();
 }
Esempio n. 7
0
 private void GoOutOk(object msg)
 {
     TeaUtil.GetBackString(msg);
     teaPower.GetMemberList();
 }
Esempio n. 8
0
 private void ApplyBackMs(object msg)
 {
     TeaUtil.GetBackString(msg);
 }