private void tsmiChangeState_Click(object sender, EventArgs e) { rm_RoomStateId = Convert.ToInt32(new RoomService().SelectRoomStateIdByRoomNo(lblRoomNo.Text)); rm_RoomNo = lblRoomNo.Text; FrmRoomStateManager frsm = new FrmRoomStateManager(); frsm.ShowDialog(); }
private void tsmiChangeState_Click(object sender, EventArgs e) { //RoomManager.UpdateRoomStateByRoomNo(lblRoomNo.Text); RoomStatic.RoomStateId = Convert.ToInt32(RoomManager.SelectRoomStateIdByRoomNo(lblRoomNo.Text)); RoomStatic.RoomNo = lblRoomNo.Text; FrmRoomStateManager frsm = new FrmRoomStateManager(); frsm.ShowDialog(); }