private void lueListAvaiableRooms_Case1_EditValueChanged(object sender, EventArgs e) { CustomersBO aCustomersBO = new CustomersBO(); List<Customers> aList = aCustomersBO.SelectListCustomerInRoom(int.Parse(this.lueListAvaiableRooms_Case1.EditValue.ToString())); this.lueListCustomerInRoom_Case1.Properties.DataSource = aList; this.lueListCustomerInRoom_Case1.Properties.ValueMember = "ID"; this.lueListCustomerInRoom_Case1.Properties.DisplayMember = "Name"; this.ListCustomerInRoomBeforeChange_Case1 = aList; this.IDBookingRoom_Case1 = int.Parse(this.lueListAvaiableRooms_Case1.EditValue.ToString()); }