Пример #1
0
        private void FetchData(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();

            if (openFileDialog.ShowDialog() == true)
            {
                fileName = openFileDialog.FileName;

                KMeansDataBtn.IsEnabled       = true;
                DistributionDataBtn.IsEnabled = true;
                MeanVarianceDataBtn.IsEnabled = true;
                DatasetDataBtn.IsEnabled      = true;

                ResultsFrame.Navigate(new KMeansResult(fileName));
            }
        }
Пример #2
0
 private void LoadDataset(object sender, RoutedEventArgs e) => ResultsFrame.Navigate(new DatasetResult(fileName));
Пример #3
0
 private void LoadMeanVariance(object sender, RoutedEventArgs e) => ResultsFrame.Navigate(new MeanVarianceResult(fileName));
Пример #4
0
 private void LoadDistributionData(object sender, RoutedEventArgs e) => ResultsFrame.Navigate(new DistributionResult(fileName));
Пример #5
0
 private void LoadKMeansData(object sender, RoutedEventArgs e) => ResultsFrame.Navigate(new KMeansResult(fileName));