logic to save word sections with resolved RO values for exporting the approved procedure

logic to create an export file with unlinked RO and Transition
Commented out debug statements to help evaluate memory usage
This commit is contained in:
jjenko committed 2016-02-18 15:29:25 +00:00
1 parent 6ae1fcda1a
commit 8cd75c0c14
7 files changed
+820 -734

No files matched your search

+370 -372
View File
@@ -28,379 +28,377 @@ namespace VEPROMS
/// </summary>
private void InitializeComponent()
{
this.pnlExport = new System.Windows.Forms.Panel();
this.btnCloseExport = new System.Windows.Forms.Button();
this.lblExportTime = new System.Windows.Forms.Label();
this.lblExportStatus = new System.Windows.Forms.Label();
this.pbExportStep = new System.Windows.Forms.ProgressBar();
this.lblExportStep = new System.Windows.Forms.Label();
this.pbExportSection = new System.Windows.Forms.ProgressBar();
this.lblExportSection = new System.Windows.Forms.Label();
this.pbExportProcedure = new System.Windows.Forms.ProgressBar();
this.lblExportProcedure = new System.Windows.Forms.Label();
this.btnDoExport = new System.Windows.Forms.Button();
this.btnExport = new System.Windows.Forms.Button();
this.txtExport = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.pnlImport = new System.Windows.Forms.Panel();
this.btnCloseImport = new System.Windows.Forms.Button();
this.lblImportTime = new System.Windows.Forms.Label();
this.lblImportStatus = new System.Windows.Forms.Label();
this.pbImportStep = new System.Windows.Forms.ProgressBar();
this.lblImportStep = new System.Windows.Forms.Label();
this.pbImportSection = new System.Windows.Forms.ProgressBar();
this.lblImportSection = new System.Windows.Forms.Label();
this.pbImportProcedure = new System.Windows.Forms.ProgressBar();
this.lblImportProcedure = new System.Windows.Forms.Label();
this.btnDoImport = new System.Windows.Forms.Button();
this.btnImport = new System.Windows.Forms.Button();
this.txtImport = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.ofd = new System.Windows.Forms.OpenFileDialog();
this.sfd = new System.Windows.Forms.SaveFileDialog();
this.cbxExportAudits = new System.Windows.Forms.CheckBox();
this.cbxImportAudits = new System.Windows.Forms.CheckBox();
this.pnlExport.SuspendLayout();
this.pnlImport.SuspendLayout();
this.SuspendLayout();
//
// pnlExport
//
this.pnlExport.Controls.Add(this.cbxExportAudits);
this.pnlExport.Controls.Add(this.btnCloseExport);
this.pnlExport.Controls.Add(this.lblExportTime);
this.pnlExport.Controls.Add(this.lblExportStatus);
this.pnlExport.Controls.Add(this.pbExportStep);
this.pnlExport.Controls.Add(this.lblExportStep);
this.pnlExport.Controls.Add(this.pbExportSection);
this.pnlExport.Controls.Add(this.lblExportSection);
this.pnlExport.Controls.Add(this.pbExportProcedure);
this.pnlExport.Controls.Add(this.lblExportProcedure);
this.pnlExport.Controls.Add(this.btnDoExport);
this.pnlExport.Controls.Add(this.btnExport);
this.pnlExport.Controls.Add(this.txtExport);
this.pnlExport.Controls.Add(this.label1);
this.pnlExport.Location = new System.Drawing.Point(12, 12);
this.pnlExport.Name = "pnlExport";
this.pnlExport.Size = new System.Drawing.Size(618, 199);
this.pnlExport.TabIndex = 0;
//
// btnCloseExport
//
this.btnCloseExport.Enabled = false;
this.btnCloseExport.Location = new System.Drawing.Point(562, 32);
this.btnCloseExport.Name = "btnCloseExport";
this.btnCloseExport.Size = new System.Drawing.Size(53, 23);
this.btnCloseExport.TabIndex = 12;
this.btnCloseExport.Text = "Close";
this.btnCloseExport.UseVisualStyleBackColor = true;
this.btnCloseExport.Click += new System.EventHandler(this.btnCloseExport_Click);
//
// lblExportTime
//
this.lblExportTime.AutoSize = true;
this.lblExportTime.Location = new System.Drawing.Point(392, 29);
this.lblExportTime.Name = "lblExportTime";
this.lblExportTime.Size = new System.Drawing.Size(28, 13);
this.lblExportTime.TabIndex = 11;
this.lblExportTime.Text = "0:00";
this.lblExportTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblExportStatus
//
this.lblExportStatus.AutoSize = true;
this.lblExportStatus.Location = new System.Drawing.Point(140, 30);
this.lblExportStatus.Name = "lblExportStatus";
this.lblExportStatus.Size = new System.Drawing.Size(133, 13);
this.lblExportStatus.TabIndex = 10;
this.lblExportStatus.Text = "Awaiting Export File Name:";
//
// pbExportStep
//
this.pbExportStep.Location = new System.Drawing.Point(15, 155);
this.pbExportStep.Name = "pbExportStep";
this.pbExportStep.Size = new System.Drawing.Size(561, 20);
this.pbExportStep.Step = 1;
this.pbExportStep.TabIndex = 9;
//
// lblExportStep
//
this.lblExportStep.AutoSize = true;
this.lblExportStep.Location = new System.Drawing.Point(12, 139);
this.lblExportStep.Name = "lblExportStep";
this.lblExportStep.Size = new System.Drawing.Size(34, 13);
this.lblExportStep.TabIndex = 8;
this.lblExportStep.Text = "Steps";
//
// pbExportSection
//
this.pbExportSection.Location = new System.Drawing.Point(15, 116);
this.pbExportSection.Name = "pbExportSection";
this.pbExportSection.Size = new System.Drawing.Size(561, 20);
this.pbExportSection.Step = 1;
this.pbExportSection.TabIndex = 7;
//
// lblExportSection
//
this.lblExportSection.AutoSize = true;
this.lblExportSection.Location = new System.Drawing.Point(12, 100);
this.lblExportSection.Name = "lblExportSection";
this.lblExportSection.Size = new System.Drawing.Size(48, 13);
this.lblExportSection.TabIndex = 6;
this.lblExportSection.Text = "Sections";
//
// pbExportProcedure
//
this.pbExportProcedure.Location = new System.Drawing.Point(15, 77);
this.pbExportProcedure.Name = "pbExportProcedure";
this.pbExportProcedure.Size = new System.Drawing.Size(561, 20);
this.pbExportProcedure.Step = 1;
this.pbExportProcedure.TabIndex = 5;
//
// lblExportProcedure
//
this.lblExportProcedure.AutoSize = true;
this.lblExportProcedure.Location = new System.Drawing.Point(12, 61);
this.lblExportProcedure.Name = "lblExportProcedure";
this.lblExportProcedure.Size = new System.Drawing.Size(61, 13);
this.lblExportProcedure.TabIndex = 4;
this.lblExportProcedure.Text = "Procedures";
//
// btnDoExport
//
this.btnDoExport.Enabled = false;
this.btnDoExport.Location = new System.Drawing.Point(15, 25);
this.btnDoExport.Name = "btnDoExport";
this.btnDoExport.Size = new System.Drawing.Size(119, 23);
this.btnDoExport.TabIndex = 3;
this.btnDoExport.Text = "Process Export";
this.btnDoExport.UseVisualStyleBackColor = true;
this.btnDoExport.Click += new System.EventHandler(this.btnDoExport_Click);
//
// btnExport
//
this.btnExport.Location = new System.Drawing.Point(582, 3);
this.btnExport.Name = "btnExport";
this.btnExport.Size = new System.Drawing.Size(25, 23);
this.btnExport.TabIndex = 2;
this.btnExport.Text = "...";
this.btnExport.UseVisualStyleBackColor = true;
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
//
// txtExport
//
this.txtExport.Location = new System.Drawing.Point(141, 6);
this.txtExport.Name = "txtExport";
this.txtExport.ReadOnly = true;
this.txtExport.Size = new System.Drawing.Size(435, 20);
this.txtExport.TabIndex = 1;
this.txtExport.TextChanged += new System.EventHandler(this.txtExport_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(123, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Select Export File Name:";
//
// pnlImport
//
this.pnlImport.Controls.Add(this.cbxImportAudits);
this.pnlImport.Controls.Add(this.btnCloseImport);
this.pnlImport.Controls.Add(this.lblImportTime);
this.pnlImport.Controls.Add(this.lblImportStatus);
this.pnlImport.Controls.Add(this.pbImportStep);
this.pnlImport.Controls.Add(this.lblImportStep);
this.pnlImport.Controls.Add(this.pbImportSection);
this.pnlImport.Controls.Add(this.lblImportSection);
this.pnlImport.Controls.Add(this.pbImportProcedure);
this.pnlImport.Controls.Add(this.lblImportProcedure);
this.pnlImport.Controls.Add(this.btnDoImport);
this.pnlImport.Controls.Add(this.btnImport);
this.pnlImport.Controls.Add(this.txtImport);
this.pnlImport.Controls.Add(this.label2);
this.pnlImport.Location = new System.Drawing.Point(12, 217);
this.pnlImport.Name = "pnlImport";
this.pnlImport.Size = new System.Drawing.Size(618, 225);
this.pnlImport.TabIndex = 1;
//
// btnCloseImport
//
this.btnCloseImport.Enabled = false;
this.btnCloseImport.Location = new System.Drawing.Point(562, 33);
this.btnCloseImport.Name = "btnCloseImport";
this.btnCloseImport.Size = new System.Drawing.Size(53, 23);
this.btnCloseImport.TabIndex = 18;
this.btnCloseImport.Text = "Close";
this.btnCloseImport.UseVisualStyleBackColor = true;
this.btnCloseImport.Click += new System.EventHandler(this.btnCloseImport_Click);
//
// lblImportTime
//
this.lblImportTime.AutoSize = true;
this.lblImportTime.Location = new System.Drawing.Point(392, 30);
this.lblImportTime.Name = "lblImportTime";
this.lblImportTime.Size = new System.Drawing.Size(28, 13);
this.lblImportTime.TabIndex = 17;
this.lblImportTime.Text = "0.00";
this.lblImportTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblImportStatus
//
this.lblImportStatus.AutoSize = true;
this.lblImportStatus.Location = new System.Drawing.Point(137, 31);
this.lblImportStatus.Name = "lblImportStatus";
this.lblImportStatus.Size = new System.Drawing.Size(132, 13);
this.lblImportStatus.TabIndex = 16;
this.lblImportStatus.Text = "Awaiting Import File Name:";
//
// pbImportStep
//
this.pbImportStep.Location = new System.Drawing.Point(15, 156);
this.pbImportStep.Name = "pbImportStep";
this.pbImportStep.Size = new System.Drawing.Size(561, 20);
this.pbImportStep.Step = 1;
this.pbImportStep.TabIndex = 15;
//
// lblImportStep
//
this.lblImportStep.AutoSize = true;
this.lblImportStep.Location = new System.Drawing.Point(12, 140);
this.lblImportStep.Name = "lblImportStep";
this.lblImportStep.Size = new System.Drawing.Size(34, 13);
this.lblImportStep.TabIndex = 14;
this.lblImportStep.Text = "Steps";
//
// pbImportSection
//
this.pbImportSection.Location = new System.Drawing.Point(14, 117);
this.pbImportSection.Name = "pbImportSection";
this.pbImportSection.Size = new System.Drawing.Size(561, 20);
this.pbImportSection.Step = 1;
this.pbImportSection.TabIndex = 13;
//
// lblImportSection
//
this.lblImportSection.AutoSize = true;
this.lblImportSection.Location = new System.Drawing.Point(12, 101);
this.lblImportSection.Name = "lblImportSection";
this.lblImportSection.Size = new System.Drawing.Size(48, 13);
this.lblImportSection.TabIndex = 12;
this.lblImportSection.Text = "Sections";
//
// pbImportProcedure
//
this.pbImportProcedure.Location = new System.Drawing.Point(14, 78);
this.pbImportProcedure.Name = "pbImportProcedure";
this.pbImportProcedure.Size = new System.Drawing.Size(561, 20);
this.pbImportProcedure.Step = 1;
this.pbImportProcedure.TabIndex = 11;
//
// lblImportProcedure
//
this.lblImportProcedure.AutoSize = true;
this.lblImportProcedure.Location = new System.Drawing.Point(12, 62);
this.lblImportProcedure.Name = "lblImportProcedure";
this.lblImportProcedure.Size = new System.Drawing.Size(61, 13);
this.lblImportProcedure.TabIndex = 10;
this.lblImportProcedure.Text = "Procedures";
//
// btnDoImport
//
this.btnDoImport.Enabled = false;
this.btnDoImport.Location = new System.Drawing.Point(15, 26);
this.btnDoImport.Name = "btnDoImport";
this.btnDoImport.Size = new System.Drawing.Size(119, 23);
this.btnDoImport.TabIndex = 5;
this.btnDoImport.Text = "Process Import";
this.btnDoImport.UseVisualStyleBackColor = true;
this.btnDoImport.Click += new System.EventHandler(this.btnDoImport_Click);
//
// btnImport
//
this.btnImport.Location = new System.Drawing.Point(581, 4);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(25, 23);
this.btnImport.TabIndex = 4;
this.btnImport.Text = "...";
this.btnImport.UseVisualStyleBackColor = true;
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// txtImport
//
this.txtImport.Location = new System.Drawing.Point(140, 7);
this.txtImport.Name = "txtImport";
this.txtImport.ReadOnly = true;
this.txtImport.Size = new System.Drawing.Size(435, 20);
this.txtImport.TabIndex = 3;
this.txtImport.TextChanged += new System.EventHandler(this.txtImport_TextChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 10);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(122, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Select Import File Name:";
//
// ofd
//
this.ofd.AddExtension = false;
this.ofd.Filter = "PROMS Export Files|*.expx";
this.ofd.Title = "Import File Name";
//
// sfd
//
this.sfd.DefaultExt = "expx";
this.sfd.Filter = "PROMS Export Files|*.expx";
this.sfd.Title = "Export File Name";
//
// cbxExportAudits
//
this.cbxExportAudits.AutoSize = true;
this.cbxExportAudits.Location = new System.Drawing.Point(141, 47);
this.cbxExportAudits.Name = "cbxExportAudits";
this.cbxExportAudits.Size = new System.Drawing.Size(123, 17);
this.cbxExportAudits.TabIndex = 13;
this.cbxExportAudits.Text = "Include Audit History";
this.cbxExportAudits.UseVisualStyleBackColor = true;
this.cbxExportAudits.Checked = false;
this.pnlExport = new System.Windows.Forms.Panel();
this.cbxExportAudits = new System.Windows.Forms.CheckBox();
this.btnCloseExport = new System.Windows.Forms.Button();
this.lblExportTime = new System.Windows.Forms.Label();
this.lblExportStatus = new System.Windows.Forms.Label();
this.pbExportStep = new System.Windows.Forms.ProgressBar();
this.lblExportStep = new System.Windows.Forms.Label();
this.pbExportSection = new System.Windows.Forms.ProgressBar();
this.lblExportSection = new System.Windows.Forms.Label();
this.pbExportProcedure = new System.Windows.Forms.ProgressBar();
this.lblExportProcedure = new System.Windows.Forms.Label();
this.btnDoExport = new System.Windows.Forms.Button();
this.btnExport = new System.Windows.Forms.Button();
this.txtExport = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.pnlImport = new System.Windows.Forms.Panel();
this.cbxImportAudits = new System.Windows.Forms.CheckBox();
this.btnCloseImport = new System.Windows.Forms.Button();
this.lblImportTime = new System.Windows.Forms.Label();
this.lblImportStatus = new System.Windows.Forms.Label();
this.pbImportStep = new System.Windows.Forms.ProgressBar();
this.lblImportStep = new System.Windows.Forms.Label();
this.pbImportSection = new System.Windows.Forms.ProgressBar();
this.lblImportSection = new System.Windows.Forms.Label();
this.pbImportProcedure = new System.Windows.Forms.ProgressBar();
this.lblImportProcedure = new System.Windows.Forms.Label();
this.btnDoImport = new System.Windows.Forms.Button();
this.btnImport = new System.Windows.Forms.Button();
this.txtImport = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.ofd = new System.Windows.Forms.OpenFileDialog();
this.sfd = new System.Windows.Forms.SaveFileDialog();
this.pnlExport.SuspendLayout();
this.pnlImport.SuspendLayout();
this.SuspendLayout();
//
// pnlExport
//
this.pnlExport.Controls.Add(this.cbxExportAudits);
this.pnlExport.Controls.Add(this.btnCloseExport);
this.pnlExport.Controls.Add(this.lblExportTime);
this.pnlExport.Controls.Add(this.lblExportStatus);
this.pnlExport.Controls.Add(this.pbExportStep);
this.pnlExport.Controls.Add(this.lblExportStep);
this.pnlExport.Controls.Add(this.pbExportSection);
this.pnlExport.Controls.Add(this.lblExportSection);
this.pnlExport.Controls.Add(this.pbExportProcedure);
this.pnlExport.Controls.Add(this.lblExportProcedure);
this.pnlExport.Controls.Add(this.btnDoExport);
this.pnlExport.Controls.Add(this.btnExport);
this.pnlExport.Controls.Add(this.txtExport);
this.pnlExport.Controls.Add(this.label1);
this.pnlExport.Location = new System.Drawing.Point(12, 12);
this.pnlExport.Name = "pnlExport";
this.pnlExport.Size = new System.Drawing.Size(618, 199);
this.pnlExport.TabIndex = 0;
//
// cbxExportAudits
//
this.cbxExportAudits.AutoSize = true;
this.cbxExportAudits.Location = new System.Drawing.Point(141, 54);
this.cbxExportAudits.Name = "cbxExportAudits";
this.cbxExportAudits.Size = new System.Drawing.Size(123, 17);
this.cbxExportAudits.TabIndex = 13;
this.cbxExportAudits.Text = "Include Audit History";
this.cbxExportAudits.UseVisualStyleBackColor = true;
this.cbxExportAudits.Visible = false;
//
// cbxImportAudits
//
this.cbxImportAudits.AutoSize = true;
this.cbxImportAudits.Location = new System.Drawing.Point(140, 47);
this.cbxImportAudits.Name = "cbxImportAudits";
this.cbxImportAudits.Size = new System.Drawing.Size(182, 17);
this.cbxImportAudits.TabIndex = 19;
this.cbxImportAudits.Text = "Include Audit History (if available)";
this.cbxImportAudits.UseVisualStyleBackColor = true;
this.cbxImportAudits.Checked = false;
//
// btnCloseExport
//
this.btnCloseExport.Enabled = false;
this.btnCloseExport.Location = new System.Drawing.Point(562, 32);
this.btnCloseExport.Name = "btnCloseExport";
this.btnCloseExport.Size = new System.Drawing.Size(53, 23);
this.btnCloseExport.TabIndex = 12;
this.btnCloseExport.Text = "Close";
this.btnCloseExport.UseVisualStyleBackColor = true;
this.btnCloseExport.Click += new System.EventHandler(this.btnCloseExport_Click);
//
// lblExportTime
//
this.lblExportTime.AutoSize = true;
this.lblExportTime.Location = new System.Drawing.Point(392, 29);
this.lblExportTime.Name = "lblExportTime";
this.lblExportTime.Size = new System.Drawing.Size(28, 13);
this.lblExportTime.TabIndex = 11;
this.lblExportTime.Text = "0:00";
this.lblExportTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblExportStatus
//
this.lblExportStatus.AutoSize = true;
this.lblExportStatus.Location = new System.Drawing.Point(140, 30);
this.lblExportStatus.Name = "lblExportStatus";
this.lblExportStatus.Size = new System.Drawing.Size(133, 13);
this.lblExportStatus.TabIndex = 10;
this.lblExportStatus.Text = "Awaiting Export File Name:";
//
// pbExportStep
//
this.pbExportStep.Location = new System.Drawing.Point(15, 155);
this.pbExportStep.Name = "pbExportStep";
this.pbExportStep.Size = new System.Drawing.Size(561, 20);
this.pbExportStep.Step = 1;
this.pbExportStep.TabIndex = 9;
//
// lblExportStep
//
this.lblExportStep.AutoSize = true;
this.lblExportStep.Location = new System.Drawing.Point(12, 139);
this.lblExportStep.Name = "lblExportStep";
this.lblExportStep.Size = new System.Drawing.Size(34, 13);
this.lblExportStep.TabIndex = 8;
this.lblExportStep.Text = "Steps";
//
// pbExportSection
//
this.pbExportSection.Location = new System.Drawing.Point(15, 116);
this.pbExportSection.Name = "pbExportSection";
this.pbExportSection.Size = new System.Drawing.Size(561, 20);
this.pbExportSection.Step = 1;
this.pbExportSection.TabIndex = 7;
//
// lblExportSection
//
this.lblExportSection.AutoSize = true;
this.lblExportSection.Location = new System.Drawing.Point(12, 100);
this.lblExportSection.Name = "lblExportSection";
this.lblExportSection.Size = new System.Drawing.Size(48, 13);
this.lblExportSection.TabIndex = 6;
this.lblExportSection.Text = "Sections";
//
// pbExportProcedure
//
this.pbExportProcedure.Location = new System.Drawing.Point(15, 77);
this.pbExportProcedure.Name = "pbExportProcedure";
this.pbExportProcedure.Size = new System.Drawing.Size(561, 20);
this.pbExportProcedure.Step = 1;
this.pbExportProcedure.TabIndex = 5;
//
// lblExportProcedure
//
this.lblExportProcedure.AutoSize = true;
this.lblExportProcedure.Location = new System.Drawing.Point(12, 61);
this.lblExportProcedure.Name = "lblExportProcedure";
this.lblExportProcedure.Size = new System.Drawing.Size(61, 13);
this.lblExportProcedure.TabIndex = 4;
this.lblExportProcedure.Text = "Procedures";
//
// btnDoExport
//
this.btnDoExport.Enabled = false;
this.btnDoExport.Location = new System.Drawing.Point(15, 25);
this.btnDoExport.Name = "btnDoExport";
this.btnDoExport.Size = new System.Drawing.Size(119, 23);
this.btnDoExport.TabIndex = 3;
this.btnDoExport.Text = "Process Export";
this.btnDoExport.UseVisualStyleBackColor = true;
this.btnDoExport.Click += new System.EventHandler(this.btnDoExport_Click);
//
// btnExport
//
this.btnExport.Location = new System.Drawing.Point(582, 3);
this.btnExport.Name = "btnExport";
this.btnExport.Size = new System.Drawing.Size(25, 23);
this.btnExport.TabIndex = 2;
this.btnExport.Text = "...";
this.btnExport.UseVisualStyleBackColor = true;
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
//
// txtExport
//
this.txtExport.Location = new System.Drawing.Point(141, 6);
this.txtExport.Name = "txtExport";
this.txtExport.ReadOnly = true;
this.txtExport.Size = new System.Drawing.Size(435, 20);
this.txtExport.TabIndex = 1;
this.txtExport.TextChanged += new System.EventHandler(this.txtExport_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(123, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Select Export File Name:";
//
// pnlImport
//
this.pnlImport.Controls.Add(this.cbxImportAudits);
this.pnlImport.Controls.Add(this.btnCloseImport);
this.pnlImport.Controls.Add(this.lblImportTime);
this.pnlImport.Controls.Add(this.lblImportStatus);
this.pnlImport.Controls.Add(this.pbImportStep);
this.pnlImport.Controls.Add(this.lblImportStep);
this.pnlImport.Controls.Add(this.pbImportSection);
this.pnlImport.Controls.Add(this.lblImportSection);
this.pnlImport.Controls.Add(this.pbImportProcedure);
this.pnlImport.Controls.Add(this.lblImportProcedure);
this.pnlImport.Controls.Add(this.btnDoImport);
this.pnlImport.Controls.Add(this.btnImport);
this.pnlImport.Controls.Add(this.txtImport);
this.pnlImport.Controls.Add(this.label2);
this.pnlImport.Location = new System.Drawing.Point(12, 217);
this.pnlImport.Name = "pnlImport";
this.pnlImport.Size = new System.Drawing.Size(618, 225);
this.pnlImport.TabIndex = 1;
//
// cbxImportAudits
//
this.cbxImportAudits.AutoSize = true;
this.cbxImportAudits.Location = new System.Drawing.Point(360, 56);
this.cbxImportAudits.Name = "cbxImportAudits";
this.cbxImportAudits.Size = new System.Drawing.Size(182, 17);
this.cbxImportAudits.TabIndex = 19;
this.cbxImportAudits.Text = "Include Audit History (if available)";
this.cbxImportAudits.UseVisualStyleBackColor = true;
this.cbxImportAudits.Visible = false;
//
// dlgExportImport
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(633, 452);
this.Controls.Add(this.pnlImport);
this.Controls.Add(this.pnlExport);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "dlgExportImport";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Export Import Dialog";
this.Load += new System.EventHandler(this.dlgExportImport_Load);
this.pnlExport.ResumeLayout(false);
this.pnlExport.PerformLayout();
this.pnlImport.ResumeLayout(false);
this.pnlImport.PerformLayout();
this.ResumeLayout(false);
//
// btnCloseImport
//
this.btnCloseImport.Enabled = false;
this.btnCloseImport.Location = new System.Drawing.Point(562, 33);
this.btnCloseImport.Name = "btnCloseImport";
this.btnCloseImport.Size = new System.Drawing.Size(53, 23);
this.btnCloseImport.TabIndex = 18;
this.btnCloseImport.Text = "Close";
this.btnCloseImport.UseVisualStyleBackColor = true;
this.btnCloseImport.Click += new System.EventHandler(this.btnCloseImport_Click);
//
// lblImportTime
//
this.lblImportTime.AutoSize = true;
this.lblImportTime.Location = new System.Drawing.Point(392, 30);
this.lblImportTime.Name = "lblImportTime";
this.lblImportTime.Size = new System.Drawing.Size(28, 13);
this.lblImportTime.TabIndex = 17;
this.lblImportTime.Text = "0.00";
this.lblImportTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblImportStatus
//
this.lblImportStatus.AutoSize = true;
this.lblImportStatus.Location = new System.Drawing.Point(137, 31);
this.lblImportStatus.Name = "lblImportStatus";
this.lblImportStatus.Size = new System.Drawing.Size(132, 13);
this.lblImportStatus.TabIndex = 16;
this.lblImportStatus.Text = "Awaiting Import File Name:";
//
// pbImportStep
//
this.pbImportStep.Location = new System.Drawing.Point(16, 180);
this.pbImportStep.Name = "pbImportStep";
this.pbImportStep.Size = new System.Drawing.Size(561, 20);
this.pbImportStep.Step = 1;
this.pbImportStep.TabIndex = 15;
//
// lblImportStep
//
this.lblImportStep.AutoSize = true;
this.lblImportStep.Location = new System.Drawing.Point(13, 164);
this.lblImportStep.Name = "lblImportStep";
this.lblImportStep.Size = new System.Drawing.Size(34, 13);
this.lblImportStep.TabIndex = 14;
this.lblImportStep.Text = "Steps";
//
// pbImportSection
//
this.pbImportSection.Location = new System.Drawing.Point(15, 141);
this.pbImportSection.Name = "pbImportSection";
this.pbImportSection.Size = new System.Drawing.Size(561, 20);
this.pbImportSection.Step = 1;
this.pbImportSection.TabIndex = 13;
//
// lblImportSection
//
this.lblImportSection.AutoSize = true;
this.lblImportSection.Location = new System.Drawing.Point(13, 125);
this.lblImportSection.Name = "lblImportSection";
this.lblImportSection.Size = new System.Drawing.Size(48, 13);
this.lblImportSection.TabIndex = 12;
this.lblImportSection.Text = "Sections";
//
// pbImportProcedure
//
this.pbImportProcedure.Location = new System.Drawing.Point(15, 102);
this.pbImportProcedure.Name = "pbImportProcedure";
this.pbImportProcedure.Size = new System.Drawing.Size(561, 20);
this.pbImportProcedure.Step = 1;
this.pbImportProcedure.TabIndex = 11;
//
// lblImportProcedure
//
this.lblImportProcedure.AutoSize = true;
this.lblImportProcedure.Location = new System.Drawing.Point(13, 86);
this.lblImportProcedure.Name = "lblImportProcedure";
this.lblImportProcedure.Size = new System.Drawing.Size(61, 13);
this.lblImportProcedure.TabIndex = 10;
this.lblImportProcedure.Text = "Procedures";
//
// btnDoImport
//
this.btnDoImport.Enabled = false;
this.btnDoImport.Location = new System.Drawing.Point(15, 26);
this.btnDoImport.Name = "btnDoImport";
this.btnDoImport.Size = new System.Drawing.Size(119, 23);
this.btnDoImport.TabIndex = 5;
this.btnDoImport.Text = "Process Import";
this.btnDoImport.UseVisualStyleBackColor = true;
this.btnDoImport.Click += new System.EventHandler(this.btnDoImport_Click);
//
// btnImport
//
this.btnImport.Location = new System.Drawing.Point(581, 4);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(25, 23);
this.btnImport.TabIndex = 4;
this.btnImport.Text = "...";
this.btnImport.UseVisualStyleBackColor = true;
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// txtImport
//
this.txtImport.Location = new System.Drawing.Point(140, 7);
this.txtImport.Name = "txtImport";
this.txtImport.ReadOnly = true;
this.txtImport.Size = new System.Drawing.Size(435, 20);
this.txtImport.TabIndex = 3;
this.txtImport.TextChanged += new System.EventHandler(this.txtImport_TextChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 10);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(122, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Select Import File Name:";
//
// ofd
//
this.ofd.AddExtension = false;
this.ofd.Filter = "PROMS Export Files|*.expx";
this.ofd.Title = "Import File Name";
//
// sfd
//
this.sfd.DefaultExt = "expx";
this.sfd.Filter = "PROMS Export Files|*.expx";
this.sfd.Title = "Export File Name";
//
// dlgExportImport
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(633, 452);
this.Controls.Add(this.pnlImport);
this.Controls.Add(this.pnlExport);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "dlgExportImport";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Export Import Dialog";
this.Load += new System.EventHandler(this.dlgExportImport_Load);
this.pnlExport.ResumeLayout(false);
this.pnlExport.PerformLayout();
this.pnlImport.ResumeLayout(false);
this.pnlImport.PerformLayout();
this.ResumeLayout(false);
}
@@ -437,7 +435,7 @@ namespace VEPROMS
private System.Windows.Forms.Button btnCloseExport;
private System.Windows.Forms.Button btnCloseImport;
private System.Windows.Forms.CheckBox cbxExportAudits;
private System.Windows.Forms.CheckBox cbxImportAudits;
private System.Windows.Forms.CheckBox cbxImportAudits;
}
}