Added event for when the user is done
This commit is contained in:
1 file changed
+5
@@ -1,7 +1,9 @@
|
|||||||
|
using System.ComponentModel;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace UI_WinForms.Components;
|
namespace UI_WinForms.Components;
|
||||||
|
|
||||||
|
[DefaultEvent(nameof(LoadProject))]
|
||||||
public partial class LoaderStart : UserControl
|
public partial class LoaderStart : UserControl
|
||||||
{
|
{
|
||||||
private bool areRecentProjectsVisible = false;
|
private bool areRecentProjectsVisible = false;
|
||||||
@@ -110,4 +112,7 @@ public partial class LoaderStart : UserControl
|
|||||||
{
|
{
|
||||||
this.areRecentProjectsVisible = false;
|
this.areRecentProjectsVisible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Category("Settings"), Description("When the user chooses a project to load.")]
|
||||||
|
public event EventHandler<string>? LoadProject;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user