Esempio n. 1
0
        private void btnAddBuy_Click(object sender, EventArgs e)
        {
            ItemTypeSelector input = new ItemTypeSelector();

            if (input.ShowDialog() == DialogResult.OK)
            {
                lstBuyTypes.Items.Add(input.Value);
            }
        }
Esempio n. 2
0
 private void btnAddBuy_Click(object sender, EventArgs e)
 {
     ItemTypeSelector input = new ItemTypeSelector();
     if (input.ShowDialog() == DialogResult.OK)
     {
         lstBuyTypes.Items.Add(input.Value);
     }
 }