{"id":96406,"date":"2015-12-29T12:55:50","date_gmt":"2015-12-29T08:55:50","guid":{"rendered":"http:\/\/blagovest.org.ru\/?p=96406"},"modified":"2015-12-29T12:55:50","modified_gmt":"2015-12-29T08:55:50","slug":"media-player-na-visual-c-2010","status":"publish","type":"post","link":"https:\/\/blagovest.org.ru\/?p=96406","title":{"rendered":"Media Player \u043d\u0430 Visual C# 2010"},"content":{"rendered":"<p>private void playSound(string path)<br \/> &nbsp; &nbsp; &nbsp; &nbsp;{<br \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.Media.SoundPlayer player = new System.Media.SoundPlayer();<br \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player.SoundLocation = path;<br \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player.Load();<br \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player.Play();<br \/> &nbsp; &nbsp; &nbsp; &nbsp;}<\/p>\n<p> &nbsp; &nbsp; &nbsp; &nbsp;private void button1_Click(object sender, EventArgs e)<br \/> &nbsp; &nbsp; &nbsp; &nbsp;{<br \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;playSound(@&quot;D:Intro.mp3&quot;);<br \/> &nbsp; &nbsp; &nbsp; &nbsp;}<\/p>\n<p>\u0413\u043e\u0432\u043e\u0440\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0430:&quot;The file located at D:Intro.mp3 is not a valid wave file.&quot;<br \/>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e \u0431\u044b \u043e\u043d mp3 \u0438\u0433\u0440\u0430\u043b. Media Player \u0436\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442&#8230; \u0430 \u044d\u0442\u043e \u043d\u0435\u0442.&nbsp;&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>private void playSound(string path) &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.Media.SoundPlayer player = new System.Media.SoundPlayer(); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player.SoundLocation = path; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player.Load(); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;player.Play(); &nbsp; &nbsp; &nbsp; &nbsp;} &nbsp; &nbsp; &nbsp; &nbsp;private void button1_Click(object sender, EventArgs e) &nbsp; &nbsp; &nbsp; &nbsp;{ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1435],"tags":[1460],"class_list":["post-96406","post","type-post","status-publish","format-standard","hentry","category-windows","tag-programmirovanie"],"_links":{"self":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts\/96406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=96406"}],"version-history":[{"count":0,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts\/96406\/revisions"}],"wp:attachment":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=96406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=96406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=96406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}