{"id":16774636,"url":"https://github.com/salarcode/salar.dpiaware","last_synced_at":"2025-06-26T10:02:52.762Z","repository":{"id":72174705,"uuid":"60795164","full_name":"salarcode/Salar.DpiAware","owner":"salarcode","description":"High DPI Per-Monitor Windows Forms","archived":false,"fork":false,"pushed_at":"2016-11-30T06:46:49.000Z","size":22,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T17:07:26.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salarcode.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":"2016-06-09T17:52:53.000Z","updated_at":"2025-06-22T01:30:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2820e0a-3a73-44d3-b8cf-8987ad1f9ee4","html_url":"https://github.com/salarcode/Salar.DpiAware","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/salarcode/Salar.DpiAware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salarcode%2FSalar.DpiAware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salarcode%2FSalar.DpiAware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salarcode%2FSalar.DpiAware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salarcode%2FSalar.DpiAware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salarcode","download_url":"https://codeload.github.com/salarcode/Salar.DpiAware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salarcode%2FSalar.DpiAware/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262044399,"owners_count":23249745,"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":[],"created_at":"2024-10-13T06:49:44.321Z","updated_at":"2025-06-26T10:02:52.743Z","avatar_url":"https://github.com/salarcode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"##Salar.DpiAware\nHigh DPI Per-Monitor Windows Forms\n\nAutomatically updates forms respecting current monitors' DPI.\n\nThe original work is thanks to emoacht: \n[https://emoacht.wordpress.com/2013/10/30/per-monitor-dpi-aware-in-windows-forms/](https://emoacht.wordpress.com/2013/10/30/per-monitor-dpi-aware-in-windows-forms/)\n\n###[NuGet Package](https://www.nuget.org/packages/Salar.DpiAware/)\n```\nPM\u003e Install-Package Salar.DpiAware\n```\n\n###How to enable DPI-Aware in your application.\nFor now read this page: [Per-Monitor DPI Aware in Windows Forms](https://emoacht.wordpress.com/2013/10/30/per-monitor-dpi-aware-in-windows-forms/)\n\n###How to use\n\nJust change the base class of your form to Salar.HDpiForm and you're done!\n\n```csharp\npublic partial class frmSampleForm : Salar.HDpiForm\n{\n    ...\n```\n\nThere is also an event named `OnDpiChange` which will be fired when after a DPI change is detected and applied.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalarcode%2Fsalar.dpiaware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalarcode%2Fsalar.dpiaware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalarcode%2Fsalar.dpiaware/lists"}