public frmAddPart(frmDisParts form) { frmDisParts = form; InitializeComponent(); }
//constructor 1 takes a datarow to edit public frmAddPart(DataRow drRowToEdit, frmDisParts form) { frmDisParts = form; drRow = drRowToEdit; InitializeComponent(); }