コード例 #1
0
ファイル: FormMain.cs プロジェクト: gudaling/hotel
        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);
                }
            }
        }
コード例 #2
0
ファイル: FormMain.cs プロジェクト: gudaling/hotel
        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);
                }
            }
        }
コード例 #3
0
ファイル: FormMain.cs プロジェクト: gudaling/hotel
 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);
         }
     }
 }
コード例 #4
0
ファイル: FormMain.cs プロジェクト: gudaling/hotel
 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);
         }
     }
 }