diff --git a/DatasetParser/App.xaml b/DatasetParser/App.xaml index c4f68aa..c843c86 100644 --- a/DatasetParser/App.xaml +++ b/DatasetParser/App.xaml @@ -1,6 +1,5 @@  diff --git a/DatasetParser/FileName.cs b/DatasetParser/FileName.cs deleted file mode 100644 index d229fe1..0000000 --- a/DatasetParser/FileName.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.ComponentModel; - -public class MyViewModel : INotifyPropertyChanged -{ - private string fileNamePath; - - public string FileNamePath - { - get { return fileNamePath; } - set - { - if (fileNamePath != value) - { - fileNamePath = value; - OnPropertyChanged(nameof(FileNamePath)); - } - } - } - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void OnPropertyChanged(string propertyName) - { - PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } -} \ No newline at end of file diff --git a/DatasetParser/MyViewModel.cs b/DatasetParser/MyViewModel.cs new file mode 100644 index 0000000..14df712 --- /dev/null +++ b/DatasetParser/MyViewModel.cs @@ -0,0 +1,29 @@ +using System.ComponentModel; + +namespace DatasetParser +{ + public class MyViewModel : INotifyPropertyChanged + { + private string fileNamePath; + + public string FileNamePath + { + get { return fileNamePath; } + set + { + if (fileNamePath != value) + { + fileNamePath = value; + OnPropertyChanged(nameof(FileNamePath)); + } + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged(string propertyName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + } +} \ No newline at end of file