Files
MPF/MPF.UI.Core/Windows/OptionsWindow.xaml.cs
Matt Nadareski 4a30f94007 Remove IMAPI2 as a dependency (#563)
* Remove IMAPI2 with no substitution

* Remove framework exceptions

* Slight reorganization of code

* Update README with support information

* Remove msbuild-specific AppVeyor items

* Be trickier when it comes to type from size

* Fix formatting of changelist

* Fix "detected" message

* Be smarter about media type based on system
2023-10-06 17:22:09 -07:00

26 lines
666 B
C#

using MPF.Core.Data;
using MPF.UI.Core.ViewModels;
namespace MPF.UI.Core.Windows
{
/// <summary>
/// Interaction logic for OptionsWindow.xaml
/// </summary>
public partial class OptionsWindow : WindowBase
{
/// <summary>
/// Read-only access to the current options view model
/// </summary>
public OptionsViewModel OptionsViewModel => DataContext as OptionsViewModel;
/// <summary>
/// Constructor
/// </summary>
public OptionsWindow(Options options)
{
InitializeComponent();
DataContext = new OptionsViewModel(this, options);
}
}
}