Click here to Skip to main content
15,896,154 members
Articles / Desktop Programming / WPF

WPF Metro: A Win8 Start Screen 'Clone'

Rate me:
Please Sign up or sign in to vote.
4.81/5 (57 votes)
29 Sep 2011CPOL3 min read 152.2K   16.3K   89  
A WPF application that replicates the Windows 8 Start screen
Imports System
Imports System.Collections.Generic
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Imaging
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.IO
Imports System.ComponentModel

Partial Public Class Tile

    Public Property ExecutablePath() As String

    Private Sub Tile_PreviewMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Input.MouseButtonEventArgs) Handles Me.PreviewMouseDoubleClick
        Try
            Process.Start(ExecutablePath)
        Catch ex As Win32Exception
            Exit Sub
        End Try
    End Sub
End Class

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 Code Project Open License (CPOL)


Written By
Software Developer
Kenya Kenya
Experienced C# software developer with a passion for WPF.

Awards,
  • CodeProject MVP 2013
  • CodeProject MVP 2012
  • CodeProject MVP 2021

Comments and Discussions