示例#1
0
        private void Settings()
        {
            var dialog = new LandCoverTableSettingsWindow {
                Owner = Application.Current.MainWindow, DataContext = LandCoverTableViewModel
            };

            dialog.ShowDialog();
        }
示例#2
0
        private void Settings()
        {
            LandCoverTableViewModel.BufferDistance = BankModificationIndicator.BufferDistance;
            var dialog = new LandCoverTableSettingsWindow {
                Owner = Application.Current.MainWindow, DataContext = LandCoverTableViewModel
            };

            dialog.ShowDialog();
            BankModificationIndicator.BufferDistance = LandCoverTableViewModel.BufferDistance;
        }