private void btnUpdateRoom_Click(object sender, EventArgs e) { var formRoomEdit = new FormRoomEdit(roomDTO.Id, roomDTO.HouseId, "EDIT"); formRoomEdit.ShowDialog(); FormRoomInfor_Load(sender, e); }
private void btnAddRoom_Click(object sender, EventArgs e) { var formRoomEdit = new FormRoomEdit(0, houseId, "ADD"); formRoomEdit.ShowDialog(); UC_RoomManager_Load(sender, e); }