Files
ZuneUIXTools/test/ABOUTDIALOG_decomp.uix
T
2025-09-21 21:25:29 -05:00

60 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-16"?>
<UIX xmlns="http://schemas.microsoft.com/2007/uix" xmlns:iris="assembly://UIX/Microsoft.Iris" xmlns:zuneUI="assembly://ZuneShell/ZuneUI" xmlns:styles="res://ZuneShellResources!Styles.uix" xmlns:linkButtons="res://ZuneShellResources!LinkButtons.uix" xmlns:label="res://UIXControls!Label.uix" xmlns:dialog="res://UIXControls!Dialog.uix">
<Class Name="AboutDialog" Base="dialog:Dialog">
<Properties>
<String String="res://ZuneShellResources!AboutDialog.uix#AboutDialogContentUI" Name="ContentUI" />
<iris:Command Description="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_DIALOG_OK)}" Name="Cancel" />
<zuneUI:WebHelpCommand Description="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_TECHNICAL_SUPPORT_INFORMATION)}" Url="{zuneUI:CultureHelper.GetHelpUrl()}" Name="TechSupportLink" />
<String String="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_TITLE)}" Name="AccessibleDescription" />
</Properties>
</Class>
<UI Name="AboutDialogContentUI" Base="dialog:DialogContentUI">
<Scripts>
<Script>DialogTitle = zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_TITLE);
zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_TITLE);</Script>
<Script>ButtonCommands = new List();
ButtonCommands.Add(Dialog.Cancel);
DefaultButtonModel = Dialog.Cancel;
ButtonModelToFocus = Dialog.Cancel;</Script>
<Script>/* UIB_009E */
if (iris:Application.RenderingType == iris:RenderingType.GDI)
goto UIB_00BA;
GDIModeLabel.Visible = true;
GDIModeLabel.Content = zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_GDI_MODE_NOTICE);
zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_GDI_MODE_NOTICE);</Script>
</Scripts>
<Content>
<Panel Layout="VerticalFlow" MaximumSize="360, 0">
<Children>
<Panel Layout="HorizontalFlow" Margins="10">
<Children>
<Graphic Content="{styles:Styles.IconZuneAbout}" StretchingPolicy="Uniform" SizingPolicy="SizeToContent" />
<Panel Layout="VerticalFlow" Margins="10, 10, 0, 10">
<Children>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE1)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE2)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE3)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<Panel Layout="HorizontalFlow">
<Children>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_VERSION_HEADER)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:ZuneShell.DefaultInstance.Management.BuildNumber}" Margins="5, 0, 0, 0" Style="{styles:SharedStyles.DialogTextStyle}" />
</Children>
</Panel>
<Panel Layout="HorizontalFlow">
<Children>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_PRODUCT_ID)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:SoftwareUpdates.PID}" Margins="5, 0, -100, 0" Style="{styles:SharedStyles.DialogTextStyle}" />
</Children>
</Panel>
<label:Label Name="GDIModeLabel" Visible="false" Style="{styles:SharedStyles.DialogTextStyle}" />
</Children>
</Panel>
</Children>
</Panel>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_WARNING)}" Style="{styles:SharedStyles.DialogTextStyle}" WordWrap="true" />
<linkButtons:ExternalLink Model="{Dialog.TechSupportLink}" ToolTipEnabled="false" TileMinSize="160, 16" Margins="0, 10, 0, 0" />
</Children>
</Panel>
</Content>
</UI>
</UIX>