mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-22 16:36:03 +01:00
73f6ebdf5c
The base class contains all the code for creating and starting the background workers, displaying the progress of the actions, handling failures and retries. The derived classes override the property for label at the top of the page and the method that generates the plan actions. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
360 lines
16 KiB
XML
360 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<root>
|
|
<!--
|
|
Microsoft ResX Schema
|
|
|
|
Version 2.0
|
|
|
|
The primary goals of this format is to allow a simple XML format
|
|
that is mostly human readable. The generation and parsing of the
|
|
various data types are done through the TypeConverter classes
|
|
associated with the data types.
|
|
|
|
Example:
|
|
|
|
... ado.net/XML headers & schema ...
|
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
<resheader name="version">2.0</resheader>
|
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
</data>
|
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
<comment>This is a comment</comment>
|
|
</data>
|
|
|
|
There are any number of "resheader" rows that contain simple
|
|
name/value pairs.
|
|
|
|
Each data row contains a name, and value. The row also contains a
|
|
type or mimetype. Type corresponds to a .NET class that support
|
|
text/value conversion through the TypeConverter architecture.
|
|
Classes that don't support this are serialized and stored with the
|
|
mimetype set.
|
|
|
|
The mimetype is used for serialized objects, and tells the
|
|
ResXResourceReader how to depersist the object. This is currently not
|
|
extensible. For a given mimetype the value must be set accordingly:
|
|
|
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
that the ResXResourceWriter will generate, however the reader can
|
|
read any of the formats listed below.
|
|
|
|
mimetype: application/x-microsoft.net.object.binary.base64
|
|
value : The object must be serialized with
|
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
: and then encoded with base64 encoding.
|
|
|
|
mimetype: application/x-microsoft.net.object.soap.base64
|
|
value : The object must be serialized with
|
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
: and then encoded with base64 encoding.
|
|
|
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
value : The object must be serialized into a byte array
|
|
: using a System.ComponentModel.TypeConverter
|
|
: and then encoded with base64 encoding.
|
|
-->
|
|
<xsd:schema id="root" xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
|
|
<xsd:element msdata:IsDataSet="true" name="root">
|
|
<xsd:complexType>
|
|
<xsd:choice maxOccurs="unbounded">
|
|
<xsd:element name="metadata">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element minOccurs="0" name="value" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
<xsd:attribute name="type" type="xsd:string"/>
|
|
<xsd:attribute name="mimetype" type="xsd:string"/>
|
|
<xsd:attribute ref="xml:space"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:element name="assembly">
|
|
<xsd:complexType>
|
|
<xsd:attribute name="alias" type="xsd:string"/>
|
|
<xsd:attribute name="name" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:element name="data">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element minOccurs="0" msdata:Ordinal="1" name="value" type="xsd:string"/>
|
|
<xsd:element minOccurs="0" msdata:Ordinal="2" name="comment" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute msdata:Ordinal="1" name="name" type="xsd:string" use="required"/>
|
|
<xsd:attribute msdata:Ordinal="3" name="type" type="xsd:string"/>
|
|
<xsd:attribute msdata:Ordinal="4" name="mimetype" type="xsd:string"/>
|
|
<xsd:attribute ref="xml:space"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:element name="resheader">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element minOccurs="0" msdata:Ordinal="1" name="value" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:choice>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:schema>
|
|
<resheader name="resmimetype">
|
|
<value>text/microsoft-resx</value>
|
|
</resheader>
|
|
<resheader name="version">
|
|
<value>2.0</value>
|
|
</resheader>
|
|
<resheader name="reader">
|
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</resheader>
|
|
<resheader name="writer">
|
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</resheader>
|
|
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
|
|
<data name="labelTitle.AutoSize" type="System.Boolean, mscorlib">
|
|
<value>True</value>
|
|
</data>
|
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|
<data name="labelTitle.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>3, 13</value>
|
|
</data>
|
|
<data name="labelTitle.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>92, 13</value>
|
|
</data>
|
|
<data name="labelTitle.TabIndex" type="System.Int32, mscorlib">
|
|
<value>0</value>
|
|
</data>
|
|
<data name=">>labelTitle.Name" xml:space="preserve">
|
|
<value>labelTitle</value>
|
|
</data>
|
|
<data name=">>labelTitle.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>labelTitle.Parent" xml:space="preserve">
|
|
<value>$this</value>
|
|
</data>
|
|
<data name=">>labelTitle.ZOrder" xml:space="preserve">
|
|
<value>3</value>
|
|
</data>
|
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
|
|
<data name="textBoxLog.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
|
<value>Top, Bottom, Left, Right</value>
|
|
</data>
|
|
<data name="textBoxLog.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>6, 71</value>
|
|
</data>
|
|
<data name="textBoxLog.Multiline" type="System.Boolean, mscorlib">
|
|
<value>True</value>
|
|
</data>
|
|
<data name="textBoxLog.ScrollBars" type="System.Windows.Forms.ScrollBars, System.Windows.Forms">
|
|
<value>Both</value>
|
|
</data>
|
|
<data name="textBoxLog.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>502, 216</value>
|
|
</data>
|
|
<data name="textBoxLog.TabIndex" type="System.Int32, mscorlib">
|
|
<value>1</value>
|
|
</data>
|
|
<data name=">>textBoxLog.Name" xml:space="preserve">
|
|
<value>textBoxLog</value>
|
|
</data>
|
|
<data name=">>textBoxLog.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>textBoxLog.Parent" xml:space="preserve">
|
|
<value>$this</value>
|
|
</data>
|
|
<data name=">>textBoxLog.ZOrder" xml:space="preserve">
|
|
<value>2</value>
|
|
</data>
|
|
<data name="progressBar.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
|
<value>Top, Left, Right</value>
|
|
</data>
|
|
<data name="progressBar.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
|
<value>NoControl</value>
|
|
</data>
|
|
<data name="progressBar.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>6, 42</value>
|
|
</data>
|
|
<data name="progressBar.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>502, 23</value>
|
|
</data>
|
|
<data name="progressBar.TabIndex" type="System.Int32, mscorlib">
|
|
<value>3</value>
|
|
</data>
|
|
<data name=">>progressBar.Name" xml:space="preserve">
|
|
<value>progressBar</value>
|
|
</data>
|
|
<data name=">>progressBar.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>progressBar.Parent" xml:space="preserve">
|
|
<value>$this</value>
|
|
</data>
|
|
<data name=">>progressBar.ZOrder" xml:space="preserve">
|
|
<value>1</value>
|
|
</data>
|
|
<data name="labelError.AutoSize" type="System.Boolean, mscorlib">
|
|
<value>True</value>
|
|
</data>
|
|
<data name="labelError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
|
<value>Fill</value>
|
|
</data>
|
|
<data name="labelError.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
|
<value>NoControl</value>
|
|
</data>
|
|
<data name="labelError.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>35, 18</value>
|
|
</data>
|
|
<data name="labelError.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
|
<value>3, 8, 3, 3</value>
|
|
</data>
|
|
<data name="labelError.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>407, 21</value>
|
|
</data>
|
|
<data name="labelError.TabIndex" type="System.Int32, mscorlib">
|
|
<value>1</value>
|
|
</data>
|
|
<data name="labelError.Text" xml:space="preserve">
|
|
<value>错误</value>
|
|
</data>
|
|
<data name=">>labelError.Name" xml:space="preserve">
|
|
<value>labelError</value>
|
|
</data>
|
|
<data name=">>labelError.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>labelError.Parent" xml:space="preserve">
|
|
<value>panel1</value>
|
|
</data>
|
|
<data name=">>labelError.ZOrder" xml:space="preserve">
|
|
<value>2</value>
|
|
</data>
|
|
<data name="pictureBox1.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
|
<value>NoControl</value>
|
|
</data>
|
|
<data name="pictureBox1.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>0, 10</value>
|
|
</data>
|
|
<data name="pictureBox1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
|
<value>0, 0, 0, 0</value>
|
|
</data>
|
|
<data name="pictureBox1.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>32, 32</value>
|
|
</data>
|
|
<data name="pictureBox1.TabIndex" type="System.Int32, mscorlib">
|
|
<value>0</value>
|
|
</data>
|
|
<data name=">>pictureBox1.Name" xml:space="preserve">
|
|
<value>pictureBox1</value>
|
|
</data>
|
|
<data name=">>pictureBox1.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>pictureBox1.Parent" xml:space="preserve">
|
|
<value>panel1</value>
|
|
</data>
|
|
<data name=">>pictureBox1.ZOrder" xml:space="preserve">
|
|
<value>0</value>
|
|
</data>
|
|
<data name="panel1.AutoSize" type="System.Boolean, mscorlib">
|
|
<value>True</value>
|
|
</data>
|
|
<data name="panel1.ColumnCount" type="System.Int32, mscorlib">
|
|
<value>3</value>
|
|
</data>
|
|
<data name="errorLinkLabel.AutoSize" type="System.Boolean, mscorlib">
|
|
<value>True</value>
|
|
</data>
|
|
<data name="errorLinkLabel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
|
<value>NoControl</value>
|
|
</data>
|
|
<data name="errorLinkLabel.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>448, 18</value>
|
|
</data>
|
|
<data name="errorLinkLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
|
<value>3, 8, 3, 3</value>
|
|
</data>
|
|
<data name="errorLinkLabel.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>60, 13</value>
|
|
</data>
|
|
<data name="errorLinkLabel.TabIndex" type="System.Int32, mscorlib">
|
|
<value>3</value>
|
|
</data>
|
|
<data name="errorLinkLabel.Text" xml:space="preserve">
|
|
<value>更多信息(&M)...</value>
|
|
</data>
|
|
<data name="errorLinkLabel.Visible" type="System.Boolean, mscorlib">
|
|
<value>False</value>
|
|
</data>
|
|
<data name=">>errorLinkLabel.Name" xml:space="preserve">
|
|
<value>errorLinkLabel</value>
|
|
</data>
|
|
<data name=">>errorLinkLabel.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>errorLinkLabel.Parent" xml:space="preserve">
|
|
<value>panel1</value>
|
|
</data>
|
|
<data name=">>errorLinkLabel.ZOrder" xml:space="preserve">
|
|
<value>1</value>
|
|
</data>
|
|
<data name="panel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
|
<value>Bottom</value>
|
|
</data>
|
|
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
|
<value>0, 293</value>
|
|
</data>
|
|
<data name="panel1.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
|
<value>0, 10, 0, 0</value>
|
|
</data>
|
|
<data name="panel1.RowCount" type="System.Int32, mscorlib">
|
|
<value>1</value>
|
|
</data>
|
|
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>511, 42</value>
|
|
</data>
|
|
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
|
<value>5</value>
|
|
</data>
|
|
<data name="panel1.Visible" type="System.Boolean, mscorlib">
|
|
<value>False</value>
|
|
</data>
|
|
<data name=">>panel1.Name" xml:space="preserve">
|
|
<value>panel1</value>
|
|
</data>
|
|
<data name=">>panel1.Type" xml:space="preserve">
|
|
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</data>
|
|
<data name=">>panel1.Parent" xml:space="preserve">
|
|
<value>$this</value>
|
|
</data>
|
|
<data name=">>panel1.ZOrder" xml:space="preserve">
|
|
<value>0</value>
|
|
</data>
|
|
<data name="panel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
|
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="pictureBox1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="errorLinkLabel" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="labelError" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100,AutoSize,0" /><Rows Styles="Percent,100" /></TableLayoutSettings></value>
|
|
</data>
|
|
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
<value>True</value>
|
|
</metadata>
|
|
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
|
<value>96, 96</value>
|
|
</data>
|
|
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
|
<value>511, 335</value>
|
|
</data>
|
|
<data name=">>$this.Name" xml:space="preserve">
|
|
<value>PatchingWizard_AutomatedUpdatesPage</value>
|
|
</data>
|
|
<data name=">>$this.Type" xml:space="preserve">
|
|
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
|
</data>
|
|
</root> |