23 lines
619 B
C#
Raw Normal View History

2024-12-16 21:23:13 +00:00
// See https://aka.ms/new-console-template for more information
using Gtk;
partial class Program {
static async Task Main(string[] args){
Application.Init();
var window = new Window("My TEst");
window.SetDefaultSize(320,240);
window.DeleteEvent += (o,e) => Application.Quit();
Console.WriteLine("DID TASK\n");
Console.WriteLine(await HTTP.get("https://www.google.nl"));
//Console.WriteLine(await DrApi.get_rants("https://www.google.nl"));
Console.WriteLine("DID TASK2\n");
window.ShowAll();
Application.Run();
}
}