Defined AppEvents by implemented section changed event
This commit is contained in:
		
							parent
							
								
									aca986b18d
								
							
						
					
					
						commit
						efb6732cd7
					
				
							
								
								
									
										10
									
								
								I18N Commander/UI WinForms/AppEvents.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								I18N Commander/UI WinForms/AppEvents.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| using DataModel.Database; | ||||
| 
 | ||||
| namespace UI_WinForms; | ||||
| 
 | ||||
| internal static class AppEvents | ||||
| { | ||||
|     internal static event EventHandler<Section> WhenSectionChanged; | ||||
|      | ||||
|     internal static void SectionChanged(Section section) => AppEvents.WhenSectionChanged?.Invoke(null, section); | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user