{"id":23089649,"url":"https://github.com/vanhakobyan/mousebutton","last_synced_at":"2025-04-03T17:25:21.037Z","repository":{"id":82819202,"uuid":"79913510","full_name":"VanHakobyan/mouseButton","owner":"VanHakobyan","description":":squirrel:mouse, button, WFA,:squirrel:","archived":false,"fork":false,"pushed_at":"2017-01-24T14:40:24.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T06:13:46.657Z","etag":null,"topics":["button","buttons","mouse","mouse-button","showdialog"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VanHakobyan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-01-24T13:22:38.000Z","updated_at":"2017-04-25T18:13:18.000Z","dependencies_parsed_at":"2023-04-03T13:06:47.869Z","dependency_job_id":null,"html_url":"https://github.com/VanHakobyan/mouseButton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FmouseButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FmouseButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FmouseButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FmouseButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VanHakobyan","download_url":"https://codeload.github.com/VanHakobyan/mouseButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247044595,"owners_count":20874339,"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":["button","buttons","mouse","mouse-button","showdialog"],"created_at":"2024-12-16T20:39:00.893Z","updated_at":"2025-04-03T17:25:21.004Z","avatar_url":"https://github.com/VanHakobyan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crazy Button\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/VanHakobyan/mouseButton/blob/master/GIF123.gif\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003cdiv\u003e\u003ch2 class=\"LW_CollapsibleArea_TitleDiv\"\u003e\u003cdiv\u003e\u003ca class=\"LW_CollapsibleArea_TitleAhref\" title=\"\" role=\"heading\"\u003e\u003cspan class=\"cl_CollapsibleArea_expanding LW_CollapsibleArea_Img\"\u003e\u003c/span\u003e\u003cspan class=\"LW_CollapsibleArea_Title\"\u003eRemarks\u003c/span\u003e\u003c/a\u003e\u003cdiv id=\"Anchor_7\" class=\"LW_CollapsibleArea_Anchor_Div active\"\u003e\u003ca href=\"/en-us/library/system.windows.forms.button(v=vs.110).aspx#Anchor_7\" class=\"LW_CollapsibleArea_Anchor_Img\" title=\"Right-click to copy and share the link for this section\"\u003e\u003c/a\u003e\u003c/div\u003e\u003cdiv class=\"LW_CollapsibleArea_HrDiv\"\u003e\u003chr class=\"LW_CollapsibleArea_Hr\"\u003e\u003c/div\u003e\u003c/div\u003e\u003c/h2\u003e\u003cdiv class=\"sectionblock\"\u003e\u003cdiv class=\"section\"\u003e\u003cp\u003eA \u003cspan class=\"selflink\"\u003eButton\u003c/span\u003e can be clicked by using the mouse, ENTER key, or SPACEBAR if the button has focus.\u003c/p\u003e\u003cp\u003eSet the \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.form.acceptbutton(v=vs.110).aspx\"\u003e\u003cspan xmlns=\"\"\u003eAcceptButton\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.form.cancelbutton(v=vs.110).aspx\"\u003e\u003cspan xmlns=\"\"\u003eCancelButton\u003c/span\u003e\u003c/a\u003e property of a \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.form(v=vs.110).aspx\"\u003eForm\u003c/a\u003e to allow users to click a button by pressing the ENTER or ESC keys even if the button does not have focus. This gives the form the behavior of a dialog box.\u003c/p\u003e\u003cp\u003eWhen you display a form using the \u003ca href=\"https://msdn.microsoft.com/en-us/library/c7ykbedk(v=vs.110).aspx\"\u003eShowDialog\u003c/a\u003e method, you can use the \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.button.dialogresult(v=vs.110).aspx\"\u003e\u003cspan xmlns=\"\"\u003eDialogResult\u003c/span\u003e\u003c/a\u003e property of a button to specify the return value of \u003ca href=\"https://msdn.microsoft.com/en-us/library/c7ykbedk(v=vs.110).aspx\"\u003eShowDialog\u003c/a\u003e.\u003c/p\u003e\u003cp\u003eYou can change the button's appearance. For example, to make it appear flat for a Web look, set the \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.buttonbase.flatstyle(v=vs.110).aspx\"\u003e\u003cspan xmlns=\"\"\u003eFlatStyle\u003c/span\u003e\u003c/a\u003e property to \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.flatstyle(v=vs.110).aspx\"\u003eFlatStyle\u003cspan xmlns=\"\"\u003e.\u003c/span\u003eFlat\u003c/a\u003e. The \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.buttonbase.flatstyle(v=vs.110).aspx\"\u003e\u003cspan xmlns=\"\"\u003eFlatStyle\u003c/span\u003e\u003c/a\u003e property can also be set to \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.flatstyle(v=vs.110).aspx\"\u003eFlatStyle\u003cspan xmlns=\"\"\u003e.\u003c/span\u003ePopup\u003c/a\u003e, which appears flat until the mouse pointer passes over the button; then the button takes on the standard Windows button appearance.\u003c/p\u003e\u003cdiv class=\"alert\"\u003e\u003cdiv class=\"contentTableWrapper\"\u003e\u003ctable summary=\"table\"\u003e\u003ctbody\u003e\u003ctr\u003e\u003cth align=\"left\" scope=\"col\"\u003e\u003cspan\u003e\u003cimg id=\"s-e6f6a65cf14f462597b64ac058dbe1d0-system-media-system-caps-note\" alt=\"System_CAPS_note\" src=\"https://i-msdn.sec.s-msft.com/dynimg/IC101471.jpeg\" title=\"System_CAPS_note\" xmlns=\"\"\u003e\u003c/span\u003e\u003cspan class=\"alertTitle\"\u003eNote \u003c/span\u003e\u003c/th\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003eIf the control that has focus accepts and processes the ENTER key press, the \u003cspan class=\"selflink\"\u003eButton\u003c/span\u003e does not process it. For example, if a multiline \u003ca href=\"https://msdn.microsoft.com/en-us/library/system.windows.forms.textbox(v=vs.110).aspx\"\u003eTextBox\u003c/a\u003e or another button has focus, that control processes the ENTER key press instead of the accept button.\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanhakobyan%2Fmousebutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanhakobyan%2Fmousebutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanhakobyan%2Fmousebutton/lists"}