Пример #1
0
 private void OpenDocFile()
 {
     using (IUnitOfWork unit = new UnitOfWork())
     {
         var docFiles = new List <DocRecordFile>();// unit.DocRecordFiles.Query(x => x.DocRecordId == DocId).ToList();
         _dialog.RaiseOpenDialog <string>(DocId);
     }
 }
Пример #2
0
        private void OpenHistory()
        {
            if (!_saved)
            {
                string msg = Properties.Resources.ClassesView_CannotOpenBeforSave;
                Helper.ShowMessage(msg);
                return;
            }
            CustomerClassFields selected = SelectedItem as CustomerClassFields;

            if (selected != null)
            {
                _dialogProxy.RaiseOpenDialog <int>(selected.CustomerId);
            }
        }