Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

2010-12-16から1日間の記事一覧

Applicationオブジェクトのプロパティで状態を管理する

Applicationオブジェクトはアプリケーションのライフタイム全体で使用可能なので、プロパティで状態管理することも可能です。 ソースコード App.xaml <Application x:Class="WpfApplication3.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml"> </Application> App.xaml.c…