{"id":34674666,"url":"https://github.com/fahmirizalbudi/winmodal","last_synced_at":"2025-12-24T20:02:25.640Z","repository":{"id":327655350,"uuid":"1108197988","full_name":"fahmirizalbudi/winmodal","owner":"fahmirizalbudi","description":"A lightweight and customizable modal dialog library for C# Windows Forms.","archived":false,"fork":false,"pushed_at":"2025-12-04T23:08:55.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-08T07:09:13.405Z","etag":null,"topics":["csharp","dialog","modal","windows-forms","winforms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fahmirizalbudi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-02T06:40:11.000Z","updated_at":"2025-12-05T00:53:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fahmirizalbudi/winmodal","commit_stats":null,"previous_names":["fahmirizalbudi/winmodal"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fahmirizalbudi/winmodal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmirizalbudi%2Fwinmodal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmirizalbudi%2Fwinmodal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmirizalbudi%2Fwinmodal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmirizalbudi%2Fwinmodal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahmirizalbudi","download_url":"https://codeload.github.com/fahmirizalbudi/winmodal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmirizalbudi%2Fwinmodal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28007456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dialog","modal","windows-forms","winforms"],"created_at":"2025-12-24T20:01:09.505Z","updated_at":"2025-12-24T20:02:25.635Z","avatar_url":"https://github.com/fahmirizalbudi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WinModal ![DLL Release](https://img.shields.io/github/v/tag/fahmirizalbudi/winmodal?label=DLL%20Release)\n\nA lightweight and customizable modal dialog library for **C# Windows Forms**. **WinModal** provides an easy way to display modal windows with an overlay, animations, and customizable options—without rewriting complex UI logic each time.\n\n## Features\n\n* Simple and minimal implementation for WinForms\n* Overlay background\n* Centered modal window display\n* Optional animations (fade-in, \u003cstrike\u003efade-out\u003c/strike\u003e)\n* Static class usage for easy integration\n* Clean separation between parent form, modal form, and overlay\n\n## Installation\n\n### 1. Add the DLL file to your project\n\nDownload the latest compiled DLL from the Releases page.\nAfter downloading, add the DLL as a project reference through your IDE so your application can access the WinModal API.\nOnce referenced, the library becomes available throughout your WinForms project.\n\n### 2. Import the Namespace\n\n```csharp\nusing WinModal;\n```\n\n## Usage Example\n\n### Basic Modal Display\n\nThis example shows how to display a modal form on top of any parent form.\nThe library handles overlay creation, positioning, and modal behavior automatically.\n\n```csharp\nvar modal = new FormModalExample();\nWinModal.WinModal.Show(this, modal);\n```\n\n### Using Options\n\nYou can customize modal behavior using `WinModalOptions`.\nOptions allow you to configure transition, draggable, and overlay.\n\n```csharp\nvar options = new WinModalOptions\n{\n    Transition = true,\n    Draggable = true,\n    Overlay = true\n};\n\nvar modal = new FormModalExample();\nWinModal.WinModal.Show(this, modal, options);\n```\n\n### Closing the Modal Programmatically\n\nInside your modal form, you can close it using:\n\n```csharp\nthis.Close();\n```\n\nWinModal will automatically clean up the overlay and restore the parent form’s state.\n\n## Usage\n\nThe latest version of WinModal is available here:\n[Download](https://github.com/fahmirizalbudi/winmodal/releases/latest)\n\n## License\n\nThis project is released under the MIT License, allowing free use, modification, distribution, and integration in both personal and commercial applications.\nSee the LICENSE file for complete details regarding permissions and limitations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmirizalbudi%2Fwinmodal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahmirizalbudi%2Fwinmodal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmirizalbudi%2Fwinmodal/lists"}