This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Diagnostics; | |
using Windows.UI.Core; | |
using Windows.UI.Xaml; | |
using Windows.UI.Xaml.Input; | |
namespace CursorTest | |
{ | |
public class Cursor : DependencyObject | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using Windows.Storage; | |
namespace TinyCore.Storage | |
{ | |
public abstract class SettingBase | |
{ | |
/// <summary> | |
/// Access to LocalSettings must be atomic. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page x:Class="App1.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Page.Resources> | |
<SolidColorBrush x:Key="AppBarForegroundBrush" Color="DarkBlue"/> | |
<Style x:Key="MyAppBarButtonStyle" TargetType="AppBarButton"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Windows; | |
using Microsoft.Phone.Info; | |
namespace PhoneApp1 | |
{ | |
public class ScreenSizeHelper | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
// Using static | |
using System.Diagnostics.Debug; | |
using System.Math; | |
using System.Linq.Enumerable; | |
using System.Collections.Generic; | |
#if NETFX_CORE | |
using Windows.Web.Http; | |
#else | |
using System.Net.Http; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page x:Class="BlankApp1.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |
<Page.Resources> | |
<!-- this works --> | |
<Style x:Key="Style1" TargetType="AppBarButton"> | |
<Setter Property="Icon" Value="Previous" /> | |
</Style> | |
<!-- these throw exception --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Runtime.Serialization; | |
using System.Windows; | |
using System.Windows.Resources; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; |