- restructured source and added build configuration to build all non-UI projects without the need for a DevExpress license

This commit is contained in:
Horst Beham
2021-07-24 18:59:03 +02:00
parent 22f9d43adc
commit 6c94e62eca
43 changed files with 1039 additions and 482 deletions

View File

@@ -0,0 +1,20 @@
using System.Windows.Forms;
using ChanSort.Loader.LG.Binary;
namespace ChanSort.Loader.LG.UI
{
public class LgUserInterfaceFactory : ILgUserInterfaceFactory
{
public void ShowTvSettingsForm(ITllFileSerializer serializer, object parentWindow)
{
using var dlg = new TvSettingsForm(serializer);
dlg.ShowDialog(parentWindow as IWin32Window);
}
public bool ShowPresetProgramNrDialog()
{
using var dlg = new PresetProgramNrDialog();
return dlg.ShowDialog() == DialogResult.Yes;
}
}
}