private void btnUpdateProduct_Click(object sender, EventArgs e) { AttributeSetModel.id = attributesetGrid.Rows[attributesetGrid.SelectedRows[0].Index].Cells[0].Value.ToString(); AttributeSetModel.name = attributesetGrid.Rows[attributesetGrid.SelectedRows[0].Index].Cells[1].Value.ToString(); add_attributeset update = new add_attributeset(true); update.ShowDialog(); }
private void btnAddAttributeset_Click(object sender, EventArgs e) { add_attributeset add = new add_attributeset(); add.ShowDialog(); }