Beispiel #1
0
        private void tsModifyRoomState_Click(object sender, EventArgs e)
        {
            BasRoomModel mRoomNo = GetKeyRoomNo();

            if (mRoomNo != null)
            {
                FormModifyRoomState frmModifyState = new FormModifyRoomState(mRoomNo);
                if (frmModifyState.ShowDialog() == DialogResult.OK)
                {
                    ShowRoom(mRoomNo.FloorInfo.FloorId);
                }
            }
        }
Beispiel #2
0
        private void tsmChangeRoomState_Click(object sender, EventArgs e)
        {
            BasRoomModel mRoomNo = GetSelectRoomNo(GetSelectPBX(ptcts));

            if (mRoomNo != null)
            {
                FormModifyRoomState frmModifyRoom = new FormModifyRoomState(mRoomNo);
                if (frmModifyRoom.ShowDialog() == DialogResult.OK)
                {
                    ShowRoom(mRoomNo.FloorInfo.FloorId);
                }
            }
        }
Beispiel #3
0
 private void tsModifyRoomState_Click(object sender, EventArgs e)
 {
     BasRoomModel mRoomNo = GetKeyRoomNo();
     if (mRoomNo != null)
     {
         FormModifyRoomState frmModifyState = new FormModifyRoomState(mRoomNo);
         if (frmModifyState.ShowDialog() == DialogResult.OK)
         {
             ShowRoom(mRoomNo.FloorInfo.FloorId);
         }
     }
 }
Beispiel #4
0
 private void tsmChangeRoomState_Click(object sender, EventArgs e)
 {
     BasRoomModel mRoomNo = GetSelectRoomNo(GetSelectPBX(ptcts));
     if (mRoomNo != null)
     {
         FormModifyRoomState frmModifyRoom = new FormModifyRoomState(mRoomNo);
         if (frmModifyRoom.ShowDialog() == DialogResult.OK)
         {
             ShowRoom(mRoomNo.FloorInfo.FloorId);
         }
     }
 }