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
<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" |
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
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 |
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
version: 2 | |
jobs: | |
build: | |
machine: true | |
steps: | |
- checkout | |
- run: | |
name: docker build | |
command: util/docker_build.sh ergodox_ez:default | |
- store_artifacts: |
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
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 の相互作用ロジック |
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.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 | |
{ |
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.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; |
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.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 | |
{ |
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.Threading.Tasks; | |
namespace MaterialDesign.Dialog.Example.Services | |
{ | |
public interface IDialogService | |
{ | |
Task<bool> Question(string message); | |
} | |
} |
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
<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" |
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 Prism.Mvvm; | |
namespace MaterialDesign.Dialog.Example.Dialogs.ViewModels | |
{ | |
public class MessageDialogViewModel : BindableBase | |
{ | |
private string _message; | |
public string Message | |
{ |
NewerOlder