Click here to Skip to main content
15,884,628 members
Articles / Programming Languages / C#

My First Windows 8 Application – Metro Puzzle

Rate me:
Please Sign up or sign in to vote.
4.83/5 (52 votes)
7 Apr 2012Ms-PL4 min read 128.5K   6.4K   97  
My first Windows 8 application, Metro Puzzle.


#pragma checksum "e:\users\shai raiten\documents\visual studio 11\Projects\PuzzleMetro\PuzzleMetro\BlankPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "CC87E003F8109655259A657AFBDAB575"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Markup;

namespace PuzzleMetro
{
    public partial class BlankPage : Windows.UI.Xaml.Controls.Page
    {
        private Windows.UI.Xaml.Controls.Grid LayoutRoot;
        private Windows.UI.Xaml.Controls.Canvas ContentPanel;
        private Windows.UI.Xaml.Controls.Grid WinGrid;
        private Windows.UI.Xaml.Controls.Button btnBack;
        private Windows.UI.Xaml.Controls.Button btnnewGame;
        private Windows.UI.Xaml.Controls.Button btnGame;
        private Windows.UI.Xaml.Controls.Button btnShare;
        private Windows.UI.Xaml.Controls.TextBlock txtMoves;
        private Windows.UI.Xaml.Controls.TextBlock txtTime;
        private bool _contentLoaded;

        [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")]
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-appx:///BlankPage.xaml"), Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            LayoutRoot = (Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            ContentPanel = (Windows.UI.Xaml.Controls.Canvas)this.FindName("ContentPanel");
            WinGrid = (Windows.UI.Xaml.Controls.Grid)this.FindName("WinGrid");
            btnBack = (Windows.UI.Xaml.Controls.Button)this.FindName("btnBack");
            btnnewGame = (Windows.UI.Xaml.Controls.Button)this.FindName("btnnewGame");
            btnGame = (Windows.UI.Xaml.Controls.Button)this.FindName("btnGame");
            btnShare = (Windows.UI.Xaml.Controls.Button)this.FindName("btnShare");
            txtMoves = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("txtMoves");
            txtTime = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("txtTime");
        }
    }
}



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Architect Sela
Israel Israel
Shai Raiten is VS ALM MVP, currently working for Sela Group as a ALM senior consultant and trainer specializes in Microsoft technologies especially Team System and .NET technology. He is currently consulting in various enterprises in Israel, planning and analysis Load and performance problems using Team System, building Team System customizations and adjusts ALM processes for enterprises. Shai is known as one of the top Team System experts in Israel. He conducts lectures and workshops for developers\QA and enterprises who want to specialize in Team System.

My Blog: http://blogs.microsoft.co.il/blogs/shair/

Comments and Discussions