I18NCommander/I18N Commander/UI WinForms/Loader.cs

23 lines
512 B
C#
Raw Permalink Normal View History

using UI_WinForms.Components;
namespace UI_WinForms;
2022-06-06 20:07:17 +00:00
public partial class Loader : Form
{
public LoaderStart.LoaderResult Result { get; private set; }
2022-07-09 13:07:34 +00:00
2022-06-06 20:07:17 +00:00
public Loader()
{
this.InitializeComponent();
}
2022-06-12 14:20:26 +00:00
private void loaderStart_LoadProject(object sender, LoaderStart.LoaderResult result)
2022-06-12 14:20:26 +00:00
{
2022-07-10 18:30:28 +00:00
if(this.DesignMode)
return;
this.Result = result;
this.DialogResult = DialogResult.OK;
2022-06-12 14:20:26 +00:00
this.Close();
}
2022-06-06 20:07:17 +00:00
}