mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-15 03:42:04 +01:00
- restructured source and added build configuration to build all non-UI projects without the need for a DevExpress license
This commit is contained in:
20
source/ChanSort.Loader.LG.UI/LgUserInterfaceFactory.cs
Normal file
20
source/ChanSort.Loader.LG.UI/LgUserInterfaceFactory.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user