6 public class CalendarDialog : Dialog
8 private Calendar calendar;
10 public DateTime Date {
11 get { return calendar.GetDate (); }
14 public CalendarDialog ():base ("Seleccionar Fecha", null, DialogFlags.DestroyWithParent)
16 calendar = new Calendar ();
17 VBox.PackStart (calendar);
21 AddButton ("_Close", ResponseType.Close);
22 AddButton ("_Aceptar", ResponseType.Accept);