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); } } }
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); } } }