示例#1
0
        private void btnUpdateRoom_Click(object sender, EventArgs e)
        {
            var formRoomEdit = new FormRoomEdit(roomDTO.Id, roomDTO.HouseId, "EDIT");

            formRoomEdit.ShowDialog();
            FormRoomInfor_Load(sender, e);
        }
示例#2
0
        private void btnAddRoom_Click(object sender, EventArgs e)
        {
            var formRoomEdit = new FormRoomEdit(0, houseId, "ADD");

            formRoomEdit.ShowDialog();
            UC_RoomManager_Load(sender, e);
        }