Example #1
0
 public ProfileAdd(int id, ItemDisplay itemDisplay, Button button)
 {
     InitializeComponent();
     this.itemDisplay = itemDisplay;
     this.id          = id;
     this.button      = button;
 }
Example #2
0
        private void OpenButton_Click(object sender, EventArgs e)
        {
            int selectedIndex = ComboBoxInv.SelectedIndex;

            ItemDisplay item = new ItemDisplay(inv, selectedIndex);

            item.Show();
        }