private void frmDeviceManagement_Load_1(object sender, EventArgs e)
        {
            btnXoa.Enabled = false;
            btnSua.Enabled = false;
            createListView(lvwThietBi);
            Equipment = new clsDevice();

            ListEquipment = Equipment.getListEquipment();
            LoadItemToView(lvwThietBi, ListEquipment);
            txtTimKiem.AutoCompleteMode   = AutoCompleteMode.Suggest;
            txtTimKiem.AutoCompleteSource = AutoCompleteSource.CustomSource;
        }
        private void lvwDSTB_SelectedIndexChanged(object sender, EventArgs e)
        {
            Equipment Equipment = null;

            if (lvwThietBi.SelectedItems.Count > 0)
            {
                btnXoa.Enabled = true;
                btnSua.Enabled = true;

                Equipment = (Equipment)lvwThietBi.SelectedItems[0].Tag;
                EquipmentToTextBox(Equipment);
            }
        }