Beispiel #1
0
        private void updateButton_Click(object sender, EventArgs e)
        {
            AddAutoForm form = new AddAutoForm(ID, (Auto)dataGridView1.SelectedRows[0].DataBoundItem);

            form.ShowDialog();
            dataRefresh();
        }
Beispiel #2
0
        private void addButton_Click(object sender, EventArgs e)
        {
            //SellerManager.AddAuto()
            AddAutoForm form = new AddAutoForm(ID);

            form.ShowDialog();
            dataRefresh();
        }