Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

EASYIMGUI | USE IMGUI WITH WINFORMS / .NET FRAMEWORK.

EasyImGui allows you to Create your GUI with ImGui, without having to configure anything, you don't need any additional knowledge.
You just need to install EasyImGui from NuGet and that's it! .
EasyImGui has two Imgui Views:
  1. ImGuiForm: A Single View, It does not support multi-Windows, and to work, it must be Launched with: 
    Code
    Application.Run(SingleImguiWindow);
     .
  2. MultiImGuiForm: Allows Multiple Imgui Windows, It can be launched normally with 
    Code
    .Show()
    , It has no restrictions and using WinAPIS, you could embed the windows in Controls Panel or in other Forms.
Note:
If within your ImGui code you launch controls that block the Main UI, such as OpenFileDialog or MessageBox.Show, it will cause your application to fail, this is easy to solve, Simply do everything Asynchronously, Without Dialogs.

Github : https://github.com/DestroyerDarkNess/EasyImGui

Preview

[Image: Captura-de-pantalla-2024-01-16-194047.png]


[Image: Captura-de-pantalla-2024-01-16-194153.png]

[Image: Captura-de-pantalla-2024-01-18-194236.png]

[Image: Captura-de-pantalla-2024-01-19-161607.png]

[Image: Captura-de-pantalla-2024-01-19-161607.png]

[Image: 298251316-43f8751a-2636-4e97-9e91-e05dee850ff2.png]
Cool, I don't see the C++ version much harder, but neat to see it working on Csharp.
much rather stick with C++ imgui though.
looking for work
saw thread with reply about it c++ look very nice
good job for your c# version
Edit - saw that you used DearImguiSharp warpper any way well done
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
Looks decent, code could be improved by handling your exceptions better but still a good release.
[email protected]

Discord: Lord_Suspect

[0x01] I do not deal elsewhere, these are my only accounts; confirm on site before conducting business!! [0x02]
(Feb 5, 2024 10:17 AM)HFDone Wrote:  saw thread with reply about it c++ look very nice
good job for your c# version
Edit - saw that you used DearImguiSharp warpper any way well done
Imgui.NET, if you are not using modern C#, properties and methods appear as private/read-only; In languages like VB.NET, all properties also appear as read-only.

On the other hand, DearImguiSharp, despite some small problems, can be fixed with additional code. The downside would be that it is outdated.

In any case, I'm considering creating a separate branch of the project, which uses Imgui.NET, but only as a test branch.

The idea of EasyImgui is to be as stable as possible with C# and VB.NET, and of course with the .net framework.

Actually, I don't know why I wrote this either, since "ClickableTransparentOverlay" exists.

EasyImgui would be an alternative to ClickableTransparentOverlay, but much more outdated. since EasyImgui uses Dx9 + .Net Framework + DearImguiSharp (an obsolete imgui wrapper)

(Feb 5, 2024 03:40 PM)Suspect. Wrote:  Looks decent, code could be improved by handling your exceptions better but still a good release.

Yes, in fact the bugs I found, I corrected during production. I had to upload several versions to nuget, and each of those versions corrected some bug.

Although the latest version is the most stable. I didn't find any more errors.

about exception handling... I was lazy XD, as was commenting on the code.

Well actually I thought I didn't need it, since any errors when creating the device and during rendering will be handled by SharpDX. and displayed as a message. everything else that could fail would be the hook to implement Imgui.
(Feb 7, 2024 06:04 PM)fisica638 Wrote:  Imgui.NET, if you are not using modern C#, properties and methods appear as private/read-only; In languages like VB.NET, all properties also appear as read-only.

On the other hand, DearImguiSharp, despite some small problems, can be fixed with additional code. The downside would be that it is outdated.

In any case, I'm considering creating a separate branch of the project, which uses Imgui.NET, but only as a test branch.

The idea of EasyImgui is to be as stable as possible with C# and VB.NET, and of course with the .net framework.

Actually, I don't know why I wrote this either, since "ClickableTransparentOverlay" exists.

EasyImgui would be an alternative to ClickableTransparentOverlay, but much more outdated. since EasyImgui uses Dx9 + .Net Framework + DearImguiSharp (an obsolete imgui wrapper)


Yes, in fact the bugs I found, I corrected during production. I had to upload several versions to nuget, and each of those versions corrected some bug.

Although the latest version is the most stable. I didn't find any more errors.

about exception handling... I was lazy XD, as was commenting on the code.

Well actually I thought I didn't need it, since any errors when creating the device and during rendering will be handled by SharpDX. and displayed as a message. everything else that could fail would be the hook to implement Imgui.

Why not just use C++ imgui and directx11 for your application?
looking for work
(Feb 7, 2024 07:11 PM)Klonopin Wrote:  Why not just use C++ imgui and directx11 for your application?

Doing this in c++ is very easy, everyone does it in c++. The idea of this Project is to be able to do everything in .NET, with C# or VB.NET, that is the real challenge.
(Feb 8, 2024 07:54 AM)fisica638 Wrote:  Doing this in c++ is very easy, everyone does it in c++. The idea of this Project is to be able to do everything in .NET, with C# or VB.NET, that is the real challenge.

Hm, sure. if you're just doing it for fun I guess. but there's no point when you've got Winforms & WPF if you're actually trying to build a project.

WinForms and WPF are as customizable as Imgui.
looking for work
If you see it that way, you're right. But remember that this is an addition, not a replacement to Winform/WPF.

You see this, as an obsession of mine, that I always wanted to use imgui, but it had limitations, since my knowledge only covered VB.NET and .NET Framework. now after learning C# I finally managed to do it.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by junkyfeet900Aug 6, 2024 10:29 PM 3 388 Aug 6, 2024 10:29 PM
Last Post: junkyfeet900
[C#] by SIM-587985Sep 23, 2022 08:23 AM 3 284 Sep 23, 2022 08:23 AM
Last Post: MavenGradle
[.NET] by QuobiAug 6, 2022 02:23 PM 0 406 Aug 6, 2022 02:23 PM
Last Post: Quobi