Mark van Renswoude
197aef531a
Reimplemented automatic refresh of the serial port list Improved serial device connection retry Moved plugins to their own subfolder for better separation, added metadata on the entry assembly to load Added logging settings Added Run at startup setting Many visual enhancements
23 lines
550 B
C#
23 lines
550 B
C#
using System;
|
|
|
|
namespace MassiveKnob.Plugin.SerialDevice.Settings
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for SerialDeviceSettingsView.xaml
|
|
/// </summary>
|
|
public partial class SerialDeviceSettingsView : IDisposable
|
|
{
|
|
public SerialDeviceSettingsView(SerialDeviceSettingsViewModel viewModel)
|
|
{
|
|
DataContext = viewModel;
|
|
InitializeComponent();
|
|
}
|
|
|
|
|
|
public void Dispose()
|
|
{
|
|
(DataContext as SerialDeviceSettingsViewModel)?.Dispose();
|
|
}
|
|
}
|
|
}
|