public MaintenanceEventCreationDialogViewModel() : base()
        {
            Date = DateTime.Now.Date;

            Description   = "";
            CancelCommand = new DelegateCommand <Window>(
                parentDialog =>
            {
                parentDialog.DialogResult = false;
            });

            ConfirmCommand = new DelegateCommand <Window>(
                parentDialog =>
            {
                EventInstance              = new InstrumentMaintenanceEvent();
                EventInstance.Date         = Date;
                EventInstance.Description  = Description;
                EventInstance.InstrumentID = InstrumentInstance.ID;
                EventInstance.PersonID     = (Thread.CurrentPrincipal as DBPrincipal).CurrentPerson.ID;

                EventInstance.Create();

                parentDialog.DialogResult = true;
            });
        }