Esempio n. 1
0
 // Overloaded for Utilities and Internals
 private void OpenSelectionDialog(List<DataTable> data) {
     var selectionVM = new SelectionDialogViewModel(this._eventAggregator);
     var selectionView = new SelectionDialogView(selectionVM);
     foreach (var table in data) { selectionVM.setTableData(new SelectionDialogModel(table), this._updateItem.Second); }
     selectionView.ShowDialog(); 
 }
Esempio n. 2
0
        // ---------------------------------------------------------------------------------
        // -------------------------------- HELPER FUNCTIONS -------------------------------
        // ---------------------------------------------------------------------------------

        // Open SelectionDialog for Hardpoints and Basics
        private void OpenSelectionDialog(DataTable data) {
            var selectionVM = new SelectionDialogViewModel(this._eventAggregator);
            var selectionView = new SelectionDialogView(selectionVM);
            selectionVM.setTableData(new SelectionDialogModel(data), this._updateItem.Second);
            selectionView.ShowDialog();
        }