Exemple #1
0
        public SelectGoogleDocument(Action <string, string, DialogIcon> showDialogAction, IGoogleDocumentsService documentsService)
        {
            this.Icon = PackageRes.ResxGenIcon.GetImageSource();

            _showDialogAction = showDialogAction;
            _documentsService = documentsService;

            ViewModel        = new DocumentsVm();
            this.DataContext = ViewModel;

            InitializeComponent();
        }
Exemple #2
0
 public SelectGoogleDocumentDialog(Action <string, string, DialogIcon> showDialogAction, IGoogleDocumentsService documentsService)
 {
     _window = new SelectGoogleDocument(showDialogAction, documentsService);
 }