private void listprod_Click(object sender, EventArgs e)
        {
            Registro_Productos re = new Registro_Productos();

            codprod.Text       = "";
            codprod.ForeColor  = SystemColors.WindowText;
            codprod.Font       = new Font(codprod.Font, FontStyle.Regular);
            nameprod.Text      = "";
            nameprod.ForeColor = SystemColors.WindowText;
            nameprod.Font      = new Font(codprod.Font, FontStyle.Regular);
            textcant.Text      = "";
            textcant.ForeColor = SystemColors.WindowText;
            textcant.Font      = new Font(codprod.Font, FontStyle.Regular);
            textCCU.Text       = "";
            textCCU.ForeColor  = SystemColors.WindowText;
            textCCU.Font       = new Font(codprod.Font, FontStyle.Regular);

            re.nuevo.Enabled            = false;
            re.nuevo.BackgroundImage    = global::Proyect_Kardex.Properties.Resources.novob;
            re.editar.Enabled           = false;
            re.editar.BackgroundImage   = global::Proyect_Kardex.Properties.Resources.editdocumentob;
            re.eliminar.Enabled         = false;
            re.eliminar.BackgroundImage = global::Proyect_Kardex.Properties.Resources.document_deleteb;
            re.ShowDialog();
        }
示例#2
0
        private void registroDeProductosEnLaEmpresaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Registro_Productos reg = new Registro_Productos();

            reg.ShowDialog();
        }