private void findItemButton_Click(object sender, EventArgs e) { FindItem fi = new FindItem(); if (fi.ShowDialog() == DialogResult.OK) { // FindItem form uses ListView to list all of the NPC's that are in `item_template` table. When FindItem form loads, it should load all of the item's currently in that table. // ListView uses 2 columns (Item ID, Item NAME). So once user clicks on a desired Item from the list, this dialog here should return that value to the itemEntryIntegerInput } }
private void FindItemToolStripMenuItem_Click(object sender, EventArgs e) { findItemDialog.ShowDialog(); ToggleSelection = 1; }