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
561 B
C#
23 lines
561 B
C#
using MassiveKnob.ViewModel;
|
|
|
|
namespace MassiveKnob.View
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for SettingsWindow.xaml
|
|
/// </summary>
|
|
public partial class SettingsWindow
|
|
{
|
|
// ReSharper disable once SuggestBaseTypeForParameter - for clarity
|
|
public SettingsWindow(SettingsViewModel settingsViewModel)
|
|
{
|
|
DataContext = settingsViewModel;
|
|
InitializeComponent();
|
|
|
|
Closed += (sender, args) =>
|
|
{
|
|
settingsViewModel.Dispose();
|
|
};
|
|
}
|
|
}
|
|
}
|