CA-180576: Provide a option to give case number when uploading a report

- rearranged the controls (removed group box, indented upload-related controls)
- also changed the progress bar style for the upload action to Marquee, as the Blocks style did not show any progress and it looked like the upload hasn't started

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2015-11-10 12:25:58 +00:00
parent bf1bbd8475
commit 01f5081511
4 changed files with 75 additions and 187 deletions

View File

@ -30,8 +30,6 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BugToolPageDestination));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.authenticationGroupBox = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.autoHeightLabel2 = new XenAdmin.Controls.Common.AutoHeightLabel();
this.usernameLabel = new System.Windows.Forms.Label();
this.passwordLabel = new System.Windows.Forms.Label();
@ -49,49 +47,33 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
this.caseNumberTextBox = new System.Windows.Forms.TextBox();
this.optionalLabel = new System.Windows.Forms.Label();
this.tableLayoutPanel1.SuspendLayout();
this.authenticationGroupBox.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
this.tableLayoutPanel1.Controls.Add(this.authenticationGroupBox, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.autoHeightLabel2, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.usernameLabel, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.passwordLabel, 0, 6);
this.tableLayoutPanel1.Controls.Add(this.passwordTextBox, 1, 6);
this.tableLayoutPanel1.Controls.Add(this.usernameTextBox, 1, 5);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.labelName, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.m_textBoxName, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.labelFileLocation, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.m_textBoxLocation, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.BrowseButton, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.m_ctrlError, 0, 6);
this.tableLayoutPanel1.Controls.Add(this.m_ctrlError, 0, 8);
this.tableLayoutPanel1.Controls.Add(this.uploadCheckBox, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.caseNumberLabel, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.caseNumberTextBox, 1, 5);
this.tableLayoutPanel1.Controls.Add(this.optionalLabel, 2, 5);
this.tableLayoutPanel1.Controls.Add(this.caseNumberLabel, 0, 7);
this.tableLayoutPanel1.Controls.Add(this.caseNumberTextBox, 1, 7);
this.tableLayoutPanel1.Controls.Add(this.optionalLabel, 2, 7);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
//
// authenticationGroupBox
//
resources.ApplyResources(this.authenticationGroupBox, "authenticationGroupBox");
this.tableLayoutPanel1.SetColumnSpan(this.authenticationGroupBox, 4);
this.authenticationGroupBox.Controls.Add(this.tableLayoutPanel2);
this.authenticationGroupBox.Name = "authenticationGroupBox";
this.authenticationGroupBox.TabStop = false;
//
// tableLayoutPanel2
//
resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
this.tableLayoutPanel2.Controls.Add(this.autoHeightLabel2, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.usernameLabel, 0, 1);
this.tableLayoutPanel2.Controls.Add(this.passwordLabel, 0, 2);
this.tableLayoutPanel2.Controls.Add(this.passwordTextBox, 1, 2);
this.tableLayoutPanel2.Controls.Add(this.usernameTextBox, 1, 1);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
//
// autoHeightLabel2
//
resources.ApplyResources(this.autoHeightLabel2, "autoHeightLabel2");
this.tableLayoutPanel2.SetColumnSpan(this.autoHeightLabel2, 3);
this.tableLayoutPanel1.SetColumnSpan(this.autoHeightLabel2, 4);
this.autoHeightLabel2.Name = "autoHeightLabel2";
//
// usernameLabel
@ -166,7 +148,7 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
this.tableLayoutPanel1.SetColumnSpan(this.uploadCheckBox, 4);
this.uploadCheckBox.Name = "uploadCheckBox";
this.uploadCheckBox.UseVisualStyleBackColor = true;
this.uploadCheckBox.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
this.uploadCheckBox.CheckedChanged += new System.EventHandler(this.uploadCheckBox_CheckedChanged);
//
// caseNumberLabel
//
@ -192,10 +174,6 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
resources.ApplyResources(this, "$this");
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.authenticationGroupBox.ResumeLayout(false);
this.authenticationGroupBox.PerformLayout();
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel2.PerformLayout();
this.ResumeLayout(false);
}
@ -208,8 +186,6 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
private System.Windows.Forms.TextBox m_textBoxName;
private XenAdmin.Controls.Common.PasswordFailure m_ctrlError;
private System.Windows.Forms.CheckBox uploadCheckBox;
private System.Windows.Forms.GroupBox authenticationGroupBox;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.Label usernameLabel;
private System.Windows.Forms.Label passwordLabel;
private System.Windows.Forms.TextBox passwordTextBox;

