コード例 #1
0
        private void addCarBtn_Click(object sender, EventArgs e)
        {
            Add_item addItem = new Add_item(2, driverBase, carsBase);

            addItem.Owner = this;
            addItem.ShowDialog();
        }
コード例 #2
0
        private void addDealBtn_Click(object sender, EventArgs e)
        {
            FillDriversList();
            FillCarsList();
            Add_item addItem = new Add_item(3, driverBase, carsBase);

            addItem.Owner = this;
            addItem.ShowDialog();
        }