{"id":888,"date":"2017-02-05T14:46:02","date_gmt":"2017-02-05T05:46:02","guid":{"rendered":"http:\/\/okamurax.com\/?p=888"},"modified":"2017-02-05T14:46:02","modified_gmt":"2017-02-05T05:46:02","slug":"c-%ef%bc%92%e4%ba%8c%e6%ac%a1%e9%96%a2%e6%95%b0","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=888","title":{"rendered":"C#  \uff12\u4e8c\u6b21\u95a2\u6570"},"content":{"rendered":"<pre class=\"lang:c# decode:true  \">using System;\r\nusing System.Drawing;\r\nusing System.Windows.Forms;\r\n\r\nnamespace WindowsFormsApplication1\r\n{\r\n    public partial class Form1 : Form\r\n    {\r\n        public Form1()\r\n        {\r\n            InitializeComponent();\r\n        }\r\n\r\n        private void button1_Click(object sender, EventArgs e)\r\n        {\r\n            Graphics g = CreateGraphics();\r\n            Pen p = new Pen(Color.Black, 5);\/\/\u7dda\u5e45\r\n            \r\n            for (int x = 10; x &lt;= 30; x++)\r\n            {\r\n                g.DrawEllipse(p, x * 10, (int)Math.Pow(20-x,2), 5, 5);\/\/x,y,width,height\r\n            }\r\n        }\r\n    }\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>using System; using System.Drawing; using System.Windows.Forms; namespace WindowsFormsApplication1 { public pa &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=888\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;C#  \uff12\u4e8c\u6b21\u95a2\u6570&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9],"class_list":["post-888","post","type-post","status-publish","format-standard","hentry","category-1","tag-c-net"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=888"}],"version-history":[{"count":1,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/888\/revisions"}],"predecessor-version":[{"id":889,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/888\/revisions\/889"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}