View File

@ -87,7 +87,6 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
public override void PageLoaded(PageLoadedDirection direction)
{
base.PageLoaded(direction);
EnableDisableAuthenticationControls();
PerformCheck(CheckPathValid, CheckCredentialsEntered);
}
@ -224,16 +223,6 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
return false;
}
private void EnableDisableAuthenticationControls()
{
if (!Visible)
return;
authenticationGroupBox.Enabled =
caseNumberLabel.Enabled = caseNumberTextBox.Enabled = optionalLabel.Enabled =
uploadCheckBox.Checked;
}
#region Control event handlers
private void m_textBoxName_TextChanged(object sender, EventArgs e)
@ -255,19 +244,20 @@ namespace XenAdmin.Wizards.BugToolWizardFiles
}
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
private void uploadCheckBox_CheckedChanged(object sender, EventArgs e)
{
EnableDisableAuthenticationControls();
PerformCheck(CheckPathValid, CheckCaseNumberValid, CheckCredentialsEntered);
}
private void credentials_TextChanged(object sender, EventArgs e)
{
uploadCheckBox.Checked = true;
PerformCheck(CheckPathValid, CheckCaseNumberValid, CheckCredentialsEntered);
}
private void caseNumberLabelTextBox_TextChanged(object sender, EventArgs e)
{
uploadCheckBox.Checked = true;
PerformCheck(CheckPathValid, CheckCaseNumberValid, CheckCredentialsEntered);
}

View File

