Example #1
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     try
     {
         FormProveedoresInserta form = new FormProveedoresInserta();
         form.ShowDialog(this);
         cargarProveedores();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Hubo un error", "Error" + ex);
     }
 }
Example #2
0
 private void agregarNuevoProveedorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         FormProveedoresInserta form = new FormProveedoresInserta();
         form.ShowDialog(this);
         cargarProveedores();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Hubo un error", "Error" + ex);
     }
 }