mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CA-156828: Do not uncompress imported appliance on a modal dialog, but rather
asynchronously on the SelectImportSourcePage, so that the rest of XenCenter is usable while the unzip is taking place; for this purpose a progress bar was added on the page and the DecompressApplianceDialog was removed. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
a918a0b0c8
commit
c8c2ea448a
189
XenAdmin/Dialogs/DecompressApplianceDialog.Designer.cs
generated
189
XenAdmin/Dialogs/DecompressApplianceDialog.Designer.cs
generated
@ -1,189 +0,0 @@
|
||||
namespace XenAdmin.Dialogs
|
||||
{
|
||||
partial class DecompressApplianceDialog
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DecompressApplianceDialog));
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.m_tlpButtons = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.m_buttonDecompress = new System.Windows.Forms.Button();
|
||||
this.m_buttonCancel = new System.Windows.Forms.Button();
|
||||
this.m_tlpNotice = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.m_labelNotice = new XenAdmin.Controls.Common.AutoHeightLabel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.m_tlpProgress = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.m_progressBar = new System.Windows.Forms.ProgressBar();
|
||||
this.autoHeightLabel1 = new XenAdmin.Controls.Common.AutoHeightLabel();
|
||||
this.m_tlpError = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.m_pictureBoxError = new System.Windows.Forms.PictureBox();
|
||||
this.autoHeightLabel3 = new XenAdmin.Controls.Common.AutoHeightLabel();
|
||||
this.m_labelError = new XenAdmin.Controls.Common.AutoHeightLabel();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.m_tlpButtons.SuspendLayout();
|
||||
this.m_tlpNotice.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.m_tlpProgress.SuspendLayout();
|
||||
this.m_tlpError.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.m_pictureBoxError)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpButtons, 0, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpNotice, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpProgress, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpError, 0, 2);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// m_tlpButtons
|
||||
//
|
||||
resources.ApplyResources(this.m_tlpButtons, "m_tlpButtons");
|
||||
this.m_tlpButtons.Controls.Add(this.m_buttonDecompress, 1, 0);
|
||||
this.m_tlpButtons.Controls.Add(this.m_buttonCancel, 2, 0);
|
||||
this.m_tlpButtons.Name = "m_tlpButtons";
|
||||
//
|
||||
// m_buttonDecompress
|
||||
//
|
||||
resources.ApplyResources(this.m_buttonDecompress, "m_buttonDecompress");
|
||||
this.m_buttonDecompress.Name = "m_buttonDecompress";
|
||||
this.m_buttonDecompress.UseVisualStyleBackColor = true;
|
||||
this.m_buttonDecompress.Click += new System.EventHandler(this.m_buttonDecompress_Click);
|
||||
//
|
||||
// m_buttonCancel
|
||||
//
|
||||
resources.ApplyResources(this.m_buttonCancel, "m_buttonCancel");
|
||||
this.m_buttonCancel.Name = "m_buttonCancel";
|
||||
this.m_buttonCancel.UseVisualStyleBackColor = true;
|
||||
this.m_buttonCancel.Click += new System.EventHandler(this.m_buttonCancel_Click);
|
||||
//
|
||||
// m_tlpNotice
|
||||
//
|
||||
resources.ApplyResources(this.m_tlpNotice, "m_tlpNotice");
|
||||
this.m_tlpNotice.Controls.Add(this.m_labelNotice, 1, 0);
|
||||
this.m_tlpNotice.Controls.Add(this.pictureBox1, 0, 0);
|
||||
this.m_tlpNotice.Name = "m_tlpNotice";
|
||||
//
|
||||
// m_labelNotice
|
||||
//
|
||||
resources.ApplyResources(this.m_labelNotice, "m_labelNotice");
|
||||
this.m_labelNotice.Name = "m_labelNotice";
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
||||
this.pictureBox1.Image = global::XenAdmin.Properties.Resources._000_WarningAlert_h32bit_32;
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// m_tlpProgress
|
||||
//
|
||||
resources.ApplyResources(this.m_tlpProgress, "m_tlpProgress");
|
||||
this.m_tlpProgress.Controls.Add(this.m_progressBar, 0, 2);
|
||||
this.m_tlpProgress.Controls.Add(this.autoHeightLabel1, 0, 0);
|
||||
this.m_tlpProgress.Name = "m_tlpProgress";
|
||||
//
|
||||
// m_progressBar
|
||||
//
|
||||
resources.ApplyResources(this.m_progressBar, "m_progressBar");
|
||||
this.m_progressBar.MarqueeAnimationSpeed = 20;
|
||||
this.m_progressBar.Name = "m_progressBar";
|
||||
this.m_progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
|
||||
//
|
||||
// autoHeightLabel1
|
||||
//
|
||||
resources.ApplyResources(this.autoHeightLabel1, "autoHeightLabel1");
|
||||
this.autoHeightLabel1.Name = "autoHeightLabel1";
|
||||
//
|
||||
// m_tlpError
|
||||
//
|
||||
resources.ApplyResources(this.m_tlpError, "m_tlpError");
|
||||
this.m_tlpError.Controls.Add(this.m_pictureBoxError, 0, 0);
|
||||
this.m_tlpError.Controls.Add(this.autoHeightLabel3, 1, 0);
|
||||
this.m_tlpError.Controls.Add(this.m_labelError, 1, 2);
|
||||
this.m_tlpError.Name = "m_tlpError";
|
||||
//
|
||||
// m_pictureBoxError
|
||||
//
|
||||
resources.ApplyResources(this.m_pictureBoxError, "m_pictureBoxError");
|
||||
this.m_pictureBoxError.Name = "m_pictureBoxError";
|
||||
this.m_tlpError.SetRowSpan(this.m_pictureBoxError, 3);
|
||||
this.m_pictureBoxError.TabStop = false;
|
||||
//
|
||||
// autoHeightLabel3
|
||||
//
|
||||
resources.ApplyResources(this.autoHeightLabel3, "autoHeightLabel3");
|
||||
this.autoHeightLabel3.Name = "autoHeightLabel3";
|
||||
//
|
||||
// m_labelError
|
||||
//
|
||||
resources.ApplyResources(this.m_labelError, "m_labelError");
|
||||
this.m_labelError.Name = "m_labelError";
|
||||
//
|
||||
// DecompressApplianceDialog
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.HelpButton = false;
|
||||
this.Name = "DecompressApplianceDialog";
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.m_tlpButtons.ResumeLayout(false);
|
||||
this.m_tlpNotice.ResumeLayout(false);
|
||||
this.m_tlpNotice.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.m_tlpProgress.ResumeLayout(false);
|
||||
this.m_tlpProgress.PerformLayout();
|
||||
this.m_tlpError.ResumeLayout(false);
|
||||
this.m_tlpError.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.m_pictureBoxError)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private XenAdmin.Controls.Common.AutoHeightLabel m_labelNotice;
|
||||
private System.Windows.Forms.ProgressBar m_progressBar;
|
||||
private System.Windows.Forms.TableLayoutPanel m_tlpNotice;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.TableLayoutPanel m_tlpProgress;
|
||||
private XenAdmin.Controls.Common.AutoHeightLabel autoHeightLabel1;
|
||||
private System.Windows.Forms.TableLayoutPanel m_tlpError;
|
||||
private System.Windows.Forms.PictureBox m_pictureBoxError;
|
||||
private XenAdmin.Controls.Common.AutoHeightLabel autoHeightLabel3;
|
||||
private System.Windows.Forms.TableLayoutPanel m_tlpButtons;
|
||||
private System.Windows.Forms.Button m_buttonDecompress;
|
||||
private System.Windows.Forms.Button m_buttonCancel;
|
||||
private XenAdmin.Controls.Common.AutoHeightLabel m_labelError;
|
||||
}
|
||||
}
|
||||
|
@ -1,188 +0,0 @@
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using XenCenterLib.Archive;
|
||||
|
||||
using XenCenterLib.Compression;
|
||||
|
||||
namespace XenAdmin.Dialogs
|
||||
{
|
||||
public partial class DecompressApplianceDialog : XenDialogBase
|
||||
{
|
||||
private readonly BackgroundWorker m_worker;
|
||||
private readonly string m_compressedFile;
|
||||
private readonly string m_decompressedFile;
|
||||
|
||||
public DecompressApplianceDialog(string compresssedFile, string decompressedFile)
|
||||
{
|
||||
InitializeComponent();
|
||||
m_pictureBoxError.Image = SystemIcons.Error.ToBitmap();
|
||||
m_labelNotice.Text = string.Format(Messages.UNCOMPRESS_APPLIANCE_DESCRIPTION, Path.GetFileName(decompressedFile), Path.GetFileName(compresssedFile));
|
||||
m_tlpNotice.Visible = true;
|
||||
m_tlpProgress.Visible = false;
|
||||
HideError();
|
||||
|
||||
m_compressedFile = compresssedFile;
|
||||
m_decompressedFile = decompressedFile;
|
||||
|
||||
m_worker = new BackgroundWorker {WorkerReportsProgress = true, WorkerSupportsCancellation = true};
|
||||
m_worker.DoWork += m_worker_DoWork;
|
||||
m_worker.ProgressChanged += m_worker_ProgressChanged;
|
||||
m_worker.RunWorkerCompleted += m_worker_RunWorkerCompleted;
|
||||
}
|
||||
|
||||
#region Private methods
|
||||
|
||||
private void ShowError(string error)
|
||||
{
|
||||
m_tlpError.Visible = true;
|
||||
m_labelError.Text = error;
|
||||
m_buttonDecompress.Text = Messages.RETRY;
|
||||
m_buttonDecompress.Enabled = true;
|
||||
}
|
||||
|
||||
private void HideError()
|
||||
{
|
||||
m_tlpError.Visible = false;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event handlers
|
||||
|
||||
private void m_worker_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
FileInfo info = new FileInfo(m_compressedFile);
|
||||
long length = info.Length;
|
||||
|
||||
using (Stream inStream = File.Open(m_compressedFile, FileMode.Open, FileAccess.ReadWrite, FileShare.None))
|
||||
using (Stream outStream = File.Open(m_decompressedFile, FileMode.Create, FileAccess.ReadWrite, FileShare.None))
|
||||
{
|
||||
try
|
||||
{
|
||||
using (CompressionStream bzis = CompressionFactory.Reader( CompressionFactory.Type.Gz, inStream))
|
||||
{
|
||||
byte[] buffer = new byte[4*1024];
|
||||
|
||||
int bytesRead;
|
||||
while ((bytesRead = bzis.Read(buffer, 0, buffer.Length)) > 0)
|
||||
{
|
||||
outStream.Write(buffer, 0, bytesRead);
|
||||
|
||||
int percentage = (int)Math.Floor((double)bzis.Position*100/length);
|
||||
|
||||
if (percentage < 0)
|
||||
m_worker.ReportProgress(0);
|
||||
else if (percentage > 100)
|
||||
m_worker.ReportProgress(100);
|
||||
else
|
||||
m_worker.ReportProgress(percentage);
|
||||
|
||||
if (m_worker.CancellationPending)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
outStream.Flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void m_worker_ProgressChanged(object sender, ProgressChangedEventArgs e)
|
||||
{
|
||||
Program.Invoke(this, () => m_progressBar.Value = e.ProgressPercentage);
|
||||
}
|
||||
|
||||
private void m_worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
{
|
||||
if (e.Error != null)//failure
|
||||
{
|
||||
Program.Invoke(this, () =>
|
||||
{
|
||||
m_tlpProgress.Visible = false;
|
||||
ShowError(e.Error.Message);
|
||||
m_tlpProgress.Visible = false;
|
||||
//delete what has been unzipped so far
|
||||
//if file does not exist, no exception is thrown, so no need to check
|
||||
File.Delete(m_decompressedFile);
|
||||
});
|
||||
}
|
||||
else if (e.Cancelled)//user cancelled
|
||||
{
|
||||
Program.Invoke(this, () =>
|
||||
{
|
||||
File.Delete(m_decompressedFile);
|
||||
DialogResult = DialogResult.Cancel;
|
||||
});
|
||||
}
|
||||
else//success
|
||||
{
|
||||
Program.Invoke(this, () =>
|
||||
{
|
||||
m_progressBar.Value = 100;
|
||||
File.Delete(m_compressedFile);
|
||||
DialogResult = DialogResult.Yes;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void m_buttonDecompress_Click(object sender, EventArgs e)
|
||||
{
|
||||
HideError();
|
||||
m_tlpNotice.Visible = false;
|
||||
m_tlpProgress.Visible = true;
|
||||
m_progressBar.Value = 0;
|
||||
m_buttonDecompress.Enabled = false;
|
||||
m_worker.RunWorkerAsync();
|
||||
}
|
||||
|
||||
private void m_buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (m_worker.IsBusy)
|
||||
m_worker.CancelAsync();
|
||||
else
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -1,630 +0,0 @@
|
||||
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
|
||||
<data name="tableLayoutPanel1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
||||
<data name="m_buttonDecompress.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>235, 3</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>95, 23</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Text" xml:space="preserve">
|
||||
<value>圧縮解除(&U)</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Name" xml:space="preserve">
|
||||
<value>m_buttonDecompress</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Parent" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>336, 3</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>95, 23</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Text" xml:space="preserve">
|
||||
<value>キャンセル</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Name" xml:space="preserve">
|
||||
<value>m_buttonCancel</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Parent" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 163</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 29</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Name" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_buttonDecompress" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="m_buttonCancel" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="Percent,100,AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 0</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 38</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Text" xml:space="preserve">
|
||||
<value>m_label</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Name" xml:space="preserve">
|
||||
<value>m_labelNotice</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Parent" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</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>1</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.Parent" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 38</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Name" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_labelNotice" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="pictureBox1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 28</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 23</value>
|
||||
</data>
|
||||
<data name="m_progressBar.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Name" xml:space="preserve">
|
||||
<value>m_progressBar</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Parent" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 15</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Text" xml:space="preserve">
|
||||
<value>ファイルの圧縮を解除しています...</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Name" xml:space="preserve">
|
||||
<value>autoHeightLabel1</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Parent" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 47</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.RowCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 54</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Name" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_progressBar" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="autoHeightLabel1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,Absolute,10,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpError.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>32, 32</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Name" xml:space="preserve">
|
||||
<value>m_pictureBoxError</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 15</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Text" xml:space="preserve">
|
||||
<value>圧縮解除に失敗しました。</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Name" xml:space="preserve">
|
||||
<value>autoHeightLabel3</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_labelError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_labelError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_labelError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_labelError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 25</value>
|
||||
</data>
|
||||
<data name="m_labelError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 15</value>
|
||||
</data>
|
||||
<data name="m_labelError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_labelError.Text" xml:space="preserve">
|
||||
<value>autoHeightLabel2</value>
|
||||
</data>
|
||||
<data name="m_labelError.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Name" xml:space="preserve">
|
||||
<value>m_labelError</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 107</value>
|
||||
</data>
|
||||
<data name="m_tlpError.RowCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 40</value>
|
||||
</data>
|
||||
<data name="m_tlpError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Name" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_pictureBoxError" Row="0" RowSpan="3" Column="0" ColumnSpan="1" /><Control Name="autoHeightLabel3" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="m_labelError" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0,Absolute,10,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>13, 13</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>440, 195</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_tlpButtons" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpNotice" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpProgress" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpError" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.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.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="$this.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>465, 220</value>
|
||||
</data>
|
||||
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>ファイルの圧縮解除</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>DecompressApplianceDialog</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Dialogs.XenDialogBase, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
@ -1,630 +0,0 @@
|
||||
<?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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<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 name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="tableLayoutPanel1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="m_buttonDecompress.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>235, 3</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>95, 23</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Text" xml:space="preserve">
|
||||
<value>&Uncompress</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Name" xml:space="preserve">
|
||||
<value>m_buttonDecompress</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Parent" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>336, 3</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>95, 23</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Text" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Name" xml:space="preserve">
|
||||
<value>m_buttonCancel</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Parent" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 163</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 29</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Name" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_buttonDecompress" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="m_buttonCancel" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="Percent,100,AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 0</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 38</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Text" xml:space="preserve">
|
||||
<value>m_label</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Name" xml:space="preserve">
|
||||
<value>m_labelNotice</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Parent" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</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>1</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.Parent" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 38</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Name" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_labelNotice" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="pictureBox1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 28</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 23</value>
|
||||
</data>
|
||||
<data name="m_progressBar.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Name" xml:space="preserve">
|
||||
<value>m_progressBar</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Parent" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 15</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Text" xml:space="preserve">
|
||||
<value>Uncompressing file, please wait...</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Name" xml:space="preserve">
|
||||
<value>autoHeightLabel1</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Parent" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 47</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.RowCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 54</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Name" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_progressBar" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="autoHeightLabel1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,Absolute,10,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpError.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>32, 32</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Name" xml:space="preserve">
|
||||
<value>m_pictureBoxError</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 15</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Text" xml:space="preserve">
|
||||
<value>Uncompression failed.</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Name" xml:space="preserve">
|
||||
<value>autoHeightLabel3</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_labelError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_labelError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_labelError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_labelError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 25</value>
|
||||
</data>
|
||||
<data name="m_labelError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 15</value>
|
||||
</data>
|
||||
<data name="m_labelError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_labelError.Text" xml:space="preserve">
|
||||
<value>autoHeightLabel2</value>
|
||||
</data>
|
||||
<data name="m_labelError.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Name" xml:space="preserve">
|
||||
<value>m_labelError</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 107</value>
|
||||
</data>
|
||||
<data name="m_tlpError.RowCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 40</value>
|
||||
</data>
|
||||
<data name="m_tlpError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Name" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_pictureBoxError" Row="0" RowSpan="3" Column="0" ColumnSpan="1" /><Control Name="autoHeightLabel3" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="m_labelError" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0,Absolute,10,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>13, 13</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>440, 195</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_tlpButtons" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpNotice" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpProgress" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpError" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.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.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="$this.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>465, 220</value>
|
||||
</data>
|
||||
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Uncompress File</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>DecompressApplianceDialog</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Dialogs.XenDialogBase, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
@ -1,630 +0,0 @@
|
||||
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
|
||||
<data name="tableLayoutPanel1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
||||
<data name="m_buttonDecompress.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>235, 3</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>95, 23</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_buttonDecompress.Text" xml:space="preserve">
|
||||
<value>解压 (&U)</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Name" xml:space="preserve">
|
||||
<value>m_buttonDecompress</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.Parent" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_buttonDecompress.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>336, 3</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>95, 23</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_buttonCancel.Text" xml:space="preserve">
|
||||
<value>取消</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Name" xml:space="preserve">
|
||||
<value>m_buttonCancel</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.Parent" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_buttonCancel.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 163</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 29</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Name" xml:space="preserve">
|
||||
<value>m_tlpButtons</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpButtons.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_tlpButtons.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_buttonDecompress" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="m_buttonCancel" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="Percent,100,AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 0</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 38</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="m_labelNotice.Text" xml:space="preserve">
|
||||
<value>m_label</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Name" xml:space="preserve">
|
||||
<value>m_labelNotice</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.Parent" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>m_labelNotice.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</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>1</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.Parent" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 38</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Name" xml:space="preserve">
|
||||
<value>m_tlpNotice</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpNotice.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpNotice.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_labelNotice" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="pictureBox1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 28</value>
|
||||
</data>
|
||||
<data name="m_progressBar.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 23</value>
|
||||
</data>
|
||||
<data name="m_progressBar.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Name" xml:space="preserve">
|
||||
<value>m_progressBar</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.Parent" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>m_progressBar.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 15</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel1.Text" xml:space="preserve">
|
||||
<value>正在解压文件,请稍候...</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Name" xml:space="preserve">
|
||||
<value>autoHeightLabel1</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.Parent" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 47</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.RowCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 54</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Name" xml:space="preserve">
|
||||
<value>m_tlpProgress</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpProgress.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_tlpProgress.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_progressBar" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="autoHeightLabel1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,Absolute,10,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpError.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>32, 32</value>
|
||||
</data>
|
||||
<data name="m_pictureBoxError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Name" xml:space="preserve">
|
||||
<value>m_pictureBoxError</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_pictureBoxError.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 0</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 15</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.Text" xml:space="preserve">
|
||||
<value>解压失败。</value>
|
||||
</data>
|
||||
<data name="autoHeightLabel3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Name" xml:space="preserve">
|
||||
<value>autoHeightLabel3</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>autoHeightLabel3.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_labelError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_labelError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_labelError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_labelError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 25</value>
|
||||
</data>
|
||||
<data name="m_labelError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>390, 15</value>
|
||||
</data>
|
||||
<data name="m_labelError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_labelError.Text" xml:space="preserve">
|
||||
<value>autoHeightLabel2</value>
|
||||
</data>
|
||||
<data name="m_labelError.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Name" xml:space="preserve">
|
||||
<value>m_labelError</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_labelError.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 107</value>
|
||||
</data>
|
||||
<data name="m_tlpError.RowCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>434, 40</value>
|
||||
</data>
|
||||
<data name="m_tlpError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Name" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_pictureBoxError" Row="0" RowSpan="3" Column="0" ColumnSpan="1" /><Control Name="autoHeightLabel3" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="m_labelError" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0,Absolute,10,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>13, 13</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>440, 195</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_tlpButtons" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpNotice" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpProgress" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpError" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.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.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="$this.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>465, 220</value>
|
||||
</data>
|
||||
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>解压文件</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>DecompressApplianceDialog</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Dialogs.XenDialogBase, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
@ -39,18 +39,29 @@
|
||||
this.m_tlpEncryption = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.autoHeightLabel1 = new XenAdmin.Controls.Common.AutoHeightLabel();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.m_tlpError = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this._labelError = new System.Windows.Forms.Label();
|
||||
this.labelProgress = new System.Windows.Forms.Label();
|
||||
this._unzipWorker = new System.ComponentModel.BackgroundWorker();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.tableLayoutPanel2.SuspendLayout();
|
||||
this.m_tlpEncryption.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.m_tlpError.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblIntro, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpEncryption, 0, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpEncryption, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.progressBar1, 0, 5);
|
||||
this.tableLayoutPanel1.Controls.Add(this.m_tlpError, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelProgress, 0, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// lblIntro
|
||||
@ -109,6 +120,44 @@
|
||||
resources.ApplyResources(this.autoHeightLabel1, "autoHeightLabel1");
|
||||
this.autoHeightLabel1.Name = "autoHeightLabel1";
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
resources.ApplyResources(this.progressBar1, "progressBar1");
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
|
||||
//
|
||||
// m_tlpError
|
||||
//
|
||||
resources.ApplyResources(this.m_tlpError, "m_tlpError");
|
||||
this.m_tlpError.Controls.Add(this.pictureBox2, 0, 0);
|
||||
this.m_tlpError.Controls.Add(this._labelError, 1, 0);
|
||||
this.m_tlpError.Name = "m_tlpError";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Image = global::XenAdmin.Properties.Resources._000_error_h32bit_16;
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// _labelError
|
||||
//
|
||||
resources.ApplyResources(this._labelError, "_labelError");
|
||||
this._labelError.Name = "_labelError";
|
||||
//
|
||||
// labelProgress
|
||||
//
|
||||
resources.ApplyResources(this.labelProgress, "labelProgress");
|
||||
this.labelProgress.Name = "labelProgress";
|
||||
//
|
||||
// _unzipWorker
|
||||
//
|
||||
this._unzipWorker.WorkerReportsProgress = true;
|
||||
this._unzipWorker.WorkerSupportsCancellation = true;
|
||||
this._unzipWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this._unzipWorker_DoWork);
|
||||
this._unzipWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this._unzipWorker_ProgressChanged);
|
||||
this._unzipWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this._unzipWorker_RunWorkerCompleted);
|
||||
//
|
||||
// ImportSourcePage
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
@ -122,6 +171,9 @@
|
||||
this.m_tlpEncryption.ResumeLayout(false);
|
||||
this.m_tlpEncryption.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.m_tlpError.ResumeLayout(false);
|
||||
this.m_tlpError.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -138,6 +190,12 @@
|
||||
private System.Windows.Forms.TableLayoutPanel m_tlpEncryption;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private XenAdmin.Controls.Common.AutoHeightLabel autoHeightLabel1;
|
||||
private System.Windows.Forms.ProgressBar progressBar1;
|
||||
private System.Windows.Forms.TableLayoutPanel m_tlpError;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.ComponentModel.BackgroundWorker _unzipWorker;
|
||||
private System.Windows.Forms.Label labelProgress;
|
||||
private System.Windows.Forms.Label _labelError;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,8 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
@ -40,6 +42,7 @@ using DiscUtils;
|
||||
using DiscUtils.Wim;
|
||||
using XenAdmin.Controls;
|
||||
using XenCenterLib;
|
||||
using XenCenterLib.Compression;
|
||||
using XenAdmin.Dialogs;
|
||||
using XenAdmin.Controls.Common;
|
||||
using XenCenterLib.Archive;
|
||||
@ -55,9 +58,9 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
{
|
||||
#region Private fields
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private readonly string[] m_supportedImageTypes = new[] { ".vhd", ".vmdk" };//CA-61385: remove ".vdi", ".wim" support for Boston
|
||||
private readonly string[] m_supportedApplianceTypes = new[] { ".ovf", ".ova", ".ova.gz" };
|
||||
private readonly string[] m_supportedXvaTypes = new[] {".xva", "ova.xml"};
|
||||
private readonly string[] m_supportedImageTypes = { ".vhd", ".vmdk" };//CA-61385: remove ".vdi", ".wim" support for Boston
|
||||
private readonly string[] m_supportedApplianceTypes = { ".ovf", ".ova", ".ova.gz" };
|
||||
private readonly string[] m_supportedXvaTypes = {".xva", "ova.xml"};
|
||||
|
||||
/// <summary>
|
||||
/// Stores the last valid selected appliance
|
||||
@ -66,6 +69,9 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
|
||||
private EnvelopeType m_selectedOvfEnvelope;
|
||||
private bool m_buttonNextEnabled;
|
||||
|
||||
private string _unzipFileIn;
|
||||
private string _unzipFileOut;
|
||||
#endregion
|
||||
|
||||
public ImportSourcePage()
|
||||
@ -73,6 +79,9 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
InitializeComponent();
|
||||
m_ctrlError.HideError();
|
||||
m_tlpEncryption.Visible = false;
|
||||
m_tlpError.Visible = false;
|
||||
progressBar1.Visible = false;
|
||||
labelProgress.Visible = false;
|
||||
}
|
||||
|
||||
#region Base class (XenTabPage) overrides
|
||||
@ -113,27 +122,38 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
return;
|
||||
}
|
||||
|
||||
if (!PerformCheck(CheckIsCompressed))
|
||||
{
|
||||
cancel = true;
|
||||
return;
|
||||
}
|
||||
string extension = Path.GetExtension(FilePath).ToLower();
|
||||
|
||||
var checks = new List<CheckDelegate>();
|
||||
if (extension == ".gz")
|
||||
{
|
||||
if (!PerformCheck(CheckSourceIsWritable))
|
||||
{
|
||||
cancel = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Uncompress())
|
||||
{
|
||||
cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
CheckDelegate check = null;
|
||||
switch (TypeOfImport)
|
||||
{
|
||||
case ImportWizard.ImportType.Xva:
|
||||
checks.Add(GetDiskCapacityXva);
|
||||
check = GetDiskCapacityXva;
|
||||
break;
|
||||
case ImportWizard.ImportType.Ovf:
|
||||
checks.Add(LoadAppliance);
|
||||
check = LoadAppliance;
|
||||
break;
|
||||
case ImportWizard.ImportType.Vhd:
|
||||
checks.Add(GetDiskCapacityImage);
|
||||
check = GetDiskCapacityImage;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!PerformCheck(checks.ToArray()))
|
||||
if (!PerformCheck(check))
|
||||
{
|
||||
cancel = true;
|
||||
return;
|
||||
@ -149,6 +169,12 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
}
|
||||
}
|
||||
|
||||
public override void PageCancelled()
|
||||
{
|
||||
if (_unzipWorker.IsBusy)
|
||||
_unzipWorker.CancelAsync();
|
||||
}
|
||||
|
||||
public override void PopulatePage()
|
||||
{
|
||||
lblIntro.Text = OvfModeOnly ? Messages.IMPORT_SOURCE_PAGE_INTRO_OVF_ONLY : Messages.IMPORT_SOURCE_PAGE_INTRO;
|
||||
@ -548,35 +574,6 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Check when we leave the page
|
||||
/// </summary>
|
||||
private bool CheckIsCompressed(out string error)
|
||||
{
|
||||
error = string.Empty;
|
||||
string fileName = FilePath;
|
||||
string extension = Path.GetExtension(fileName).ToLower();
|
||||
|
||||
if (extension == ".gz")
|
||||
{
|
||||
if (!CheckSourceIsWritable(out error))
|
||||
return false;
|
||||
|
||||
string outfile = Path.Combine(Path.GetDirectoryName(fileName), Path.GetFileNameWithoutExtension(fileName));
|
||||
|
||||
using (var dlog = new DecompressApplianceDialog(fileName, outfile))
|
||||
{
|
||||
if (dlog.ShowDialog(ParentForm) == DialogResult.Yes)
|
||||
{
|
||||
m_textBoxFile.Text = outfile;
|
||||
return true;
|
||||
}
|
||||
return false; //user cancelled or error
|
||||
}
|
||||
}
|
||||
return true;//it's not compressed, ok to continue
|
||||
}
|
||||
|
||||
private bool CheckDownloadFromUri(out string error)
|
||||
{
|
||||
error = string.Empty;
|
||||
@ -606,10 +603,58 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
return false; //an error happened during download or the user cancelled
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Control event handlers
|
||||
#endregion
|
||||
|
||||
#region Uncompression
|
||||
|
||||
private bool Uncompress()
|
||||
{
|
||||
_unzipFileIn = FilePath;
|
||||
if (string.IsNullOrEmpty(_unzipFileIn))
|
||||
return false;
|
||||
|
||||
_unzipFileOut = Path.Combine(Path.GetDirectoryName(_unzipFileIn), Path.GetFileNameWithoutExtension(_unzipFileIn));
|
||||
|
||||
var msg = string.Format(Messages.UNCOMPRESS_APPLIANCE_DESCRIPTION,
|
||||
Path.GetFileName(_unzipFileOut), Path.GetFileName(_unzipFileIn));
|
||||
|
||||
using (var dlog = new ThreeButtonDialog(new ThreeButtonDialog.Details(SystemIcons.Exclamation, msg, Messages.XENCENTER),
|
||||
new ThreeButtonDialog.TBDButton(Messages.YES, DialogResult.Yes),
|
||||
new ThreeButtonDialog.TBDButton(Messages.NO, DialogResult.No)))
|
||||
{
|
||||
if (dlog.ShowDialog(this) == DialogResult.Yes)
|
||||
return StartUncompression();
|
||||
|
||||
return false; //user cancelled or error
|
||||
}
|
||||
}
|
||||
|
||||
private bool StartUncompression()
|
||||
{
|
||||
m_textBoxFile.Enabled = false;
|
||||
m_buttonBrowse.Enabled = false;
|
||||
|
||||
m_buttonNextEnabled = false;
|
||||
OnPageUpdated();
|
||||
|
||||
m_tlpError.Visible = false;
|
||||
labelProgress.Visible = true;
|
||||
progressBar1.Visible = true;
|
||||
progressBar1.Value = 0;
|
||||
_unzipWorker.RunWorkerAsync();
|
||||
|
||||
while (_unzipWorker.IsBusy)
|
||||
Application.DoEvents();
|
||||
|
||||
m_textBoxFile.Enabled = true;
|
||||
m_buttonBrowse.Enabled = true;
|
||||
return m_textBoxFile.Text == _unzipFileOut;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event handlers
|
||||
|
||||
private void m_buttonBrowse_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -635,6 +680,108 @@ namespace XenAdmin.Wizards.ImportWizard
|
||||
IsDirty = true;
|
||||
}
|
||||
|
||||
|
||||
private void _unzipWorker_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
FileInfo info = new FileInfo(_unzipFileIn);
|
||||
long length = info.Length;
|
||||
|
||||
using (Stream inStream = File.Open(_unzipFileIn, FileMode.Open, FileAccess.ReadWrite, FileShare.None))
|
||||
using (Stream outStream = File.Open(_unzipFileOut, FileMode.Create, FileAccess.ReadWrite, FileShare.None))
|
||||
{
|
||||
try
|
||||
{
|
||||
using (CompressionStream bzis = CompressionFactory.Reader(CompressionFactory.Type.Gz, inStream))
|
||||
{
|
||||
byte[] buffer = new byte[4 * 1024];
|
||||
|
||||
int bytesRead;
|
||||
while ((bytesRead = bzis.Read(buffer, 0, buffer.Length)) > 0)
|
||||
{
|
||||
outStream.Write(buffer, 0, bytesRead);
|
||||
|
||||
int percentage = (int)Math.Floor((double)bzis.Position * 100 / length);
|
||||
|
||||
if (percentage < 0)
|
||||
_unzipWorker.ReportProgress(0);
|
||||
else if (percentage > 100)
|
||||
_unzipWorker.ReportProgress(100);
|
||||
else
|
||||
_unzipWorker.ReportProgress(percentage);
|
||||
|
||||
if (_unzipWorker.CancellationPending)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
e.Result = _unzipFileOut;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(string.Format("Error while uncompressing {0} to {1}", _unzipFileIn, _unzipFileOut), ex);
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
outStream.Flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void _unzipWorker_ProgressChanged(object sender, ProgressChangedEventArgs e)
|
||||
{
|
||||
progressBar1.Value = e.ProgressPercentage;
|
||||
}
|
||||
|
||||
private void _unzipWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
{
|
||||
progressBar1.Visible = false;
|
||||
labelProgress.Visible = false;
|
||||
|
||||
if (e.Cancelled)
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(_unzipFileOut);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(string.Format("Failed to delete uncompressed file {0}.", _unzipFileOut), ex);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.Error != null)
|
||||
{
|
||||
m_tlpError.Visible = true;
|
||||
try
|
||||
{
|
||||
File.Delete(_unzipFileOut);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(string.Format("Failed to delete uncompressed file {0}.", _unzipFileOut), ex);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
var uncompressedFile = e.Result as string;
|
||||
progressBar1.Value = 100;
|
||||
m_textBoxFile.Text = uncompressedFile;
|
||||
|
||||
try
|
||||
{
|
||||
File.Delete(_unzipFileIn);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(string.Format("Failed to delete compressed file {0}.", _unzipFileIn), ex);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
@ -112,29 +112,32 @@
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="lblIntro.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="lblIntro.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="lblIntro.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="lblIntro.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="lblIntro.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 20</value>
|
||||
</data>
|
||||
<data name="lblIntro.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>555, 13</value>
|
||||
</data>
|
||||
@ -190,7 +193,7 @@
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>label1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label1.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel2</value>
|
||||
@ -217,7 +220,7 @@
|
||||
<value>m_textBoxFile</value>
|
||||
</data>
|
||||
<data name=">>m_textBoxFile.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_textBoxFile.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel2</value>
|
||||
@ -244,7 +247,7 @@
|
||||
<value>m_buttonBrowse</value>
|
||||
</data>
|
||||
<data name=">>m_buttonBrowse.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_buttonBrowse.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel2</value>
|
||||
@ -294,6 +297,9 @@
|
||||
<data name="tableLayoutPanel2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 36</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 3, 3, 20</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel2.RowCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
@ -307,7 +313,7 @@
|
||||
<value>tableLayoutPanel2</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel2.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
@ -340,7 +346,7 @@
|
||||
<value>pictureBox1</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<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>m_tlpEncryption</value>
|
||||
@ -385,7 +391,7 @@
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="m_tlpEncryption.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 113</value>
|
||||
<value>3, 110</value>
|
||||
</data>
|
||||
<data name="m_tlpEncryption.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
@ -400,7 +406,7 @@
|
||||
<value>m_tlpEncryption</value>
|
||||
</data>
|
||||
<data name=">>m_tlpEncryption.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>m_tlpEncryption.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
@ -411,6 +417,150 @@
|
||||
<data name="m_tlpEncryption.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="autoHeightLabel1" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100" /><Rows Styles="AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="progressBar1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="progressBar1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 267</value>
|
||||
</data>
|
||||
<data name="progressBar1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>555, 23</value>
|
||||
</data>
|
||||
<data name="progressBar1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>progressBar1.Name" xml:space="preserve">
|
||||
<value>progressBar1</value>
|
||||
</data>
|
||||
<data name=">>progressBar1.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=">>progressBar1.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>progressBar1.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Left, Right</value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="m_tlpError.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="m_tlpError.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>16, 16</value>
|
||||
</data>
|
||||
<data name="pictureBox2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Name" xml:space="preserve">
|
||||
<value>pictureBox2</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.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=">>pictureBox2.Parent" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="_labelError.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="_labelError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="_labelError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>25, 4</value>
|
||||
</data>
|
||||
<data name="_labelError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>319, 13</value>
|
||||
</data>
|
||||
<data name="_labelError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="_labelError.Text" xml:space="preserve">
|
||||
<value>Failed to uncompress file. Please see the logs for more information.</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>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>_labelError.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 226</value>
|
||||
</data>
|
||||
<data name="m_tlpError.RowCount" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="m_tlpError.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>555, 22</value>
|
||||
</data>
|
||||
<data name="m_tlpError.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.Name" xml:space="preserve">
|
||||
<value>m_tlpError</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.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=">>m_tlpError.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>m_tlpError.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="m_tlpError.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="pictureBox2" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="_labelError" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100,Absolute,20" /><Rows Styles="Percent,100" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="labelProgress.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="labelProgress.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 251</value>
|
||||
</data>
|
||||
<data name="labelProgress.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>164, 13</value>
|
||||
</data>
|
||||
<data name="labelProgress.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="labelProgress.Text" xml:space="preserve">
|
||||
<value>Uncompressing file, please wait...</value>
|
||||
</data>
|
||||
<data name=">>labelProgress.Name" xml:space="preserve">
|
||||
<value>labelProgress</value>
|
||||
</data>
|
||||
<data name=">>labelProgress.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=">>labelProgress.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelProgress.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
@ -430,7 +580,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
@ -439,9 +589,12 @@
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="lblIntro" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpEncryption" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,Absolute,20,AutoSize,0,Absolute,20,AutoSize,0,Percent,100" /></TableLayoutSettings></value>
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="lblIntro" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpEncryption" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="progressBar1" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_tlpError" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="labelProgress" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="_unzipWorker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<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">
|
||||
@ -450,10 +603,16 @@
|
||||
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>561, 293</value>
|
||||
</data>
|
||||
<data name=">>_unzipWorker.Name" xml:space="preserve">
|
||||
<value>_unzipWorker</value>
|
||||
</data>
|
||||
<data name=">>_unzipWorker.Type" xml:space="preserve">
|
||||
<value>System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>ImportSourcePage</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Wizards.GenericPages.ImExPortPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
||||
</root>
|
@ -3064,12 +3064,6 @@
|
||||
<Compile Include="Diagnostics\Problems\VMProblem\RunningVMProblem.cs" />
|
||||
<Compile Include="Diagnostics\Problems\VMProblem\ExistingVmWarning.cs" />
|
||||
<Compile Include="Diagnostics\Problems\Warning.cs" />
|
||||
<Compile Include="Dialogs\DecompressApplianceDialog.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Dialogs\DecompressApplianceDialog.Designer.cs">
|
||||
<DependentUpon>DecompressApplianceDialog.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Dialogs\DownloadApplianceDialog.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -5250,15 +5244,6 @@
|
||||
<EmbeddedResource Include="Dialogs\DateFilterDialog.zh-CN.resx">
|
||||
<DependentUpon>DateFilterDialog.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Dialogs\DecompressApplianceDialog.ja.resx">
|
||||
<DependentUpon>DecompressApplianceDialog.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Dialogs\DecompressApplianceDialog.resx">
|
||||
<DependentUpon>DecompressApplianceDialog.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Dialogs\DecompressApplianceDialog.zh-CN.resx">
|
||||
<DependentUpon>DecompressApplianceDialog.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Dialogs\DialogWithProgress.ja.resx">
|
||||
<DependentUpon>DialogWithProgress.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -1,52 +0,0 @@
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System.Windows.Forms;
|
||||
using NUnit.Framework;
|
||||
using XenAdmin.Dialogs;
|
||||
|
||||
namespace XenAdminTests.DialogTests.boston.DecompressApplianceDialogTests
|
||||
{
|
||||
[TestFixture, Category(TestCategories.UICategoryA)]
|
||||
public class DecompressApplianceDialogTests : DialogTest<DecompressApplianceDialog>
|
||||
{
|
||||
protected override DecompressApplianceDialog NewDialog()
|
||||
{
|
||||
return new DecompressApplianceDialog("file1", "file2");
|
||||
}
|
||||
|
||||
protected override void RunAfter()
|
||||
{
|
||||
Button decompress = TestUtils.GetButton(dialog, "m_buttonDecompress");
|
||||
Assert.IsTrue(decompress.Enabled, "decompress button enabled");
|
||||
}
|
||||
}
|
||||
}
|
@ -272,7 +272,6 @@
|
||||
<Compile Include="Diagnostics\DiagnosticsTests.cs" />
|
||||
<Compile Include="DialogTests\BostonDialogTest.cs" />
|
||||
<Compile Include="DialogTests\CertificateDialogTests.cs" />
|
||||
<Compile Include="DialogTests\DecompressApplianceDialogTests.cs" />
|
||||
<Compile Include="DialogTests\DownloadApplianceDialogTests.cs" />
|
||||
<Compile Include="DialogTests\IscsiDeviceConfigDialogTests.cs" />
|
||||
<Compile Include="DialogTests\MessageBoxTestTests.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user