Jon Galloway jongalloway

View Default.aspx
1 2 3 4 5 6 7 8 9 10
<%@ Page Language="C#" AutoEventWireup="true" %>
<%@ Import Namespace="System.Threading" %>
 
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
uint viewIndex = 0;
uint.TryParse(Request.QueryString["view"], out viewIndex);
 
views.ActiveViewIndex = (int)(viewIndex < views.Views.Count ? viewIndex : 0);
View Default.aspx
1 2 3 4 5 6 7 8 9 10
<%@ Page Language="C#" AutoEventWireup="true" %>
<%@ Import Namespace="System.Threading" %>
 
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
uint viewIndex = 0;
uint.TryParse(Request.QueryString["view"], out viewIndex);
 
views.ActiveViewIndex = (int)(viewIndex < views.Views.Count ? viewIndex : 0);
View Default.aspx
1 2 3 4 5 6 7 8 9 10
<%@ Page Language="C#" AutoEventWireup="true" %>
<%@ Import Namespace="System.Threading" %>
 
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
uint viewIndex = 0;
uint.TryParse(Request.QueryString["view"], out viewIndex);
 
views.ActiveViewIndex = (int)(viewIndex < views.Views.Count ? viewIndex : 0);
View SampleEmulator
1 2 3 4 5 6 7 8 9 10
protected override void OnPaint(PaintEventArgs e)
{
// Paint the LCD control. Use the contents of the LCD if available;
// otherwise call through to the base class.
if (_bitmap != null)
{
// Synchonize access to the bitmap with the .NET Micro Framework
// thread.
lock (_bitmap)
{
View SampleEmulator.cs
1 2 3 4 5 6 7 8 9 10
protected override void OnPaint(PaintEventArgs e)
{
// Paint the LCD control. Use the contents of the LCD if available;
// otherwise call through to the base class.
if (_bitmap != null)
{
// Synchonize access to the bitmap with the .NET Micro Framework
// thread.
lock (_bitmap)
{
View WatchFaceFonts.cs
1 2 3 4 5 6 7 8 9 10
using System;
using Microsoft.SPOT.Presentation.Media;
using Watch.Face.Common;
 
namespace Watch.Face.Fonts.WatchFace
{
class WatchFaceFonts:WatchFaceBase
{
 
private string GetRandomSmall(bool before)
View WatchFaceScroll.cs
1 2 3 4 5 6 7 8 9 10
using System;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation.Media;
using Watch.Face.Common;
 
using Watch.Face.Scroll.Properties;
 
namespace Watch.Face.Scroll.WatchFace
{
class WatchFaceScroll:WatchFaceBase
View start480x800.1024.bat
1 2
@echo off
"%ProgramFiles(x86)%\Microsoft XDE\8.0\xde.exe" -createDiffDisk "%LOCALAPPDATA%\Microsoft\XDE\dd.480x800.1024.vhd" -vhd "%ProgramFiles(x86)%\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.480x800.vhd" -name "Emulator WVGA" -memsize 1024
View ReplaceInPPTX.ps1
1 2 3 4 5 6 7 8 9 10
Add-type -AssemblyName office
$find = "SPEAKER"
$replace = "Jon Galloway"
 
function ReplaceText {
param(
[object]$shape,
[string]$find,
[string]$replace
)
View CreateAdminUser.cs
1 2 3 4 5 6 7 8 9 10
using Mvc4SampleApplication.Filters;
using System.Web;
using System.Web.Security;
using WebMatrix.WebData;
 
[assembly: PreApplicationStartMethod(typeof(PreApplicationTasks), "Initializer")]
 
public static class PreApplicationTasks
{
public static void Initializer()
Something went wrong with that request. Please try again.