public productos(inventario tario) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); this.tario = tario; // // TODO: Add constructor code after the InitializeComponent() call. // }
public editainventario(inventario tario, string id) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); this.tario = tario; this.id = id; // // TODO: Add constructor code after the InitializeComponent() call. // }
void Button2Click(object sender, EventArgs e) { inventario tario = new inventario(this); tario.Show(); }