private void BtnAddBox_Click(object sender, EventArgs e) { FrmAddUpdate addLootboxForm = new FrmAddUpdate(); addLootboxForm.ShowDialog(); PopulateForm(); }
private void BtnEditBox_Click(object sender, EventArgs e) { LootboxClass ltbx = lstLootBox.SelectedItem as LootboxClass; FrmAddUpdate updateForm = new FrmAddUpdate(ltbx); updateForm.ShowDialog(); PopulateForm(); }