Beispiel #1
0
        private FechaBO FBO; // variable para realizar la estructura en capaz

        public Ingreso()
        {
            FBO = new FechaBO();
            InitializeComponent();

            DateTime thisDay = DateTime.Today;

            lblFecha.Text = (thisDay.ToString("d"));
            lblhora.Text  = DateTime.Now.ToString("hh:mm:ss");
        }
        private FechaBO FBO; // variable para realizar la estructura en capaz
        public Ingreso(string nombre, string id)
        {
            InitializeComponent();
            FBO = new FechaBO();
            DateTime thisDay = DateTime.Today;

            lblFecha.Text     = (thisDay.ToString("d"));
            lblhora.Text      = DateTime.Now.ToString("hh:mm:ss");
            lblNombreUsu.Text = nombre;
            lblID.Text        = id;
        }