EasyImGui 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package EasyImGui --version 1.0.1                
NuGet\Install-Package EasyImGui -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EasyImGui" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasyImGui --version 1.0.1                
#r "nuget: EasyImGui, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EasyImGui as a Cake Addin
#addin nuget:?package=EasyImGui&version=1.0.1

// Install EasyImGui as a Cake Tool
#tool nuget:?package=EasyImGui&version=1.0.1                

EasyImGui

Use ImGui with Winforms / .NET Framework.

https://github.com/DestroyerDarkNess/EasyImGui

💠 Please leave a Star to the repository ✅ if you liked it. ✨ </p>

Example

Single Imgui Window.

            Thread AsyncThread = new Thread(() =>
            {
                ImGuiForm SingleImguiWindow = new ImGuiForm(true, true);
                //SingleImguiWindow.ImGuiWindowFlagsEx = DearImguiSharp.ImGuiWindowFlags.NoTitleBar;

                SingleImguiWindow.Render += delegate
                {

                    if (DearImguiSharp.ImGui.Button("Message", new DearImguiSharp.ImVec2() { X = 200, Y = 20 }))
                    {
                        Task.Run(() =>
                        {
                            MessageBox.Show("Hello World!");
                        });
                    }

                    if (DearImguiSharp.ImGui.Button("Close Me", new DearImguiSharp.ImVec2() { X = 200, Y = 20 }))
                        SingleImguiWindow.Visible = false;

                    return true;
                };

                Application.Run(SingleImguiWindow);
            });

            AsyncThread.SetApartmentState(ApartmentState.STA);
            AsyncThread.Start();

Multi Imgui Window.

            bool ShowImguiDemo = false;
            MultiImGuiForm MultiForm = new MultiImGuiForm();
            MultiForm.Render += delegate
            {
                if (!MultiForm.Draw)
                    return false;

                DearImguiSharp.ImGui.Begin("Another Window in C#", ref MultiForm.Draw, (int)DearImguiSharp.ImGuiWindowFlags.None);
                DearImguiSharp.ImGui.Text("Hello from another window!");

                if (DearImguiSharp.ImGui.Button("ImguiDemo", new DearImguiSharp.ImVec2() { X = 200, Y = 20 }))
                    ShowImguiDemo = !ShowImguiDemo;

                if (ShowImguiDemo)
                    DearImguiSharp.ImGui.ShowDemoWindow(ref ShowImguiDemo);

                DearImguiSharp.ImGui.End();
                return true;
            };

            MultiForm.Show();

-----------------------------------------------------

License

MIT License

Copyright (c) 2019-2023 DestroyerDarkNess

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 48 11/26/2024
1.0.9 85 11/22/2024
1.0.8 93 11/13/2024
1.0.7 72 11/12/2024
1.0.5.1 171 5/18/2024
1.0.5 104 5/18/2024
1.0.4.1 251 4/16/2024
1.0.4 151 4/14/2024
1.0.3 117 4/11/2024
1.0.2 167 1/19/2024
1.0.1 111 1/17/2024
1.0.0 115 1/16/2024