private void MostrarCalendario() { CalendarPopUp Calendario = new CalendarPopUp(); if (this.Text.IsDate()) { Calendario.CurrentDate = Lfx.Types.Parsing.ParseDate(this.Text).Value; } if (Calendario.ShowDialog() == DialogResult.OK) { this.Text = FormatearDatos(Calendario.CurrentDate); } Calendario.Close(); Calendario = null; }
private void MostrarCalendario() { CalendarPopUp Calendario = new CalendarPopUp(); if (this.Text.IsDate()) Calendario.CurrentDate = Lfx.Types.Parsing.ParseDate(this.Text).Value; if (Calendario.ShowDialog() == DialogResult.OK) this.Text = FormatearDatos(Calendario.CurrentDate); Calendario.Close(); Calendario = null; }