windowsUIView控件消息窗显示汉语
FlyoutAction CreateCloseAction(){
FlyoutAction closeAction = new FlyoutAction();
closeAction.Caption = Text;
closeAction.Description = "是否确定退出程序?";
FlyoutCommand command1 = new FlyoutCommand() { Text = "是", Result = System.Windows.Forms.DialogResult.Yes };
closeAction.Commands.Add(command1);
FlyoutCommand command2 = new FlyoutCommand() { Text = "否", Result = System.Windows.Forms.DialogResult.No };
closeAction.Commands.Add(command2);
return closeAction;
}
页:
[1]