This commit is contained in:
Frank Skare
2019-04-01 13:04:37 +02:00
parent 1226d7cf31
commit 46ee270f10
19 changed files with 140 additions and 736 deletions

View File

@@ -1,15 +1,21 @@
using System.ComponentModel;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace mpvInputEdit
{
[Serializable]
public class InputItem : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public string Menu { get; set; } = "";
public string Command { get; set; } = "";
public InputItem() { }
public InputItem(SerializationInfo info, StreamingContext context) {}
private void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));