{"id":25393885,"url":"https://github.com/5cover/dialogs","last_synced_at":"2025-06-16T06:04:14.204Z","repository":{"id":65270561,"uuid":"577061187","full_name":"5cover/Dialogs","owner":"5cover","description":"A Windows task dialog wrapper that also supports navigation and hyperlinks.","archived":false,"fork":false,"pushed_at":"2024-04-12T10:04:18.000Z","size":364,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T13:03:20.707Z","etag":null,"topics":["task-dialog","taskdialog"],"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/5cover.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}},"created_at":"2022-12-11T21:06:34.000Z","updated_at":"2025-03-23T03:34:23.000Z","dependencies_parsed_at":"2025-02-15T18:54:14.360Z","dependency_job_id":"ab8bcd8a-6bff-4617-bb5e-32f7b5e5f2e3","html_url":"https://github.com/5cover/Dialogs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/5cover/Dialogs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5cover%2FDialogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5cover%2FDialogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5cover%2FDialogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5cover%2FDialogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5cover","download_url":"https://codeload.github.com/5cover/Dialogs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5cover%2FDialogs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260109459,"owners_count":22960025,"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","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":["task-dialog","taskdialog"],"created_at":"2025-02-15T18:54:05.418Z","updated_at":"2025-06-16T06:04:14.178Z","avatar_url":"https://github.com/5cover.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dialogs\n[![CodeClimate](https://api.codeclimate.com/v1/badges/5a3f3d75ae442f8d9883/maintainability)](https://codeclimate.com/github/5cover/Dialogs/maintainability)\n[![CodeFactor](https://www.codefactor.io/repository/github/5cover/dialogs/badge)](https://www.codefactor.io/repository/github/5cover/dialogs)\n\nManaged Win32 [task dialog](https://learn.microsoft.com/en-us/windows/win32/controls/task-dialogs-overview) wrapper.\nSupports all native Task Dialog features.\n\n# Information\n\nIn order to use activation contexts, this package copies the [XPThemes.manifest](https://github.com/5cover/Dialogs/blob/master/Dialogs/XPThemes.manifest) file to the output directory.\n\n# Usage\n\n### Simple\nShows a simple task dialog.\n```cs\nusing Scover.Dialogs;\n\nusing Page page = new()\n{\n    Content = \"Sample text\",\n    Buttons = { Button.Yes, Button.No, Button.Cancel }\n};\n\nvar clickedButton = new Dialog(page).Show();\n```\n\n### Multi-page\n```cs\nusing Scover.Dialogs;\n\nusing Page page1 = new()\n{\n    MainInstruction = \"Page #1\",\n    Buttons = new(ButtonStyle.CommandLinks)\n    {\n        { \"Label\", \"Supplemental instruction\" },\n        Button.Cancel\n    }\n};\nusing Page page2 = new()\n{\n    MainInstruction = \"Page #2\",\n    Expander = new(\"Expanded information\") \n};\n\nvar clickedButton = new MultiPageDialog(page1, new Dictionary\u003cPage, NextPageSelector\u003e\n{\n    [page1] = request =\u003e request.Kind is NavigationRequestKind.Cancel ? null : page2,\n}).Show();\n```\n\nCheck out [Tests.cs](https://github.com/5cover/Dialogs/blob/master/Tests/DialogTests.cs) for more examples.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5cover%2Fdialogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5cover%2Fdialogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5cover%2Fdialogs/lists"}