private void updateButton_Click(object sender, EventArgs e) { AddAutoForm form = new AddAutoForm(ID, (Auto)dataGridView1.SelectedRows[0].DataBoundItem); form.ShowDialog(); dataRefresh(); }
private void addButton_Click(object sender, EventArgs e) { //SellerManager.AddAuto() AddAutoForm form = new AddAutoForm(ID); form.ShowDialog(); dataRefresh(); }