[[MainPage クラスの partial]]
@DIV
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace S130510_LBOX_StoreBlank
{
public sealed partial class MainPage : Page
{
private void CommandInvokedHandler(IUICommand command)
{
Debug.WriteLine("保存ボタンがクリックされました");
Debug.WriteLine("応答ボタンのテキストは《" + command.Label + "》です");
// ボタンの応答
if (command.Id.Equals(0))
{
Debug.WriteLine("OK");
}
if (command.Id.Equals(1))
{
Debug.WriteLine("CANCEL");
}
}
}
}
@END |