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