Added code to handle new Close buttons
Added code to translate old formatid's to new formatid's Added new Close buttons
This commit is contained in:
@@ -56,12 +56,15 @@ namespace VEPROMS
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.ofd = new System.Windows.Forms.OpenFileDialog();
|
||||
this.sfd = new System.Windows.Forms.SaveFileDialog();
|
||||
this.btnCloseExport = new System.Windows.Forms.Button();
|
||||
this.btnCloseImport = new System.Windows.Forms.Button();
|
||||
this.pnlExport.SuspendLayout();
|
||||
this.pnlImport.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pnlExport
|
||||
//
|
||||
this.pnlExport.Controls.Add(this.btnCloseExport);
|
||||
this.pnlExport.Controls.Add(this.lblExportTime);
|
||||
this.pnlExport.Controls.Add(this.lblExportStatus);
|
||||
this.pnlExport.Controls.Add(this.pbExportStep);
|
||||
@@ -76,13 +79,13 @@ namespace VEPROMS
|
||||
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(610, 199);
|
||||
this.pnlExport.Size = new System.Drawing.Size(618, 199);
|
||||
this.pnlExport.TabIndex = 0;
|
||||
//
|
||||
// lblExportTime
|
||||
//
|
||||
this.lblExportTime.AutoSize = true;
|
||||
this.lblExportTime.Location = new System.Drawing.Point(407, 30);
|
||||
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;
|
||||
@@ -190,6 +193,7 @@ namespace VEPROMS
|
||||
//
|
||||
// pnlImport
|
||||
//
|
||||
this.pnlImport.Controls.Add(this.btnCloseImport);
|
||||
this.pnlImport.Controls.Add(this.lblImportTime);
|
||||
this.pnlImport.Controls.Add(this.lblImportStatus);
|
||||
this.pnlImport.Controls.Add(this.pbImportStep);
|
||||
@@ -204,13 +208,13 @@ namespace VEPROMS
|
||||
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(610, 225);
|
||||
this.pnlImport.Size = new System.Drawing.Size(618, 225);
|
||||
this.pnlImport.TabIndex = 1;
|
||||
//
|
||||
// lblImportTime
|
||||
//
|
||||
this.lblImportTime.AutoSize = true;
|
||||
this.lblImportTime.Location = new System.Drawing.Point(407, 31);
|
||||
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;
|
||||
@@ -328,6 +332,28 @@ namespace VEPROMS
|
||||
this.sfd.Filter = "PROMS Export Files|*.expx";
|
||||
this.sfd.Title = "Export File Name";
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// dlgExportImport
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@@ -380,6 +406,8 @@ namespace VEPROMS
|
||||
private System.Windows.Forms.Label lblImportStatus;
|
||||
private System.Windows.Forms.Label lblExportTime;
|
||||
private System.Windows.Forms.Label lblImportTime;
|
||||
private System.Windows.Forms.Button btnCloseExport;
|
||||
private System.Windows.Forms.Button btnCloseImport;
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user