예제 #1
0
파일: TextBox.cs 프로젝트: njmube/lazaro
        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;
        }
예제 #2
0
		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;
		}