Beispiel #1
0
        private void DisplayTablesSelector(Rest.OAuth.Identity identity)
        {
            var tablesSelectorControl = new TablesSelectorControl();

            ////tablesSelectorControl.Backclicked += (sender, args) => { Content = MainGrid; };
            //Content = tablesSelectorControl;

            NavigationService.GetNavigationService(this).Navigate(tablesSelectorControl);
        }
Beispiel #2
0
        public TablesSelectViewModel(DTE dte, IDiagramDocumentStorage documentStorage,
                                     string filename, Rest.OAuth.Identity identity)
        {
            this.dte             = dte;
            dispatcher           = System.Windows.Application.Current.Dispatcher;
            this.documentStorage = documentStorage;
            Document             = documentStorage.LoadDocument(filename);
            Filename             = filename;
            Identity             = identity;

            Tables = new ObservableCollection <TableDescPresenter>();

            allChecked = false;
        }