Added and tested GTK#
Switch to GTK can begin I think
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
<Content Include="Luma_icon.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GtkSharp" Version="3.24.24.34" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
|
||||
@@ -3,6 +3,8 @@ using System.Windows.Forms;
|
||||
using System.Net.Http;
|
||||
using System.IO;
|
||||
|
||||
using Gtk;
|
||||
|
||||
namespace BMGEditor
|
||||
{
|
||||
public static class Variables
|
||||
@@ -23,9 +25,16 @@ namespace BMGEditor
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
ApplicationConfiguration.Initialize();
|
||||
//ApplicationConfiguration.Initialize();
|
||||
Bcsv.PopulateHashtable();
|
||||
Application.Run(new BMGEditForm());
|
||||
//Application.Run(new BMGEditForm());
|
||||
|
||||
Gtk.Application.Init();
|
||||
Window windo = new Window("GTKSharp test");
|
||||
windo.Resize(200, 200);
|
||||
|
||||
windo.ShowAll();
|
||||
Gtk.Application.Run();
|
||||
}
|
||||
|
||||
static readonly HttpClient wrClient = new HttpClient();
|
||||
|
||||
Reference in New Issue
Block a user