Ejemplo n.º 1
0
        private void mANTENIMIENTODEPRODUCTOSToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CrearProductos Fcrear = new CrearProductos();

            Fcrear.textBox10.Text = textBox1.Text;
            Fcrear.Show();
            Hide();
        }
Ejemplo n.º 2
0
 private void pictureBox1_Click_1(object sender, EventArgs e)
 {
     if (textBox1.Text == "" | textBox2.Text == "" | textBox3.Text == "" | comboBox1.Text == "" | textBox4.Text == "" | textBox5.Text == "" | textBox6.Text == "" | textBox7.Text == "" | textBox8.Text == "" | textBox9.Text == "")
     {
         MessageBox.Show("NO DEBES DE DEJAR CAMPOS VACIOS.", "ADVERTENCIA!");
     }
     else
     {
         c.crearproductosusuario(textBox1.Text, textBox2.Text, textBox3.Text, comboBox1.Text, textBox9.Text, textBox5.Text, textBox6.Text, textBox11.Text);
         MessageBox.Show("Se Ha Creado El Producto.", "Mensaje!");
         CrearProductos fcrearproducto = new CrearProductos();
         fcrearproducto.textBox10.Text = textBox10.Text;
         txtalmacen.Text = txtalmacen.Text;
         fcrearproducto.Show();
         Hide();
     }
 }