private void regboton_Click(object sender, EventArgs e)
        {
            Registro_Usuario sd = new Registro_Usuario();

            sd.CodUsr = CodUser;
            sd.ShowDialog();
            citext.Text      = "";
            citext.Text      = sd.codUser.ToString();
            citext.ForeColor = SystemColors.WindowText;
            citext.Font      = new Font(citext.Font, FontStyle.Regular);
        }
        private void regboton_Click(object sender, EventArgs e)
        {
            Registro_Usuario rc = new Registro_Usuario();

            rc.nuevo.Enabled            = false;
            rc.nuevo.BackgroundImage    = global::Proyect_Kardex.Properties.Resources.novob;
            rc.editar.Enabled           = false;
            rc.editar.BackgroundImage   = global::Proyect_Kardex.Properties.Resources.editdocumentob;
            rc.eliminar.Enabled         = false;
            rc.eliminar.BackgroundImage = global::Proyect_Kardex.Properties.Resources.document_deleteb;
            rc.ShowDialog();
            ciedu.Text      = "";
            ciedu.ForeColor = SystemColors.WindowText;
            ciedu.Font      = new Font(ciedu.Font, FontStyle.Regular);
            ciedu.Text      = rc.codUser.ToString();
        }
예제 #3
0
        private void registroDeUsuariosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Registro_Usuario ru = new Registro_Usuario();

            ru.ShowDialog();
        }
예제 #4
0
        private void Userboton_Click(object sender, EventArgs e)
        {
            Registro_Usuario ru = new Registro_Usuario();

            ru.ShowDialog();
        }