Skip to content

Instantly share code, notes, and snippets.

View LiveCharts.Wpf.Example-MainWindow.xaml
<Window x:Class="LiveCharts.Wpf.Example.MainWindow"
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:local="clr-namespace:LiveCharts.Wpf.Example"
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="MainWindow"
Width="800"
Height="450"
View AzureDevOps_tasks.yml
resources:
- repo: self
queue:
name: Hosted Ubuntu 1604
steps:
- bash: |
# Write your commands here
# Use the environment variables input below to pass secret variables to this script
util/docker_build.sh ergodox_ez:default
@Iyemon-018
Iyemon-018 / .circleci_config.yml
Created Jan 24, 2019
ErgoDox EZ のキーマップをCircle CI でビルドするための設定ファイル
View .circleci_config.yml
version: 2
jobs:
build:
machine: true
steps:
- checkout
- run:
name: docker build
command: util/docker_build.sh ergodox_ez:default
- store_artifacts:
@Iyemon-018
Iyemon-018 / XamlIslands.Wpf.MapControl.cs
Created Dec 28, 2018
MapControl に関するコード
View XamlIslands.Wpf.MapControl.cs
namespace XamlIslands.Wpf
{
using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT;
/// <summary>
/// MainWindow.xaml の相互作用ロジック
View MaterialDesign.Dialog.Example\Bootstrapper.cs
using System.Windows;
using MaterialDesign.Dialog.Example.Services;
using MaterialDesign.Dialog.Example.ViewModels;
using MaterialDesign.Dialog.Example.Views;
using Prism.Unity;
namespace MaterialDesign.Dialog.Example
{
public class Bootstrapper : UnityBootstrapper
{
View MaterialDesign.Dialog.Example\ShellViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Windows.Documents;
using System.Windows.Input;
using MaterialDesign.Dialog.Example.Services;
using Prism.Commands;
using Prism.Mvvm;
View MaterialDesign.Dialog.Example\DialogService.cs
using System;
using System.Threading.Tasks;
using MaterialDesign.Dialog.Example.Dialogs;
using MaterialDesign.Dialog.Example.Dialogs.ViewModels;
using MaterialDesignThemes.Wpf;
namespace MaterialDesign.Dialog.Example.Services
{
public class DialogService : IDialogService
{
View MaterialDesign.Dialog.Example\IDialogService.cs
using System.Threading.Tasks;
namespace MaterialDesign.Dialog.Example.Services
{
public interface IDialogService
{
Task<bool> Question(string message);
}
}
View MaterialDesign.Dialog.Example\Shell.xaml
<Window x:Class="MaterialDesign.Dialog.Example.Views.Shell"
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:local="clr-namespace:MaterialDesign.Dialog.Example.Views"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:viewModels="clr-namespace:MaterialDesign.Dialog.Example.ViewModels"
x:Name="window"
View MaterialDesign.Dialog.Example\MessageDialogViewModel.cs
using Prism.Mvvm;
namespace MaterialDesign.Dialog.Example.Dialogs.ViewModels
{
public class MessageDialogViewModel : BindableBase
{
private string _message;
public string Message
{