public FormNuevoProducto() { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); // // TODO: Add constructor code after the InitializeComponent() call. // this.admi = admi; this.id = id; this.admi = new admi_produc_from(); this.myCmdQuery = new MySqlCommand(); this.myDataAdapter = new MySqlDataAdapter(); this.myBindingSource = new BindingSource(); this.myCommandBuilder = new MySqlCommandBuilder(); this.myDataSet = new DataSet(); this.myStringCon = "Server=localhost;" + "Database=ecom;" + "User ID=root;" + "Password=manson666;" + "Pooling=false;"; }
void AdministrarProductosToolStripMenuItemClick(object sender, EventArgs e) { admi_produc_from a = new admi_produc_from(); a.Show(); this.Hide(); this.Visible = true; }
public Editar_ProductoForm(string id) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); // // TODO: Add constructor code after the InitializeComponent() call. // this.admi = admi; this.id = id; this.producto = producto; this.producto = new Productos(); this.admi = new admi_produc_from(); }