åºæ¬ã¯ ã»Enabledãfalseã«è¨å®ãããã¨ã§ãã以éã®ã¯ãªãã¯èªä½ãç¡å¹åãã ã»å¦ççµäºå¾ã«Enabledãtrueã«è¨å®ãã¦ï¼ã¯ãªãã¯ãæå¹ã«ãã ã§å¯¾å¿ãã¾ãã ãã ãï¼çãå¦çã®å ´åã¯ããã§å¯¾å¿ã§ããªããã¨ãããã®ã§ï¼500ms以å ã®é£ç¶ã¯ãªãã¯ã¯ç¡å¹ã«ããï¼ã¨ãã£ãå¦çãå¿ è¦ã«ãªãã§ãããã ã§ï¼ä»åã«é¢ãã¦ã¯ï¼ private void bShtter1_Click(object sender, EventArgs e) { bShtter1.Enabled = false; try { aaaaa(); } catch ( bShtter1.Enabled = true; throw; } } /* aaaaaã¯ãã®ã¾ã¾ */ private int bbbbb() { try { /* æ¢åã®å¦çå 容 */ } finally { if (InvokeRequire
{{#tags}}- {{label}}
{{/tags}}