Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Žďárský committed Oct 29, 2023
1 parent 47557ce commit 0c131e6
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 27 deletions.
1 change: 0 additions & 1 deletion DatasetParser/App.xaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Application x:Class="DatasetParser.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:control="clr-namespace:WpfHexaEditor;assembly=WPFHexaEditor"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:DatasetParser"
StartupUri="MainWindow.xaml">
Expand Down
26 changes: 0 additions & 26 deletions DatasetParser/FileName.cs

This file was deleted.

29 changes: 29 additions & 0 deletions DatasetParser/MyViewModel.cs
Original file line number Diff line number Diff line change
@@ -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));
}
}
}

0 comments on commit 0c131e6

Please sign in to comment.