Пример #1
0
        public void HandleSetLocationClick(object Sender, RoutedEventArgs args)
        {
            FolderBrowserDialog d = new FolderBrowserDialog();

            d.Description = "Choose a location to store parity data:";
            DialogResult r = d.ShowDialog();

            if (r == System.Windows.Forms.DialogResult.OK)
            {
                viewModel.SetNewParityLocation(d.SelectedPath);
            }
        }