private void btnAceptar_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            DateTime dTimeDesde = DateTime.Parse(dtpDesde.Value.ToString("dd/MM/yyyy"));
            DateTime dTimeHasta = DateTime.Parse(dtpHasta.Value.AddDays(1).ToString("dd/MM/yyyy"));

            frmArticulosEditNews frm = new frmArticulosEditNews(tblArticulos, dTimeDesde, dTimeHasta);
            frm.Show();
            Cursor.Current = Cursors.Arrow;
            this.Close();
        }
Exemplo n.º 2
0
        private void btnAceptar_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            DateTime dTimeDesde = DateTime.Parse(dtpDesde.Value.ToString("dd/MM/yyyy"));
            DateTime dTimeHasta = DateTime.Parse(dtpHasta.Value.AddDays(1).ToString("dd/MM/yyyy"));

            frmArticulosEditNews frm = new frmArticulosEditNews(tblArticulos, dTimeDesde, dTimeHasta);

            frm.Show();
            Cursor.Current = Cursors.Arrow;
            this.Close();
        }