From 99fb60a7f2ef4fa5d711fc396a1c11e1f540c9ca Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 23 Nov 2021 17:26:24 +0000 Subject: [PATCH] Part number / name migration options --- .../Plugins/AyaNova.Plugin.V8/Opt.Designer.cs | 74 +++++++++++++++---- 1 file changed, 61 insertions(+), 13 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/Opt.Designer.cs b/source/Plugins/AyaNova.Plugin.V8/Opt.Designer.cs index af54a0b..696599e 100644 --- a/source/Plugins/AyaNova.Plugin.V8/Opt.Designer.cs +++ b/source/Plugins/AyaNova.Plugin.V8/Opt.Designer.cs @@ -38,7 +38,11 @@ this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.nTimeOut = new System.Windows.Forms.NumericUpDown(); + this.rdPartCombined = new System.Windows.Forms.RadioButton(); + this.rdPartSplit = new System.Windows.Forms.RadioButton(); + this.gPartFormat = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.nTimeOut)).BeginInit(); + this.gPartFormat.SuspendLayout(); this.SuspendLayout(); // // btnCancel @@ -46,7 +50,7 @@ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnCancel.Image = global::AyaNova.PlugIn.V8.Resource1.Cancel24; - this.btnCancel.Location = new System.Drawing.Point(26, 283); + this.btnCancel.Location = new System.Drawing.Point(20, 386); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(68, 41); this.btnCancel.TabIndex = 26; @@ -54,9 +58,11 @@ // // btnOk // + this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnOk.Image = global::AyaNova.PlugIn.V8.Resource1.OK24; - this.btnOk.Location = new System.Drawing.Point(534, 283); + this.btnOk.Location = new System.Drawing.Point(650, 386); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(68, 41); this.btnOk.TabIndex = 3; @@ -69,7 +75,7 @@ this.ckExportAssignedDocs.Checked = true; this.ckExportAssignedDocs.CheckState = System.Windows.Forms.CheckState.Checked; this.ckExportAssignedDocs.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ckExportAssignedDocs.Location = new System.Drawing.Point(26, 94); + this.ckExportAssignedDocs.Location = new System.Drawing.Point(23, 167); this.ckExportAssignedDocs.Name = "ckExportAssignedDocs"; this.ckExportAssignedDocs.Size = new System.Drawing.Size(401, 21); this.ckExportAssignedDocs.TabIndex = 27; @@ -79,12 +85,13 @@ // lblPreRelease // this.lblPreRelease.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lblPreRelease.Dock = System.Windows.Forms.DockStyle.Top; this.lblPreRelease.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.lblPreRelease.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPreRelease.ForeColor = System.Drawing.Color.Blue; - this.lblPreRelease.Location = new System.Drawing.Point(94, 9); + this.lblPreRelease.Location = new System.Drawing.Point(0, 0); this.lblPreRelease.Name = "lblPreRelease"; - this.lblPreRelease.Size = new System.Drawing.Size(426, 37); + this.lblPreRelease.Size = new System.Drawing.Size(730, 37); this.lblPreRelease.TabIndex = 38; this.lblPreRelease.Text = "Pre-release 7.6-Alpha"; this.lblPreRelease.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -95,16 +102,16 @@ this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.Red; - this.label2.Location = new System.Drawing.Point(100, 290); + this.label2.Location = new System.Drawing.Point(104, 393); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(428, 34); + this.label2.Size = new System.Drawing.Size(528, 34); this.label2.TabIndex = 39; - this.label2.Text = "Export will erase *all* data on AyaNova 8 Server"; + this.label2.Text = "Migration will erase *all* data on AyaNova 8 Server"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // edTags // - this.edTags.Location = new System.Drawing.Point(26, 160); + this.edTags.Location = new System.Drawing.Point(20, 230); this.edTags.Name = "edTags"; this.edTags.Size = new System.Drawing.Size(141, 20); this.edTags.TabIndex = 40; @@ -113,7 +120,7 @@ // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(26, 141); + this.label1.Location = new System.Drawing.Point(20, 211); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(120, 13); this.label1.TabIndex = 41; @@ -122,7 +129,7 @@ // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(26, 195); + this.label3.Location = new System.Drawing.Point(20, 287); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(165, 13); this.label3.TabIndex = 43; @@ -135,7 +142,7 @@ 0, 0, 0}); - this.nTimeOut.Location = new System.Drawing.Point(29, 211); + this.nTimeOut.Location = new System.Drawing.Point(20, 303); this.nTimeOut.Maximum = new decimal(new int[] { 3600, 0, @@ -155,13 +162,49 @@ 0, 0}); // + // rdPartCombined + // + this.rdPartCombined.AutoSize = true; + this.rdPartCombined.Checked = true; + this.rdPartCombined.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rdPartCombined.Location = new System.Drawing.Point(6, 29); + this.rdPartCombined.Name = "rdPartCombined"; + this.rdPartCombined.Size = new System.Drawing.Size(331, 17); + this.rdPartCombined.TabIndex = 45; + this.rdPartCombined.TabStop = true; + this.rdPartCombined.Text = "Combined: \"{v7-PartNumber} {v7-PartName}\" => {v8-PartName} "; + this.rdPartCombined.UseVisualStyleBackColor = true; + // + // rdPartSplit + // + this.rdPartSplit.AutoSize = true; + this.rdPartSplit.Location = new System.Drawing.Point(6, 52); + this.rdPartSplit.Name = "rdPartSplit"; + this.rdPartSplit.Size = new System.Drawing.Size(430, 17); + this.rdPartSplit.TabIndex = 46; + this.rdPartSplit.Text = "Separate: {v-7PartNumber} => {v8-PartName}, {v7-PartName} => {v8-PartDescription}" + + ""; + this.rdPartSplit.UseVisualStyleBackColor = true; + // + // gPartFormat + // + this.gPartFormat.Controls.Add(this.rdPartCombined); + this.gPartFormat.Controls.Add(this.rdPartSplit); + this.gPartFormat.Location = new System.Drawing.Point(20, 53); + this.gPartFormat.Name = "gPartFormat"; + this.gPartFormat.Size = new System.Drawing.Size(698, 94); + this.gPartFormat.TabIndex = 47; + this.gPartFormat.TabStop = false; + this.gPartFormat.Text = "Part number / Part name migration options"; + // // Opt // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; - this.ClientSize = new System.Drawing.Size(614, 353); + this.ClientSize = new System.Drawing.Size(730, 443); this.ControlBox = false; + this.Controls.Add(this.gPartFormat); this.Controls.Add(this.nTimeOut); this.Controls.Add(this.label3); this.Controls.Add(this.label1); @@ -177,6 +220,8 @@ this.Text = "Export options"; this.Load += new System.EventHandler(this.Opt_Load); ((System.ComponentModel.ISupportInitialize)(this.nTimeOut)).EndInit(); + this.gPartFormat.ResumeLayout(false); + this.gPartFormat.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -193,5 +238,8 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label3; private System.Windows.Forms.NumericUpDown nTimeOut; + private System.Windows.Forms.RadioButton rdPartCombined; + private System.Windows.Forms.RadioButton rdPartSplit; + private System.Windows.Forms.GroupBox gPartFormat; } } \ No newline at end of file