{"id":2332,"date":"2013-08-29T14:43:31","date_gmt":"2013-08-29T06:43:31","guid":{"rendered":"http:\/\/jason695.why3s.tw\/wordpress\/?p=2332"},"modified":"2013-08-29T14:43:31","modified_gmt":"2013-08-29T06:43:31","slug":"asp-net%e5%be%9eusercontrol%e5%82%b3%e5%80%bc%e7%b5%a6page","status":"publish","type":"post","link":"https:\/\/jason695.why3s.tw\/wordpress\/2013\/08\/29\/asp-net%e5%be%9eusercontrol%e5%82%b3%e5%80%bc%e7%b5%a6page\/","title":{"rendered":"[ASP.NET]\u5f9eusercontrol\u50b3\u503c\u7d66page"},"content":{"rendered":"<p align=\"left\">\u5728UserControl\u4e2d\u5ba3\u544a\u4e8b\u4ef6:<\/p>\n<pre class=\"lang:vbnet decode:true \">Public Event DataChanged(ByVal s As String)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'\u5ba3\u544a\u4e8b\u4ef6\u00a0\r\n\r\nProtected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 RaiseEvent DataChanged(\"Hello\")\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'\u5728\u6309\u9375\u88ab\u9ede\u4e0b\u6642\u5f15\u767c\u4e8b\u4ef6\u4e26\u50b3\u51fa\u8cc7\u6599\r\nEnd Sub<\/pre>\n<p>\u5728\u7db2\u9801\u4e2d\u8655\u7406\u4e8b\u4ef6:<\/p>\n<pre class=\"lang:vbnet decode:true \">Protected Sub WebUserControl1_DataChanged(ByVal s As String) Handles WebUserControl1.DataChanged\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Label1.Text = s\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'\u5229\u7528UserControl\u50b3\u51fa\u7684\u8cc7\u6599\u66f4\u65b0\u7db2\u9801\u986f\u793a\u7684\u5167\u5bb9\r\nEnd Sub<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728UserControl\u4e2d\u5ba3\u544a\u4e8b\u4ef6: Public Event DataChanged(ByVal s As  &hellip; <a href=\"https:\/\/jason695.why3s.tw\/wordpress\/2013\/08\/29\/asp-net%e5%be%9eusercontrol%e5%82%b3%e5%80%bc%e7%b5%a6page\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">[ASP.NET]\u5f9eusercontrol\u50b3\u503c\u7d66page<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2332","post","type-post","status-publish","format-standard","hentry","category-net","no-featured-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/2332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=2332"}],"version-history":[{"count":0,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/2332\/revisions"}],"wp:attachment":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=2332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=2332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=2332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}