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" />
|
<Content Include="Luma_icon.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="GtkSharp" Version="3.24.24.34" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Properties\Resources.Designer.cs">
|
<Compile Update="Properties\Resources.Designer.cs">
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ using System.Windows.Forms;
|
|||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using Gtk;
|
||||||
|
|
||||||
namespace BMGEditor
|
namespace BMGEditor
|
||||||
{
|
{
|
||||||
public static class Variables
|
public static class Variables
|
||||||
@@ -23,9 +25,16 @@ namespace BMGEditor
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main()
|
static void Main()
|
||||||
{
|
{
|
||||||
ApplicationConfiguration.Initialize();
|
//ApplicationConfiguration.Initialize();
|
||||||
Bcsv.PopulateHashtable();
|
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();
|
static readonly HttpClient wrClient = new HttpClient();
|
||||||
|
|||||||
Reference in New Issue
Block a user