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