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
addAppointment = function(e, t, n) { | |
if ("undefined" != typeof Windows) { | |
var o = new Windows.ApplicationModel.Appointments.Appointment; | |
o.allDay = !0, o.startTime = new Date(i(t, "dddd, Do MMM YYYY").format()), o.subject = "Trip to " + n, Windows.ApplicationModel.Appointments.AppointmentManager.showAddAppointmentAsync(o, { | |
x: 300, | |
y: 0, | |
width: 600, | |
height: 100 | |
}).done(function(t) { | |
t ? (console.log("created!"), e()) : console.log("issue") |
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.Drawing; | |
using System.Drawing.Imaging; | |
using System.Windows; | |
namespace GenerateMultiColorImages | |
{ | |
public partial class MainWindow : Window | |
{ | |
public MainWindow() | |
{ |
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
<Grid> | |
<Universal:AdMediatorControl x:Name="AdControl" | |
Id="ecba2d7a-f2d9-43bb-ab12-f8c5df300987" | |
Height="90" | |
Width="728" /> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="VisualStateGroup"> | |
<VisualState x:Name="Mobile"> | |
<VisualState.StateTriggers> |
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 Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; | |
namespace OnlyIn | |
{ | |
public class DebugBuild : ContentControl | |
{ | |
protected override void OnApplyTemplate() | |
{ | |
base.OnApplyTemplate(); |
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 Windows.UI.Xaml.Controls; | |
namespace OnlyIn | |
{ | |
public class DebugBuild : ContentControl | |
{ | |
protected override void OnApplyTemplate() | |
{ | |
base.OnApplyTemplate(); |
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="MediaDial.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"> | |
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | |
<StackPanel Padding="50"> |
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 BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
using System.Linq; | |
namespace IsOneOfBenchmarks | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
public class AutomatedWizardTestingBase : IDisposable | |
{ | |
protected WindowsDriver<WindowsElement> AppSession { get; private set; } | |
protected AutomatedWizardTestingBase() | |
{ | |
CheckWinAppDriverInstalled(); | |
StartWinAppDriverIfNotRunning(); | |
} |
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.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; |
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
public class GridLines : DependencyObject | |
{ | |
public static readonly DependencyProperty AreVisibleProperty = | |
DependencyProperty.RegisterAttached( | |
"AreVisible", | |
typeof(Boolean), | |
typeof(GridLines), | |
new PropertyMetadata(false, OnPropertyChanged) | |
); |