2021-03-05 11:47:12 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MassiveKnob.Plugin.SerialDevice.Settings
|
2021-02-24 09:05:11 +01:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for SerialDeviceSettingsView.xaml
|
|
|
|
|
/// </summary>
|
2021-03-05 11:47:12 +01:00
|
|
|
|
public partial class SerialDeviceSettingsView : IDisposable
|
2021-02-24 09:05:11 +01:00
|
|
|
|
{
|
|
|
|
|
public SerialDeviceSettingsView(SerialDeviceSettingsViewModel viewModel)
|
|
|
|
|
{
|
|
|
|
|
DataContext = viewModel;
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2021-03-05 11:47:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
(DataContext as SerialDeviceSettingsViewModel)?.Dispose();
|
|
|
|
|
}
|
2021-02-24 09:05:11 +01:00
|
|
|
|
}
|
|
|
|
|
}
|