Пример #1
0
        private void Button2_Click(object sender, EventArgs e)
        {
            int index;

            index = billBox.SelectedIndex;
            Bills b = DBMng.getBill(index);

            label2.Text = cntrl.payBill(b);
            billBox.Items.RemoveAt(index);
        }