Files

23 lines
512 B
C#
Raw Permalink Normal View History

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