mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	Test GTK#
This commit is contained in:
		
							parent
							
								
									3bbf07a209
								
							
						
					
					
						commit
						adddd1008c
					
				
					 27 changed files with 387 additions and 6 deletions
				
			
		
							
								
								
									
										28
									
								
								AideDeJeu/AideDeJeu.GTK/Program.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								AideDeJeu/AideDeJeu.GTK/Program.cs
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using Xamarin.Forms; | ||||
| using Xamarin.Forms.Platform.GTK; | ||||
| 
 | ||||
| namespace AideDeJeu.GTK | ||||
| { | ||||
|     class MainClass | ||||
|     { | ||||
|         [STAThread] | ||||
|         public static void Main(string[] args) | ||||
|         { | ||||
|             Gtk.Application.Init(); | ||||
|             Forms.Init(); | ||||
| 
 | ||||
|             var app = new App(); | ||||
|             var window = new FormsWindow(); | ||||
|             window.LoadApplication(app); | ||||
|             window.SetApplicationTitle("Haches & Dés"); | ||||
|             window.Show(); | ||||
| 
 | ||||
|             Gtk.Application.Run(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez