public void OnSeleccionarFechaClicked (object o, EventArgs args)
{
- CalendarDialog d = new CalendarDialog ();
+
+ CalendarDialog d;
+ if (fechaNac.Text.Equals (""))
+ d = new CalendarDialog ();
+ else
+ d = new CalendarDialog (fechaNac.Text);
+
int response;
+
response = d.Run();
if (response == -3)
fechaNac.Text = d.Date.ToLongDateString ();