Added code to add figures and roimages to export and import processes

Revised user interface and added improvements to overall process
Added code to change Batch Refresh to Administrative Tools
This commit is contained in:
Rich
2015-02-18 02:35:11 +00:00
parent 24e3a9d7f5
commit f16fcf1470
5 changed files with 612 additions and 491 deletions

View File

@@ -30,11 +30,11 @@ namespace VEPROMS
{
this.scBatch = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.rbBoth = new System.Windows.Forms.RadioButton();
this.lblWarning = new System.Windows.Forms.Label();
this.lblDescription = new System.Windows.Forms.Label();
this.lblCaption = new System.Windows.Forms.Label();
this.cbxAdminTools = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.rbRefObj = new System.Windows.Forms.RadioButton();
this.rbTransition = new System.Windows.Forms.RadioButton();
this.rbUpdate = new System.Windows.Forms.RadioButton();
this.myTV = new System.Windows.Forms.TreeView();
this.label2 = new System.Windows.Forms.Label();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
@@ -48,15 +48,13 @@ namespace VEPROMS
this.dtpTime = new System.Windows.Forms.DateTimePicker();
this.dtpDate = new System.Windows.Forms.DateTimePicker();
this.btnRefresh = new System.Windows.Forms.Button();
this.rbLater = new System.Windows.Forms.RadioButton();
this.rbNow = new System.Windows.Forms.RadioButton();
this.chkLater = new System.Windows.Forms.CheckBox();
this.label4 = new System.Windows.Forms.Label();
this.txtResults = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.btnSave = new System.Windows.Forms.Button();
this.btnClear = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.btBatch = new DevComponents.DotNetBar.BalloonTip();
this.scBatch.Panel1.SuspendLayout();
this.scBatch.Panel2.SuspendLayout();
this.scBatch.SuspendLayout();
@@ -100,30 +98,55 @@ namespace VEPROMS
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.rbBoth);
this.splitContainer2.Panel1.Controls.Add(this.lblWarning);
this.splitContainer2.Panel1.Controls.Add(this.lblDescription);
this.splitContainer2.Panel1.Controls.Add(this.lblCaption);
this.splitContainer2.Panel1.Controls.Add(this.cbxAdminTools);
this.splitContainer2.Panel1.Controls.Add(this.label1);
this.splitContainer2.Panel1.Controls.Add(this.rbRefObj);
this.splitContainer2.Panel1.Controls.Add(this.rbTransition);
this.splitContainer2.Panel1.Controls.Add(this.rbUpdate);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.myTV);
this.splitContainer2.Panel2.Controls.Add(this.label2);
this.splitContainer2.Size = new System.Drawing.Size(300, 472);
this.splitContainer2.SplitterDistance = 120;
this.splitContainer2.SplitterDistance = 219;
this.splitContainer2.TabIndex = 0;
//
// rbBoth
// lblWarning
//
this.rbBoth.AutoSize = true;
this.rbBoth.Location = new System.Drawing.Point(12, 72);
this.rbBoth.Name = "rbBoth";
this.rbBoth.Size = new System.Drawing.Size(195, 17);
this.rbBoth.TabIndex = 2;
this.rbBoth.Text = "Refresh Transitions and Referenced Objects";
this.rbBoth.UseVisualStyleBackColor = true;
this.rbBoth.Click += new System.EventHandler(this.Options_Changed);
this.lblWarning.BackColor = System.Drawing.Color.PaleGoldenrod;
this.lblWarning.ForeColor = System.Drawing.Color.Red;
this.lblWarning.Location = new System.Drawing.Point(5, 175);
this.lblWarning.Name = "lblWarning";
this.lblWarning.Size = new System.Drawing.Size(290, 38);
this.lblWarning.TabIndex = 4;
this.lblWarning.Visible = false;
//
// lblDescription
//
this.lblDescription.Location = new System.Drawing.Point(5, 66);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(290, 109);
this.lblDescription.TabIndex = 3;
//
// lblCaption
//
this.lblCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblCaption.Location = new System.Drawing.Point(5, 48);
this.lblCaption.Name = "lblCaption";
this.lblCaption.Size = new System.Drawing.Size(290, 19);
this.lblCaption.TabIndex = 2;
this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// cbxAdminTools
//
this.cbxAdminTools.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbxAdminTools.FormattingEnabled = true;
this.cbxAdminTools.Location = new System.Drawing.Point(5, 27);
this.cbxAdminTools.Name = "cbxAdminTools";
this.cbxAdminTools.Size = new System.Drawing.Size(290, 21);
this.cbxAdminTools.TabIndex = 1;
this.cbxAdminTools.SelectedIndexChanged += new System.EventHandler(this.cbxAdminTools_SelectedIndexChanged);
//
// label1
//
@@ -137,46 +160,13 @@ namespace VEPROMS
this.label1.Text = "Options";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// rbRefObj
//
this.rbRefObj.AutoSize = true;
this.rbRefObj.Location = new System.Drawing.Point(12, 49);
this.rbRefObj.Name = "rbRefObj";
this.rbRefObj.Size = new System.Drawing.Size(144, 17);
this.rbRefObj.TabIndex = 1;
this.rbRefObj.Text = "Refresh Referenced Objects Only";
this.rbRefObj.UseVisualStyleBackColor = true;
this.rbRefObj.Click += new System.EventHandler(this.Options_Changed);
//
// rbTransition
//
this.rbTransition.AutoSize = true;
this.rbTransition.Location = new System.Drawing.Point(12, 26);
this.rbTransition.Name = "rbTransition";
this.rbTransition.Size = new System.Drawing.Size(100, 17);
this.rbTransition.TabIndex = 0;
this.rbTransition.Text = "Refresh Transitions Only";
this.rbTransition.UseVisualStyleBackColor = true;
this.rbTransition.Click += new System.EventHandler(this.Options_Changed);
//
// rbUpdate
//
this.rbUpdate.AutoSize = true;
this.rbUpdate.Location = new System.Drawing.Point(12, 94);
this.rbUpdate.Name = "rbUpdate";
this.rbUpdate.Size = new System.Drawing.Size(100, 17);
this.rbUpdate.TabIndex = 0;
this.rbUpdate.Text = "Update RO Values";
this.rbUpdate.UseVisualStyleBackColor = true;
this.rbUpdate.Click += new System.EventHandler(this.Options_Changed);
//
// myTV
//
this.myTV.CheckBoxes = true;
this.myTV.Dock = System.Windows.Forms.DockStyle.Fill;
this.myTV.Location = new System.Drawing.Point(0, 23);
this.myTV.Name = "myTV";
this.myTV.Size = new System.Drawing.Size(300, 338);
this.myTV.Size = new System.Drawing.Size(300, 226);
this.myTV.TabIndex = 4;
this.myTV.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.myTV_AfterCheck);
//
@@ -231,17 +221,17 @@ namespace VEPROMS
this.txtProcess.AcceptsReturn = true;
this.txtProcess.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtProcess.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtProcess.Location = new System.Drawing.Point(0, 188);
this.txtProcess.Location = new System.Drawing.Point(0, 145);
this.txtProcess.Multiline = true;
this.txtProcess.Name = "txtProcess";
this.txtProcess.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.txtProcess.Size = new System.Drawing.Size(298, 259);
this.txtProcess.Size = new System.Drawing.Size(298, 302);
this.txtProcess.TabIndex = 5;
//
// pbProcess
//
this.pbProcess.Dock = System.Windows.Forms.DockStyle.Top;
this.pbProcess.Location = new System.Drawing.Point(0, 165);
this.pbProcess.Location = new System.Drawing.Point(0, 122);
this.pbProcess.Name = "pbProcess";
this.pbProcess.Size = new System.Drawing.Size(298, 23);
this.pbProcess.TabIndex = 6;
@@ -251,7 +241,7 @@ namespace VEPROMS
this.label6.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label6.Dock = System.Windows.Forms.DockStyle.Top;
this.label6.Location = new System.Drawing.Point(0, 142);
this.label6.Location = new System.Drawing.Point(0, 99);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(298, 23);
this.label6.TabIndex = 3;
@@ -262,13 +252,12 @@ namespace VEPROMS
//
this.panel3.Controls.Add(this.pnlLater);
this.panel3.Controls.Add(this.btnRefresh);
this.panel3.Controls.Add(this.rbLater);
this.panel3.Controls.Add(this.rbNow);
this.panel3.Controls.Add(this.chkLater);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3";
this.panel3.Padding = new System.Windows.Forms.Padding(6);
this.panel3.Size = new System.Drawing.Size(298, 142);
this.panel3.Size = new System.Drawing.Size(298, 99);
this.panel3.TabIndex = 2;
//
// pnlLater
@@ -278,7 +267,7 @@ namespace VEPROMS
this.pnlLater.Controls.Add(this.dtpDate);
this.pnlLater.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlLater.Enabled = false;
this.pnlLater.Location = new System.Drawing.Point(6, 66);
this.pnlLater.Location = new System.Drawing.Point(6, 23);
this.pnlLater.Name = "pnlLater";
this.pnlLater.Padding = new System.Windows.Forms.Padding(6);
this.pnlLater.Size = new System.Drawing.Size(286, 37);
@@ -314,7 +303,7 @@ namespace VEPROMS
// btnRefresh
//
this.btnRefresh.Dock = System.Windows.Forms.DockStyle.Bottom;
this.btnRefresh.Location = new System.Drawing.Point(6, 108);
this.btnRefresh.Location = new System.Drawing.Point(6, 65);
this.btnRefresh.Name = "btnRefresh";
this.btnRefresh.Size = new System.Drawing.Size(286, 28);
this.btnRefresh.TabIndex = 1;
@@ -322,29 +311,17 @@ namespace VEPROMS
this.btnRefresh.UseVisualStyleBackColor = true;
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
//
// rbLater
// chkLater
//
this.rbLater.Dock = System.Windows.Forms.DockStyle.Top;
this.rbLater.Location = new System.Drawing.Point(6, 36);
this.rbLater.Name = "rbLater";
this.rbLater.Size = new System.Drawing.Size(286, 30);
this.rbLater.TabIndex = 2;
this.rbLater.Text = "Process Later";
this.rbLater.UseVisualStyleBackColor = true;
this.rbLater.CheckedChanged += new System.EventHandler(this.schedule_Click);
//
// rbNow
//
this.rbNow.Checked = true;
this.rbNow.Dock = System.Windows.Forms.DockStyle.Top;
this.rbNow.Location = new System.Drawing.Point(6, 6);
this.rbNow.Name = "rbNow";
this.rbNow.Size = new System.Drawing.Size(286, 30);
this.rbNow.TabIndex = 1;
this.rbNow.TabStop = true;
this.rbNow.Text = "Process Now";
this.rbNow.UseVisualStyleBackColor = true;
this.rbNow.CheckedChanged += new System.EventHandler(this.schedule_Click);
this.chkLater.AutoSize = true;
this.chkLater.Dock = System.Windows.Forms.DockStyle.Top;
this.chkLater.Location = new System.Drawing.Point(6, 6);
this.chkLater.Name = "chkLater";
this.chkLater.Size = new System.Drawing.Size(286, 17);
this.chkLater.TabIndex = 4;
this.chkLater.Text = "Process Later";
this.chkLater.UseVisualStyleBackColor = true;
this.chkLater.CheckedChanged += new System.EventHandler(this.chkLater_CheckedChanged);
//
// label4
//
@@ -414,11 +391,6 @@ namespace VEPROMS
this.label3.Text = "Results";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btBatch
//
this.btBatch.AutoCloseTimeOut = 0;
this.btBatch.BalloonDisplaying += new System.EventHandler(this.btBatch_BalloonDisplaying);
//
// frmBatchRefresh
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -430,13 +402,12 @@ namespace VEPROMS
this.MinimizeBox = false;
this.Name = "frmBatchRefresh";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Batch Refresh";
this.Text = "Administrative Tools";
this.Load += new System.EventHandler(this.frmBatchRefresh_Load);
this.scBatch.Panel1.ResumeLayout(false);
this.scBatch.Panel2.ResumeLayout(false);
this.scBatch.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel1.PerformLayout();
this.splitContainer2.Panel2.ResumeLayout(false);
this.splitContainer2.ResumeLayout(false);
this.splitContainer1.Panel1.ResumeLayout(false);
@@ -446,6 +417,7 @@ namespace VEPROMS
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.pnlLater.ResumeLayout(false);
this.pnlLater.PerformLayout();
this.panel1.ResumeLayout(false);
@@ -456,10 +428,6 @@ namespace VEPROMS
#endregion
private System.Windows.Forms.SplitContainer scBatch;
private System.Windows.Forms.RadioButton rbBoth;
private System.Windows.Forms.RadioButton rbRefObj;
private System.Windows.Forms.RadioButton rbTransition;
private System.Windows.Forms.RadioButton rbUpdate;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnClear;
@@ -476,13 +444,15 @@ namespace VEPROMS
private System.Windows.Forms.TreeView myTV;
private System.Windows.Forms.DateTimePicker dtpTime;
private System.Windows.Forms.DateTimePicker dtpDate;
private System.Windows.Forms.RadioButton rbLater;
private System.Windows.Forms.RadioButton rbNow;
private System.Windows.Forms.Panel pnlLater;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtProcess;
private System.Windows.Forms.ProgressBar pbProcess;
private DevComponents.DotNetBar.BalloonTip btBatch;
private System.Windows.Forms.ComboBox cbxAdminTools;
private System.Windows.Forms.Label lblCaption;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label lblWarning;
private System.Windows.Forms.CheckBox chkLater;
}
}