{"id":3960,"date":"2012-12-15T08:51:42","date_gmt":"2012-12-14T23:51:42","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/archives\/3960"},"modified":"2012-12-14T00:52:42","modified_gmt":"2012-12-13T15:52:42","slug":"windows-%e3%82%b9%e3%83%88%e3%82%a2-%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a7%e3%83%91%e3%83%a9%e3%83%91%e3%83%a9%e3%82%a2%e3%83%8b%e3%83%a1%e3%82%92%e5%8b%95%e3%81%8b%e3%81%9d%e3%81%86","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/3960","title":{"rendered":"Windows \u30b9\u30c8\u30a2 \u30a2\u30d7\u30ea\u3067\u30d1\u30e9\u30d1\u30e9\u30a2\u30cb\u30e1\u3092\u52d5\u304b\u305d\u3046"},"content":{"rendered":"<p>\nWindows 8 Store apps Advent Calendar : ATND<br \/>\n<a href=\"http:\/\/atnd.org\/events\/33803\">http:\/\/atnd.org\/events\/33803<\/a>\n<\/p>\n<p>\n\u306e 15 \u65e5\u76ee\u306e\u30cd\u30bf\u3067\u3059\u306d\u3002\u672c\u5f53\u306f\u300c\u89aa\u99ac\u9e7f\u30a2\u30d7\u30ea\u300d\u306e\u307b\u3046\u306b\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u305a\u308b\u305a\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u4ee5\u524d\u30d6\u30ed\u30b0\u306b\u66f8\u3053\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u30cd\u30bf\u3092\u6398\u308a\u51fa\u3057\u3066\u304d\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n\u6700\u521d\u306b\u8a00\u3046\u3068\u300c\u66f8\u3053\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u307e\u3060\u8abf\u67fb\u9014\u4e2d\u3067\u300c\u672c\u5f53\u306b\u3053\u308c\u304c\u52b9\u7387\u7684\u306a\u306e\u304b\uff1f\u300d\u3001\u300c\u5b9a\u756a\u306a\u306e\u304b\uff1f\u300d\u3063\u3066\u306e\u304c\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u4fdd\u7559\u306b\u3057\u3066\u3044\u305f\u308f\u3051\u3067&#8230;\u3048\u3048\u3001\u5fd8\u308c\u3066\u3044\u305f\u306e\u3082\u307d\u3061\u307d\u3061\u306a\u306e\u3067\u3059\u304c\u3001\u307e\u3042\u3001\u5e74\u672b\u3060\u3057\u8535\u51fa\u3057\u3068\u3044\u3046\u3053\u3068\u3067\u3002\n<\/p>\n<p>\n\u3055\u3066\u3001\u30d1\u30e9\u30d1\u30e9\u30a2\u30cb\u30e1\u3068\u3044\u3048\u3070\u300c\u30a2\u30cb\u30e1gif\u300d\u306a\u306e\u3067\u3059\u304c\u3001\u3044\u308d\u3044\u308d\u8abf\u3079\u3066\u307f\u308b\u3068\u3001WPF \u3067\u3046\u307e\u304f\u8868\u793a\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u3044\u3084\u3001\u63a2\u305b\u3070\u300cMediaElement\u300d\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3067\u3066\u3044\u308b\u306e\u3067\u3001Windows \u30b9\u30c8\u30a2 \u30a2\u30d7\u30ea\u3067\u3082\u4f7f\u3048\u308b\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff08\u8a66\u3057\u3066\u304a\u308a\u307e\u305b\u3093\uff09\u3002\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u3082\u3046\u3061\u3087\u3063\u3068\u9055\u3063\u305f\u65b9\u6cd5\u3092\u53d6\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n\u3088\u304f\u30b2\u30fc\u30e0\u30a2\u30d7\u30ea\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u624b\u6cd5\u3067\u3001\u4fd7\u306b\u300c\u3046\u306a\u304e\u306e\u753b\u50cf\u300d\u3068\u547c\u3070\u308c\u308b&#8230;\u3063\u3066\u547c\u3073\u307e\u305b\u3093\u306d\u3001\u306a\u3093\u3068\u8a00\u3046\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u6a2a\u306b\u9577\u3044\u753b\u50cf\u3092\u4f7f\u3044\u307e\u3059\u3002\u3072\u3068\u3064\u3072\u3068\u3064\u306e\u30bb\u30eb\u3092\u6a2a\u306b\u3064\u306a\u3052\u3066\u3001\u8868\u793a\u3057\u305f\u3044\u4f4d\u7f6e\u3092\u30b9\u30e9\u30a4\u30c9\u3055\u305b\u308b\u3068\u3044\u3046\u624b\u6cd5\u3067\u3059\u306d\u3002\u5b9f\u306f\u3001C++\/CX \u306e\u307b\u3046\u306b\u306f\u3001\u3053\u308c\u304c\u4f7f\u3048\u308b Bitmap \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u3042\u3063\u3066\u305d\u308c\u304c\u300c\u30a6\u30ea\u300d\u3060\u3063\u305f\u308a\u3059\u306e\u3067\u3059\u304c\u3001\u679c\u305f\u3057\u3066 C# \u306b\u306f\u3042\u308b\u306e\u304b\uff1f\u3063\u3066\u3001\u306e\u3092\u590f\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u805e\u3044\u305f\u3068\u304d\u306b\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u3068\u3053\u308d\u306f\u3061\u3087\u3063\u3068\u4e0d\u660e\u3067\u3059\u3002\n<\/p>\n<p>\n\u3061\u306a\u307f\u306b C# \u3067 WritableBitmap \u3092\u4f5c\u308b\u65b9\u6cd5\u306f\u3001\n<\/p>\n<p>\nbyte\u914d\u5217\u304b\u3089WriteableBitmap\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b &#8211; \u9162\u308d\u3050<br \/>\n<a href=\"http:\/\/d.hatena.ne.jp\/ch3cooh393\/20120802\/1343892131\">http:\/\/d.hatena.ne.jp\/ch3cooh393\/20120802\/1343892131<\/a>\n<\/p>\n<p>\n\u3092\u53c2\u7167\u3068\u3044\u3046\u3053\u3068\u3067\u3002\n<\/p>\n<p>\n\u3053\u306e\u300c\u3046\u306a\u304e\u753b\u50cf\u300d\u3092\u4f7f\u3046\u3068\u4fbf\u5229\u306a\u306e\u306f\u3001\n<\/p>\n<ul>\n<li>\u305d\u308c\u305e\u308c\u306e\u30bb\u30eb\u304c\u3072\u3068\u3064\u306b\u9023\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u7ba1\u7406\u304c\u7c21\u5358\uff1f<\/li>\n<li>\u8907\u6570\u306e\u30bb\u30eb\u3092\u8aad\u307f\u8fbc\u307e\u306a\u3044\u3067\u6e08\u3080\u306e\u3067\u3001\u30ed\u30fc\u30c9\u6642\u9593\u304c\u5c11\u306a\u304f\u3066\u6e08\u3080\u3002<\/li>\n<\/ul>\n<p>\n\u3063\u3066\u3068\u3053\u308d\u3067\u3059\u3002\u5b9f\u969b\u3001\u3084\u3063\u3066\u307f\u308b\u3068\u308f\u304b\u308b\u306e\u3067\u3059\u304c\u300160 \u679a\u8fd1\u3044\u753b\u50cf\u3092\u5207\u308a\u66ff\u3048\u308b\u306e\u3068\u30011\u679a\u306e\u753b\u50cf\u3092\u30af\u30ea\u30c3\u30d7\u3057\u306a\u304c\u3089\u8868\u793a\u3059\u308b\u306e\u3067\u306f\u3001CPU \u3078\u306e\u5f71\u97ff\u304c\u683c\u6bb5\u306b\u9055\u3044\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3082\u30b9\u30e0\u30fc\u30b9\u306b\u306a\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u3056\u3063\u3068\u4f5c\u308a\u65b9\u3092\u7d39\u4ecb\u3002\n<\/p>\n<p>\n\u25a0\u3046\u306a\u304e\u753b\u50cf\u3092\u4f5c\u308b\u3002\n<\/p>\n<p>\n\u9069\u5f53\u306b Form \u30a2\u30d7\u30ea\u3067\u300c\u3046\u306a\u304e\u753b\u50cf\u300d\u3092\u4f5c\u308b\u30c4\u30fc\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002\n<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nprivate void button1_Click(object sender, EventArgs e)\n{\n    int w = 46*60;\n    int h = 46;\n\n    for (int n = 1; n &lt;= 6; n++)\n    {\n        Bitmap allBmp = new Bitmap(w, h);\n        Graphics g = Graphics.FromImage(allBmp);\n        for (int i = 1; i &lt;= 60; i++)\n        {\n            string p = string.Format(@&amp;quot;\\temp\\balls\\{0}\\{1:00}.png&amp;quot;, n,i);\n            Bitmap bmp = new Bitmap(p);\n            g.DrawImage(bmp, 46 * (i - 1), 0, 46, 46);\n        }\n        allBmp.Save(string.Format( @&amp;quot;\\temp\\ball{0}.png&amp;quot;,n));\n    }\n}\n<\/pre>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_01org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_01thum.jpg'\/><\/a><\/p>\n<p>\n\u753b\u50cf\u81ea\u4f53\u306f\u3001\u3068\u3042\u308b\u30b2\u30fc\u30e0\u304b\u3089\u30d1\u30af\u3063\u3066\u304d\u305f\u3082\u306e\u3067\u3059\u3002<br \/>\n\u753b\u50cf\u30b5\u30a4\u30ba\u304c\u300146&#215;46 \u56fa\u5b9a\u306a\u306e\u306f\u3001\u307e\u3042\u3001\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3002\n<\/p>\n<p>\n\u25a0\u30a2\u30cb\u30e1\u7528\u306e\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4f5c\u308b\n<\/p>\n<p>\n\u3044\u304f\u3064\u304b\u8a66\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4f5c\u308b\u306e\u304c\u4e00\u756a\u697d\u3067\u3059\u3002\n<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;UserControl\n    x:Class=&amp;quot;AniBallControls.AniBall&amp;quot;\n    xmlns=&amp;quot;http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation&amp;quot;\n    xmlns:x=&amp;quot;http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml&amp;quot;\n    xmlns:local=&amp;quot;using:AniBallControls&amp;quot;\n    xmlns:d=&amp;quot;http:\/\/schemas.microsoft.com\/expression\/blend\/2008&amp;quot;\n    xmlns:mc=&amp;quot;http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006&amp;quot;\n    mc:Ignorable=&amp;quot;d&amp;quot;\n    d:DesignHeight=&amp;quot;92&amp;quot;\n    d:DesignWidth=&amp;quot;92&amp;quot;&gt;\n\t&lt;UserControl.Resources&gt;\n        &lt;Storyboard x:Name=&amp;quot;sbAnime&amp;quot; RepeatBehavior=&amp;quot;Forever&amp;quot;&gt;\n\t\t\t&lt;DoubleAnimationUsingKeyFrames x:Name=&amp;quot;keyFrames1&amp;quot; \n\t\t\t\tStoryboard.TargetProperty=&amp;quot;(Canvas.Left)&amp;quot; \n\t\t\t\tStoryboard.TargetName=&amp;quot;img&amp;quot;&gt;\n                &lt;DiscreteDoubleKeyFrame KeyTime=&amp;quot;0:0:0&amp;quot; Value=&amp;quot;0&amp;quot;\/&gt;\n            &lt;\/DoubleAnimationUsingKeyFrames&gt;\n\t\t&lt;\/Storyboard&gt;\n\t&lt;\/UserControl.Resources&gt;\n    &lt;Canvas&gt;\n        &lt;Image x:Name=&amp;quot;img&amp;quot; Source=&amp;quot;ms-appx:\/\/\/balls\/ball1.png&amp;quot; \n\t\t\tWidth=&amp;quot;5520&amp;quot; Height=&amp;quot;92&amp;quot; \n\t\t\tCanvas.Left=&amp;quot;0&amp;quot; Canvas.Top=&amp;quot;0&amp;quot;\/&gt;\n        &lt;Canvas.Clip&gt;\n            &lt;RectangleGeometry Rect=&amp;quot;0,0,92,92&amp;quot;&gt;&lt;\/RectangleGeometry&gt;\n        &lt;\/Canvas.Clip&gt;\n    &lt;\/Canvas&gt;\n&lt;\/UserControl&gt;\n<\/pre>\n<p>\n46&#215;46 \u3067\u306f\u3001\u30c7\u30e2\u7528\u306b\u306f\u5c0f\u3055\u304b\u3063\u305f\u306e\u3067\u300196&#215;96 \u306b\u62e1\u5927\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nstoryboard \u3092\u4f7f\u3063\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u3066\u3044\u307e\u3059\u304c\u3001\u4e2d\u8eab\u306f\u5f8c\u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u66f8\u304d\u307e\u3059\u3002\u6700\u521d\u306f\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066 XAML \u306b\u66f8\u3044\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u66f8\u3051\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u306e\u3067\u5b9f\u884c\u6642\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<br \/>\nCanvas \u306e\u4e0a\u306b\u4e57\u3063\u3051\u3066\u3001Canvas.Clip \u3057\u3066\u3044\u308b\u3068\u3053\u308d\u304c\u30df\u30bd\u3067\u3059\u306d\u3002\u305f\u3076\u3093\u3001WPF \u3068\u304b Silverlight \u3067\u306e\u5b9a\u756a\u306e\u51e6\u7406\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u4f3c\u305f\u3088\u3046\u306a\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4ed6\u306b\u3044\u3044\u65b9\u6cd5\u304c\u3042\u308b\u306e\u304b\u3082\uff1f \u3053\u306e clip \u4f4d\u7f6e\u3092\u3001\u30b9\u30e9\u30a4\u30c9\u3055\u305b\u308b\uff08\u5b9f\u969b\u306b\u306f Image \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f4d\u7f6e\u3092\u305a\u3089\u3059\uff09\u3053\u3068\u3067\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_02org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_02thum.jpg'\/><\/a><\/p>\n<p>\n\u30c7\u30b6\u30a4\u30ca\u3067\u898b\u308b\u3068\u3001\u3046\u307e\u304f\u30af\u30ea\u30c3\u30d7\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u672c\u5f53\u306f\u6a2a\u306b\u9577\u3044\u753b\u50cf\u306a\u306e\u3067\u3059\u304c\u3001\u4e00\u756a\u5de6\u306e\u30bb\u30eb\u3060\u3051\u304c\u30af\u30ea\u30c3\u30d7\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n\u3067\u3001\u5b9f\u969b\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u30b3\u30fc\u30c9\u304c\u3053\u3061\u3089\u3002\n<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\npublic sealed partial class AniBall : UserControl\n{\n    public AniBall()\n    {\n        this.InitializeComponent();\n    }\n\n    private Size _imageSize = new Size(92, 92);\n    private int _curIndex = -1;\n    private int _imageCount = 60;\n\n    public ImageSource Source \n    {\n        get { return this.img.Source; }\n        set { this.img.Source = value; }\n    }\n\n    public void Start()\n    {\n        var kf = this.keyFrames1;\n        kf.KeyFrames.Clear();\n        for (int i = 0; i &lt; _imageCount; i++)\n        {\n            var dd = new DiscreteDoubleKeyFrame();\n            dd.Value = -_imageSize.Width * i;\n            dd.KeyTime = new TimeSpan(10 * 1000 * i * (1000\/60)); \/\/ 1\/60 sec\n            kf.KeyFrames.Add(dd);\n        }\n        this.sbAnime.Begin();\n    }\n    public void Stop()\n    {\n        this.sbAnime.Stop();\n    }\n\n    private void onTimer(object sender, object e)\n    {\n        _curIndex++;\n        if (_curIndex &gt;= _imageCount)\n            _curIndex = 0;\n        Canvas.SetLeft(this.img, - _imageSize.Width * _curIndex);\n    }\n}\n<\/pre>\n<p>\n\u666e\u901a\u306e storyboard \u3067\u306f\u3001\u958b\u59cb\u4f4d\u7f6e\u3068\u7d42\u4e86\u4f4d\u7f6e\u3092\u9023\u7d9a\u306b\u3064\u306a\u304e\u307e\u3059\u304c\uff08\u76f4\u7dda\u3068\u304b\u30b9\u30d7\u30e9\u30a4\u30f3\u3068\u304b\uff09\u3001\u3071\u3089\u3071\u3089\u30a2\u30cb\u30e1\u306e\u5834\u5408\u306f\u3001\u3068\u3073\u3068\u3073\u306e\u5024\u306b\u3057\u307e\u3059\u3002\u3053\u306e\u98db\u3073\u98db\u3073\u306e\u5024\u3092\u4f5c\u308b\u306e\u304c DiscreteDoubleKeyFrame \u30af\u30e9\u30b9\u3067\u3059\u306d\u3002\u3053\u308c\u306f Blend \u306e Storyboard \u3067\u3082\u5909\u66f4\u3067\u304d\u308b\u306e\u3067\u3001\u3061\u307e\u3061\u307e 60 \u30d5\u30ec\u30fc\u30e0\u4f5c\u308b\u3053\u3068\u3082\u53ef\u80fd\u306a\u306e\u3067\u3059\u304c&#8230;\u9762\u5012\u306a\u306e\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3084\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n\u3053\u306e ontimer \u306e\u8ca0\u8377\u304c\u3069\u306e\u304f\u3089\u3044\u304b\u3068\u3044\u3046\u3068\u3001\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_03org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_03thum.jpg'\/><\/a><\/p>\n<p>\n\u306a\u3068\u3053\u308d\u3067\u30013% \u4ee5\u4e0b\u3067\u3059\u306d\u3002\u3072\u3068\u3064\u306e\u30a2\u30cb\u30e1\u306a\u306e\u3067\u3001\u8907\u6570\u914d\u7f6e\u3057\u305f\u3068\u304d\u306f\u3069\u3046\u306a\u308b\u306e\u304b\u306f\u691c\u8a3c\u3057\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u666e\u901a\u306e\u30a2\u30cb\u30e1GIF\u3063\u307d\u3044\u3053\u3068\u3092\u3057\u305f\u3044\u306e\u3067\u3042\u308c\u3070\u3001\u3053\u308c\u3067\u3000OK \u304b\u3068\u3002<br \/>\n\u3061\u306a\u306b\u300160 \u679a\u306e\u753b\u50cf\u5207\u308a\u66ff\u3048\u3092\u3059\u308b\u3068\u3001CPU \u306f 3% \u7a0b\u5ea6\u3067\u540c\u3058\u306a\u306e\u3067\u3059\u304c\u3001\u753b\u9762\u306e\u99d2\u843d\u3061\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3069\u3046\u3084\u3089\u3001Image.Source \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u304d\u304c\u91cd\u3044\u3089\u3057\u304f\u3001\u305d\u306e\u3042\u305f\u308a\u306e\u8ca0\u8377\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u3082\u3001\u4e00\u679a\u306e\u3046\u306a\u304e\u753b\u50cf\u3092\u4f7f\u3063\u305f\u307b\u3046\u304c\u3088\u3044\u307f\u305f\u3044\u3067\u3059\u3002\n<\/p>\n<p>\n\u25a0\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u3092\u4f5c\u308b\n<\/p>\n<p>\n\u30c6\u30b9\u30c8\u7528\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u306f\u3001\u3053\u3093\u306a\u98a8\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u51fa\u3066\u304f\u308b\u306e\u3067\u3001\u666e\u901a\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3059\u308c\u3070 ok.\n<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;local:AniBall x:Name=&amp;quot;aniBall1&amp;quot; Source=&amp;quot;ms-appx:\/\/\/balls\/ball1.png&amp;quot;\n    HorizontalAlignment=&amp;quot;Left&amp;quot; Height=&amp;quot;100&amp;quot; \n                Margin=&amp;quot;251,266,0,0&amp;quot; VerticalAlignment=&amp;quot;Top&amp;quot; Width=&amp;quot;100&amp;quot;\/&gt;\n<\/pre>\n<p>\n\u30bf\u30c3\u30d7\u30a4\u30d9\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u3044\u3066\u3001\u958b\u59cb\u3068\u7d42\u4e86\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nAniBall curBall = null;\nprivate void aniBall_Tapped(object sender, TappedRoutedEventArgs e)\n{\n\tif (curBall != null)\n\t{\n\t\tcurBall.Stop();\n\t\tcurBall = null;\n\t}\n\telse\n\t{\n\t\tcurBall = sender as AniBall;\n\t\tcurBall.Start();\n\t}\n}\n<\/pre>\n<p>\n\u5b9f\u306f\u3001Storyboard \u304c\u5b9f\u884c\u4e2d\u304b\u3069\u3046\u304b\u3092\u53d6\u308c\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3059\u308c\u3070\u826f\u3044\u306e\u3067\u3059\u304c&#8230;\u307e\u3042\u3001\u30c7\u30e2\u306a\u306e\u3067\u3001\u3053\u308c\u3067\u3002\n<\/p>\n<p>\n\u25a0\u5b9f\u884c\u3057\u3066\u307f\u308b\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_04org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_04thum.jpg'\/><\/a><\/p>\n<p>\n\u52d5\u304b\u3057\u3066\u307f\u308b\u3068\u3001\u7d50\u69cb\u30b9\u30e0\u30fc\u30b9\u306b\u304f\u308b\u304f\u308b\u3068\u56de\u308a\u307e\u3059\u3002\u3053\u308c\u3060\u3063\u305f\u3089\u30b2\u30fc\u30e0\u306b\u4f7f\u3048\u308b\u3088\u306d\u3063\u3066\u3044\u3046\u611f\u3058\u3067\u3001\u3053\u308c\u3050\u3089\u3044\u3060\u3063\u305f\u3089\u3001DirectX + C++\/CX \u3092\u4f7f\u3046\u5fc5\u8981\u306f\u3042\u308b\u307e\u3044\uff08\u672c\u6765\u306f\u3053\u308c\u304c\u76ee\u7684\uff09\u3001\u3063\u3066\u3044\u3046\u611f\u3058\u3067\u52d5\u304d\u307e\u3059\u3002\n<\/p>\n<p>\n\u3061\u306a\u307f\u306b\u3001Image \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u3001\u900f\u904ePNG \u3092\u6271\u3048\u308b\u306e\u3067\u3001\u80cc\u666f\u3092\u4ed8\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_05org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/12\/wpid-cworkblogimage20121214_05thum.jpg'\/><\/a><\/p>\n<p>\n\u3053\u308c\u304c\u3067\u304d\u308b\u3068\u3001\u30d1\u30ba\u30eb\u30b2\u30fc\u30e0\u3050\u3089\u3044\u306a\u3089\u3070\u3001C# \u3067\u66f8\u3051\u305d\u3046\u3067\u3059\u3088\u306d&#8230;\u3063\u3066\u611f\u3058\u3067\u3059\u304b\u306d\u3002\u5e74\u672b\u5e74\u59cb\u306e\u4f11\u307f\u3092\u5229\u7528\u3057\u3066\u3001\u3072\u3068\u3064\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u3048\u3048\u3001\u79c1\u306f\u3001\u305f\u3076\u3093\u304a\u4ed5\u4e8b\u304b\u3068 orz.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 8 Store apps Advent Calendar : ATND http:\/\/atnd.org\/events\/33803 \u306e 15 \u65e5\u76ee\u306e\u30cd\u30bf\u3067\u3059\u306d\u3002\u672c\u5f53\u306f\u300c\u89aa\u99ac\u9e7f\u30a2\u30d7\u30ea\u300d\u306e\u307b\u3046\u306b\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u306e &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/3960\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[23,44],"tags":[],"class_list":["post-3960","post","type-post","status-publish","format-standard","hentry","category-csharp","category-windows-8"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/3960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=3960"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/3960\/revisions"}],"predecessor-version":[{"id":3961,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/3960\/revisions\/3961"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=3960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=3960"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=3960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}