Returning to winforms

Back on this
This commit is contained in:
Denis
2023-10-23 17:12:32 +02:00
parent 89d59a115c
commit 2db06494e2
2 changed files with 3 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ namespace BMGEditor
{
m_File = file;
m_File.Stream = new Yaz0Stream(m_File.Stream);
m_File.BigEndian = (Tests.isBE) ? true : false;
m_File.BigEndian = Tests.isBE;
m_File.Stream.Position = 0;
uint tag = m_File.Reader.ReadUInt32();

View File

@@ -25,16 +25,10 @@ namespace BMGEditor
[STAThread]
static void Main()
{
//ApplicationConfiguration.Initialize();
ApplicationConfiguration.Initialize();
Bcsv.PopulateHashtable();
//Application.Run(new BMGEditForm());
System.Windows.Forms.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();