@ -121,15 +121,6 @@
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="authenticationGroupBox.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tableLayoutPanel2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tableLayoutPanel2.ColumnCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="autoHeightLabel2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
@ -142,16 +133,16 @@
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="autoHeightLabel2.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
<value>30, 133</value>
</data>
<data name="autoHeightLabel2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 6</value>
<value>30, 3, 3, 6</value>
</data>
<data name="autoHeightLabel2.Size" type="System.Drawing.Size, System.Drawing">
<value>548, 26</value>
<value>536, 26</value>
</data>
<data name="autoHeightLabel2.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
<value>7</value>
</data>
<data name="autoHeightLabel2.Text" xml:space="preserve">
<value>Enter your MyCitrix credentials. These credentials will only be used to authenticate with Citrix Insight Services once and will not be stored on this machine or on your server.</value>
@ -163,34 +154,31 @@
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;autoHeightLabel2.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;autoHeightLabel2.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="usernameLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="usernameLabel.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="usernameLabel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="usernameLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="usernameLabel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="usernameLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 35</value>
<value>30, 171</value>
</data>
<data name="usernameLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
<value>30, 3, 3, 3</value>
</data>
<data name="usernameLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>91, 29</value>
<value>61, 13</value>
</data>
<data name="usernameLabel.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
<value>8</value>
</data>
<data name="usernameLabel.Text" xml:space="preserve">
<value>U&amp;ser name:</value>
@ -205,34 +193,31 @@
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;usernameLabel.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;usernameLabel.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="passwordLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="passwordLabel.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="passwordLabel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="passwordLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="passwordLabel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="passwordLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 64</value>
<value>30, 197</value>
</data>
<data name="passwordLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
<value>30, 3, 3, 3</value>
</data>
<data name="passwordLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>91, 29</value>
<value>56, 13</value>
</data>
<data name="passwordLabel.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
<value>10</value>
</data>
<data name="passwordLabel.Text" xml:space="preserve">
<value>P&amp;assword:</value>
@ -247,22 +232,19 @@
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;passwordLabel.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;passwordLabel.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="passwordTextBox.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="passwordTextBox.Location" type="System.Drawing.Point, System.Drawing">
<value>94, 67</value>
<value>108, 194</value>
</data>
<data name="passwordTextBox.Size" type="System.Drawing.Size, System.Drawing">
<value>246, 23</value>
<value>246, 20</value>
</data>
<data name="passwordTextBox.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
<value>11</value>
</data>
<data name="&gt;&gt;passwordTextBox.Name" xml:space="preserve">
<value>passwordTextBox</value>
@ -271,22 +253,19 @@
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;passwordTextBox.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;passwordTextBox.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="usernameTextBox.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="usernameTextBox.Location" type="System.Drawing.Point, System.Drawing">
<value>94, 38</value>
<value>108, 168</value>
</data>
<data name="usernameTextBox.Size" type="System.Drawing.Size, System.Drawing">
<value>246, 23</value>
<value>246, 20</value>
</data>
<data name="usernameTextBox.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
<value>9</value>
</data>
<data name="&gt;&gt;usernameTextBox.Name" xml:space="preserve">
<value>usernameTextBox</value>
@ -295,71 +274,11 @@
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;usernameTextBox.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;usernameTextBox.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="tableLayoutPanel2.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="tableLayoutPanel2.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 19</value>
</data>
<data name="tableLayoutPanel2.RowCount" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="tableLayoutPanel2.Size" type="System.Drawing.Size, System.Drawing">
<value>554, 93</value>
</data>
<data name="tableLayoutPanel2.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Name" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.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="&gt;&gt;tableLayoutPanel2.Parent" xml:space="preserve">
<value>authenticationGroupBox</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel2.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="autoHeightLabel2" Row="0" RowSpan="1" Column="0" ColumnSpan="3" /&gt;&lt;Control Name="usernameLabel" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="passwordLabel" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="passwordTextBox" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="usernameTextBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,91,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="authenticationGroupBox.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Top</value>
</data>
<data name="authenticationGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 133</value>
</data>
<data name="authenticationGroupBox.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>6, 6, 3, 3</value>
</data>
<data name="authenticationGroupBox.Size" type="System.Drawing.Size, System.Drawing">
<value>563, 115</value>
</data>
<data name="authenticationGroupBox.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="authenticationGroupBox.Text" xml:space="preserve">
<value>Authentication with Citrix Insight Services</value>
</data>
<data name="&gt;&gt;authenticationGroupBox.Name" xml:space="preserve">
<value>authenticationGroupBox</value>
</data>
<data name="&gt;&gt;authenticationGroupBox.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;authenticationGroupBox.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;authenticationGroupBox.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
@ -394,7 +313,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>1</value>
<value>5</value>
</data>
<data name="labelName.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
@ -430,16 +349,16 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;labelName.ZOrder" xml:space="preserve">
<value>2</value>
<value>6</value>
</data>
<data name="m_textBoxName.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="m_textBoxName.Location" type="System.Drawing.Point, System.Drawing">
<value>103, 28</value>
<value>108, 28</value>
</data>
<data name="m_textBoxName.Size" type="System.Drawing.Size, System.Drawing">
<value>382, 20</value>
<value>377, 20</value>
</data>
<data name="m_textBoxName.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@ -454,7 +373,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_textBoxName.ZOrder" xml:space="preserve">
<value>3</value>
<value>7</value>
</data>
<data name="labelFileLocation.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
@ -493,19 +412,19 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;labelFileLocation.ZOrder" xml:space="preserve">
<value>4</value>
<value>8</value>
</data>
<data name="m_textBoxLocation.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="m_textBoxLocation.Location" type="System.Drawing.Point, System.Drawing">
<value>103, 61</value>
<value>108, 61</value>
</data>
<data name="m_textBoxLocation.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 10, 3, 3</value>
</data>
<data name="m_textBoxLocation.Size" type="System.Drawing.Size, System.Drawing">
<value>382, 20</value>
<value>377, 20</value>
</data>
<data name="m_textBoxLocation.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
@ -520,7 +439,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_textBoxLocation.ZOrder" xml:space="preserve">
<value>5</value>
<value>9</value>
</data>
<data name="BrowseButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -550,7 +469,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;BrowseButton.ZOrder" xml:space="preserve">
<value>6</value>
<value>10</value>
</data>
<data name="m_ctrlError.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@ -565,7 +484,7 @@
<value />
</data>
<data name="m_ctrlError.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 287</value>
<value>0, 260</value>
</data>
<data name="m_ctrlError.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 10, 0, 0</value>
@ -574,7 +493,7 @@
<value>569, 22</value>
</data>
<data name="m_ctrlError.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
<value>15</value>
</data>
<data name="&gt;&gt;m_ctrlError.Name" xml:space="preserve">
<value>m_ctrlError</value>
@ -586,7 +505,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_ctrlError.ZOrder" xml:space="preserve">
<value>7</value>
<value>11</value>
</data>
<data name="uploadCheckBox.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@ -604,7 +523,7 @@
<value>254, 17</value>
</data>
<data name="uploadCheckBox.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
<value>6</value>
</data>
<data name="uploadCheckBox.Text" xml:space="preserve">
<value>&amp;Upload the status report to Citrix Insight Services</value>
@ -619,7 +538,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;uploadCheckBox.ZOrder" xml:space="preserve">
<value>8</value>
<value>12</value>
</data>
<data name="caseNumberLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
@ -631,16 +550,16 @@
<value>NoControl</value>
</data>
<data name="caseNumberLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 257</value>
<value>30, 230</value>
</data>
<data name="caseNumberLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 3</value>
<value>30, 10, 3, 3</value>
</data>
<data name="caseNumberLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>72, 13</value>
</data>
<data name="caseNumberLabel.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
<value>12</value>
</data>
<data name="caseNumberLabel.Text" xml:space="preserve">
<value>&amp;Case number:</value>
@ -655,16 +574,19 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;caseNumberLabel.ZOrder" xml:space="preserve">
<value>9</value>
<value>13</value>
</data>
<data name="caseNumberTextBox.Location" type="System.Drawing.Point, System.Drawing">
<value>103, 254</value>
<value>108, 227</value>
</data>
<data name="caseNumberTextBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 10, 3, 3</value>
</data>
<data name="caseNumberTextBox.Size" type="System.Drawing.Size, System.Drawing">
<value>246, 20</value>
</data>
<data name="caseNumberTextBox.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
<value>13</value>
</data>
<data name="&gt;&gt;caseNumberTextBox.Name" xml:space="preserve">
<value>caseNumberTextBox</value>
@ -676,7 +598,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;caseNumberTextBox.ZOrder" xml:space="preserve">
<value>10</value>
<value>14</value>
</data>
<data name="optionalLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
@ -688,16 +610,16 @@
<value>NoControl</value>
</data>
<data name="optionalLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>355, 257</value>
<value>360, 230</value>
</data>
<data name="optionalLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 3</value>
<value>3, 10, 3, 3</value>
</data>
<data name="optionalLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>50, 13</value>
</data>
<data name="optionalLabel.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
<value>14</value>
</data>
<data name="optionalLabel.Text" xml:space="preserve">
<value>(optional)</value>
@ -712,7 +634,7 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;optionalLabel.ZOrder" xml:space="preserve">
<value>11</value>
<value>15</value>
</data>
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
@ -724,7 +646,7 @@
<value>0, 0, 0, 0</value>
</data>
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
<value>8</value>
<value>10</value>
</data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>569, 419</value>
@ -745,7 +667,7 @@
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="authenticationGroupBox" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="label2" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="labelName" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_textBoxName" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="labelFileLocation" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_textBoxLocation" Row="2" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="BrowseButton" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="m_ctrlError" Row="6" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="uploadCheckBox" Row="3" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="caseNumberLabel" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="caseNumberTextBox" Row="5" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="optionalLabel" Row="5" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,100,AutoSize,100,Percent,50,AutoSize,0" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="autoHeightLabel2" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="usernameLabel" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="passwordLabel" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="passwordTextBox" Row="6" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="usernameTextBox" Row="5" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="labelName" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_textBoxName" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="labelFileLocation" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_textBoxLocation" Row="2" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="BrowseButton" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="m_ctrlError" Row="8" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="uploadCheckBox" Row="3" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="caseNumberLabel" Row="7" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="caseNumberTextBox" Row="7" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="optionalLabel" Row="7" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,100,AutoSize,100,Percent,100,AutoSize,0" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,24,AutoSize,0,AutoSize,100,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>

View File

@ -134,7 +134,7 @@ namespace XenAdmin.Wizards
var uploadAction = new Actions.UploadServerStatusReportAction(bugToolPageDestination1.OutputFile,
bugToolPageDestination1.UploadToken, bugToolPageDestination1.CaseNumber,
Registry.HealthCheckUploadDomainName, false);
dialog = new ActionProgressDialog(uploadAction, ProgressBarStyle.Blocks) {ShowCancel = true};
dialog = new ActionProgressDialog(uploadAction, ProgressBarStyle.Marquee) {ShowCancel = true};
dialog.ShowDialog();
}