mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
* 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
26 lines
666 B
C#
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);
|
|
}
|
|
}
|
|
}
|