[성현모] CPXV2 Init

This commit is contained in:
SHM
2024-06-26 10:30:00 +09:00
parent cdf12248c5
commit 5958993b6a
588 changed files with 698420 additions and 0 deletions

View File

@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UcInfoView : UserControl
{
public class selectGroupInfo : ICloneable
{
public string GroupName { set; get; }
public string ModelName { set; get; }
public string Comment { set; get; }
public selectGroupInfo()
{
GroupName = "";
ModelName = "";
Comment = "";
}
public object Clone()
{
return new selectGroupInfo()
{
GroupName = this.GroupName,
ModelName = this.ModelName,
Comment = this.Comment
};
}
}
selectGroupInfo SelGroupInfo = new selectGroupInfo();
}
}

View File

@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UcInfoView : UserControl
{
public enum eDataView
{
STAT_Host = 0,
STAT_User = 1,
PROD_Group = 2,
STAT_TestCode = 3
}
public class selectHostInfo : ICloneable
{
public string HostID { set; get; }
public string Section { set; get; }
public string IP { set; get; }
public string TestCode { set; get; }
public string Comment { set; get; }
public selectHostInfo()
{
HostID = string.Empty;
Section = string.Empty;
IP = string.Empty;
TestCode = string.Empty;
Comment = string.Empty;
}
public object Clone()
{
return new selectHostInfo() {
HostID = this.HostID,
Section = this.Section,
IP = this.IP,
TestCode = this.TestCode,
Comment = this.Comment };
}
}
selectHostInfo SelHostInfo = new selectHostInfo();
}
}

View File

@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UcInfoView : UserControl
{
public class selectTestCodeInfo : ICloneable
{
public string TestCode { set; get; }
public string Gate1 { set; get; }
public string Gate2 { set; get; }
public string Comment { set; get; }
public selectTestCodeInfo()
{
TestCode = "";
Gate1 = "";
Gate2 = "";
Comment = "";
}
public object Clone()
{
return new selectTestCodeInfo()
{
TestCode = this.TestCode,
Gate1 = this.Gate1,
Gate2 = this.Gate2,
Comment = this.Comment
};
}
}
selectTestCodeInfo SelTestCodeInfo = new selectTestCodeInfo();
}
}

View File

@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UcInfoView : UserControl
{
public class selectUserInfo : ICloneable
{
public string UserID { set; get; }
public string Name { set; get; }
public string Password { set; get; }
public string Dept { set; get; }
public string Email { set; get; }
public string Comment { set; get; }
public selectUserInfo()
{
UserID = "";
Name = "";
Password = "";
Dept = "";
Email = "";
Comment = "";
}
public object Clone()
{
return new selectUserInfo() { UserID = this.UserID,
Name = this.Name,
Password = this.Password,
Dept = this.Dept,
Email = this.Email,
Comment = this.Comment };
}
}
selectUserInfo SelUserInfo = new selectUserInfo();
}
}

View File

@ -0,0 +1,752 @@
namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class UcInfoView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UcInfoView));
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
this.ViewgridControl = new DevExpress.XtraGrid.GridControl();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.modifyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gridHistView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupControlDtlData = new DevExpress.XtraEditors.GroupControl();
this.layoutControl21 = new DevExpress.XtraLayout.LayoutControl();
this.simpleButtonDataMod = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonTestCode = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonGroup = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonUser = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonHost = new DevExpress.XtraEditors.SimpleButton();
this.layoutControlGroup11 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItemDataMod = new DevExpress.XtraLayout.LayoutControlItem();
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
this.groupControlModelOption = new DevExpress.XtraEditors.GroupControl();
this.layoutControl31 = new DevExpress.XtraLayout.LayoutControl();
this.simpleButtonModify1 = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonRegister1 = new DevExpress.XtraEditors.SimpleButton();
this.layoutControlGroup22 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem141 = new DevExpress.XtraLayout.LayoutControlItem();
this.simpleLabelItemSelectRow = new DevExpress.XtraLayout.SimpleLabelItem();
this.layoutControlItem131 = new DevExpress.XtraLayout.LayoutControlItem();
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItemModelMod = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.timerUI = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
this.layoutControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ViewgridControl)).BeginInit();
this.contextMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridHistView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlDtlData)).BeginInit();
this.groupControlDtlData.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControl21)).BeginInit();
this.layoutControl21.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDataMod)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlModelOption)).BeginInit();
this.groupControlModelOption.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControl31)).BeginInit();
this.layoutControl31.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup22)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem141)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemSelectRow)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem131)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemModelMod)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
this.SuspendLayout();
//
// layoutControl1
//
this.layoutControl1.Controls.Add(this.ViewgridControl);
this.layoutControl1.Controls.Add(this.groupControlDtlData);
this.layoutControl1.Controls.Add(this.groupControlModelOption);
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
this.layoutControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.layoutControl1.Name = "layoutControl1";
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1148, 302, 650, 400);
this.layoutControl1.Root = this.Root;
this.layoutControl1.Size = new System.Drawing.Size(1101, 594);
this.layoutControl1.TabIndex = 0;
this.layoutControl1.Text = "layoutControl1";
//
// ViewgridControl
//
this.ViewgridControl.ContextMenuStrip = this.contextMenuStrip;
this.ViewgridControl.Cursor = System.Windows.Forms.Cursors.AppStarting;
this.ViewgridControl.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
gridLevelNode1.RelationName = "Level1";
this.ViewgridControl.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode1});
this.ViewgridControl.Location = new System.Drawing.Point(147, 120);
this.ViewgridControl.MainView = this.gridHistView;
this.ViewgridControl.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.ViewgridControl.Name = "ViewgridControl";
this.ViewgridControl.Size = new System.Drawing.Size(942, 462);
this.ViewgridControl.TabIndex = 8;
this.ViewgridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridHistView,
this.gridView});
//
// contextMenuStrip
//
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripMenuItem,
this.modifyToolStripMenuItem,
this.toolStripSeparator1,
this.toolStripMenuItem});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(158, 76);
this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
this.contextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip_ItemClicked);
//
// newToolStripMenuItem
//
this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
this.newToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+N";
this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.newToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.newToolStripMenuItem.Tag = "0";
this.newToolStripMenuItem.Text = "&New";
//
// modifyToolStripMenuItem
//
this.modifyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("modifyToolStripMenuItem.Image")));
this.modifyToolStripMenuItem.Name = "modifyToolStripMenuItem";
this.modifyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+M";
this.modifyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)));
this.modifyToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.modifyToolStripMenuItem.Tag = "1";
this.modifyToolStripMenuItem.Text = "&Modify";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(154, 6);
//
// toolStripMenuItem
//
this.toolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem.Image")));
this.toolStripMenuItem.Name = "toolStripMenuItem";
this.toolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+D";
this.toolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));
this.toolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.toolStripMenuItem.Tag = "2";
this.toolStripMenuItem.Text = "&Delete";
//
// gridHistView
//
this.gridHistView.Appearance.FocusedRow.BackColor = System.Drawing.Color.MediumSpringGreen;
this.gridHistView.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.Gold;
this.gridHistView.Appearance.FocusedRow.BorderColor = System.Drawing.Color.Red;
this.gridHistView.Appearance.FocusedRow.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gridHistView.Appearance.FocusedRow.Options.UseBackColor = true;
this.gridHistView.Appearance.FocusedRow.Options.UseBorderColor = true;
this.gridHistView.Appearance.FocusedRow.Options.UseFont = true;
this.gridHistView.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.LemonChiffon;
this.gridHistView.Appearance.HideSelectionRow.BackColor2 = System.Drawing.Color.Gold;
this.gridHistView.Appearance.HideSelectionRow.BorderColor = System.Drawing.Color.Red;
this.gridHistView.Appearance.HideSelectionRow.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gridHistView.Appearance.HideSelectionRow.Options.UseBackColor = true;
this.gridHistView.Appearance.HideSelectionRow.Options.UseBorderColor = true;
this.gridHistView.Appearance.HideSelectionRow.Options.UseFont = true;
this.gridHistView.DetailHeight = 377;
this.gridHistView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
this.gridHistView.GridControl = this.ViewgridControl;
this.gridHistView.Name = "gridHistView";
this.gridHistView.OptionsBehavior.Editable = false;
this.gridHistView.OptionsView.AllowHtmlDrawGroups = false;
this.gridHistView.OptionsView.ShowAutoFilterRow = true;
this.gridHistView.OptionsView.ShowGroupPanel = false;
this.gridHistView.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.gridHistView_RowClick);
this.gridHistView.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gridHistView_RowCellClick);
this.gridHistView.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.gridHistView_KeyPress);
//
// gridView
//
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn14,
this.gridColumn15,
this.gridColumn16,
this.gridColumn17,
this.gridColumn18,
this.gridColumn19});
this.gridView.DetailHeight = 377;
this.gridView.GridControl = this.ViewgridControl;
this.gridView.Name = "gridView";
//
// gridColumn14
//
this.gridColumn14.FieldName = "No";
this.gridColumn14.MinWidth = 22;
this.gridColumn14.Name = "gridColumn14";
this.gridColumn14.Visible = true;
this.gridColumn14.VisibleIndex = 0;
this.gridColumn14.Width = 87;
//
// gridColumn15
//
this.gridColumn15.FieldName = "PalletNumber";
this.gridColumn15.MinWidth = 22;
this.gridColumn15.Name = "gridColumn15";
this.gridColumn15.Visible = true;
this.gridColumn15.VisibleIndex = 1;
this.gridColumn15.Width = 87;
//
// gridColumn16
//
this.gridColumn16.FieldName = "PalletID";
this.gridColumn16.MinWidth = 22;
this.gridColumn16.Name = "gridColumn16";
this.gridColumn16.Visible = true;
this.gridColumn16.VisibleIndex = 2;
this.gridColumn16.Width = 87;
//
// gridColumn17
//
this.gridColumn17.FieldName = "UpdateDT";
this.gridColumn17.MinWidth = 22;
this.gridColumn17.Name = "gridColumn17";
this.gridColumn17.Visible = true;
this.gridColumn17.VisibleIndex = 3;
this.gridColumn17.Width = 87;
//
// gridColumn18
//
this.gridColumn18.FieldName = "Revision";
this.gridColumn18.MinWidth = 22;
this.gridColumn18.Name = "gridColumn18";
this.gridColumn18.Visible = true;
this.gridColumn18.VisibleIndex = 4;
this.gridColumn18.Width = 87;
//
// gridColumn19
//
this.gridColumn19.FieldName = "Description";
this.gridColumn19.MinWidth = 22;
this.gridColumn19.Name = "gridColumn19";
this.gridColumn19.Visible = true;
this.gridColumn19.VisibleIndex = 5;
this.gridColumn19.Width = 87;
//
// groupControlDtlData
//
this.groupControlDtlData.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupControlDtlData.AppearanceCaption.Options.UseFont = true;
this.groupControlDtlData.Controls.Add(this.layoutControl21);
this.groupControlDtlData.Location = new System.Drawing.Point(12, 120);
this.groupControlDtlData.Name = "groupControlDtlData";
this.groupControlDtlData.Size = new System.Drawing.Size(131, 462);
this.groupControlDtlData.TabIndex = 5;
this.groupControlDtlData.Text = "Detail Data";
//
// layoutControl21
//
this.layoutControl21.Controls.Add(this.simpleButtonDataMod);
this.layoutControl21.Controls.Add(this.simpleButtonTestCode);
this.layoutControl21.Controls.Add(this.simpleButtonGroup);
this.layoutControl21.Controls.Add(this.simpleButtonUser);
this.layoutControl21.Controls.Add(this.simpleButtonHost);
this.layoutControl21.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl21.Location = new System.Drawing.Point(2, 23);
this.layoutControl21.Name = "layoutControl21";
this.layoutControl21.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(299, 288, 650, 400);
this.layoutControl21.Root = this.layoutControlGroup11;
this.layoutControl21.Size = new System.Drawing.Size(127, 437);
this.layoutControl21.TabIndex = 0;
this.layoutControl21.Text = "layoutControl2";
//
// simpleButtonDataMod
//
this.simpleButtonDataMod.Appearance.BackColor = System.Drawing.Color.Chocolate;
this.simpleButtonDataMod.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
this.simpleButtonDataMod.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonDataMod.Appearance.Options.UseBackColor = true;
this.simpleButtonDataMod.Appearance.Options.UseFont = true;
this.simpleButtonDataMod.Appearance.Options.UseForeColor = true;
this.simpleButtonDataMod.Appearance.Options.UseTextOptions = true;
this.simpleButtonDataMod.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonDataMod.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonDataMod.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonDataMod.ImageOptions.SvgImage")));
this.simpleButtonDataMod.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonDataMod.Location = new System.Drawing.Point(12, 403);
this.simpleButtonDataMod.Name = "simpleButtonDataMod";
this.simpleButtonDataMod.Size = new System.Drawing.Size(103, 22);
this.simpleButtonDataMod.StyleController = this.layoutControl21;
this.simpleButtonDataMod.TabIndex = 7;
this.simpleButtonDataMod.Text = "Modify";
this.simpleButtonDataMod.Click += new System.EventHandler(this.simpleButtonDataMod_Click);
//
// simpleButtonTestCode
//
this.simpleButtonTestCode.Appearance.BackColor = System.Drawing.Color.PaleTurquoise;
this.simpleButtonTestCode.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
this.simpleButtonTestCode.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonTestCode.Appearance.Options.UseBackColor = true;
this.simpleButtonTestCode.Appearance.Options.UseFont = true;
this.simpleButtonTestCode.Appearance.Options.UseForeColor = true;
this.simpleButtonTestCode.Appearance.Options.UseTextOptions = true;
this.simpleButtonTestCode.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonTestCode.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonTestCode.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonTestCode.ImageOptions.SvgImage")));
this.simpleButtonTestCode.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonTestCode.Location = new System.Drawing.Point(12, 90);
this.simpleButtonTestCode.Name = "simpleButtonTestCode";
this.simpleButtonTestCode.Size = new System.Drawing.Size(103, 22);
this.simpleButtonTestCode.StyleController = this.layoutControl21;
this.simpleButtonTestCode.TabIndex = 6;
this.simpleButtonTestCode.Text = "TestCode";
this.simpleButtonTestCode.Click += new System.EventHandler(this.simpleButtonViewList_Click);
//
// simpleButtonGroup
//
this.simpleButtonGroup.Appearance.BackColor = System.Drawing.Color.PaleTurquoise;
this.simpleButtonGroup.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
this.simpleButtonGroup.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonGroup.Appearance.Options.UseBackColor = true;
this.simpleButtonGroup.Appearance.Options.UseFont = true;
this.simpleButtonGroup.Appearance.Options.UseForeColor = true;
this.simpleButtonGroup.Appearance.Options.UseTextOptions = true;
this.simpleButtonGroup.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonGroup.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonGroup.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonGroup.ImageOptions.SvgImage")));
this.simpleButtonGroup.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonGroup.Location = new System.Drawing.Point(12, 64);
this.simpleButtonGroup.Name = "simpleButtonGroup";
this.simpleButtonGroup.Size = new System.Drawing.Size(103, 22);
this.simpleButtonGroup.StyleController = this.layoutControl21;
this.simpleButtonGroup.TabIndex = 5;
this.simpleButtonGroup.Text = "Group";
this.simpleButtonGroup.Click += new System.EventHandler(this.simpleButtonViewList_Click);
//
// simpleButtonUser
//
this.simpleButtonUser.Appearance.BackColor = System.Drawing.Color.PaleTurquoise;
this.simpleButtonUser.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
this.simpleButtonUser.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonUser.Appearance.Options.UseBackColor = true;
this.simpleButtonUser.Appearance.Options.UseFont = true;
this.simpleButtonUser.Appearance.Options.UseForeColor = true;
this.simpleButtonUser.Appearance.Options.UseTextOptions = true;
this.simpleButtonUser.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonUser.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonUser.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonUser.ImageOptions.SvgImage")));
this.simpleButtonUser.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonUser.Location = new System.Drawing.Point(12, 38);
this.simpleButtonUser.Name = "simpleButtonUser";
this.simpleButtonUser.Size = new System.Drawing.Size(103, 22);
this.simpleButtonUser.StyleController = this.layoutControl21;
this.simpleButtonUser.TabIndex = 4;
this.simpleButtonUser.Text = "User";
this.simpleButtonUser.Click += new System.EventHandler(this.simpleButtonViewList_Click);
//
// simpleButtonHost
//
this.simpleButtonHost.Appearance.BackColor = System.Drawing.Color.PaleTurquoise;
this.simpleButtonHost.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
this.simpleButtonHost.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonHost.Appearance.Options.UseBackColor = true;
this.simpleButtonHost.Appearance.Options.UseFont = true;
this.simpleButtonHost.Appearance.Options.UseForeColor = true;
this.simpleButtonHost.Appearance.Options.UseTextOptions = true;
this.simpleButtonHost.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonHost.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonHost.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonHost.ImageOptions.SvgImage")));
this.simpleButtonHost.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonHost.Location = new System.Drawing.Point(12, 12);
this.simpleButtonHost.Name = "simpleButtonHost";
this.simpleButtonHost.Size = new System.Drawing.Size(103, 22);
this.simpleButtonHost.StyleController = this.layoutControl21;
this.simpleButtonHost.TabIndex = 3;
this.simpleButtonHost.Text = "Host";
this.simpleButtonHost.Click += new System.EventHandler(this.simpleButtonViewList_Click);
//
// layoutControlGroup11
//
this.layoutControlGroup11.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.layoutControlGroup11.GroupBordersVisible = false;
this.layoutControlGroup11.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem3,
this.layoutControlItem5,
this.layoutControlItem4,
this.layoutControlItem6,
this.layoutControlItemDataMod,
this.emptySpaceItem2});
this.layoutControlGroup11.Name = "Root";
this.layoutControlGroup11.Size = new System.Drawing.Size(127, 437);
this.layoutControlGroup11.TextVisible = false;
//
// layoutControlItem3
//
this.layoutControlItem3.Control = this.simpleButtonUser;
this.layoutControlItem3.CustomizationFormText = "layoutControlItemUser";
this.layoutControlItem3.Location = new System.Drawing.Point(0, 26);
this.layoutControlItem3.Name = "layoutControlItem3";
this.layoutControlItem3.Size = new System.Drawing.Size(107, 26);
this.layoutControlItem3.Text = "layoutControlItemUser";
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem3.TextVisible = false;
//
// layoutControlItem5
//
this.layoutControlItem5.Control = this.simpleButtonGroup;
this.layoutControlItem5.CustomizationFormText = "layoutControlItemGroup";
this.layoutControlItem5.Location = new System.Drawing.Point(0, 52);
this.layoutControlItem5.Name = "layoutControlItem5";
this.layoutControlItem5.Size = new System.Drawing.Size(107, 26);
this.layoutControlItem5.Text = "layoutControlItemGroup";
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem5.TextVisible = false;
//
// layoutControlItem4
//
this.layoutControlItem4.Control = this.simpleButtonHost;
this.layoutControlItem4.CustomizationFormText = "layoutControlItemHost";
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0);
this.layoutControlItem4.Name = "layoutControlItem4";
this.layoutControlItem4.Size = new System.Drawing.Size(107, 26);
this.layoutControlItem4.Text = "layoutControlItemHost";
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem4.TextVisible = false;
//
// layoutControlItem6
//
this.layoutControlItem6.Control = this.simpleButtonTestCode;
this.layoutControlItem6.CustomizationFormText = "layoutControlItemTestCode";
this.layoutControlItem6.Location = new System.Drawing.Point(0, 78);
this.layoutControlItem6.Name = "layoutControlItem6";
this.layoutControlItem6.Size = new System.Drawing.Size(107, 26);
this.layoutControlItem6.Text = "layoutControlItemTestCode";
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem6.TextVisible = false;
//
// layoutControlItemDataMod
//
this.layoutControlItemDataMod.Control = this.simpleButtonDataMod;
this.layoutControlItemDataMod.Location = new System.Drawing.Point(0, 391);
this.layoutControlItemDataMod.Name = "layoutControlItemDataMod";
this.layoutControlItemDataMod.Size = new System.Drawing.Size(107, 26);
this.layoutControlItemDataMod.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItemDataMod.TextVisible = false;
this.layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
//
// emptySpaceItem2
//
this.emptySpaceItem2.AllowHotTrack = false;
this.emptySpaceItem2.Location = new System.Drawing.Point(0, 104);
this.emptySpaceItem2.Name = "emptySpaceItem2";
this.emptySpaceItem2.Size = new System.Drawing.Size(107, 287);
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
//
// groupControlModelOption
//
this.groupControlModelOption.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.groupControlModelOption.AppearanceCaption.Options.UseFont = true;
this.groupControlModelOption.Controls.Add(this.layoutControl31);
this.groupControlModelOption.Location = new System.Drawing.Point(12, 12);
this.groupControlModelOption.Name = "groupControlModelOption";
this.groupControlModelOption.Size = new System.Drawing.Size(1077, 104);
this.groupControlModelOption.TabIndex = 6;
this.groupControlModelOption.Text = "Management";
//
// layoutControl31
//
this.layoutControl31.Controls.Add(this.simpleButtonModify1);
this.layoutControl31.Controls.Add(this.simpleButtonRegister1);
this.layoutControl31.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl31.Location = new System.Drawing.Point(2, 23);
this.layoutControl31.Margin = new System.Windows.Forms.Padding(0);
this.layoutControl31.Name = "layoutControl31";
this.layoutControl31.Root = this.layoutControlGroup22;
this.layoutControl31.Size = new System.Drawing.Size(1073, 79);
this.layoutControl31.TabIndex = 0;
this.layoutControl31.Text = "layoutControl3";
//
// simpleButtonModify1
//
this.simpleButtonModify1.Appearance.BackColor = System.Drawing.Color.Ivory;
this.simpleButtonModify1.Appearance.BackColor2 = System.Drawing.Color.OldLace;
this.simpleButtonModify1.Appearance.BorderColor = System.Drawing.Color.Gold;
this.simpleButtonModify1.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButtonModify1.Appearance.ForeColor = System.Drawing.Color.Black;
this.simpleButtonModify1.Appearance.Options.UseBackColor = true;
this.simpleButtonModify1.Appearance.Options.UseBorderColor = true;
this.simpleButtonModify1.Appearance.Options.UseFont = true;
this.simpleButtonModify1.Appearance.Options.UseForeColor = true;
this.simpleButtonModify1.Appearance.Options.UseTextOptions = true;
this.simpleButtonModify1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.simpleButtonModify1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonModify1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
this.simpleButtonModify1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonModify1.ImageOptions.SvgImage")));
this.simpleButtonModify1.ImageOptions.SvgImageSize = new System.Drawing.Size(32, 32);
this.simpleButtonModify1.Location = new System.Drawing.Point(1, 1);
this.simpleButtonModify1.Name = "simpleButtonModify1";
this.simpleButtonModify1.Size = new System.Drawing.Size(200, 77);
this.simpleButtonModify1.StyleController = this.layoutControl31;
this.simpleButtonModify1.TabIndex = 2;
this.simpleButtonModify1.Text = "Modify Data(Ctrl+M)";
this.simpleButtonModify1.Click += new System.EventHandler(this.simpleButtonModify1_Click);
//
// simpleButtonRegister1
//
this.simpleButtonRegister1.Appearance.BackColor = System.Drawing.Color.Ivory;
this.simpleButtonRegister1.Appearance.BackColor2 = System.Drawing.Color.OldLace;
this.simpleButtonRegister1.Appearance.BorderColor = System.Drawing.Color.Gold;
this.simpleButtonRegister1.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButtonRegister1.Appearance.ForeColor = System.Drawing.Color.Black;
this.simpleButtonRegister1.Appearance.Options.UseBackColor = true;
this.simpleButtonRegister1.Appearance.Options.UseBorderColor = true;
this.simpleButtonRegister1.Appearance.Options.UseFont = true;
this.simpleButtonRegister1.Appearance.Options.UseForeColor = true;
this.simpleButtonRegister1.Appearance.Options.UseTextOptions = true;
this.simpleButtonRegister1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.simpleButtonRegister1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonRegister1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
this.simpleButtonRegister1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonRegister1.ImageOptions.SvgImage")));
this.simpleButtonRegister1.ImageOptions.SvgImageSize = new System.Drawing.Size(32, 32);
this.simpleButtonRegister1.Location = new System.Drawing.Point(201, 1);
this.simpleButtonRegister1.Name = "simpleButtonRegister1";
this.simpleButtonRegister1.Size = new System.Drawing.Size(200, 77);
this.simpleButtonRegister1.StyleController = this.layoutControl31;
this.simpleButtonRegister1.TabIndex = 1;
this.simpleButtonRegister1.Text = "Register ";
this.simpleButtonRegister1.Click += new System.EventHandler(this.simpleButtonRegister1_Click);
//
// layoutControlGroup22
//
this.layoutControlGroup22.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.layoutControlGroup22.GroupBordersVisible = false;
this.layoutControlGroup22.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem141,
this.simpleLabelItemSelectRow,
this.layoutControlItem131});
this.layoutControlGroup22.Name = "layoutControlGroup22";
this.layoutControlGroup22.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
this.layoutControlGroup22.Size = new System.Drawing.Size(1073, 79);
this.layoutControlGroup22.TextVisible = false;
//
// layoutControlItem141
//
this.layoutControlItem141.Control = this.simpleButtonModify1;
this.layoutControlItem141.Location = new System.Drawing.Point(0, 0);
this.layoutControlItem141.MaxSize = new System.Drawing.Size(200, 0);
this.layoutControlItem141.MinSize = new System.Drawing.Size(200, 61);
this.layoutControlItem141.Name = "layoutControlItem141";
this.layoutControlItem141.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
this.layoutControlItem141.Size = new System.Drawing.Size(200, 77);
this.layoutControlItem141.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem141.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem141.TextVisible = false;
//
// simpleLabelItemSelectRow
//
this.simpleLabelItemSelectRow.AllowHotTrack = false;
this.simpleLabelItemSelectRow.Location = new System.Drawing.Point(400, 0);
this.simpleLabelItemSelectRow.Name = "simpleLabelItemSelectRow";
this.simpleLabelItemSelectRow.Size = new System.Drawing.Size(671, 77);
this.simpleLabelItemSelectRow.Text = "-";
this.simpleLabelItemSelectRow.TextSize = new System.Drawing.Size(4, 16);
//
// layoutControlItem131
//
this.layoutControlItem131.Control = this.simpleButtonRegister1;
this.layoutControlItem131.Location = new System.Drawing.Point(200, 0);
this.layoutControlItem131.MaxSize = new System.Drawing.Size(200, 0);
this.layoutControlItem131.MinSize = new System.Drawing.Size(200, 61);
this.layoutControlItem131.Name = "layoutControlItem131";
this.layoutControlItem131.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
this.layoutControlItem131.Size = new System.Drawing.Size(200, 77);
this.layoutControlItem131.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem131.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem131.TextVisible = false;
//
// Root
//
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.Root.GroupBordersVisible = false;
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem2,
this.layoutControlItemModelMod,
this.layoutControlItem1});
this.Root.Name = "Root";
this.Root.Size = new System.Drawing.Size(1101, 594);
this.Root.TextVisible = false;
//
// layoutControlItem2
//
this.layoutControlItem2.Control = this.groupControlDtlData;
this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
this.layoutControlItem2.Location = new System.Drawing.Point(0, 108);
this.layoutControlItem2.MaxSize = new System.Drawing.Size(135, 0);
this.layoutControlItem2.MinSize = new System.Drawing.Size(135, 291);
this.layoutControlItem2.Name = "layoutControlItem2";
this.layoutControlItem2.Size = new System.Drawing.Size(135, 466);
this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem2.TextVisible = false;
this.layoutControlItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
//
// layoutControlItemModelMod
//
this.layoutControlItemModelMod.Control = this.groupControlModelOption;
this.layoutControlItemModelMod.CustomizationFormText = "layoutControlItemModelMod";
this.layoutControlItemModelMod.Location = new System.Drawing.Point(0, 0);
this.layoutControlItemModelMod.MaxSize = new System.Drawing.Size(0, 108);
this.layoutControlItemModelMod.MinSize = new System.Drawing.Size(1, 108);
this.layoutControlItemModelMod.Name = "layoutControlItemModelMod";
this.layoutControlItemModelMod.Size = new System.Drawing.Size(1081, 108);
this.layoutControlItemModelMod.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItemModelMod.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItemModelMod.TextVisible = false;
this.layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
//
// layoutControlItem1
//
this.layoutControlItem1.Control = this.ViewgridControl;
this.layoutControlItem1.Location = new System.Drawing.Point(135, 108);
this.layoutControlItem1.Name = "layoutControlItem1";
this.layoutControlItem1.Size = new System.Drawing.Size(946, 466);
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem1.TextVisible = false;
//
// timerUI
//
this.timerUI.Enabled = true;
this.timerUI.Tick += new System.EventHandler(this.timerUI_Tick);
//
// UcInfoView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.layoutControl1);
this.Name = "UcInfoView";
this.Size = new System.Drawing.Size(1101, 594);
this.Enter += new System.EventHandler(this.UcInfoView_Enter);
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
this.layoutControl1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ViewgridControl)).EndInit();
this.contextMenuStrip.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gridHistView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlDtlData)).EndInit();
this.groupControlDtlData.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControl21)).EndInit();
this.layoutControl21.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDataMod)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlModelOption)).EndInit();
this.groupControlModelOption.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControl31)).EndInit();
this.layoutControl31.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup22)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem141)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemSelectRow)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem131)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemModelMod)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraLayout.LayoutControl layoutControl1;
private DevExpress.XtraLayout.LayoutControlGroup Root;
private DevExpress.XtraEditors.GroupControl groupControlDtlData;
private DevExpress.XtraLayout.LayoutControl layoutControl21;
private DevExpress.XtraEditors.SimpleButton simpleButtonHost;
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup11;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
private DevExpress.XtraEditors.GroupControl groupControlModelOption;
private DevExpress.XtraLayout.LayoutControl layoutControl31;
private DevExpress.XtraEditors.SimpleButton simpleButtonModify1;
private DevExpress.XtraEditors.SimpleButton simpleButtonRegister1;
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup22;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem131;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem141;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemModelMod;
public DevExpress.XtraGrid.GridControl ViewgridControl;
private DevExpress.XtraGrid.Views.Grid.GridView gridHistView;
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn18;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem;
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemSelectRow;
private DevExpress.XtraEditors.SimpleButton simpleButtonTestCode;
private DevExpress.XtraEditors.SimpleButton simpleButtonGroup;
private DevExpress.XtraEditors.SimpleButton simpleButtonUser;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
private DevExpress.XtraEditors.SimpleButton simpleButtonDataMod;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemDataMod;
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
private System.Windows.Forms.Timer timerUI;
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem modifyToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
}
}

View File

@ -0,0 +1,789 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using SystemX.Product.ALIS.UI.View.InfoList;
using System.Data.SqlClient;
using SystemX.Product.ALIS.Interface;
using static SystemX.Product.ALIS.UI.View.ViewCfg;
using static SystemX.Net.Platform.Common.Util.LogMessage;
using DevExpress.XtraGrid.Columns;
using static SystemX.Product.ALIS.UI.Commons;
using System.Diagnostics;
using DevExpress.XtraGrid.Views.Grid.ViewInfo;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UcInfoView : UserControl, IUserControlSubscribe
{
/// <summary>
/// IUserControlSubscribe - SetLoginStateNotice
/// </summary>
/// <param name="CurrentAccessLevel"></param>
/// <param name="bLoginState"></param>
public void SetLoginStateNotice(LoginAccessLevel CurrentAccessLevel, bool bLoginState)
{
bool bSetState = ((CurrentAccessLevel == ThisAccessLevel) && (bLoginState == true)) ? true : false;
ViewLoginState = bSetState;
WizardCancelEvent?.Invoke(bSetState, null);
this.Invoke((MethodInvoker)delegate ()
{
if (bSetState)
{
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
else
{
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
}
});
}
/// <summary>
/// IUserControlSubscribe - GoToFindTestListFileFocus
/// </summary>
/// <param name="nTestListFileNo"></param>
public void GoToFindTestListFileFocus(int nTestListFileNo)
{
;//
}
/// <summary>
/// IUserControlSubscribe - GoToFindParentFocus
/// </summary>
/// <param name="nParentNo"></param>
public void GoToFindVariantFocus(int nVariantNo)
{
;//
}
/// <summary>
/// IUserControlSubscribe
/// </summary>
public void RefreshDataView()
{
ViewList();
}
private void EventClear(object obj)
{
if (WizardCancelEvent != null)
{
foreach (Delegate d in WizardCancelEvent?.GetInvocationList())
{
if (d.Target.GetType() == obj.GetType())
WizardCancelEvent -= (EventHandler)d;
}
}
}
public event EventHandler WizardCancelEvent;
public int AbsoluteIndexRow { get; set; }
public string AbsoluteUniqueNo { get; set; }
public string AbsoluteHostName { get; set; }
public string AbsoluteSubName { get; set; }
//public int AbsoluteIndexCol { get; set; }
IDataController ctrlDB;
private DataSet ds = new DataSet();
private DataTable dt = new DataTable();
eSelectType SelectOpenType { get; set; }
string strSelectTable;
public LoginAccessLevel ThisAccessLevel { get; private set; }
public bool ViewLoginState { private set; get; }
private Stopwatch stClickTimer;
private long lClickTimerValue;
private int nPopupMenuHitRow;
public UcInfoView(eSelectType SelType, IDataController ctrlDB, LoginAccessLevel MakeAccessLevel, bool bLoginState = false)
{
InitializeComponent();
ThisAccessLevel = MakeAccessLevel;
ViewLoginState = bLoginState;
if (ViewLoginState)
{
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
// This line of code is generated by Data Source Configuration Wizard
// Fill a SqlDataSource
this.ctrlDB = ctrlDB;
SelectOpenType = SelType;
layoutControlItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layoutControlItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layoutControlItem5.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layoutControlItem6.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
switch (SelectOpenType)
{
case eSelectType.HostList:
layoutControlItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
strSelectTable = "STAT_Host";
break;
case eSelectType.UserList:
layoutControlItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
strSelectTable = "STAT_User";
break;
case eSelectType.GroupList:
layoutControlItem5.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
strSelectTable = "PROD_Group";
break;
case eSelectType.TestCodeList:
layoutControlItem6.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
strSelectTable = "STAT_TestCode";
break;
}
ViewList();
AbsoluteIndexRow = -1;
//AbsoluteIndexCol = -1;
AbsoluteUniqueNo = "";
simpleButtonRegister1.Text = "Register " + SelectOpenType.ToString() + "(Ctrl+N)";
stClickTimer = new Stopwatch();
stClickTimer.Start();
}
public bool CreateInfo(eSelectType SelType, long lChkTime = long.MaxValue)
{
bool bCreateInfoResult = true;
try
{
switch (SelType)
{
case eSelectType.HostList:
SelHostInfo.HostID = gridHistView.GetFocusedRowCellValue("HostID").ToString();
SelHostInfo.Section = gridHistView.GetFocusedRowCellValue("Section").ToString();
SelHostInfo.IP = gridHistView.GetFocusedRowCellValue("IP").ToString();
SelHostInfo.TestCode = gridHistView.GetFocusedRowCellValue("TestCode").ToString();
SelHostInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
AbsoluteHostName = SelHostInfo.HostID;
AbsoluteSubName = SelHostInfo.Section;
break;
case eSelectType.UserList:
SelUserInfo.UserID = gridHistView.GetFocusedRowCellValue("UserID").ToString();
SelUserInfo.Name = gridHistView.GetFocusedRowCellValue("Name").ToString();
//SelUserInfo.Password = gridHistView.GetFocusedRowCellValue("Password").ToString();
SelUserInfo.Dept = gridHistView.GetFocusedRowCellValue("Dept").ToString();
SelUserInfo.Email = gridHistView.GetFocusedRowCellValue("Email").ToString();
SelUserInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
AbsoluteHostName = SelUserInfo.UserID;
AbsoluteSubName = SelUserInfo.Name;
break;
case eSelectType.GroupList:
SelGroupInfo.GroupName = gridHistView.GetFocusedRowCellValue("GroupName").ToString();
SelGroupInfo.ModelName = gridHistView.GetFocusedRowCellValue("ModelName").ToString();
SelGroupInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
AbsoluteHostName = SelGroupInfo.GroupName;
AbsoluteSubName = SelGroupInfo.ModelName;
break;
case eSelectType.TestCodeList:
SelTestCodeInfo.TestCode = gridHistView.GetFocusedRowCellValue("TestCode").ToString();
SelTestCodeInfo.Gate1 = gridHistView.GetFocusedRowCellValue("Gate1").ToString();
SelTestCodeInfo.Gate2 = gridHistView.GetFocusedRowCellValue("Gate2").ToString();
SelTestCodeInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
AbsoluteHostName = SelTestCodeInfo.TestCode;
AbsoluteSubName = SelTestCodeInfo.Gate1 + "/" + SelTestCodeInfo.Gate2;
break;
}
}
catch { bCreateInfoResult = false; }
finally
{
if (bCreateInfoResult)
{
if (lChkTime <= 200)
{
ModifyItem();
}
}
}
return bCreateInfoResult;
}
private void ViewList(string strSetTableName = "")
{
eDbTableList selTable = eDbTableList.NONE;
string vTblName = string.Empty;
if (strSetTableName.Length > 0)
vTblName = strSetTableName;
else
vTblName = strSelectTable;
if (Enum.TryParse<eDbTableList>(vTblName, out selTable))
{
ViewgridControl.BeginUpdate();
ViewgridControl.DataSource = null;
gridHistView.RefreshData();
ViewgridControl.DataSource = ctrlDB.GetTable(selTable);
//ViewgridControl.DataMember = vTblName;
ViewgridControl.Views[0].PopulateColumns();
gridHistView.BestFitColumns();
ViewgridControl.EndUpdate();
}
PasswordItemOff();
}
private void PasswordItemOff()
{
IEnumerable<bool> getIndexResult = gridHistView.Columns.Select(x => x.FieldName == "Password");
if (getIndexResult == null)
return;
if (getIndexResult.Any())
{
if (gridHistView.Columns.Any(x => x.FieldName == "Password"))
{
GridColumn gc = gridHistView.Columns.First(x => x.FieldName == "Password");
int igetIdx = gridHistView.Columns.IndexOf(gc);
if (gridHistView.Columns[igetIdx].Visible)
gridHistView.Columns[igetIdx].Visible = false;
}
}
}
private void NewItem()
{
DialogResult getResult = new DialogResult();
getResult = DialogResult.None;
switch (SelectOpenType)
{
case eSelectType.HostList:
HostInfoEdit CtrlHostinfo = new HostInfoEdit(ctrlDB, HostInfoEdit.eSelectMode.Insert, SelHostInfo);
CtrlHostinfo.Location = Cursor.Position;
EventClear(CtrlHostinfo);
WizardCancelEvent += CtrlHostinfo.WizardCancelEvent;
CtrlHostinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlHostinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO STAT_Host (HostID, Section, IP, TestCode, Comment) VALUES " +
"('" + SelHostInfo.HostID + "', '" + SelHostInfo.Section + "', '" + SelHostInfo.IP + "', '" + SelHostInfo.TestCode + "', '" + SelHostInfo.Comment + "');";
}
break;
case eSelectType.UserList:
UserInfoEdit CtrlUserinfo = new UserInfoEdit(ctrlDB, UserInfoEdit.eSelectMode.Insert, SelUserInfo);
CtrlUserinfo.Location = Cursor.Position;
EventClear(CtrlUserinfo);
WizardCancelEvent += CtrlUserinfo.WizardCancelEvent;
CtrlUserinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlUserinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO STAT_User (UserID, Name, Password, Dept, Email, Comment) VALUES " +
"('" + SelUserInfo.UserID + "', '" + SelUserInfo.Name + "', '" + SelUserInfo.Password + "', '" + SelUserInfo.Dept + "', '" + SelUserInfo.Email + "', '" + SelUserInfo.Comment + "');";
}
break;
case eSelectType.GroupList:
GroupInfoEdit CtrlGroupinfo = new GroupInfoEdit(ctrlDB, GroupInfoEdit.eSelectMode.Insert, SelGroupInfo);
CtrlGroupinfo.Location = Cursor.Position;
EventClear(CtrlGroupinfo);
WizardCancelEvent += CtrlGroupinfo.WizardCancelEvent;
CtrlGroupinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlGroupinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO PROD_Group (GroupName, ModelName, Comment) VALUES" +
"('" + SelGroupInfo.GroupName + "', '" + SelGroupInfo.ModelName + "', '" + SelGroupInfo.Comment + "');";
}
break;
case eSelectType.TestCodeList:
TestCodeInfoEdit CtrlTestCodeinfo = new TestCodeInfoEdit(ctrlDB, TestCodeInfoEdit.eSelectMode.Insert, SelTestCodeInfo);
CtrlTestCodeinfo.Location = Cursor.Position;
EventClear(CtrlTestCodeinfo);
WizardCancelEvent += CtrlTestCodeinfo.WizardCancelEvent;
CtrlTestCodeinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlTestCodeinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO STAT_TestCode (TestCode, Gate1, Gate2, Comment) VALUES" +
"('" + SelTestCodeInfo.TestCode + "', '" + SelTestCodeInfo.Gate1 + "', '" + SelTestCodeInfo.Gate2 + "', '" + SelTestCodeInfo.Comment + "');";
}
break;
default:
break;
}
try
{
if (getResult == DialogResult.OK)
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" " + SelectOpenType.ToString() + " Insert Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
ViewList();
}
private void simpleButtonRegister1_Click(object sender, EventArgs e)
{
NewItem();
}
private void ModifyItem()
{
if (ViewLoginState == false)
return;
if (AbsoluteIndexRow < 0 || AbsoluteUniqueNo.Length < 0)
{
MessageBox.Show("Click the [No] column of the row you want.", strSelectTable, MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
}
DialogResult getResult = new DialogResult();
getResult = DialogResult.None;
switch (SelectOpenType)
{
case eSelectType.HostList:
HostInfoEdit CtrlHostinfo = new HostInfoEdit(ctrlDB, HostInfoEdit.eSelectMode.Modify, SelHostInfo);
CtrlHostinfo.Location = Cursor.Position;
EventClear(CtrlHostinfo);
WizardCancelEvent += CtrlHostinfo.WizardCancelEvent;
CtrlHostinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlHostinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE STAT_Host SET HostID = '" + SelHostInfo.HostID +
"', Section= '" + SelHostInfo.Section +
"', IP = '" + SelHostInfo.IP +
"', TestCode = '" + SelHostInfo.TestCode +
"', Comment = '" + SelHostInfo.Comment +
"' WHERE No = " + AbsoluteUniqueNo + ";";
}
break;
case eSelectType.UserList:
UserInfoEdit CtrlUserinfo = new UserInfoEdit(ctrlDB, UserInfoEdit.eSelectMode.Modify, SelUserInfo);
CtrlUserinfo.Location = Cursor.Position;
EventClear(CtrlUserinfo);
WizardCancelEvent += CtrlUserinfo.WizardCancelEvent;
CtrlUserinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlUserinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE STAT_User SET UserID = '" + SelUserInfo.UserID + "'," +
"Name = '" + SelUserInfo.Name + "'," +
"Password = '" + SelUserInfo.Password + "'," +
"Dept = '" + SelUserInfo.Dept + "'," +
"Email = '" + SelUserInfo.Email + "'," +
"Comment = '" + SelUserInfo.Comment + "'" +
"WHERE No = " + AbsoluteUniqueNo + ";";
}
break;
case eSelectType.GroupList:
GroupInfoEdit CtrlGroupinfo = new GroupInfoEdit(ctrlDB, GroupInfoEdit.eSelectMode.Modify, SelGroupInfo);
CtrlGroupinfo.Location = Cursor.Position;
EventClear(CtrlGroupinfo);
WizardCancelEvent += CtrlGroupinfo.WizardCancelEvent;
CtrlGroupinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlGroupinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE PROD_Group SET GroupName = '" + SelGroupInfo.GroupName + "'," +
"ModelName = '" + SelGroupInfo.ModelName + "'," +
"Comment = '" + SelGroupInfo.Comment + "'" +
"WHERE No = " + AbsoluteUniqueNo + ";";
}
break;
case eSelectType.TestCodeList:
TestCodeInfoEdit CtrlTestCodeinfo = new TestCodeInfoEdit(ctrlDB, TestCodeInfoEdit.eSelectMode.Modify, SelTestCodeInfo);
CtrlTestCodeinfo.Location = Cursor.Position;
EventClear(CtrlTestCodeinfo);
WizardCancelEvent += CtrlTestCodeinfo.WizardCancelEvent;
CtrlTestCodeinfo.StartPosition = FormStartPosition.CenterParent;
getResult = CtrlTestCodeinfo.ShowDialog();
if (getResult == DialogResult.OK)
{
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE STAT_TestCode SET TestCode = '" + SelTestCodeInfo.TestCode + "'," +
"Gate1 = '" + SelTestCodeInfo.Gate1 + "'," +
"Gate2 = '" + SelTestCodeInfo.Gate2 + "'," +
"Comment = '" + SelTestCodeInfo.Comment + "'" +
"WHERE No = " + AbsoluteUniqueNo + ";";
}
break;
default:
break;
}
try
{
if (getResult == DialogResult.OK)
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" " + SelectOpenType.ToString() + " Update Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
ViewList();
}
private void simpleButtonModify1_Click(object sender, EventArgs e)
{
ModifyItem();
}
private void ClearListSelect()
{
simpleLabelItemSelectRow.Text = "-";
AbsoluteIndexRow = -1;
AbsoluteUniqueNo = "";
}
private void GridViewSelectedProc(object objHandle, int nRow)
{
lClickTimerValue = stClickTimer.ElapsedMilliseconds;
AbsoluteIndexRow = nRow;
simpleLabelItemSelectRow.Text = "Select Row : " + (nRow + 1).ToString();
if (objHandle != null)
{
try
{
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
AbsoluteUniqueNo = strNumber;
if (CreateInfo(SelectOpenType, lClickTimerValue))
stClickTimer.Restart();
}
catch
{
ClearListSelect();
}
}
else
{
ClearListSelect();
}
}
private void gridHistView_RowClick(object sender, RowClickEventArgs e)
{
object objHandle = null;
try
{
objHandle = gridHistView.GetFocusedRowCellValue("No");
}
catch
{
objHandle = null;
}
finally
{
GridViewSelectedProc(objHandle, e.RowHandle);
}
}
private void gridHistView_RowCellClick(object sender, RowCellClickEventArgs e)
{
/*if (e.Column.FieldName.Equals("No"))
{
simpleLabelItemSelectRow.Text = "Select Row : " + (e.RowHandle + 1).ToString();
simpleLabelItemSelectCol.Text = "Select Col : " + (e.Column.AbsoluteIndex + 1).ToString();
AbsoluteIndexRow = e.RowHandle;
AbsoluteIndexCol = e.Column.AbsoluteIndex;
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
AbsoluteUniqueNo = strNumber;
CreateInfo(SelectOpenType);
}
else
{
simpleLabelItemSelectRow.Text = "-";
simpleLabelItemSelectCol.Text = "-";
AbsoluteIndexRow = -1;
AbsoluteIndexCol = -1;
AbsoluteUniqueNo = "";
}*/
}
private void simpleButtonViewList_Click(object sender, EventArgs e)
{
ViewList();
}
private void simpleButtonDataMod_Click(object sender, EventArgs e)
{
if (layoutControlItemModelMod.Visibility == DevExpress.XtraLayout.Utils.LayoutVisibility.Never)
{
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
else
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
}
private void UcInfoView_Enter(object sender, EventArgs e)
{
PasswordItemOff();
gridHistView.Focus();
}
private bool LoginStateCheck()
{
return ViewLoginState;
}
private bool CheckRowSelectInfo()
{
object objHandle = null;
bool bCheckResult = true;
try
{
objHandle = gridHistView.GetFocusedRowCellValue("No");
}
catch
{
objHandle = null;
bCheckResult = false;
}
finally
{
;//
}
return bCheckResult;
}
private void contextMenuStrip_Opening(object sender, CancelEventArgs e)
{
if (LoginStateCheck() == false)
e.Cancel = true;
if (AbsoluteIndexRow < 0 || AbsoluteUniqueNo.Length < 0)
e.Cancel = true;
if (CheckRowSelectInfo())
{
try
{
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
if (AbsoluteUniqueNo != strNumber)
e.Cancel = true;
GridHitInfo hInfo = gridHistView.CalcHitInfo(ViewgridControl.PointToClient(Cursor.Position));
if (hInfo.RowInfo != null)
nPopupMenuHitRow = hInfo.RowInfo.RowHandle;
else
e.Cancel = true;
}
catch
{
e.Cancel = true;
}
}
}
private void DeleteItem()
{
string strTitle = SelectOpenType.ToString();
if (AbsoluteIndexRow >= 0 && AbsoluteUniqueNo.Length > 0)
{
if (MessageBox.Show("Are you sure you want to delete the " + strTitle + " [" + AbsoluteHostName + "] [" + AbsoluteSubName + "] information ?", strTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
switch (SelectOpenType)
{
case eSelectType.HostList:
ctrlDB.GetConnSqlCmd().CommandText = "DELETE STAT_Host WHERE No = '" + AbsoluteUniqueNo + "';";
break;
case eSelectType.UserList:
ctrlDB.GetConnSqlCmd().CommandText = "DELETE STAT_User WHERE No = '" + AbsoluteUniqueNo + "';";
break;
case eSelectType.GroupList:
ctrlDB.GetConnSqlCmd().CommandText = "DELETE PROD_Group WHERE No = '" + AbsoluteUniqueNo + "';";
break;
case eSelectType.TestCodeList:
ctrlDB.GetConnSqlCmd().CommandText = "DELETE STAT_TestCode WHERE No = '" + AbsoluteUniqueNo + "';";
break;
}
try
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" " + SelectOpenType.ToString() + " Delete Item Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
ViewList();
}
}
}
private void contextMenuStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
ToolStripItem tsp = e.ClickedItem;
int nTag = Convert.ToInt32(tsp.Tag);
switch (nTag)
{
case 0:
NewItem();
break;
case 1:
ModifyItem();
break;
case 2:
DeleteItem();
break;
}
}
private void timerUI_Tick(object sender, EventArgs e)
{
if (ViewgridControl.ClientRectangle.Contains(ViewgridControl.PointToClient(Control.MousePosition)))
{
GridHitInfo hInfo = gridHistView.CalcHitInfo(ViewgridControl.PointToClient(Cursor.Position));
if (hInfo.RowInfo != null)
{
if (contextMenuStrip.ClientRectangle.Contains(contextMenuStrip.PointToClient(Control.MousePosition)))
return;
if (nPopupMenuHitRow != hInfo.RowInfo.RowHandle)
{
if (contextMenuStrip.Visible)
contextMenuStrip.Close();
}
}
}
else
{
if (contextMenuStrip.Visible)
contextMenuStrip.Close();
}
}
private void gridHistView_KeyPress(object sender, KeyPressEventArgs e)
{
byte ucGetChar = Convert.ToByte(e.KeyChar);
switch (ucGetChar)
{
case 13:
if (gridHistView.SelectedRowsCount > 0)
{
object objHandle = null;
try
{
objHandle = gridHistView.GetFocusedRowCellValue("No");
}
catch
{
objHandle = null;
}
finally
{
int[] nRows = gridHistView.GetSelectedRows();
GridViewSelectedProc(objHandle, nRows[0]);
}
}
break;
case 27:
simpleButtonRegister1.Focus();
break;
}
}
}
}

View File

@ -0,0 +1,448 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>22, 19</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="newToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAABcFJREFUWEed
l3lsFGUchvEEFBVvJRAUFDm8/VNRIAgiHiEeMRqiISCJBjlEEUQQEJBU1BCj8YrGxB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OPGAoLxlAuFnA703EdKRgw+LF1vyJAeW04zdFbaI5n+LTLop1yoQiDX4x3Krkxeq7QMZIUDBjy
6NpfOPo0QpQ3Ud5KebgTiDiYkB4xTkTeVIQTIuZ8eFCyUcQ3QHtz6EOrf+LoLTTEMlz1Wd572CjCYMco
wgnyTkUUinnm/QOSjSb6POEbcPW0VT+iPprhwsuiJQG0Ui5MSJsinCAzFTvGwS/ExMx+r0Sy60nBgGEP
rPgejZQ3Uy4UYYf4xTgh/yqGzORDjo6CAdqbw+9fvgeNcfD+d2FC3BgnokeMInjOjTEhJmbGhn2S3UAK
Blw75ZXdaKBYEQY7xhPixpDepuLGKILnp/iQo+NGos+SvgEjJi8pRn0MXITd5IZ4J2NCvJNxYxTBswmZ
vv4PyW4ivgHaGiMnLd6JUBQIUayQU8XkTUURPPtN5gk+5Oi4mRQMGDVx0Q7UMUCYEJ3zYpwQN4bkxXhC
hB5ydPQaMHrCC9tQ2w7UUip6xBAT4sZ4Qk41mUfW/izZLcQ3QCtzzLiFW1EdAWoYIUyMCfGLcadCcqfi
jXmYDzk6eg+4a8EWBBmgCBsnxI0h/yuGAdNW/tBrgL0Gxs7bjEAYCFCuEDuGUm+IHUNp3i2iNG/xUm5u
04N8yNGhbVjwSTj09rmbcMe8TRhrsxl3zhdboMmMe34rdIvGL9yG8VwrE17cjomCC/fulwh30KTFuzB5
yS7c83IxppB7lxZjKp8tU5d9h/uW7ZGs4CcifSzXl0p9aBxDVKo9q1Wbi8bo5dZeuM0563qS60urPgB3
B3gi9ANNQiPSffqvmG/KfujneueuHECffwDqpp1enchBPwAAAABJRU5ErkJggg==
</value>
</data>
<data name="modifyToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABd0RVh0VGl0
bGUATW9kaWZ5VGFibGVTdHlsZTvvH3A0AAAI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AOGZtQh
vqgGV07sQKXvXPynPQvd163QETwRHQlrkbjeHFfWjIByvwNuFagQercGey7fw3zXWP4i4gYUARybYSj5
fMrfJ+rz2GC6jffquY7R7Z85xWDu1hjMoXGO41UtszdHY5HrVXyvTIPSwxEVPrPwQ0s6OqOXoO30e+iI
s0H838xwydoMXnZfwzsiHct3xWDmpguYaRvZ/pGVx1/JI3+Q6B2ZbiAdnqYOgPciV4G705R4m+BS6cJr
N5aYdGTpJ4qMo+vxvCkJnZEWaDs+Fo+vrcCNNaa4sMwELlMHK+m5T4jfav5mNPEWod3791xGSIc+HiL9
g+CLA2C4EvwA7w1duGn4SdPNs99ZdmXTAvqOADrC56P10Ci0XV6C2JXGOLd4OFw/HhxIz40nTAhOT/4k
53lF5kz9blPJY7K+5P6heBVoLzmQ1+HA+Enz0ytnROUEH0Tb/Tw0upujNWohYpYa4cwXxtg+Wd+fnhlD
cJm5ovL7XkuR3XCpdscwqcZ1mOT2wSDpAKH9NOoPzcUTGZqaj5+8c/WK3q76KjSmBCPD1xln7S3hbzkF
zpP0A+gZlotDhtBLXDNcSrRRc8fGRCqwHSY93DZUUOM4VNo/cZCgX7EMT0RwNqZT/2C1126LG1pzopB2
zBEKm1k4Om8S7Ke+zXI+YLTy26uMJcFKNfnrSOxgIKi2HyLY9/5AQb9iGZ6M4DUc+fvPvqqw/1YJi/l/
wRdTJj1zmTb62tJ3TVby7wj5zaaXsMJIEliryV1rKFVvHCxVMbb6Wn5JANxAIyZ8tACmoyZXGZmMPzhg
oMF0+hmXnD8yudFE5nt/N1D6pfQrluFJNZNzhuaE7pbixtQ2254Jb0r/D/2KZTSXHIS8Jf9nSxG/4pKk
/wLe7/y3Uh7PLQAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/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3pO
faKtBbEAAAAASUVORK5CYII=
</value>
</data>
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="simpleButtonDataMod.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAF8CAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9Cgku
UmVke2ZpbGw6I0QxMUMxQzt9CgkuWWVsbG93e2ZpbGw6I0ZGQjExNTt9CgkuR3JlZW57ZmlsbDojMDM5
QzIzO30KPC9zdHlsZT4NCiAgPGcgaWQ9Ildhcm5pbmdDaXJjbGVkMSI+DQogICAgPHBhdGggZD0iTTE2
LDJDOC4zLDIsMiw4LjMsMiwxNnM2LjMsMTQsMTQsMTRzMTQtNi4zLDE0LTE0UzIzLjcsMiwxNiwyeiBN
MTYsMjRjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTIgICBzMiwwLjksMiwyQzE4LDIzLjEs
MTcuMSwyNCwxNiwyNHogTTE4LDE4aC00VjhoNFYxOHoiIGNsYXNzPSJSZWQiIC8+DQogIDwvZz4NCjwv
c3ZnPgs=
</value>
</data>
<data name="simpleButtonTestCode.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
M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DwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonGroup.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0K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uNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonUser.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi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SwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonHost.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZG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tMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonModify1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAL4DAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4b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3ZnPgs=
</value>
</data>
<data name="simpleButtonRegister1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAGYEAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5Z
ZWxsb3d7ZmlsbDojRkZCMTE1O30KCS5SZWR7ZmlsbDojRDExQzFDO30KCS5HcmVlbntmaWxsOiMwMzlD
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntkaXNwbGF5Om5vbmU7fQoJLnN0M3tk
aXNwbGF5OmlubGluZTtmaWxsOiNGRkIxMTU7fQoJLnN0NHtkaXNwbGF5OmlubGluZTt9Cgkuc3Q1e2Rp
c3BsYXk6aW5saW5lO29wYWNpdHk6MC43NTt9Cgkuc3Q2e2Rpc3BsYXk6aW5saW5lO29wYWNpdHk6MC41
O30KCS5zdDd7ZGlzcGxheTppbmxpbmU7ZmlsbDojMDM5QzIzO30KCS5zdDh7ZGlzcGxheTppbmxpbmU7
ZmlsbDojRDExQzFDO30KCS5zdDl7ZGlzcGxheTppbmxpbmU7ZmlsbDojMTE3N0Q3O30KCS5zdDEwe2Rp
c3BsYXk6aW5saW5lO2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+DQogIDxnIGlkPSJEb2N1bWVudF8xXyI+
DQogICAgPHBhdGggZD0iTTE1LDIwbDktOWw1LDVsLTksOUwxNSwyMHogTTMxLjcsMTEuOWwtMy42LTMu
NmMtMC40LTAuNC0xLTAuNC0xLjQsMEwyNSwxMGw1LDVsMS43LTEuNyAgIEMzMi4xLDEyLjksMzIuMSwx
Mi4zLDMxLjcsMTEuOXogTTE0LDI2aDVsLTUtNVYyNnoiIGNsYXNzPSJCbHVlIiAvPg0KICAgIDxwYXRo
IGQ9Ik0yNCwyMy44VjI4aC00LjJIMTJINlY0aDE4djQuMmwyLTJWM2MwLTAuNS0wLjUtMS0xLTFINUM0
LjQsMiw0LDIuNSw0LDN2MjZjMCwwLjUsMC41LDEsMSwxaDIwICAgYzAuNSwwLDEtMC41LDEtMXYtNy4y
TDI0LDIzLjh6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<metadata name="timerUI.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>173, 19</value>
</metadata>
</root>

View File

@ -0,0 +1,266 @@

namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class GroupInfoEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
this.textBoxComment = new System.Windows.Forms.TextBox();
this.textBoxModelName = new System.Windows.Forms.TextBox();
this.textBoxGroupName = new System.Windows.Forms.TextBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
this.labelControlComment = new DevExpress.XtraEditors.LabelControl();
this.labelControlModelName = new DevExpress.XtraEditors.LabelControl();
this.labelControlGroupName = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
this.wizardControl.SuspendLayout();
this.wizardPage.SuspendLayout();
this.completionWizardPage1.SuspendLayout();
this.SuspendLayout();
//
// wizardControl
//
this.wizardControl.Controls.Add(this.welcomeWizardPage);
this.wizardControl.Controls.Add(this.wizardPage);
this.wizardControl.Controls.Add(this.completionWizardPage1);
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.wizardControl.Name = "wizardControl";
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
this.welcomeWizardPage,
this.wizardPage,
this.completionWizardPage1});
this.wizardControl.Size = new System.Drawing.Size(800, 450);
this.wizardControl.Text = "STAT Host";
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
//
// welcomeWizardPage
//
this.welcomeWizardPage.Name = "welcomeWizardPage";
this.welcomeWizardPage.Size = new System.Drawing.Size(740, 283);
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
//
// wizardPage
//
this.wizardPage.Controls.Add(this.textBoxComment);
this.wizardPage.Controls.Add(this.textBoxModelName);
this.wizardPage.Controls.Add(this.textBoxGroupName);
this.wizardPage.Controls.Add(this.labelControl4);
this.wizardPage.Controls.Add(this.labelControl2);
this.wizardPage.Controls.Add(this.labelControl1);
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
this.wizardPage.Name = "wizardPage";
this.wizardPage.Size = new System.Drawing.Size(740, 283);
this.wizardPage.Text = "STAT Host Information";
//
// textBoxComment
//
this.textBoxComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxComment.Location = new System.Drawing.Point(135, 166);
this.textBoxComment.MaxLength = 256;
this.textBoxComment.Name = "textBoxComment";
this.textBoxComment.Size = new System.Drawing.Size(574, 21);
this.textBoxComment.TabIndex = 3;
//
// textBoxModelName
//
this.textBoxModelName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxModelName.Location = new System.Drawing.Point(135, 139);
this.textBoxModelName.MaxLength = 128;
this.textBoxModelName.Name = "textBoxModelName";
this.textBoxModelName.Size = new System.Drawing.Size(161, 21);
this.textBoxModelName.TabIndex = 2;
//
// textBoxGroupName
//
this.textBoxGroupName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxGroupName.Location = new System.Drawing.Point(135, 112);
this.textBoxGroupName.MaxLength = 128;
this.textBoxGroupName.Name = "textBoxGroupName";
this.textBoxGroupName.Size = new System.Drawing.Size(161, 21);
this.textBoxGroupName.TabIndex = 1;
//
// labelControl4
//
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl4.Appearance.Options.UseFont = true;
this.labelControl4.Location = new System.Drawing.Point(31, 169);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(55, 15);
this.labelControl4.TabIndex = 7;
this.labelControl4.Text = "Comment";
//
// labelControl2
//
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Appearance.Options.UseFont = true;
this.labelControl2.Location = new System.Drawing.Point(31, 142);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(72, 15);
this.labelControl2.TabIndex = 3;
this.labelControl2.Text = "Model Name";
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Appearance.Options.UseFont = true;
this.labelControl1.Location = new System.Drawing.Point(31, 115);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(71, 15);
this.labelControl1.TabIndex = 1;
this.labelControl1.Text = "Group Name";
//
// completionWizardPage1
//
this.completionWizardPage1.Controls.Add(this.labelControlComment);
this.completionWizardPage1.Controls.Add(this.labelControlModelName);
this.completionWizardPage1.Controls.Add(this.labelControlGroupName);
this.completionWizardPage1.Controls.Add(this.labelControl5);
this.completionWizardPage1.Controls.Add(this.labelControl7);
this.completionWizardPage1.Controls.Add(this.labelControl8);
this.completionWizardPage1.Name = "completionWizardPage1";
this.completionWizardPage1.Size = new System.Drawing.Size(740, 283);
//
// labelControlComment
//
this.labelControlComment.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlComment.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlComment.Appearance.Options.UseFont = true;
this.labelControlComment.Appearance.Options.UseForeColor = true;
this.labelControlComment.Location = new System.Drawing.Point(352, 161);
this.labelControlComment.Name = "labelControlComment";
this.labelControlComment.Size = new System.Drawing.Size(55, 15);
this.labelControlComment.TabIndex = 15;
this.labelControlComment.Text = "Comment";
//
// labelControlModelName
//
this.labelControlModelName.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlModelName.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlModelName.Appearance.Options.UseFont = true;
this.labelControlModelName.Appearance.Options.UseForeColor = true;
this.labelControlModelName.Location = new System.Drawing.Point(352, 130);
this.labelControlModelName.Name = "labelControlModelName";
this.labelControlModelName.Size = new System.Drawing.Size(72, 15);
this.labelControlModelName.TabIndex = 13;
this.labelControlModelName.Text = "Model Name";
//
// labelControlGroupName
//
this.labelControlGroupName.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlGroupName.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlGroupName.Appearance.Options.UseFont = true;
this.labelControlGroupName.Appearance.Options.UseForeColor = true;
this.labelControlGroupName.Location = new System.Drawing.Point(352, 100);
this.labelControlGroupName.Name = "labelControlGroupName";
this.labelControlGroupName.Size = new System.Drawing.Size(71, 15);
this.labelControlGroupName.TabIndex = 12;
this.labelControlGroupName.Text = "Group Name";
//
// labelControl5
//
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl5.Appearance.Options.UseFont = true;
this.labelControl5.Location = new System.Drawing.Point(96, 161);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(55, 15);
this.labelControl5.TabIndex = 11;
this.labelControl5.Text = "Comment";
//
// labelControl7
//
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl7.Appearance.Options.UseFont = true;
this.labelControl7.Location = new System.Drawing.Point(96, 130);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(72, 15);
this.labelControl7.TabIndex = 9;
this.labelControl7.Text = "Model Name";
//
// labelControl8
//
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl8.Appearance.Options.UseFont = true;
this.labelControl8.Location = new System.Drawing.Point(96, 100);
this.labelControl8.Name = "labelControl8";
this.labelControl8.Size = new System.Drawing.Size(71, 15);
this.labelControl8.TabIndex = 8;
this.labelControl8.Text = "Group Name";
//
// GroupInfoEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.wizardControl);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "GroupInfoEdit";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "STAT Host";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
this.wizardControl.ResumeLayout(false);
this.wizardPage.ResumeLayout(false);
this.wizardPage.PerformLayout();
this.completionWizardPage1.ResumeLayout(false);
this.completionWizardPage1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraWizard.WizardControl wizardControl;
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
private System.Windows.Forms.TextBox textBoxComment;
private System.Windows.Forms.TextBox textBoxModelName;
private System.Windows.Forms.TextBox textBoxGroupName;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
private DevExpress.XtraWizard.WizardPage wizardPage;
private DevExpress.XtraEditors.LabelControl labelControlComment;
private DevExpress.XtraEditors.LabelControl labelControlModelName;
private DevExpress.XtraEditors.LabelControl labelControlGroupName;
private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.LabelControl labelControl7;
private DevExpress.XtraEditors.LabelControl labelControl8;
}
}

View File

@ -0,0 +1,139 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SystemX.Product.ALIS.Interface;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class GroupInfoEdit : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private UcInfoView.selectGroupInfo SelGroupInfo;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "PROD Group";
private string strWizardControl = "PROD Group";
private string strWelcomeWizard = "Welcome to the PROD Group wizard!";
private string strWizardPage = "PROD Group Information";
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
public GroupInfoEdit(IDataController ctrlDB, eSelectMode setMode, UcInfoView.selectGroupInfo getSelGroupInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
//
CurrentWizardMode = setMode;
SelGroupInfo = getSelGroupInfo;
this.ctrlDB = ctrlDB;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
textBoxGroupName.Text = SelGroupInfo.GroupName;
textBoxModelName.Text = SelGroupInfo.ModelName;
textBoxComment.Text = SelGroupInfo.Comment;
break;
}
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
if (wizardControl.SelectedPageIndex == 1)
{
lock (objInfoControlNextLock)
{
try
{
if (CurrentWizardMode == eSelectMode.Insert)
{
if (ctrlDB.GetDuplicateCheck("PROD_Group", "ModelName", textBoxModelName.Text) == true)
throw new Exception($"ModelName is information that already exists. : {textBoxModelName.Text}");
}
string strItemName = "";
if (textBoxGroupName.Text.Length <= 0) { strItemName = "Group Name"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxModelName.Text.Length <= 0) { strItemName = "Model Name"; throw new Exception($"The value cannot be null." + strItemName); }
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
labelControlGroupName.Text = textBoxGroupName.Text;
labelControlModelName.Text = textBoxModelName.Text;
labelControlComment.Text = textBoxComment.Text;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
SelGroupInfo.GroupName = textBoxGroupName.Text;
SelGroupInfo.ModelName = textBoxModelName.Text;
SelGroupInfo.Comment = textBoxComment.Text;
}
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxGroupName;
textBoxGroupName.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,372 @@

namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class HostInfoEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
this.textBoxTestCode = new System.Windows.Forms.TextBox();
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
this.textBoxComment = new System.Windows.Forms.TextBox();
this.textBoxIP = new System.Windows.Forms.TextBox();
this.textBoxSection = new System.Windows.Forms.TextBox();
this.textBoxHostID = new System.Windows.Forms.TextBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
this.labelControlTestCode = new DevExpress.XtraEditors.LabelControl();
this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
this.labelControlComment = new DevExpress.XtraEditors.LabelControl();
this.labelControlIP = new DevExpress.XtraEditors.LabelControl();
this.labelControlSection = new DevExpress.XtraEditors.LabelControl();
this.labelControlHostID = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
this.wizardControl.SuspendLayout();
this.wizardPage.SuspendLayout();
this.completionWizardPage1.SuspendLayout();
this.SuspendLayout();
//
// wizardControl
//
this.wizardControl.Controls.Add(this.welcomeWizardPage);
this.wizardControl.Controls.Add(this.wizardPage);
this.wizardControl.Controls.Add(this.completionWizardPage1);
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.wizardControl.Name = "wizardControl";
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
this.welcomeWizardPage,
this.wizardPage,
this.completionWizardPage1});
this.wizardControl.Size = new System.Drawing.Size(800, 450);
this.wizardControl.Text = "STAT Host";
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
//
// welcomeWizardPage
//
this.welcomeWizardPage.Name = "welcomeWizardPage";
this.welcomeWizardPage.Size = new System.Drawing.Size(740, 283);
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
//
// wizardPage
//
this.wizardPage.Controls.Add(this.textBoxTestCode);
this.wizardPage.Controls.Add(this.labelControl9);
this.wizardPage.Controls.Add(this.textBoxComment);
this.wizardPage.Controls.Add(this.textBoxIP);
this.wizardPage.Controls.Add(this.textBoxSection);
this.wizardPage.Controls.Add(this.textBoxHostID);
this.wizardPage.Controls.Add(this.labelControl4);
this.wizardPage.Controls.Add(this.labelControl3);
this.wizardPage.Controls.Add(this.labelControl2);
this.wizardPage.Controls.Add(this.labelControl1);
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
this.wizardPage.Name = "wizardPage";
this.wizardPage.Size = new System.Drawing.Size(740, 283);
this.wizardPage.Text = "STAT Host Information";
//
// textBoxTestCode
//
this.textBoxTestCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxTestCode.Location = new System.Drawing.Point(231, 161);
this.textBoxTestCode.MaxLength = 15;
this.textBoxTestCode.Name = "textBoxTestCode";
this.textBoxTestCode.Size = new System.Drawing.Size(161, 21);
this.textBoxTestCode.TabIndex = 4;
//
// labelControl9
//
this.labelControl9.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl9.Appearance.Options.UseFont = true;
this.labelControl9.Location = new System.Drawing.Point(43, 164);
this.labelControl9.Name = "labelControl9";
this.labelControl9.Size = new System.Drawing.Size(135, 15);
this.labelControl9.TabIndex = 16;
this.labelControl9.Text = "TestCode(for verification)";
//
// textBoxComment
//
this.textBoxComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxComment.Location = new System.Drawing.Point(172, 188);
this.textBoxComment.MaxLength = 256;
this.textBoxComment.Name = "textBoxComment";
this.textBoxComment.Size = new System.Drawing.Size(528, 21);
this.textBoxComment.TabIndex = 5;
//
// textBoxIP
//
this.textBoxIP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxIP.Location = new System.Drawing.Point(231, 134);
this.textBoxIP.MaxLength = 15;
this.textBoxIP.Name = "textBoxIP";
this.textBoxIP.Size = new System.Drawing.Size(161, 21);
this.textBoxIP.TabIndex = 3;
//
// textBoxSection
//
this.textBoxSection.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxSection.Location = new System.Drawing.Point(231, 104);
this.textBoxSection.MaxLength = 8;
this.textBoxSection.Name = "textBoxSection";
this.textBoxSection.Size = new System.Drawing.Size(161, 21);
this.textBoxSection.TabIndex = 2;
//
// textBoxHostID
//
this.textBoxHostID.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxHostID.Location = new System.Drawing.Point(231, 74);
this.textBoxHostID.MaxLength = 8;
this.textBoxHostID.Name = "textBoxHostID";
this.textBoxHostID.Size = new System.Drawing.Size(161, 21);
this.textBoxHostID.TabIndex = 1;
//
// labelControl4
//
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl4.Appearance.Options.UseFont = true;
this.labelControl4.Location = new System.Drawing.Point(43, 191);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(55, 15);
this.labelControl4.TabIndex = 7;
this.labelControl4.Text = "Comment";
//
// labelControl3
//
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl3.Appearance.Options.UseFont = true;
this.labelControl3.Location = new System.Drawing.Point(43, 137);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(11, 15);
this.labelControl3.TabIndex = 5;
this.labelControl3.Text = "IP";
//
// labelControl2
//
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Appearance.Options.UseFont = true;
this.labelControl2.Location = new System.Drawing.Point(43, 107);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(41, 15);
this.labelControl2.TabIndex = 3;
this.labelControl2.Text = "Section";
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Appearance.Options.UseFont = true;
this.labelControl1.Location = new System.Drawing.Point(43, 77);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(37, 15);
this.labelControl1.TabIndex = 1;
this.labelControl1.Text = "HostID";
//
// completionWizardPage1
//
this.completionWizardPage1.Controls.Add(this.labelControlTestCode);
this.completionWizardPage1.Controls.Add(this.labelControl11);
this.completionWizardPage1.Controls.Add(this.labelControlComment);
this.completionWizardPage1.Controls.Add(this.labelControlIP);
this.completionWizardPage1.Controls.Add(this.labelControlSection);
this.completionWizardPage1.Controls.Add(this.labelControlHostID);
this.completionWizardPage1.Controls.Add(this.labelControl5);
this.completionWizardPage1.Controls.Add(this.labelControl6);
this.completionWizardPage1.Controls.Add(this.labelControl7);
this.completionWizardPage1.Controls.Add(this.labelControl8);
this.completionWizardPage1.Name = "completionWizardPage1";
this.completionWizardPage1.Size = new System.Drawing.Size(740, 283);
//
// labelControlTestCode
//
this.labelControlTestCode.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlTestCode.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlTestCode.Appearance.Options.UseFont = true;
this.labelControlTestCode.Appearance.Options.UseForeColor = true;
this.labelControlTestCode.Location = new System.Drawing.Point(365, 163);
this.labelControlTestCode.Name = "labelControlTestCode";
this.labelControlTestCode.Size = new System.Drawing.Size(52, 15);
this.labelControlTestCode.TabIndex = 17;
this.labelControlTestCode.Text = "TestCode";
//
// labelControl11
//
this.labelControl11.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl11.Appearance.Options.UseFont = true;
this.labelControl11.Location = new System.Drawing.Point(109, 163);
this.labelControl11.Name = "labelControl11";
this.labelControl11.Size = new System.Drawing.Size(52, 15);
this.labelControl11.TabIndex = 16;
this.labelControl11.Text = "TestCode";
//
// labelControlComment
//
this.labelControlComment.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlComment.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlComment.Appearance.Options.UseFont = true;
this.labelControlComment.Appearance.Options.UseForeColor = true;
this.labelControlComment.Location = new System.Drawing.Point(365, 191);
this.labelControlComment.Name = "labelControlComment";
this.labelControlComment.Size = new System.Drawing.Size(55, 15);
this.labelControlComment.TabIndex = 15;
this.labelControlComment.Text = "Comment";
//
// labelControlIP
//
this.labelControlIP.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlIP.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlIP.Appearance.Options.UseFont = true;
this.labelControlIP.Appearance.Options.UseForeColor = true;
this.labelControlIP.Location = new System.Drawing.Point(365, 135);
this.labelControlIP.Name = "labelControlIP";
this.labelControlIP.Size = new System.Drawing.Size(11, 15);
this.labelControlIP.TabIndex = 14;
this.labelControlIP.Text = "IP";
//
// labelControlSection
//
this.labelControlSection.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlSection.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlSection.Appearance.Options.UseFont = true;
this.labelControlSection.Appearance.Options.UseForeColor = true;
this.labelControlSection.Location = new System.Drawing.Point(365, 105);
this.labelControlSection.Name = "labelControlSection";
this.labelControlSection.Size = new System.Drawing.Size(41, 15);
this.labelControlSection.TabIndex = 13;
this.labelControlSection.Text = "Section";
//
// labelControlHostID
//
this.labelControlHostID.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlHostID.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlHostID.Appearance.Options.UseFont = true;
this.labelControlHostID.Appearance.Options.UseForeColor = true;
this.labelControlHostID.Location = new System.Drawing.Point(365, 75);
this.labelControlHostID.Name = "labelControlHostID";
this.labelControlHostID.Size = new System.Drawing.Size(37, 15);
this.labelControlHostID.TabIndex = 12;
this.labelControlHostID.Text = "HostID";
//
// labelControl5
//
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl5.Appearance.Options.UseFont = true;
this.labelControl5.Location = new System.Drawing.Point(109, 191);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(55, 15);
this.labelControl5.TabIndex = 11;
this.labelControl5.Text = "Comment";
//
// labelControl6
//
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl6.Appearance.Options.UseFont = true;
this.labelControl6.Location = new System.Drawing.Point(109, 135);
this.labelControl6.Name = "labelControl6";
this.labelControl6.Size = new System.Drawing.Size(11, 15);
this.labelControl6.TabIndex = 10;
this.labelControl6.Text = "IP";
//
// labelControl7
//
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl7.Appearance.Options.UseFont = true;
this.labelControl7.Location = new System.Drawing.Point(109, 105);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(41, 15);
this.labelControl7.TabIndex = 9;
this.labelControl7.Text = "Section";
//
// labelControl8
//
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl8.Appearance.Options.UseFont = true;
this.labelControl8.Location = new System.Drawing.Point(109, 75);
this.labelControl8.Name = "labelControl8";
this.labelControl8.Size = new System.Drawing.Size(37, 15);
this.labelControl8.TabIndex = 8;
this.labelControl8.Text = "HostID";
//
// HostInfoEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.wizardControl);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "HostInfoEdit";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "STAT Host";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
this.wizardControl.ResumeLayout(false);
this.wizardPage.ResumeLayout(false);
this.wizardPage.PerformLayout();
this.completionWizardPage1.ResumeLayout(false);
this.completionWizardPage1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraWizard.WizardControl wizardControl;
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
private System.Windows.Forms.TextBox textBoxComment;
private System.Windows.Forms.TextBox textBoxIP;
private System.Windows.Forms.TextBox textBoxSection;
private System.Windows.Forms.TextBox textBoxHostID;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LabelControl labelControl3;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
private DevExpress.XtraWizard.WizardPage wizardPage;
private DevExpress.XtraEditors.LabelControl labelControlComment;
private DevExpress.XtraEditors.LabelControl labelControlIP;
private DevExpress.XtraEditors.LabelControl labelControlSection;
private DevExpress.XtraEditors.LabelControl labelControlHostID;
private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.LabelControl labelControl6;
private DevExpress.XtraEditors.LabelControl labelControl7;
private DevExpress.XtraEditors.LabelControl labelControl8;
private System.Windows.Forms.TextBox textBoxTestCode;
private DevExpress.XtraEditors.LabelControl labelControl9;
private DevExpress.XtraEditors.LabelControl labelControlTestCode;
private DevExpress.XtraEditors.LabelControl labelControl11;
}
}

View File

@ -0,0 +1,213 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SystemX.Common;
using SystemX.Product.ALIS.Interface;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class HostInfoEdit : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private UcInfoView.selectHostInfo SelHostInfo;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "STAT Host";
private string strWizardControl = "STAT Host";
private string strWelcomeWizard = "Welcome to the STAT Host wizard!";
private string strWizardPage = "STAT Host Information";
private string strModifyHostID;
private string strModifySection;
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
public HostInfoEdit(IDataController ctrlDB, eSelectMode setMode, UcInfoView.selectHostInfo getSelHostInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
//
CurrentWizardMode = setMode;
SelHostInfo = getSelHostInfo;
this.ctrlDB = ctrlDB;
strModifyHostID = string.Empty;
strModifySection = string.Empty;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
textBoxHostID.Text = SelHostInfo.HostID;
textBoxSection.Text = SelHostInfo.Section;
textBoxIP.Text = SelHostInfo.IP;
textBoxTestCode.Text = SelHostInfo.TestCode;
textBoxComment.Text = SelHostInfo.Comment;
strModifyHostID = textBoxHostID.Text;
strModifySection = textBoxSection.Text;
break;
}
}
private DataTable getQueryDatabase(string strQuery)
{
ctrlDB.GetConnSqlCmd().CommandText = strQuery;
SqlDataReader reader;
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataTable dt = new DataTable();
dt.Load(reader);
reader.Close();
return dt;
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
if (wizardControl.SelectedPageIndex == 1)
{
lock (objInfoControlNextLock)
{
try
{
string strItemName = "";
string strGetQueryText = string.Empty;
if (textBoxHostID.Text.Length <= 0) { strItemName = "HostID"; throw new Exception($"The value cannot be null. " + strItemName); }
if (textBoxSection.Text.Length <= 0) { strItemName = "Section"; throw new Exception($"The value cannot be null. " + strItemName); }
if (textBoxIP.Text.Length <= 0) { strItemName = "IP"; throw new Exception($"The value cannot be null. " + strItemName); }
//
IPAddress getIPAddres;
if (IPAddress.TryParse(textBoxIP.Text, out getIPAddres) == false)
throw new Exception($"IP format is not correct. : {textBoxIP.Text}");
else
textBoxIP.Text = getIPAddres.ToString();
//
if (textBoxTestCode.Text.Length > 0)
{
strGetQueryText = "SELECT * FROM [STAT_TestCode] WHERE TestCode = '" + textBoxTestCode.Text + "';";
if(XCommons.isHasRow(getQueryDatabase(strGetQueryText)) == false)
{
strItemName = "TestCode"; throw new Exception($"Only existing test codes can be specified. " + strItemName);
}
}
string strGetHostID = textBoxHostID.Text;
string strGetSection = textBoxSection.Text;
strGetQueryText = "SELECT* FROM [STAT_Host] WHERE " +
"HostID = '" + strGetHostID + "' AND " +
"Section = '" + strGetSection + "' ORDER BY No ASC";
DataTable dtCheck = getQueryDatabase(strGetQueryText);
/*
DataRow[] drFindInfo = dtCheck.Select($"HostID='{strGetHostID}' AND Section='{strGetSection}'");
if (drFindInfo.Count() > 0)
{
MessageBox.Show("dddd");
}
*/
if (XCommons.isHasRow(dtCheck))
{
bool bExistException = true;
if (CurrentWizardMode == eSelectMode.Modify)
{
if (strGetHostID.CompareTo(strModifyHostID) == 0 &&
strGetSection.CompareTo(strModifySection) == 0)
bExistException = false;
}
if (bExistException)
throw new Exception($"HostID - Section Combine Key is information that already exists. : " +
$"{strGetHostID}" + " " + $"{strGetSection}");
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
labelControlHostID.Text = textBoxHostID.Text;
labelControlSection.Text = textBoxSection.Text;
labelControlIP.Text = textBoxIP.Text;
labelControlTestCode.Text = textBoxTestCode.Text;
labelControlComment.Text = textBoxComment.Text;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
SelHostInfo.HostID = textBoxHostID.Text;
SelHostInfo.Section = textBoxSection.Text;
SelHostInfo.IP = textBoxIP.Text;
SelHostInfo.TestCode = textBoxTestCode.Text;
SelHostInfo.Comment = textBoxComment.Text;
}
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxHostID;
textBoxHostID.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,319 @@

namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class TestCodeInfoEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
this.textBoxComment = new System.Windows.Forms.TextBox();
this.textBoxGate2 = new System.Windows.Forms.TextBox();
this.textBoxGate1 = new System.Windows.Forms.TextBox();
this.textBoxTestCode = new System.Windows.Forms.TextBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
this.labelControlComment = new DevExpress.XtraEditors.LabelControl();
this.labelControlGate2 = new DevExpress.XtraEditors.LabelControl();
this.labelControlGate1 = new DevExpress.XtraEditors.LabelControl();
this.labelControlTestCode = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
this.wizardControl.SuspendLayout();
this.wizardPage.SuspendLayout();
this.completionWizardPage1.SuspendLayout();
this.SuspendLayout();
//
// wizardControl
//
this.wizardControl.Controls.Add(this.welcomeWizardPage);
this.wizardControl.Controls.Add(this.wizardPage);
this.wizardControl.Controls.Add(this.completionWizardPage1);
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.wizardControl.Name = "wizardControl";
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
this.welcomeWizardPage,
this.wizardPage,
this.completionWizardPage1});
this.wizardControl.Size = new System.Drawing.Size(800, 450);
this.wizardControl.Text = "STAT Host";
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
//
// welcomeWizardPage
//
this.welcomeWizardPage.Name = "welcomeWizardPage";
this.welcomeWizardPage.Size = new System.Drawing.Size(740, 283);
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
//
// wizardPage
//
this.wizardPage.Controls.Add(this.textBoxComment);
this.wizardPage.Controls.Add(this.textBoxGate2);
this.wizardPage.Controls.Add(this.textBoxGate1);
this.wizardPage.Controls.Add(this.textBoxTestCode);
this.wizardPage.Controls.Add(this.labelControl4);
this.wizardPage.Controls.Add(this.labelControl3);
this.wizardPage.Controls.Add(this.labelControl2);
this.wizardPage.Controls.Add(this.labelControl1);
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
this.wizardPage.Name = "wizardPage";
this.wizardPage.Size = new System.Drawing.Size(740, 283);
this.wizardPage.Text = "STAT Host Information";
//
// textBoxComment
//
this.textBoxComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxComment.Location = new System.Drawing.Point(136, 169);
this.textBoxComment.MaxLength = 256;
this.textBoxComment.Name = "textBoxComment";
this.textBoxComment.Size = new System.Drawing.Size(574, 21);
this.textBoxComment.TabIndex = 4;
//
// textBoxGate2
//
this.textBoxGate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxGate2.Location = new System.Drawing.Point(136, 139);
this.textBoxGate2.MaxLength = 64;
this.textBoxGate2.Name = "textBoxGate2";
this.textBoxGate2.Size = new System.Drawing.Size(161, 21);
this.textBoxGate2.TabIndex = 3;
//
// textBoxGate1
//
this.textBoxGate1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxGate1.Location = new System.Drawing.Point(136, 109);
this.textBoxGate1.MaxLength = 64;
this.textBoxGate1.Name = "textBoxGate1";
this.textBoxGate1.Size = new System.Drawing.Size(161, 21);
this.textBoxGate1.TabIndex = 2;
//
// textBoxTestCode
//
this.textBoxTestCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxTestCode.Location = new System.Drawing.Point(136, 79);
this.textBoxTestCode.MaxLength = 16;
this.textBoxTestCode.Name = "textBoxTestCode";
this.textBoxTestCode.Size = new System.Drawing.Size(161, 21);
this.textBoxTestCode.TabIndex = 1;
//
// labelControl4
//
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl4.Appearance.Options.UseFont = true;
this.labelControl4.Location = new System.Drawing.Point(38, 172);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(55, 15);
this.labelControl4.TabIndex = 7;
this.labelControl4.Text = "Comment";
//
// labelControl3
//
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl3.Appearance.Options.UseFont = true;
this.labelControl3.Location = new System.Drawing.Point(38, 142);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(33, 15);
this.labelControl3.TabIndex = 5;
this.labelControl3.Text = "Gate2";
//
// labelControl2
//
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Appearance.Options.UseFont = true;
this.labelControl2.Location = new System.Drawing.Point(38, 112);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(33, 15);
this.labelControl2.TabIndex = 3;
this.labelControl2.Text = "Gate1";
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Appearance.Options.UseFont = true;
this.labelControl1.Location = new System.Drawing.Point(38, 82);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(55, 15);
this.labelControl1.TabIndex = 1;
this.labelControl1.Text = "Test Code";
//
// completionWizardPage1
//
this.completionWizardPage1.Controls.Add(this.labelControlComment);
this.completionWizardPage1.Controls.Add(this.labelControlGate2);
this.completionWizardPage1.Controls.Add(this.labelControlGate1);
this.completionWizardPage1.Controls.Add(this.labelControlTestCode);
this.completionWizardPage1.Controls.Add(this.labelControl5);
this.completionWizardPage1.Controls.Add(this.labelControl6);
this.completionWizardPage1.Controls.Add(this.labelControl7);
this.completionWizardPage1.Controls.Add(this.labelControl8);
this.completionWizardPage1.Name = "completionWizardPage1";
this.completionWizardPage1.Size = new System.Drawing.Size(740, 283);
//
// labelControlComment
//
this.labelControlComment.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlComment.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlComment.Appearance.Options.UseFont = true;
this.labelControlComment.Appearance.Options.UseForeColor = true;
this.labelControlComment.Location = new System.Drawing.Point(377, 176);
this.labelControlComment.Name = "labelControlComment";
this.labelControlComment.Size = new System.Drawing.Size(55, 15);
this.labelControlComment.TabIndex = 15;
this.labelControlComment.Text = "Comment";
//
// labelControlGate2
//
this.labelControlGate2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlGate2.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlGate2.Appearance.Options.UseFont = true;
this.labelControlGate2.Appearance.Options.UseForeColor = true;
this.labelControlGate2.Location = new System.Drawing.Point(377, 146);
this.labelControlGate2.Name = "labelControlGate2";
this.labelControlGate2.Size = new System.Drawing.Size(33, 15);
this.labelControlGate2.TabIndex = 14;
this.labelControlGate2.Text = "Gate2";
//
// labelControlGate1
//
this.labelControlGate1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlGate1.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlGate1.Appearance.Options.UseFont = true;
this.labelControlGate1.Appearance.Options.UseForeColor = true;
this.labelControlGate1.Location = new System.Drawing.Point(377, 116);
this.labelControlGate1.Name = "labelControlGate1";
this.labelControlGate1.Size = new System.Drawing.Size(33, 15);
this.labelControlGate1.TabIndex = 13;
this.labelControlGate1.Text = "Gate1";
//
// labelControlTestCode
//
this.labelControlTestCode.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlTestCode.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlTestCode.Appearance.Options.UseFont = true;
this.labelControlTestCode.Appearance.Options.UseForeColor = true;
this.labelControlTestCode.Location = new System.Drawing.Point(377, 86);
this.labelControlTestCode.Name = "labelControlTestCode";
this.labelControlTestCode.Size = new System.Drawing.Size(55, 15);
this.labelControlTestCode.TabIndex = 12;
this.labelControlTestCode.Text = "Test Code";
//
// labelControl5
//
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl5.Appearance.Options.UseFont = true;
this.labelControl5.Location = new System.Drawing.Point(121, 176);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(55, 15);
this.labelControl5.TabIndex = 11;
this.labelControl5.Text = "Comment";
//
// labelControl6
//
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl6.Appearance.Options.UseFont = true;
this.labelControl6.Location = new System.Drawing.Point(121, 146);
this.labelControl6.Name = "labelControl6";
this.labelControl6.Size = new System.Drawing.Size(33, 15);
this.labelControl6.TabIndex = 10;
this.labelControl6.Text = "Gate2";
//
// labelControl7
//
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl7.Appearance.Options.UseFont = true;
this.labelControl7.Location = new System.Drawing.Point(121, 116);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(33, 15);
this.labelControl7.TabIndex = 9;
this.labelControl7.Text = "Gate1";
//
// labelControl8
//
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl8.Appearance.Options.UseFont = true;
this.labelControl8.Location = new System.Drawing.Point(121, 86);
this.labelControl8.Name = "labelControl8";
this.labelControl8.Size = new System.Drawing.Size(55, 15);
this.labelControl8.TabIndex = 8;
this.labelControl8.Text = "Test Code";
//
// TestCodeInfoEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.wizardControl);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "TestCodeInfoEdit";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "STAT Host";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
this.wizardControl.ResumeLayout(false);
this.wizardPage.ResumeLayout(false);
this.wizardPage.PerformLayout();
this.completionWizardPage1.ResumeLayout(false);
this.completionWizardPage1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraWizard.WizardControl wizardControl;
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
private System.Windows.Forms.TextBox textBoxComment;
private System.Windows.Forms.TextBox textBoxGate2;
private System.Windows.Forms.TextBox textBoxGate1;
private System.Windows.Forms.TextBox textBoxTestCode;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LabelControl labelControl3;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
private DevExpress.XtraWizard.WizardPage wizardPage;
private DevExpress.XtraEditors.LabelControl labelControlComment;
private DevExpress.XtraEditors.LabelControl labelControlGate2;
private DevExpress.XtraEditors.LabelControl labelControlGate1;
private DevExpress.XtraEditors.LabelControl labelControlTestCode;
private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.LabelControl labelControl6;
private DevExpress.XtraEditors.LabelControl labelControl7;
private DevExpress.XtraEditors.LabelControl labelControl8;
}
}

View File

@ -0,0 +1,186 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using SystemX.Product.ALIS.Interface;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class TestCodeInfoEdit : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private UcInfoView.selectTestCodeInfo SelTestCodeInfo;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "STAT TestCode";
private string strWizardControl = "STAT TestCode";
private string strWelcomeWizard = "Welcome to the STAT TestCode wizard!";
private string strWizardPage = "STAT TestCode Information";
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
public TestCodeInfoEdit(IDataController ctrlDB, eSelectMode setMode, UcInfoView.selectTestCodeInfo getSelTestCodeInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
//
CurrentWizardMode = setMode;
SelTestCodeInfo = getSelTestCodeInfo;
this.ctrlDB = ctrlDB;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
textBoxTestCode.Text = SelTestCodeInfo.TestCode;
textBoxGate1.Text = SelTestCodeInfo.Gate1;
textBoxGate2.Text = SelTestCodeInfo.Gate2;
textBoxComment.Text = SelTestCodeInfo.Comment;
break;
}
}
private bool CheckGate(out int iOutGatePos)
{
iOutGatePos = 0;
string[] strGetChar1 = textBoxGate1.Text.Split(';');
string[] strGetChar2 = textBoxGate2.Text.Split(';');
string[][] strGetGates = new string[2][];
strGetGates[0] = new string[strGetChar1.Length];
strGetGates[1] = new string[strGetChar2.Length];
strGetChar1.CopyTo(strGetGates[0], 0);
strGetChar2.CopyTo(strGetGates[1], 0);
try
{
for (iOutGatePos = 0; iOutGatePos < strGetGates.Length; iOutGatePos++)
{
for (int j = 0; j < strGetGates[iOutGatePos].Length; j++)
{
if (strGetGates[iOutGatePos][j].Length == 1)
{
if (Commons.CheckGateLetter(strGetGates[iOutGatePos][j].ToCharArray()[0]) == false)
throw new Exception();
}
else
throw new Exception();
}
}
}
catch
{
return false;
}
return true;
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
if (wizardControl.SelectedPageIndex == 1)
{
lock (objInfoControlNextLock)
{
try
{
if (CurrentWizardMode == eSelectMode.Insert)
{
if (ctrlDB.GetDuplicateCheck("STAT_TestCode", "TestCode", textBoxTestCode.Text) == true)
throw new Exception($"Test Code is information that already exists. : {textBoxTestCode.Text}");
}
string strItemName = "";
if (textBoxTestCode.Text.Length <= 0) { strItemName = "Test Code"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxGate1.Text.Length <= 0) { strItemName = "Gate1"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxGate2.Text.Length <= 0) { strItemName = "Gate2"; throw new Exception($"The value cannot be null." + strItemName); }
int iOutGatePos = 0;
if (CheckGate(out iOutGatePos) == false)
throw new Exception($"Not a normal gate expression [Gate" + (iOutGatePos + 1).ToString() + "]." + strItemName);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
labelControlTestCode.Text = textBoxTestCode.Text;
labelControlGate1.Text = textBoxGate1.Text;
labelControlGate2.Text = textBoxGate2.Text;
labelControlComment.Text = textBoxComment.Text;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
SelTestCodeInfo.TestCode = textBoxTestCode.Text;
SelTestCodeInfo.Gate1 = textBoxGate1.Text;
SelTestCodeInfo.Gate2 = textBoxGate2.Text;
SelTestCodeInfo.Comment = textBoxComment.Text;
}
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxTestCode;
textBoxTestCode.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,452 @@

namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class UserInfoEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
this.textBoxPasswordConfirm = new System.Windows.Forms.TextBox();
this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
this.textBoxName = new System.Windows.Forms.TextBox();
this.textBoxUserID = new System.Windows.Forms.TextBox();
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
this.textBoxComment = new System.Windows.Forms.TextBox();
this.textBoxEmail = new System.Windows.Forms.TextBox();
this.textBoxDept = new System.Windows.Forms.TextBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
this.labelControlName = new DevExpress.XtraEditors.LabelControl();
this.labelControlUserID = new DevExpress.XtraEditors.LabelControl();
this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
this.labelControlComment = new DevExpress.XtraEditors.LabelControl();
this.labelControlEmail = new DevExpress.XtraEditors.LabelControl();
this.labelControlDept = new DevExpress.XtraEditors.LabelControl();
this.labelControlPassword = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
this.wizardControl.SuspendLayout();
this.wizardPage.SuspendLayout();
this.completionWizardPage1.SuspendLayout();
this.SuspendLayout();
//
// wizardControl
//
this.wizardControl.Controls.Add(this.welcomeWizardPage);
this.wizardControl.Controls.Add(this.wizardPage);
this.wizardControl.Controls.Add(this.completionWizardPage1);
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.wizardControl.Name = "wizardControl";
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
this.welcomeWizardPage,
this.wizardPage,
this.completionWizardPage1});
this.wizardControl.Size = new System.Drawing.Size(800, 450);
this.wizardControl.Text = "STAT User";
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
//
// welcomeWizardPage
//
this.welcomeWizardPage.Name = "welcomeWizardPage";
this.welcomeWizardPage.Size = new System.Drawing.Size(740, 283);
this.welcomeWizardPage.Text = "Welcome to the STAT User wizard!";
//
// wizardPage
//
this.wizardPage.Controls.Add(this.textBoxPasswordConfirm);
this.wizardPage.Controls.Add(this.labelControl11);
this.wizardPage.Controls.Add(this.textBoxName);
this.wizardPage.Controls.Add(this.textBoxUserID);
this.wizardPage.Controls.Add(this.labelControl9);
this.wizardPage.Controls.Add(this.labelControl10);
this.wizardPage.Controls.Add(this.textBoxComment);
this.wizardPage.Controls.Add(this.textBoxEmail);
this.wizardPage.Controls.Add(this.textBoxDept);
this.wizardPage.Controls.Add(this.textBoxPassword);
this.wizardPage.Controls.Add(this.labelControl4);
this.wizardPage.Controls.Add(this.labelControl3);
this.wizardPage.Controls.Add(this.labelControl2);
this.wizardPage.Controls.Add(this.labelControl1);
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
this.wizardPage.Name = "wizardPage";
this.wizardPage.Size = new System.Drawing.Size(740, 283);
this.wizardPage.Text = "STAT User Information";
//
// textBoxPasswordConfirm
//
this.textBoxPasswordConfirm.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxPasswordConfirm.Location = new System.Drawing.Point(478, 113);
this.textBoxPasswordConfirm.MaxLength = 32;
this.textBoxPasswordConfirm.Name = "textBoxPasswordConfirm";
this.textBoxPasswordConfirm.Size = new System.Drawing.Size(161, 21);
this.textBoxPasswordConfirm.TabIndex = 4;
this.textBoxPasswordConfirm.UseSystemPasswordChar = true;
//
// labelControl11
//
this.labelControl11.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl11.Appearance.Options.UseFont = true;
this.labelControl11.Location = new System.Drawing.Point(339, 116);
this.labelControl11.Name = "labelControl11";
this.labelControl11.Size = new System.Drawing.Size(100, 15);
this.labelControl11.TabIndex = 20;
this.labelControl11.Text = "Password Confirm";
//
// textBoxName
//
this.textBoxName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxName.Location = new System.Drawing.Point(133, 83);
this.textBoxName.MaxLength = 32;
this.textBoxName.Name = "textBoxName";
this.textBoxName.Size = new System.Drawing.Size(161, 21);
this.textBoxName.TabIndex = 2;
//
// textBoxUserID
//
this.textBoxUserID.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxUserID.Location = new System.Drawing.Point(133, 53);
this.textBoxUserID.MaxLength = 32;
this.textBoxUserID.Name = "textBoxUserID";
this.textBoxUserID.Size = new System.Drawing.Size(161, 21);
this.textBoxUserID.TabIndex = 1;
//
// labelControl9
//
this.labelControl9.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl9.Appearance.Options.UseFont = true;
this.labelControl9.Location = new System.Drawing.Point(38, 86);
this.labelControl9.Name = "labelControl9";
this.labelControl9.Size = new System.Drawing.Size(34, 15);
this.labelControl9.TabIndex = 17;
this.labelControl9.Text = "Name";
//
// labelControl10
//
this.labelControl10.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl10.Appearance.Options.UseFont = true;
this.labelControl10.Location = new System.Drawing.Point(38, 56);
this.labelControl10.Name = "labelControl10";
this.labelControl10.Size = new System.Drawing.Size(38, 15);
this.labelControl10.TabIndex = 16;
this.labelControl10.Text = "UserID";
//
// textBoxComment
//
this.textBoxComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxComment.Location = new System.Drawing.Point(133, 203);
this.textBoxComment.MaxLength = 256;
this.textBoxComment.Name = "textBoxComment";
this.textBoxComment.Size = new System.Drawing.Size(574, 21);
this.textBoxComment.TabIndex = 7;
//
// textBoxEmail
//
this.textBoxEmail.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxEmail.Location = new System.Drawing.Point(133, 173);
this.textBoxEmail.MaxLength = 64;
this.textBoxEmail.Name = "textBoxEmail";
this.textBoxEmail.Size = new System.Drawing.Size(161, 21);
this.textBoxEmail.TabIndex = 6;
//
// textBoxDept
//
this.textBoxDept.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDept.Location = new System.Drawing.Point(133, 143);
this.textBoxDept.MaxLength = 64;
this.textBoxDept.Name = "textBoxDept";
this.textBoxDept.Size = new System.Drawing.Size(161, 21);
this.textBoxDept.TabIndex = 5;
//
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxPassword.Location = new System.Drawing.Point(133, 113);
this.textBoxPassword.MaxLength = 32;
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.Size = new System.Drawing.Size(161, 21);
this.textBoxPassword.TabIndex = 3;
this.textBoxPassword.UseSystemPasswordChar = true;
//
// labelControl4
//
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl4.Appearance.Options.UseFont = true;
this.labelControl4.Location = new System.Drawing.Point(38, 206);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(55, 15);
this.labelControl4.TabIndex = 7;
this.labelControl4.Text = "Comment";
//
// labelControl3
//
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl3.Appearance.Options.UseFont = true;
this.labelControl3.Location = new System.Drawing.Point(38, 176);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(32, 15);
this.labelControl3.TabIndex = 5;
this.labelControl3.Text = "Email";
//
// labelControl2
//
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Appearance.Options.UseFont = true;
this.labelControl2.Location = new System.Drawing.Point(38, 146);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(27, 15);
this.labelControl2.TabIndex = 3;
this.labelControl2.Text = "Dept";
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Appearance.Options.UseFont = true;
this.labelControl1.Location = new System.Drawing.Point(38, 116);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(54, 15);
this.labelControl1.TabIndex = 1;
this.labelControl1.Text = "Password";
//
// completionWizardPage1
//
this.completionWizardPage1.Controls.Add(this.labelControlName);
this.completionWizardPage1.Controls.Add(this.labelControlUserID);
this.completionWizardPage1.Controls.Add(this.labelControl13);
this.completionWizardPage1.Controls.Add(this.labelControl14);
this.completionWizardPage1.Controls.Add(this.labelControlComment);
this.completionWizardPage1.Controls.Add(this.labelControlEmail);
this.completionWizardPage1.Controls.Add(this.labelControlDept);
this.completionWizardPage1.Controls.Add(this.labelControlPassword);
this.completionWizardPage1.Controls.Add(this.labelControl5);
this.completionWizardPage1.Controls.Add(this.labelControl6);
this.completionWizardPage1.Controls.Add(this.labelControl7);
this.completionWizardPage1.Controls.Add(this.labelControl8);
this.completionWizardPage1.Name = "completionWizardPage1";
this.completionWizardPage1.Size = new System.Drawing.Size(740, 283);
//
// labelControlName
//
this.labelControlName.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlName.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlName.Appearance.Options.UseFont = true;
this.labelControlName.Appearance.Options.UseForeColor = true;
this.labelControlName.Location = new System.Drawing.Point(355, 82);
this.labelControlName.Name = "labelControlName";
this.labelControlName.Size = new System.Drawing.Size(34, 15);
this.labelControlName.TabIndex = 19;
this.labelControlName.Text = "Name";
//
// labelControlUserID
//
this.labelControlUserID.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlUserID.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlUserID.Appearance.Options.UseFont = true;
this.labelControlUserID.Appearance.Options.UseForeColor = true;
this.labelControlUserID.Location = new System.Drawing.Point(355, 52);
this.labelControlUserID.Name = "labelControlUserID";
this.labelControlUserID.Size = new System.Drawing.Size(38, 15);
this.labelControlUserID.TabIndex = 18;
this.labelControlUserID.Text = "UserID";
//
// labelControl13
//
this.labelControl13.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl13.Appearance.Options.UseFont = true;
this.labelControl13.Location = new System.Drawing.Point(99, 82);
this.labelControl13.Name = "labelControl13";
this.labelControl13.Size = new System.Drawing.Size(34, 15);
this.labelControl13.TabIndex = 17;
this.labelControl13.Text = "Name";
//
// labelControl14
//
this.labelControl14.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl14.Appearance.Options.UseFont = true;
this.labelControl14.Location = new System.Drawing.Point(99, 52);
this.labelControl14.Name = "labelControl14";
this.labelControl14.Size = new System.Drawing.Size(38, 15);
this.labelControl14.TabIndex = 16;
this.labelControl14.Text = "UserID";
//
// labelControlComment
//
this.labelControlComment.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlComment.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlComment.Appearance.Options.UseFont = true;
this.labelControlComment.Appearance.Options.UseForeColor = true;
this.labelControlComment.Location = new System.Drawing.Point(355, 202);
this.labelControlComment.Name = "labelControlComment";
this.labelControlComment.Size = new System.Drawing.Size(55, 15);
this.labelControlComment.TabIndex = 15;
this.labelControlComment.Text = "Comment";
//
// labelControlEmail
//
this.labelControlEmail.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlEmail.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlEmail.Appearance.Options.UseFont = true;
this.labelControlEmail.Appearance.Options.UseForeColor = true;
this.labelControlEmail.Location = new System.Drawing.Point(355, 172);
this.labelControlEmail.Name = "labelControlEmail";
this.labelControlEmail.Size = new System.Drawing.Size(32, 15);
this.labelControlEmail.TabIndex = 14;
this.labelControlEmail.Text = "Email";
//
// labelControlDept
//
this.labelControlDept.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlDept.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlDept.Appearance.Options.UseFont = true;
this.labelControlDept.Appearance.Options.UseForeColor = true;
this.labelControlDept.Location = new System.Drawing.Point(355, 142);
this.labelControlDept.Name = "labelControlDept";
this.labelControlDept.Size = new System.Drawing.Size(27, 15);
this.labelControlDept.TabIndex = 13;
this.labelControlDept.Text = "Dept";
//
// labelControlPassword
//
this.labelControlPassword.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlPassword.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlPassword.Appearance.Options.UseFont = true;
this.labelControlPassword.Appearance.Options.UseForeColor = true;
this.labelControlPassword.Location = new System.Drawing.Point(355, 112);
this.labelControlPassword.Name = "labelControlPassword";
this.labelControlPassword.Size = new System.Drawing.Size(5, 15);
this.labelControlPassword.TabIndex = 12;
this.labelControlPassword.Text = "*";
//
// labelControl5
//
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl5.Appearance.Options.UseFont = true;
this.labelControl5.Location = new System.Drawing.Point(99, 202);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(55, 15);
this.labelControl5.TabIndex = 11;
this.labelControl5.Text = "Comment";
//
// labelControl6
//
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl6.Appearance.Options.UseFont = true;
this.labelControl6.Location = new System.Drawing.Point(99, 172);
this.labelControl6.Name = "labelControl6";
this.labelControl6.Size = new System.Drawing.Size(32, 15);
this.labelControl6.TabIndex = 10;
this.labelControl6.Text = "Email";
//
// labelControl7
//
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl7.Appearance.Options.UseFont = true;
this.labelControl7.Location = new System.Drawing.Point(99, 142);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(27, 15);
this.labelControl7.TabIndex = 9;
this.labelControl7.Text = "Dept";
//
// labelControl8
//
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl8.Appearance.Options.UseFont = true;
this.labelControl8.Location = new System.Drawing.Point(99, 112);
this.labelControl8.Name = "labelControl8";
this.labelControl8.Size = new System.Drawing.Size(54, 15);
this.labelControl8.TabIndex = 8;
this.labelControl8.Text = "Password";
//
// UserInfoEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.wizardControl);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "UserInfoEdit";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "STAT User";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
this.wizardControl.ResumeLayout(false);
this.wizardPage.ResumeLayout(false);
this.wizardPage.PerformLayout();
this.completionWizardPage1.ResumeLayout(false);
this.completionWizardPage1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraWizard.WizardControl wizardControl;
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
private System.Windows.Forms.TextBox textBoxComment;
private System.Windows.Forms.TextBox textBoxEmail;
private System.Windows.Forms.TextBox textBoxDept;
private System.Windows.Forms.TextBox textBoxPassword;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LabelControl labelControl3;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
private DevExpress.XtraWizard.WizardPage wizardPage;
private DevExpress.XtraEditors.LabelControl labelControlComment;
private DevExpress.XtraEditors.LabelControl labelControlEmail;
private DevExpress.XtraEditors.LabelControl labelControlDept;
private DevExpress.XtraEditors.LabelControl labelControlPassword;
private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.LabelControl labelControl6;
private DevExpress.XtraEditors.LabelControl labelControl7;
private DevExpress.XtraEditors.LabelControl labelControl8;
private System.Windows.Forms.TextBox textBoxName;
private System.Windows.Forms.TextBox textBoxUserID;
private DevExpress.XtraEditors.LabelControl labelControl9;
private DevExpress.XtraEditors.LabelControl labelControl10;
private DevExpress.XtraEditors.LabelControl labelControlName;
private DevExpress.XtraEditors.LabelControl labelControlUserID;
private DevExpress.XtraEditors.LabelControl labelControl13;
private DevExpress.XtraEditors.LabelControl labelControl14;
private System.Windows.Forms.TextBox textBoxPasswordConfirm;
private DevExpress.XtraEditors.LabelControl labelControl11;
}
}

View File

@ -0,0 +1,157 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SystemX.Product.ALIS.Interface;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UserInfoEdit : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private UcInfoView.selectUserInfo SelUserInfo;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "STAT User";
private string strWizardControl = "STAT User";
private string strWelcomeWizard = "Welcome to the STAT User wizard!";
private string strWizardPage = "STAT User Information";
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
public UserInfoEdit(IDataController ctrlDB, eSelectMode setMode, UcInfoView.selectUserInfo getSelUserInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
//
CurrentWizardMode = setMode;
SelUserInfo = getSelUserInfo;
this.ctrlDB = ctrlDB;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
textBoxUserID.Text = SelUserInfo.UserID;
textBoxName.Text = SelUserInfo.Name;
//textBoxPassword.Text = SelUserInfo.Password;
textBoxDept.Text = SelUserInfo.Dept;
textBoxEmail.Text = SelUserInfo.Email;
textBoxComment.Text = SelUserInfo.Comment;
break;
}
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
if (wizardControl.SelectedPageIndex == 1)
{
lock (objInfoControlNextLock)
{
try
{
if (CurrentWizardMode == eSelectMode.Insert)
{
if (ctrlDB.GetDuplicateCheck("STAT_User", "UserID", textBoxPassword.Text) == true)
throw new Exception($"HostID is information that already exists. : {textBoxPassword.Text}");
}
if (Commons.IsValidEmail(textBoxEmail.Text) == false)
throw new Exception($"E-Mail format is not correct. : {textBoxEmail.Text}");
//
string strItemName = "";
if (textBoxUserID.Text.Length <= 0) { strItemName = "UserID"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxName.Text.Length <= 0) { strItemName = "Name"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxPassword.Text.Length <= 0) { strItemName = "Password"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxDept.Text.Length <= 0) { strItemName = "Dept"; throw new Exception($"The value cannot be null." + strItemName); }
if (textBoxEmail.Text.Length <= 0) { strItemName = "Email"; throw new Exception($"The value cannot be null." + strItemName); }
//
if (textBoxPasswordConfirm.Text.CompareTo(textBoxPassword.Text) != 0)
throw new Exception($"Passwords do not match.");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
labelControlUserID.Text = textBoxUserID.Text;
labelControlName.Text = textBoxName.Text;
//labelControlPassword.Text = textBoxPassword.Text;
labelControlDept.Text = textBoxDept.Text;
labelControlEmail.Text = textBoxEmail.Text;
labelControlComment.Text = textBoxComment.Text;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
SelUserInfo.UserID = textBoxUserID.Text;
SelUserInfo.Name = textBoxName.Text;
SelUserInfo.Password = textBoxPassword.Text;
SelUserInfo.Dept = textBoxDept.Text;
SelUserInfo.Email = textBoxEmail.Text;
SelUserInfo.Comment = textBoxComment.Text;
}
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxUserID;
textBoxUserID.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,176 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Linq;
using PsKGaudi;
using PsKGaudi.Parser.PsCCSArea;
using static PsCommon.PsCommon;
using static PsKGaudi.Parser.PsCCS;
using SystemX.Common.Archive;
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
using System.Threading;
namespace SystemX.Product.PTS.UI.View.Test_List.Infos
{
public class CpTestlistLoad
{
private PsCCSGaudiFile getTestList;
private byte[] ucTestListByte;
private psGaudiImformation m_psGaudiInfo = new psGaudiImformation();
public event EventHandler TestListLoadResultEvent;
public PsCCSGaudiFile GetPsCCSTestList()
{
return getTestList;
}
public byte[] GetTestListRawBytes()
{
return ucTestListByte;
}
public string GetTestListDescription()
{
return getTestList.ListTestStep[0].Comment;
}
public bool GetTestListLoadState()
{
return m_psGaudiInfo.bInfoNormalLoaded;
}
public psGaudiImformation psGaudiInfo
{
get { return m_psGaudiInfo; }
}
public void ExcuteTestListLoad(CVariantInformation ParentInfo)
{
m_psGaudiInfo = new psGaudiImformation();
string strGetCurrentDir = Directory.GetCurrentDirectory();
Guid uguid = Guid.NewGuid();
string strTempFileName = @strGetCurrentDir + @"\TempTestList\";
if (Directory.Exists(strTempFileName) == false)
Directory.CreateDirectory(strTempFileName);
strTempFileName += uguid.ToString("B") + ".CpXv" + ParentInfo.Version + ParentInfo.ProdCode;
//ParentInfo.TestListSelectForCopyRawData = XDataArchive.DecompressGZipByteToByte(ParentInfo.TestListSelectForCopyRawData);
//File.WriteAllBytes(strTempFileName, (byte[])ParentInfo.TestListSelectForCopyRawData);
Thread.Sleep(100);
LoadTestList(strTempFileName, true);
}
public bool CheckTestListLoad()
{
if (m_psGaudiInfo.bInfoLoading)
{
MessageBox.Show("You cannot close the information modification wizard while loading the test list.", "CP-Test List Load", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
return true;
}
private async Task<bool> LoadTestList(string strFileName, bool bDeleteFile = false)
{
m_psGaudiInfo.bInfoNormalLoaded = false;
m_psGaudiInfo.bInfoLoading = true;
try
{
if (PsCpDef.CheckCPFileExtension(strFileName) && getCPxmlInfo(strFileName))
{
if (m_psGaudiInfo.psVariantTable.GetStrVariantTable.Count > 0)
{
m_psGaudiInfo.psFileInfo = new PsCCSFileInfo(strFileName);
await Task.Delay(100);
string getTTNR = ((KeyValuePair<string, string>)m_psGaudiInfo.psVariantTable.GetStrVariantTable[0]).Key;
getTestList = await LoadTestListFile(@strFileName, getTTNR);
if (getTestList != null)
{
ucTestListByte = File.ReadAllBytes(strFileName);
m_psGaudiInfo.bInfoNormalLoaded = true;
TestListLoadResultEvent?.BeginInvoke(true, null, null, null);
}
else
throw new Exception($"Failed to load test list file.");
}
else
throw new Exception($"There is no TTNR information registered in the test list.");
}
else
throw new Exception($"Not a normal CP TestList.");
}
catch (Exception e)
{
MessageBox.Show(e.Message, "CP-Test List Load", MessageBoxButtons.OK, MessageBoxIcon.Error);
TestListLoadResultEvent?.BeginInvoke(false, null, null, null);
}
await Task.Delay(1);
if (bDeleteFile)
File.Delete(strFileName);
m_psGaudiInfo.bInfoLoading = false;
return m_psGaudiInfo.bInfoNormalLoaded;
}
private async Task<PsCCSGaudiFile> LoadTestListFile(string strFileName, string strTTNR)
{
return await Task.Run(async () =>
{
await Task.Delay(10);
return PsCCSGaudiFile.PsCCSPaseDataApi(strFileName, strTTNR);
});
}
private bool getCPxmlInfo(string strfilename)
{
try
{
XDocument xDoc = XDocument.Load(strfilename);
PsCCSAreaBasicInfo psBasicInfo = PsCCSAreaBasicInfo.LoadXmlData(xDoc.Root);
PsCCSAreaTestListInfo psTestListInfo = PsCCSAreaTestListInfo.LoadXmlData(xDoc.Root);
PsCCSAreaVariantTable psVariantTable = PsCCSAreaVariantTable.LoadXmlData(xDoc.Root);
PsCCSFileInfo psFileInfo = new PsCCSFileInfo(strfilename);
m_psGaudiInfo.psBasicInfo = psBasicInfo;
m_psGaudiInfo.psTestListInfo = psTestListInfo;
m_psGaudiInfo.psVariantTable = psVariantTable;
m_psGaudiInfo.psFileInfo = psFileInfo;
}
catch (Exception ex)
{
return false;
}
return true;
}
}
}

View File

@ -0,0 +1,409 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static CpCommon.ExceptionHandler;
using static PsKGaudi.Parser.PsCCS;
using PsKGaudi.Parser.PsCCSSTDFn;
using CpTesterPlatform;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using System.Xml.Linq;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using System.IO;
using PsKGaudi.Parser.PsCCSSTDFn;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class UcTestListView : UserControl
{
public struct psGaudiImformation
{
public bool bInfoLoading;
public bool bInfoNormalLoaded;
public PsCCSAreaTestListInfo psTestListInfo;
public PsCCSAreaBasicInfo psBasicInfo;
public PsCCSAreaVariantTable psVariantTable;
public PsCCSFileInfo psFileInfo;
}
public enum eVRFYControlMode
{
New = 0,
Insert,
Change,
Delete
}
public enum eSetViewMode
{
None = -1,
MainView = 0,
SubView
}
private int GetProdTestListFileNoFind(CTestListFileInformation item)
{
string strQueryText = "SELECT No FROM [" + strSelectTable + "] WHERE " + //Name = '" + item.Name + "' AND " +
"TestType = '" + item.TestType + "' AND " +
"Version = '" + item.Version + "' AND " +
"ProdCode = '" + item.ProdCode + "' AND " +
"FileName = '" + item.FileName + "';";
ctrlDB.GetConnSqlCmd().CommandText = strQueryText;
return Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
}
/// <summary>
/// 등록 날짜, 업데이트 날짜 이상의 DateTime 조건 에서 Parent-TestType-Version-ProdCode [GroupNo] 로 찾는다.
/// 2022/11/08 : 날짜 조건 검색 삭제 -> 검색할 조합 정보가 Unique
/// </summary>
/// <param name="strSetRegDT"></param>
/// <param name="strSetUpdateDT"></param>
/// <returns></returns>
private int GetProdTestListVariantNoFind(CVariantInformation item)
{
/*
string strQueryText = "SELECT No FROM [" + strSelectTable + "] WHERE ProdNo_P = '" + item.ProdNo_P + "' AND " +
"TestType = '" + item.TestType + "' AND " +
"Version = '" + item.Version + "' AND " +
"ProdCode = '" + item.ProdCode + "' AND " +
"FileName = '" + item.FileName + "' AND " +
//"RegDT >= '" + strSetRegDT + "' AND " +
//"RegUser = '" + item.RegUser + "' AND " +
//"UpdateDT >= '" + strSetUpdateDT + "' AND " +
//"UpdateUser = '" + item.UpdateUser + "' AND " +
"GroupNo = " + item.GroupNo + ";";
*/
string strQueryText = "SELECT No FROM [" + strSelectTable + "] WHERE ProdNo_P = '" + item.ProdNo_P + "' AND " +
"TestListFileNo = " + item.TestListFileNo + " AND " +
"GroupNo = " + item.GroupNo + ";";
ctrlDB.GetConnSqlCmd().CommandText = strQueryText;
return Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
}
private bool getCPxmlInfo(string strfilename, ref psGaudiImformation info)
{
info = new psGaudiImformation();
try
{
XDocument xDoc = XDocument.Load(strfilename);
PsCCSAreaBasicInfo psBasicInfo = PsCCSAreaBasicInfo.LoadXmlData(xDoc.Root);
PsCCSAreaTestListInfo psTestListInfo = PsCCSAreaTestListInfo.LoadXmlData(xDoc.Root);
PsCCSAreaVariantTable psVariantTable = PsCCSAreaVariantTable.LoadXmlData(xDoc.Root);
PsCCSFileInfo psFileInfo = new PsCCSFileInfo(strfilename);
info.psBasicInfo = psBasicInfo;
info.psTestListInfo = psTestListInfo;
info.psVariantTable = psVariantTable;
info.psFileInfo = psFileInfo;
}
catch (Exception ex)
{
return false;
}
return true;
}
public PsCCSGaudiFile TemporaryTestListLoad(byte[] testListrawData)
{
PsCCSGaudiFile readGaudiFile = null;
string strGetCurrentDir = Directory.GetCurrentDirectory();
Guid uguid = Guid.NewGuid();
string strTempFileName = @strGetCurrentDir + @"\TempTestList\";
if (Directory.Exists(strTempFileName) == false)
Directory.CreateDirectory(strTempFileName);
strTempFileName += uguid.ToString("B") + ".CpXv___";
try
{
File.WriteAllBytes(strTempFileName, (byte[])testListrawData);
psGaudiImformation psGaudiInfo = new psGaudiImformation();
if (getCPxmlInfo(strTempFileName, ref psGaudiInfo))
{
if (psGaudiInfo.psVariantTable.GetStrVariantTable.Count > 0)
{
psGaudiInfo.psFileInfo = new PsCCSFileInfo(strTempFileName);
string getTTNR = ((KeyValuePair<string, string>)psGaudiInfo.psVariantTable.GetStrVariantTable[0]).Key;
readGaudiFile = PsCCSGaudiFile.PsCCSPaseDataApi(strTempFileName, getTTNR);
}
}
}
catch
{
;//
}
finally
{
if (File.Exists(strTempFileName))
File.Delete(strTempFileName);
}
return readGaudiFile;
}
public class PsCCSStdFnBaseDataCompare : IEqualityComparer<PsCCSStdFnBase>
{
bool bEqualSelect;
public PsCCSStdFnBaseDataCompare(bool bSelectEqual = true)
{
bEqualSelect = bSelectEqual;
}
public bool Equals(PsCCSStdFnBase x, PsCCSStdFnBase y)
{
x.GetTestStepSummary();
y.GetTestStepSummary();
string MO1 = (x.GetMO() != null) ? x.GetMO() : "";
string FuncName1 = (x.GetSTDFnNameAsEnum().ToString() != null) ? x.GetSTDFnNameAsEnum().ToString() : "";
string Dim1 = (x.GetDimension().ToString() != null) ? x.GetDimension().ToString() : "";
string[] strSummaryTestSteps1 = x.SummaryTestStep;
string MacroParm1 = (strSummaryTestSteps1[6] != null) ? strSummaryTestSteps1[6] : "";
string Parm1 = (strSummaryTestSteps1[8] != null) ? strSummaryTestSteps1[8] : "";
string GetMin1 = (x.PairedParmsMinMax.Min != null) ? x.PairedParmsMinMax.Min : "";
string GetMax1 = (x.PairedParmsMinMax.Max != null) ? x.PairedParmsMinMax.Max : "";
string StepNum1 = x.StepNum.ToString();
string Variant1 = (x.Variant != null) ? x.Variant : "";
string Gate1 = (x.Gate != null) ? x.Gate : "";
string Activate1 = (x.Activate.ToString() != null) ? x.Activate.ToString() : "";
string Position1 = x.Position.ToString();
//
string MO2 = (y.GetMO() != null) ? y.GetMO() : "";
string FuncName2 = (y.GetSTDFnNameAsEnum().ToString() != null) ? y.GetSTDFnNameAsEnum().ToString() : "";
string Dim2 = (y.GetDimension().ToString() != null) ? y.GetDimension().ToString() : "";
string[] strSummaryTestSteps2 = y.SummaryTestStep;
string MacroParm2 = (strSummaryTestSteps2[6] != null) ? strSummaryTestSteps2[6] : "";
string Parm2 = (strSummaryTestSteps2[8] != null) ? strSummaryTestSteps2[8] : "";
string GetMin2 = (y.PairedParmsMinMax.Min != null) ? y.PairedParmsMinMax.Min : "";
string GetMax2 = (y.PairedParmsMinMax.Max != null) ? y.PairedParmsMinMax.Max : "";
string StepNum2 = y.StepNum.ToString();
string Variant2 = (y.Variant != null) ? y.Variant : "";
string Gate2 = (y.Gate != null) ? y.Gate : "";
string Activate2 = (y.Activate.ToString() != null) ? y.Activate.ToString() : "";
string Position2 = y.Position.ToString();
if (string.Equals(MO1, MO2, StringComparison.Ordinal) &&
string.Equals(FuncName1, FuncName2, StringComparison.Ordinal) &&
string.Equals(Dim1, Dim2, StringComparison.Ordinal) &&
string.Equals(MacroParm1, MacroParm2, StringComparison.Ordinal) &&
string.Equals(Parm1, Parm2, StringComparison.Ordinal) &&
string.Equals(GetMin1, GetMin2, StringComparison.Ordinal) &&
string.Equals(GetMax1, GetMax2, StringComparison.Ordinal) &&
string.Equals(StepNum1, StepNum2, StringComparison.Ordinal) &&
string.Equals(Variant1, Variant2, StringComparison.Ordinal) &&
string.Equals(Gate1, Gate2, StringComparison.Ordinal) &&
string.Equals(Activate1, Activate2, StringComparison.Ordinal) &&
string.Equals(Position1, Position2, StringComparison.Ordinal))
return bEqualSelect;
return !bEqualSelect;
}
public int GetHashCode(PsCCSStdFnBase obj)
{
return obj.StepNum.GetHashCode();
}
}
public class CTestListFileInformation : ICloneable
{
public int TestListFileNo { set; get; }
//public string Name { set; get; }
public string TestType { set; get; }
public string Version { set; get; }
public string ProdCode { set; get; }
public string FileName { set; get; }
public DateTime RegDT { set; get; }
public string RegUser { set; get; }
public DateTime UpdateDT { set; get; }
public string UpdateUser { set; get; }
public string Comment { set; get; }
public string Description { set; get; }
public List<string> VariantList { set; get; }
public byte[] TestListFileLoadRawData { set; get; }
public byte[] TestListFileSelectRawData { set; get; }
public int? SelectTestListFileNo { set; get; }
public PsCCSGaudiFile TestListFileLoadGaudiData { set; get; }
public PsCCSGaudiFile TestListFileSelectGaudiData { set; get; }
public bool bHasSelectedData { set; get; }
public CTestListFileInformation()
{
TestListFileNo = int.MaxValue;
//Name = "";
TestType = "";
Version = "";
ProdCode = "";
FileName = "";
RegDT = new DateTime();
RegDT = DateTime.Now;
RegUser = "";
UpdateDT = new DateTime();
UpdateDT = DateTime.Now;
UpdateUser = "";
Comment = "";
Description = "";
VariantList = new List<string>();
TestListFileLoadRawData = new byte[1];
TestListFileSelectRawData = new byte[1];
SelectTestListFileNo = null;
TestListFileLoadGaudiData = null;
TestListFileSelectGaudiData = null;
bHasSelectedData = false;
}
public object Clone()
{
return new CTestListFileInformation()
{
TestListFileNo = this.TestListFileNo,
//Name = this.Name,
TestType = this.TestType,
Version = this.Version,
ProdCode = this.ProdCode,
FileName = this.FileName,
RegDT = this.RegDT,
RegUser = this.RegUser,
UpdateDT = this.UpdateDT,
UpdateUser = this.UpdateUser,
Comment = this.Comment,
Description = this.Description,
VariantList = this.VariantList,
TestListFileLoadRawData = this.TestListFileLoadRawData,
TestListFileSelectRawData = this.TestListFileSelectRawData,
SelectTestListFileNo = this.SelectTestListFileNo,
TestListFileLoadGaudiData = this.TestListFileLoadGaudiData,
TestListFileSelectGaudiData = this.TestListFileSelectGaudiData,
bHasSelectedData = this.bHasSelectedData
};
}
}
public class CVariantInformation : ICloneable
{
public int VariantNo { set; get; }
public string ProdNo_P { set; get; }
public string TestType { set; get; }
public string Version { set; get; }
public string ProdCode { set; get; }
public string FileName { set; get; }
public DateTime RegDT { set; get; }
public string RegUser { set; get; }
public DateTime UpdateDT { set; get; }
public string UpdateUser { set; get; }
public int GroupNo { set; get; }
public string Comment { set; get; }
public string Description { set; get; }
public int TestListFileNo { set; get; }
public string TestListName { set; get; }
public int? SelectVariantNo { set; get; }
public bool bHasSelectedData { set; get; }
public CVariantInformation()
{
VariantNo = int.MaxValue;
ProdNo_P = "";
TestType = "";
Version = "";
ProdCode = "";
FileName = "";
RegDT = new DateTime();
RegDT = DateTime.Now;
RegUser = "";
UpdateDT = new DateTime();
UpdateDT = DateTime.Now;
UpdateUser = "";
GroupNo = -1;
Comment = "";
Description = "";
TestListFileNo = int.MaxValue;
TestListName = string.Empty;
SelectVariantNo = null;
bHasSelectedData = false;
}
public object Clone()
{
return new CVariantInformation()
{
VariantNo = this.VariantNo,
ProdNo_P = this.ProdNo_P,
TestType = this.TestType,
Version = this.Version,
ProdCode = this.ProdCode,
FileName = this.FileName,
RegDT = this.RegDT,
RegUser = this.RegUser,
UpdateDT = this.UpdateDT,
UpdateUser = this.UpdateUser,
GroupNo = this.GroupNo,
Comment = this.Comment,
Description = this.Description,
TestListFileNo = this.TestListFileNo,
TestListName = this.TestListName,
SelectVariantNo = this.SelectVariantNo,
bHasSelectedData = this.bHasSelectedData
};
}
}
}
}

View File

@ -0,0 +1,71 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public class CReleaseInformation : ICloneable
{
public string ProdNo_C { set; get; }
public int TestCodeNo { set; get; }
public string TestCode { set; get; }
public int VariantNo { set; get; }
public string ProdNo_P { set; get; }
public string TestType { set; get; }
public string FileVersion { set; get; }
public string ProdCode { set; get; }
public string Config { set; get; }
public DateTime RegDT { set; get; }
public string RegUser { set; get; }
public string RegUserComment { set; get; }
public bool bHasSelectedData { set; get; }
public CReleaseInformation()
{
ProdNo_C = "";
TestCodeNo = -1;
TestCode = "";
VariantNo = -1;
ProdNo_P = "";
TestType = "";
FileVersion = "";
ProdCode = "";
Config = "";
RegDT = new DateTime();
RegDT = DateTime.Now;
RegUser = "";
RegUserComment = "";
bHasSelectedData = false;
}
public object Clone()
{
return new CReleaseInformation()
{
ProdNo_C = this.ProdNo_C,
TestCodeNo = this.TestCodeNo,
TestCode = this.TestCode,
VariantNo = this.VariantNo,
ProdNo_P = this.ProdNo_P,
TestType = this.TestType,
FileVersion = this.FileVersion,
ProdCode = this.ProdCode,
Config = "",
RegDT = this.RegDT,
RegUser = this.RegUser,
RegUserComment = this.RegUserComment,
bHasSelectedData = this.bHasSelectedData
};
}
}
}

View File

@ -0,0 +1,627 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using SystemX.Product.ALIS.UI.View.InfoList;
using System.Data.SqlClient;
using SystemX.Product.ALIS.Interface;
using static SystemX.Product.ALIS.UI.View.ViewCfg;
using DevExpress.XtraGrid.Columns;
using System.Reflection;
using SystemX.Product.ALIS.UI.Subs;
using System.Threading;
using static CpCommon.ExceptionHandler;
using static PsKGaudi.Parser.PsCCS;
using PsKGaudi.Parser.PsCCSSTDFn;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using System.Xml.Linq;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using DevExpress.XtraGrid.Views.Base;
using PsKGaudi.Parser.PsCCSSTDFn;
using System.IO;
using static SystemX.Net.Platform.Common.Util.LogMessage;
using System.Diagnostics;
using SystemX.Common;
using SystemX.Common.Archive;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public class UcTestListViewFileBasicWorker
{
}
public partial class UcTestListView
{
/// <summary>
///
/// </summary>
private void RunAsyncFileInsertUpdateWorker()
{
workerTestListFile.RunWorkerAsync(eEdtType);
loadForm = new WaitProgressForm();
loadForm.setDescription("Proceeding ...");
loadForm.Location = new Point(this.Parent.Width / 2, this.Parent.Height / 2);
stLoadFormWait.Restart();
loadForm.ShowDialog();
}
/// <summary>
///
/// </summary>
/// <param name="strSetTableName"></param>
/// <returns></returns>
private int PerformNewVRFYTestListFileRelease(string strSetTableName)
{
int iItemNum = SelectTestListFileInfo.TestListFileSelectGaudiData.ListTestStep.Count;
int iPos = 0;
int isetVersion = 0;
int isetEnable = 1;
SqlBulkCopy sbc = new SqlBulkCopy(ctrlDB.GetConnSqlCmd().Connection);
sbc.BatchSize = 5000;
sbc.DestinationTableName = strSetTableName; // "dbo.VRFY_TestListFileRelease";
sbc.BulkCopyTimeout = 300;
DataTable SetVRFYReleaseTable;
SetVRFYReleaseTable = MakeVRFYTestListReleaseTable();
DataRow[] SetMakeVRFYReleaseRows = new DataRow[iItemNum];
DateTime dtNewTime = ctrlDB.GetServerDateTime();
PsCCSStdFnBase fbdsd = null;
foreach (PsCCSStdFnBase fb in SelectTestListFileInfo.TestListFileSelectGaudiData.ListTestStep)
{
try
{
fb.GetTestStepSummary();
fbdsd = fb;
string strMO = (fb.GetMO() != null) ? fb.GetMO() : "";
string strFuncName = (fb.GetSTDFnNameAsEnum().ToString() != null) ? fb.GetSTDFnNameAsEnum().ToString() : "";
string strDim = (fb.GetDimension().ToString() != null) ? fb.GetDimension().ToString() : "";
string[] strSummaryTestSteps = fb.SummaryTestStep;
string strMacroParm = (strSummaryTestSteps[6] != null) ? strSummaryTestSteps[6] : "";
string strParm = (strSummaryTestSteps[8] != null) ? strSummaryTestSteps[8] : "";
string strGetMin = (fb.PairedParmsMinMax.Min != null) ? fb.PairedParmsMinMax.Min : "";
string strGetMax = (fb.PairedParmsMinMax.Max != null) ? fb.PairedParmsMinMax.Max : "";
SetMakeVRFYReleaseRows[iPos] = SetVRFYReleaseTable.NewRow();
SetMakeVRFYReleaseRows[iPos]["TestlistNo"] = SelectTestListFileInfo.SelectTestListFileNo.Value;
SetMakeVRFYReleaseRows[iPos]["StepID"] = fb.StepNum;
SetMakeVRFYReleaseRows[iPos]["Variant"] = fb.Variant;
SetMakeVRFYReleaseRows[iPos]["Gate"] = fb.Gate;
PsKGaudi.Parser.PsCCSDefineEnumTraceability getTracebility = fb.Traceability;
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateState = fb.IsActivate();
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateProperty = fb.Activate;
if (getActivateProperty == PsKGaudi.Parser.PsCCSDefineEnumActivate.ACTIVATE)
SetMakeVRFYReleaseRows[iPos]["Activate"] = 1;
else
SetMakeVRFYReleaseRows[iPos]["Activate"] = 0;
SetMakeVRFYReleaseRows[iPos]["StepVersion"] = isetVersion;
SetMakeVRFYReleaseRows[iPos]["Enable"] = isetEnable;
SetMakeVRFYReleaseRows[iPos]["Position"] = fb.Position;
SetMakeVRFYReleaseRows[iPos]["StepDesc"] = strMO;
SetMakeVRFYReleaseRows[iPos]["UseFunction"] = strFuncName;
SetMakeVRFYReleaseRows[iPos]["MacroParm"] = strMacroParm;
SetMakeVRFYReleaseRows[iPos]["Parm"] = strParm;
SetMakeVRFYReleaseRows[iPos]["SpecMin"] = strGetMin;
SetMakeVRFYReleaseRows[iPos]["SpecMax"] = strGetMax;
if (fb.PairedParmsMinMax.Min.IndexOf("&") >= 0 || fb.PairedParmsMinMax.Max.IndexOf("&") >= 0)
SetMakeVRFYReleaseRows[iPos]["IsGlobal"] = 1;
else
SetMakeVRFYReleaseRows[iPos]["IsGlobal"] = 0;
SetMakeVRFYReleaseRows[iPos]["Dim"] = strDim;
SetMakeVRFYReleaseRows[iPos]["UpdateDT"] = dtNewTime;
iPos += 1;
}
catch (Exception ex)
{
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @"PerformTestListReading [New] - Read Step fail. [SystemX.Product.ALIS.UI.View.InfoList : UcTestListView.PerformTestListReading]\r\n" + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
}
//
try
{
// Write from the source to the destination.
sbc.WriteToServer(SetMakeVRFYReleaseRows);
}
catch (Exception ex)
{
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @"PerformTestListReading [New] DB-Update fail. [SystemX.Product.ALIS.UI.View.InfoList : UcTestListView.PerformTestListReading]\r\n" + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
finally
{
// Close the SqlDataReader. The SqlBulkCopy
// object is automatically closed at the end
// of the using block.
}
return 0;
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="args"></param>
private void PerformTestListFileReading(object sender, DoWorkEventArgs args)
{
if (SelectOpenType != eSelectType.TestListFile)
return;
Thread.Sleep(10);
bool bBinaryCompareResult = false;
bool bProcessResult = true;
eEditType eSeledtType = (eEditType)((System.ComponentModel.DoWorkEventArgs)args).Argument;
Stopwatch stMeasTime = new Stopwatch();
stMeasTime.Start();
string strSetVRFYReleaseTableName = "VRFY_TestListFileRelease";
string strSetMaxStepVersionTableName = "HIST_TestListFileLatestStepVersion";
string strSetTestLIstFileVariantList = "HIST_TestListFileVariantList";
int nGetMaxStepVersion = int.MaxValue;
try
{
switch (eSeledtType)
{
case eEditType.Insert:
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Insert", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
PerformNewVRFYTestListFileRelease(strSetVRFYReleaseTableName);
break;
case eEditType.Modify:
if (SelectTestListFileInfo.TestListFileLoadRawData.Length == 0)
throw new Exception();
//Binary 상태 비교
//동일한 파일(변경점이 없을시) 미진행
if (Commons.ByteArrayCompare(SelectTestListFileInfo.TestListFileLoadRawData, SelectTestListFileInfo.TestListFileSelectRawData) == true)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() ByteArrayCompare Result = true", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
bBinaryCompareResult = true;
}
else
{
//Stopwatch stLoadTimeCheck = new Stopwatch();
//stLoadTimeCheck.Start();
//기존 정보
PsCCSGaudiFile orgFile = SelectTestListFileInfo.TestListFileLoadGaudiData; //TemporaryTestListLoad(SelectTestListFileInfo.TestListFileLoadRawData);
//새로운 정보
PsCCSGaudiFile newFile = SelectTestListFileInfo.TestListFileSelectGaudiData; //TemporaryTestListLoad(SelectTestListFileInfo.TestListFileSelectRawData);
//long lTimeChk = stLoadTimeCheck.ElapsedMilliseconds;
//새 정보에서의 차집합
List<PsCCSStdFnBase> fbaseNewChg = newFile.ListTestStep.Except(orgFile.ListTestStep, new PsCCSStdFnBaseDataCompare()).ToList();
//기존 정보에서의 차집합
List<PsCCSStdFnBase> fbaseOldChg = orgFile.ListTestStep.Except(newFile.ListTestStep, new PsCCSStdFnBaseDataCompare()).ToList();
//전체 변경 항목(추가/삭제 항목 포함)
List<PsCCSStdFnBase> changeAllItem = fbaseNewChg.Except(fbaseOldChg, new PsCCSStdFnBaseDataCompare()).ToList();
//삭제된 항목
List<PsCCSStdFnBase> deleteItem = fbaseOldChg.Except(fbaseNewChg, new PsCCSStdFnBaseDataCompare(false)).ToList();
//추가된 항목
List<PsCCSStdFnBase> newItem = fbaseNewChg.Except(fbaseOldChg, new PsCCSStdFnBaseDataCompare(false)).ToList();
//변경된 항목
List<PsCCSStdFnBase> setChgItem = changeAllItem.Except(newItem, new PsCCSStdFnBaseDataCompare()).ToList();
setChgItem = setChgItem.Except(deleteItem, new PsCCSStdFnBaseDataCompare()).ToList();
DateTime dtsetTime = DateTime.Now;
//수정 -> 삭제 -> 추가
//현재 마지막 버전 확인
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Get SelectTestListFileNo", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
int nTestListdFileNo = SelectTestListFileInfo.SelectTestListFileNo.Value;
int nLastVersion = -1;
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() SelectTestListFileNo = " + nTestListdFileNo, ConsoleColor.Yellow, LogMessageLevel.DEBUG);
ctrlDB.GetConnSqlCmd().CommandText = "SELECT MAX(StepVersion) AS 'Latest Version' FROM [" + strSetVRFYReleaseTableName + "] WHERE TestListFileNo = " + nTestListdFileNo + ";";
nLastVersion = Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Current Last StepVersion = " + nLastVersion, ConsoleColor.Yellow, LogMessageLevel.DEBUG);
SetVRFYReleaseTableControl(eVRFYControlMode.Change, nTestListdFileNo, dtsetTime, setChgItem, nLastVersion);
SetVRFYReleaseTableControl(eVRFYControlMode.Delete, nTestListdFileNo, dtsetTime, deleteItem, nLastVersion);
SetVRFYReleaseTableControl(eVRFYControlMode.Insert, nTestListdFileNo, dtsetTime, newItem, nLastVersion);
}
break;
}
ctrlDB.GetConnSqlCmd().CommandText = "SELECT MAX(StepVersion) AS 'Latest Version' FROM [" + strSetVRFYReleaseTableName + "] WHERE TestListFileNo = " + SelectTestListFileInfo.SelectTestListFileNo.Value + ";";
nGetMaxStepVersion = Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
switch (eSeledtType)
{
case eEditType.Insert:
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO [" + strSetMaxStepVersionTableName + "] (TestListFileNo, LatestStepVersion) VALUES" +
"(" + SelectTestListFileInfo.SelectTestListFileNo.Value + ", " + nGetMaxStepVersion + ");";
break;
case eEditType.Modify:
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE [" + strSetMaxStepVersionTableName + "] SET LatestStepVersion = " + nGetMaxStepVersion +
" WHERE TestListFileNo = " + SelectTestListFileInfo.SelectTestListFileNo.Value + ";";
break;
}
//
try
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() - LatestStepVersion SqlCommand Update Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
throw;
}
//
switch (eSeledtType)
{
case eEditType.Insert:
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO [" + strSetTestLIstFileVariantList + "] (TestListFileNo, VariantList) VALUES" +
"(" + SelectTestListFileInfo.SelectTestListFileNo.Value + ", '" + string.Join(";", SelectTestListFileInfo.VariantList.ToArray()) + "');";
break;
case eEditType.Modify:
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE [" + strSetTestLIstFileVariantList + "] SET VariantList = '" + string.Join(";", SelectTestListFileInfo.VariantList.ToArray()) + "'" +
" WHERE TestListFileNo = " + SelectTestListFileInfo.SelectTestListFileNo.Value + ";";
break;
}
//
try
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() - VariantList SqlCommand Update Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
throw;
}
}
catch (Exception error)
{
bProcessResult = false;
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Common Error. " + error.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
finally
{
var setResult = new Tuple<eEditType, bool, bool, int>(eSeledtType, bBinaryCompareResult, bProcessResult, nGetMaxStepVersion);
args.Result = setResult;
}
long lMeasTime = stMeasTime.ElapsedMilliseconds;
}
private async void ReadingFileCompleted(object sender, RunWorkerCompletedEventArgs args)
{
// Error Check
if (args.Error != null)
{
;//
}
// Worker Cancel
else if (args.Cancelled)
{
;//
}
// Success
else
{
var getResult = args.Result as Tuple<eEditType, bool, bool, int>;
eEditType getType = getResult.Item1;
bool bGetCompareResult = getResult.Item2;
bool bGetProcessResult = getResult.Item3;
int iGetMaxStepVersion = getResult.Item4;
//정상 처리 상태 일때만.
if (bGetProcessResult)
{
switch (getType)
{
case eEditType.Insert:
;//
break;
case eEditType.Modify:
{
//테스트 리스트 데이터가 같고 그외 내용이 변경되었거나 그대로일 경우 우선 업데이트 진행.
if (bGetCompareResult == true)
SqlUpdateProdTestListFile(iGetMaxStepVersion);
//테스트 리스트 데이터 까지 변경
else
SqlUpdateProdTestListFile(iGetMaxStepVersion, true);
}
break;
}
}
}
if (stLoadFormWait.ElapsedMilliseconds <= 1000)
{
int iremainTime = 1000 - (int)stLoadFormWait.ElapsedMilliseconds;
await Task.Delay(iremainTime); //Thread.Sleep(iremainTime);
}
if (loadForm != null)
{
loadForm.Close();
loadForm = null;
}
}
/// <summary>
///
/// </summary>
/// <param name="iMaxStepVersion"></param>
/// <param name="bHistTestListFileDataShift"></param>
private void SqlUpdateProdTestListFile(int nMaxStepVersion, bool bHistTestListFileDataShift = false)
{
bool bUpdatedResult = true;
string strSetRegDT, strSetUpdateDT;
strSetRegDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
strSetUpdateDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
string columns = string.Empty;
columns = "Name,TestType,Version,ProdCode,FileName,RegDT,RegUser,UpdateDT,UpdateUser,Comment,Description,TestListData";
Type type = typeof(CTestListFileInformation);
FieldInfo[] f = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
StringBuilder sb = new StringBuilder();
sb.Append("UPDATE [" + strSelectTable + "] SET ");
foreach (string str in columns.Split(','))
{
int idx = -1;
idx = Array.FindIndex(f, x => x.Name.IndexOf(str) >= 0);
if (str == "TestListData")
{
byte[] ucWriteTestList = XDataArchive.CompressGZipByteToByte(SelectTestListFileInfo.TestListFileSelectRawData);
string strGetBytes = "0x" + string.Concat(Array.ConvertAll(ucWriteTestList, byt => byt.ToString("X2")));
sb.Append(str + " = " + strGetBytes + ", ");
}
else if (str == "RegDT" || str == "UpdateDT")
{
string strGetDateTime = ctrlDB.SetConvertDateTime(f[idx].GetValue(SelectTestListFileInfo).ToString());
sb.Append(str + " = '" + strGetDateTime + "', ");
if (str == "RegDT")
strSetRegDT = strGetDateTime;
else if (str == "UpdateDT")
strSetUpdateDT = strGetDateTime;
}
else
sb.Append(str + " = '" + f[idx].GetValue(SelectTestListFileInfo) + "', ");
}
sb = sb.Remove(sb.Length - 2, 1);
sb.Append("WHERE No = " + AbsoluteUniqueNo + ";");
using (SqlCommand cmd = new SqlCommand(sb.ToString(), ctrlDB.GetConnSqlCmd().Connection))
{
try
{
int EffectRows = cmd.ExecuteNonQuery();
}
catch (Exception ex)
{
bUpdatedResult = false;
MessageBox.Show(ex.Message, "SqlUpdateProdTestListFile [" + strSelectTable + "] - Error[1]", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
if (bUpdatedResult)
{
//테스트리스트 파일에 연결된 Variant TL-Position 0 으로 변경
DataTable dtQueryResult = ctrlDB.GetTable($"SELECT No FROM [CPXV2].[dbo].[PROD_Variant] WITH(NOLOCK) WHERE TestListFileNo = {AbsoluteUniqueNo};");
if (XCommons.isHasRow(dtQueryResult))
{
foreach (DataRow dr in dtQueryResult.Rows)
{
int nRefVariantNo = int.Parse(dr["No"].ToString());
string strSetUpdateText = $"UPDATE [CPXV2].[dbo].[PROD_Variant] SET UseTLPosition = 0 WHERE No = {nRefVariantNo};";
using (SqlCommand cmd = new SqlCommand(strSetUpdateText, ctrlDB.GetConnSqlCmd().Connection))
{
try
{
int EffectRows = cmd.ExecuteNonQuery();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "SqlUpdateProdTestListFile [HIST_TestListFile] - Error[2]", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
//업데이트 결과가 정상이고 두번 이상의 업데이트가 일어났을때 HIST_TestListFile 등록 및 데이터 업데이트(쉬프트 시작)
if (bHistTestListFileDataShift == false)
return;
}
if (bUpdatedResult && nMaxStepVersion > 0)
{
string strQueryText = $"SELECT No, TestListFileNo, Name FROM [HIST_TestListFile] WHERE TestListFileNo = {AbsoluteUniqueNo};"; // AND Name = '{SelectTestListFileInfo.Name}';";
DataTable dtQuery = ctrlDB.GetTable(strQueryText);
try
{
if (XCommons.isHasRow(dtQuery) == false)
{
strQueryText = $"INSERT INTO [HIST_TestListFile] (TestListFileNo, Name) VALUES({AbsoluteUniqueNo}, '-');"; //'{SelectTestListFileInfo.Name}');";
using (SqlCommand cmd = new SqlCommand(strQueryText, ctrlDB.GetConnSqlCmd().Connection))
{
int EffectRows = cmd.ExecuteNonQuery();
}
}
}
catch (Exception ex)
{
bUpdatedResult = false;
MessageBox.Show(ex.Message, "SqlUpdateProdTestListFile [HIST_TestListFile] - Error[3]", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
HistTestListFileDataUpdate();
}
}
/// <summary>
///
/// </summary>
/// <returns></returns>
private bool HistTestListFileDataUpdate()
{
int nHistTestListNum = 10;
bool bDataShiftResult = true;
string columns = string.Empty;
string strQueryText = $"SELECT * FROM [HIST_TestListFile] WHERE TestListFileNo = {AbsoluteUniqueNo};"; // AND Name = '{SelectTestListFileInfo.Name}';";
DataTable dtQuery = ctrlDB.GetTable(strQueryText);
if (XCommons.isHasRow(dtQuery) == false)
return false;
int nAccessNo = Convert.ToInt32(dtQuery.Rows[0]["No"]);
bool[] bMoveData = new bool[nHistTestListNum];
Array.Clear(bMoveData, 0, nHistTestListNum);
bMoveData[0] = true;
string[] strTestListDataName = { "TestListData1", "TestListData2", "TestListData3", "TestListData4", "TestListData5", "TestListData6", "TestListData7", "TestListData8", "TestListData9", "TestListData10" };
string[] strArrGetBytes = new string[nHistTestListNum];
//Data Check
for (int i = 0; i < nHistTestListNum; i++)
{
if (dtQuery.Rows[0][strTestListDataName[i]] is byte[])
{
if (i + 1 < nHistTestListNum) bMoveData[i + 1] = true;
}
else
continue;
byte[] ucWriteTestList = dtQuery.Rows[0][strTestListDataName[i]] as byte[];
strArrGetBytes[i] = "0x" + string.Concat(Array.ConvertAll(ucWriteTestList, byt => byt.ToString("X2")));
}
//Data Ready&Move
for (int i = nHistTestListNum - 1; i >= 0; i--)
{
if (bMoveData[i] == false)
continue;
switch (i)
{
case 0:
{
byte[] ucWriteTestList = XDataArchive.CompressGZipByteToByte(SelectTestListFileInfo.TestListFileLoadRawData);
string strGetBytes = "0x" + string.Concat(Array.ConvertAll(ucWriteTestList, byt => byt.ToString("X2")));
strArrGetBytes[i] = strGetBytes;
}
break;
default:
strArrGetBytes[i] = strArrGetBytes[i - 1];
break;
}
}
//Data Update
columns = "TestListData1,TestListData2,TestListData3,TestListData4,TestListData5,TestListData6,TestListData7,TestListData8,TestListData9,TestListData10";
StringBuilder sb = new StringBuilder();
sb.Append("UPDATE [HIST_TestListFile] SET ");
int nPos = 0;
foreach (string str in columns.Split(','))
{
if (bMoveData[nPos] == false)
continue;
sb.Append(str + " = " + strArrGetBytes[nPos] + ", ");
nPos++;
}
sb = sb.Remove(sb.Length - 2, 1);
sb.Append("WHERE No = " + nAccessNo + ";");
using (SqlCommand cmd = new SqlCommand(sb.ToString(), ctrlDB.GetConnSqlCmd().Connection))
{
try
{
int EffectRows = cmd.ExecuteNonQuery();
}
catch (Exception ex)
{
bDataShiftResult = false;
MessageBox.Show(ex.Message, "HistTestListFileDataUpdate [HIST_TestListFile][Data Update] - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
return bDataShiftResult;
}
}
}

View File

@ -0,0 +1,225 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using SystemX.Product.ALIS.UI.View.InfoList;
using System.Data.SqlClient;
using SystemX.Product.ALIS.Interface;
using static SystemX.Product.ALIS.UI.View.ViewCfg;
using DevExpress.XtraGrid.Columns;
using System.Reflection;
using SystemX.Product.ALIS.UI.Subs;
using System.Threading;
using static CpCommon.ExceptionHandler;
using static PsKGaudi.Parser.PsCCS;
using PsKGaudi.Parser.PsCCSSTDFn;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using System.Xml.Linq;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using DevExpress.XtraGrid.Views.Base;
using PsKGaudi.Parser.PsCCSSTDFn;
using System.IO;
using static SystemX.Net.Platform.Common.Util.LogMessage;
using System.Diagnostics;
using SystemX.Common;
using SystemX.Common.Archive;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public class UcTestListViewVariantBasicWorker
{
}
public partial class UcTestListView
{
private void RunAsyncVariantInsertUpdateWorker()
{
workerTestListVariant.RunWorkerAsync(eEdtType);
loadForm = new WaitProgressForm();
loadForm.setDescription("Proceeding ...");
loadForm.Location = new Point(this.Parent.Width / 2, this.Parent.Height / 2);
//loadForm.ShowOnTopMode = DevExpress.XtraWaitForm.ShowFormOnTopMode.AboveAll;
//loadForm.TopLevel = true;
//loadForm.BringToFront();
stLoadFormWait.Restart();
loadForm.ShowDialog();
}
/// <summary>
/// [이전 테스트리스트 새 테스트 리스트 비교하여 처이점이 있을시 버전 업데이트 및 Release VRFY 반영]
/// * 2022/11/08 추가 : 변경점이 있는 테스트리스트 업데이트시 HIST_TestList 반영 버전 선택 및 버전 선택 다운로드 반영
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void PerformTestListVariantReading(object sender, DoWorkEventArgs args)
{
if (SelectOpenType != eSelectType.TestListVariant)
return;
Thread.Sleep(10);
bool bProcessResult = true;
eEditType eSeledtType = (eEditType)((System.ComponentModel.DoWorkEventArgs)args).Argument;
Stopwatch stMeasTime = new Stopwatch();
stMeasTime.Start();
try
{
switch (eSeledtType)
{
case eEditType.Insert:
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListVariantReading() Insert", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
break;
case eEditType.Modify:
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListVariantReading() Modify", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
break;
}
}
catch (Exception error)
{
bProcessResult = false;
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListVariantReading() Common Error. " + error.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
finally
{
var setResult = new Tuple<eEditType, bool>(eSeledtType, bProcessResult);
args.Result = setResult;
}
long lMeasTime = stMeasTime.ElapsedMilliseconds;
}
private async void ReadingVariantCompleted(object sender, RunWorkerCompletedEventArgs args)
{
// Error Check
if (args.Error != null)
{
;//
}
// Worker Cancel
else if (args.Cancelled)
{
;//
}
// Success
else
{
var getResult = args.Result as Tuple<eEditType, bool>;
eEditType getType = getResult.Item1;
bool bGetProcessResult = getResult.Item2;
//정상 처리 상태 일때만.
if (bGetProcessResult)
{
switch (getType)
{
case eEditType.Insert:
break;
case eEditType.Modify:
SqlUpdateProdVariant();
break;
}
}
}
if (stLoadFormWait.ElapsedMilliseconds <= 100)
{
int iremainTime = 1000 - (int)stLoadFormWait.ElapsedMilliseconds;
await Task.Delay(iremainTime); //Thread.Sleep(iremainTime);
}
if (loadForm != null)
{
loadForm.Close();
loadForm = null;
}
}
private bool SqlUpdateProdVariant()
{
bool bUpdatedResult = true;
string strSetRegDT, strSetUpdateDT;
strSetRegDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
strSetUpdateDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
SqlCommand cmd = new SqlCommand();
string columns = string.Empty;
columns = "ProdNo_P,RegDT,RegUser,UpdateDT,UpdateUser,GroupNo,Comment,Description,TestListFileNo";//,UseTLPosition";
Type type = typeof(CVariantInformation);
FieldInfo[] f = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
StringBuilder sb = new StringBuilder();
sb.Append("UPDATE [PROD_Variant] SET ");
foreach (string str in columns.Split(','))
{
int idx = -1;
idx = Array.FindIndex(f, x => x.Name.IndexOf(str) >= 0);
if (str == "RegDT" || str == "UpdateDT")
{
string strGetDateTime = ctrlDB.SetConvertDateTime(f[idx].GetValue(SelectTestListVariantInfo).ToString());
sb.Append(str + " = '" + strGetDateTime + "', ");
if (str == "RegDT")
strSetRegDT = strGetDateTime;
else if (str == "UpdateDT")
strSetUpdateDT = strGetDateTime;
}
/*
else if(str == "UseTLPosition")
sb.Append(str + " = 0, ");
*/
else
sb.Append(str + " = '" + f[idx].GetValue(SelectTestListVariantInfo) + "', ");
}
sb = sb.Remove(sb.Length - 2, 1);
sb.Append("WHERE No = " + AbsoluteUniqueNo + ";");
cmd = new SqlCommand(sb.ToString(), ctrlDB.GetConnSqlCmd().Connection);
try
{
int EffectRows = cmd.ExecuteNonQuery();
}
catch (Exception ex)
{
bUpdatedResult = false;
MessageBox.Show(ex.Message, "SqlUpdateProdVariant [PROD_Variant] - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
return bUpdatedResult;
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,819 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>31, 25</value>
</metadata>
<metadata name="defaultToolTipController.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>503, 27</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="ToolStripMenuItemGoToTestListFile.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABZ0RVh0VGl0
bGUATGF5b3V0O1BhbmVsT2ZmOyIFuz4AAABYSURBVDhPrZNBCsBACAN9vB/zZVk8tBRJ2IAdGPA0ORkA
VkZmYuM/gYfv7SADVXW1kQEXGWCL00YGXGSALU4bGXCRAbY4bWTARQbY4rSRAZc3sJG+qC/iAH19RtvR
uMQeAAAAAElFTkSuQmCC
</value>
</data>
<data name="ToolStripMenuItemGoToVariant.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABF0RVh0VGl0
bGUAR29Ub0hlYWRlcjswp0O1AAAHW0lEQVRYR72W6VOUVxbGX3bULBozk8kkU5NUTKpmMjUzVfMXzOep
qdTUVE3Nh9TETMZgEkzKJBJXBBEbQWURZBFZJAIKxA0lihKixoXuhu6mm94XmkU2oelGdubJOfftN3Qb
sfpDKrfqV/3e8+Gc57nn3ttXAvAjIhhRQaKJGCKWiCPiiQQikVhNrCGeJp4hng3OY8JqhU5E4AljULWm
bVC1GgNEf+Yq9GUkojc9EZ69CXDviYdzVzzs2+Ng/TwO5q2xMH0Sg+7kGOg+iEbn+9FoeztKQ2nWhtUL
nYjA8gh1ycQNZq0G+moATwXgLgUcReHY8gBrDtCjAozpgGEPoNsBdKYA2q3QvBvFBV4Oqxc2WR5Rec2O
tvxmJ+gXeRcdyPnKBHaP3kr0pknw7JHg2iXBsUOCPUWC5XMJPVslmD6WYEiWoP9AQleShM5NEjTvUfr2
v6NDFvBaWM2wyfKIzqfCoSMQCNDSryLn5YApFejeDug/C0e7BVAnAXffJd4Gbv0LuPlPKv4W0PY3dLwj
cZHXKd0TBfCyx+RetFMIWFwCFpb+D58/AFfZX9G/PxF9+xLgTU+g3sfDvTsOzp1xsH8RC8u2WFqFGBi3
xMDwUTR0m6n3m6JoBaKg3iih6R+SkXK/pNRjVhRw5BEB0/MLGBmfgLd/AK5eLxxuD2wuF2x2J8w2O3os
NnSbrTCYzNAZTejqNkKjM+K2Wo+krEZO/hfit0SCUo9ZSUDsoQs2CsnF54m5xVCWMLuwhBlmfplp4uEc
syiYou+xwDx2nezi5OIIcgGlHhM+kQcLiMs5Z6UQC1hCzbdenGz3ovqbXlS1eVDBXHejvNWNslYXSq44
UdziQNFlG45esiK/2Yq8C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cJ4KOy/uPiuxQiAWLJ5U3WeE2DwtPXUFB3
Ffm1V5D75dc4XNOCQ9WXkF3VjIOVF5F14jxU5eeQefws9pc1IaOkCenFDUg/dgbbssu1lHudUo9ZScDz
yUV3KATZNTE8OYvC+mvkcBKeYR9c9ydgH3gAa98oenqH0e2+D71jEFpbP9TmPtwzefCdwY0bOgfatTZc
V1uRWljPRX6j1GMeFSCeY8T6jwpvU4he4XSVukcewtI3joL6VvSO+FBQSytwilegBUdOBleA3B+suCDc
HyD3mWVfYV9po3CfRu4b2+iOkAVsUOoxjwrgIe6B/+W0ticV3EJS/k28n3sTG1VXRGH3kA+m3hEYXEPQ
kWMNOb5n9uI7owc39C60ae1oJbctd8xovmXEuRsGNLV3oeE6HdOjdVxk5We5CMirwMeFXzB8ffL55SO0
YV9RfYfc98vhrqnvB8pl1/tLqe/FQedFZ7C36LRwzsWTU/Oe/CwXAXnwXzK3gvcDi+Hjw69avk5fIV4l
XiM2EG8QvMN/T7xJ/IH4I/En4s8hcPxlYuVneSjBwavxUyDGY+s8LvjzAel7sqMHZJ+jruQAAAAASUVO
RK5CYII=
</value>
</data>
<data name="toolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACV0RVh0VGl0
bGUAQ29weTtCYXJzO1JpYmJvbjtTdGFuZGFyZDtDbG9uZW0O31sAAAdbSURBVFhHnZf7U1XXHcV5CZSq
iTFpkzQznf4J/Xf6S5ImTZq2TjQqGlvRBjGhmAjER5OMUQQxNUYIakqIYErAWE1JtNQhoLy5cF9c7vsJ
q2vtc871wuVmOj0zi30Hzt2f9f3u7/7uTRGAdbVx40ZHJW2d3/a1ffodOFLW2Go+axxCa8cQzl4aQgvH
lkv/Mmo+0/8Gv1um71PFx9tuFh1vvVF0jLLnNVoXLtkvFFOlghd6ksk0orEkgqEYP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95/Ey9VI1taeda9nOzxp58eClI/fioSif3yGdxfMEPrejBc9yfHb7afzqlRP9
nHMLpR32gwb0mCsZtZl6gpLzp9bo6TX62Ro9Y0uf9b7glZTmzoMbtvlhPcqCXpRbpSxXMvb/SHNpTs2d
BwdQ9F/AOGC3chKJ6AAAAABJRU5ErkJggg==
</value>
</data>
<data name="pasteToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACF0RVh0VGl0
bGUAUGFzdGU7QmFycztSaWJib247U3RhbmRhcmQ7JZsHnQAACTZJREFUWEeNlwlUVOcVx10q7ppoU5M2
SU8Sqx5TTY7WtOJSTzzp6WmPtWo1GEUFEQVUEBEEWZRFkSgoIkUWJbii4IiyCbKDCMMiKkoUXEBxmGEY
mBkGZgD/vfe9YREl9Tvnx/dmzpvv/7/3+959l0EABPqNwQMwZNOOo5/vCZCkeB66ZrBxjU5babH3C/6+
33396Rndej26PRfi4Jt5saFGTIjRxDgjE5x9Y3OLKmrxUqlBtrQaVjvDi+j7ScREI+8TI4hhxK+IbnPC
6Csu6PZciGNI2Vnzbx/EWRZXxVuirjQWPkFx2H3gClz8JXD2i8cu33j8/EyJW5XPkXv7Kax2nYQl4xQF
i50RsHE+geKUSBScMMOtCLPSjODl39G6HIxgoq+4oNtzId4w9MElC5nmeTq6dFVoVj6BvXsU7j6sh1yl
pai1eK5Q425NA9KKapBc8Aj5FXW4/VCG4vsvILlRgWXm3si6cRWPKhJRWxYDaeT3MlqXs/FOBoZVxW0Q
xA3yOGjqM5EUF44tO4LgcViCsAt5iLlWgriMe5BkP8DZ5HKEnM+D33+TYO0cQeIeCPT3QmpsECrS/dD4
OBXS8JW8+HCCt+I1cUG350I0YPIg1hyd2kq0PwtF69NwNNYkISfxBHw8PLDRxhNmVnuxdK0v/rmaMPPC
v39ww+p1znByd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a6+l/Co2uA+vs
o7kfmEH9wBsGuke3kT4sGjJnjvnIv8xf+9lml3OCAX6kmDaGTjfDh4zfDZxqRkuCGpqFgtXagZZWPdZu
O8Ud0XTqiF4/hL8E927Uw5lQLzfJcsepm3yQrJxOYyNDe2rpGAMLYj2ld709Ew3z7cwpQXDttpMCa+wi
8b11aDGt8ymtR6UY72pg0CDqYodQNzvK1HTTh/Pmbfhi3jzLaaYLLKbzgTLyR95bIzONfEV8Tfd9TfcT
G76k339K64yl9fjl19uU/hLGMZh/xJmg9I38ZvG6UXyQ+kHd7lsZS/ePod/RPbYjjOK0tYMG/Q/jow/o
uQypvQAAAABJRU5ErkJggg==
</value>
</data>
<data name="newToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAABcFJREFUWEed
l3lsFGUchvEEFBVvJRAUFDm8/VNRIAgiHiEeMRqiISCJBjlEEUQQEJBU1BCj8YrGxBjjwX0U8T4QTAmh
cpYeuz22d3e7R7u7s/v6vtP5ptPd2aJOeDLJtp3n2d9837DbB4AvnuM0h9NzOOMUnOmDXte1uj1eqfti
12Gk+sO+pD85x+FcMsDhPIfzHS5wGEgudLjIOev3zia6bpcrV774i2P6mZH3DTU0zlj+1Um8+k0XK74t
x8qN5Vi1sQKrN5HNlVizpQpryevbAlhHirYHUbQziDd2VmP9rhq8KYpr8NbuWr07RepN5Qc4h+QaVb/q
mrqZVgbW0i9PYG9ZGCWVEZQGozheF0dFQwLVLR1oCCfREk0h0pFGPGkhmeYfZLK8XP6hEF73UnKWPHyp
O8A5XHlloHqWrkXAqaCkIoJDlB+jvNyR11PeTHk4kUas00JnKoO0lYX0fglFO4ISXUF0G/ICjLz/yYrA
0ykLFq8HsejzI7b8aG0cJykPNncgRHkT5W2OvIO/mKJcbz5r4IUNOnR7eP1BRGuqO8A5FNC3j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XhC
hB5ydPQaMHrCC9tQ2w7UUip6xBAT4sZ4Qk41mUfW/izZLcQ3QCtzzLiFW1EdAWoYIUyMCfGLcadCcqfi
jXmYDzk6eg+4a8EWBBmgCBsnxI0h/yuGAdNW/tBrgL0Gxs7bjEAYCFCuEDuGUm+IHUNp3i2iNG/xUm5u
04N8yNGhbVjwSTj09rmbcMe8TRhrsxl3zhdboMmMe34rdIvGL9yG8VwrE17cjomCC/fulwh30KTFuzB5
yS7c83IxppB7lxZjKp8tU5d9h/uW7ZGs4CcifSzXl0p9aBxDVKo9q1Wbi8bo5dZeuM0563qS60urPgB3
B3gi9ANNQiPSffqvmG/KfujneueuHECffwDqpp1enchBPwAAAABJRU5ErkJggg==
</value>
</data>
<data name="editToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABd0RVh0VGl0
bGUATW9kaWZ5VGFibGVTdHlsZTvvH3A0AAAIzklEQVRYR6WWCVBV5xXHLzGKgqBAJC5Vk9TGGE2MMzaj
nbqkVYNxFMWiRmxiRy1GQEFBNMaVpRoFcUFkeSwPVMQFRUQFZZd9B0HAJ7JvghQp0lj995zvvft8NUwm
ae7Mz+8Kl+93zvnO990r6Vx6P8EbvxJ5Hu0FQCBf/MsBxJvEIB30fwaDfwY8F8/NwYhLNwAht/dLnecc
VpjrHF4MZ2UxtsmEFWErE1oEJyakEI5McCG2CAqwWaHGIYjJh32gGruAfGwKyMNGv+y8rw5e/5w8HISo
xOsBDLT2SGlJKG/Hw65/QyXog+pJH47ffCBG5oEOx+KqUf3kGao7n6FKQyXhc71ajJUdr7hR0orlHkmt
5OFqiCroBsA/GGztmYpyevjagyeIruzEZeISsfNcGS7dp/v7HbhYwXSK0fVMKS5UPMaFcjVR9x7jPLE9
ooTGdnEfWdaOc0RabTesPVPYZkDwUv8ogCFUAZS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5ovL7XkuR3XCpdscwqcZ1mOT2wSDpAKH9NOoPzcUTGZqaj5+8c/WK3q76KjSmBCPD1xln7S3hbzkF
zpP0A+gZlotDhtBLXDNcSrRRc8fGRCqwHSY93DZUUOM4VNo/cZCgX7EMT0RwNqZT/2C1126LG1pzopB2
zBEKm1k4Om8S7Ke+zXI+YLTy26uMJcFKNfnrSOxgIKi2HyLY9/5AQb9iGZ6M4DUc+fvPvqqw/1YJi/l/
wRdTJj1zmTb62tJ3TVby7wj5zaaXsMJIEliryV1rKFVvHCxVMbb6Wn5JANxAIyZ8tACmoyZXGZmMPzhg
oMF0+hmXnD8yudFE5nt/N1D6pfQrluFJNZNzhuaE7pbixtQ2254Jb0r/D/2KZTSXHIS8Jf9nSxG/4pKk
/wLe7/y3Uh7PLQAAAABJRU5ErkJggg==
</value>
</data>
<data name="viewerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABV0RVh0VGl0
bGUAVmlld01lcmdlZERhdGE7shxIswAAAkJJREFUOE+lkl9Ik2EUxjdnYg4Z6IUX0Y1dBEUQdrOQpEYy
K9LEQpTFxD+oTXMbXkT7xoKyzaitVrJkW0RXQbJagU5rG5ulEYEXgUIkmNYHBl4krWB/ejrv15avK696
4Afn/TjPc97348gA/BcbxYbkREEWBVFIbMvCavmWASZfJGLyR2H0RTDgDeP86Av03X2Oc54p9IyE0OkK
xqmtaKuAAqM/QuXfymQySKfTaHcGWaOK9RLSTfgABZuaL2acDMdhc9zE6bZ+1Ld2xk6caeulfvYkOR9Q
2E9XZroXFeENf4YntIQLtwIwX3LiYWgWn9a+IxyfgUmwJ2sbWvqYhw8oYm/llUwmYR0i88QsyCvp7eJX
3A9Oo/aUbpo8JXxAMftRTJ6pFdweX8K1sXk06Q3SZKYv335iZHIZLz+sU8DZH+RR8QHbu9zjUmNOiUQC
g8JlhGOvsErmOTEN98RH3HkUQc2xptf5Acp21zPJ6Hy6CPvYAmzeKIbMvTBevAL/4xhi79dhdgWgM1hS
VdVHLWwoH1Cqv/5ECkilUlgVVxBymREUmmGs16KjZwCaBh0Oak6+268+bKP+MkLBB6h0w4GseZnMJgSt
zXAcV+NNLApRFHHE4GKNVYSSmSUfF6BsFPwzLVbfn8l2MtfpLdAOjhJ+HOoanqO+ipwnP4DtffmNDu3V
B911EKp3r+0rL22lb3uIXUQlUUH8e5Wlw+8VVXXv3enQ7CirobqEkFsOVMp4Nnn4g7tRnQspJqRVzTdv
DoDsF67YQEGpdtFTAAAAAElFTkSuQmCC
</value>
</data>
<data name="allUpdateToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACJ0RVh0VGl0
bGUAVXBkYXRlVGFibGVPZkNvbnRlbnRzO1RhYmxlO++l4NgAAAK4SURBVDhPhZE7TFNhGIbb0ir3tiAg
A5FBE2SRRMVBJ8OijDAYE+Mgm1ArWLm0eKAFwUhQEkNUQkRBKloQF6KLKCDGRYsXyqWAUgQCLQV6gxby
+n1HG2NC4ps8Jycn//Nd/iPh1PVOva57MY3rz6dQ22OHqXsSRsskqp9NQOgaR+WTMRg6bShtsw7QcQUA
SRiOtK53mt7/n9L2b2xE0es/BWS11JkTCG4TW/BvbsFLeDaIwBbW/CEsujege/iFjZiwzHAiarrt7JO4
jSrLDATLNCqJtUAI+i473FTgpzuAkgef2YgNywxHzvtyvNRxYTWAebcfcy4/Vkl0+4JY8YbgcAWgbR1h
Iz4sMxxFFV0Wh0fWP51CBXUtM09ghWTd4zE4PUF8d/pQdP8TG8qwzHB2XaNb5qzTyNzZ4fJh1umHyxvE
MrHk2cTMkg/mIQcb6rDMcCINZhv74shXO8fFrsXtNljnJmF6VYOcO8eRaojFkfpsxJ+PyFXrZEp1iSw7
XCCqomNULLDiC8FFYzu9m6Jc2F2ArJtpyLqRhgJLLhrfa3GsYT9IbiK4q1gguvTRV7GAODLtu0Q09t+G
0CdgyG7FAKHrMeCcOQemd/moHyyA8rKUFbFADP9fzizd9I9lv7jvrf67sC96MU6MLRDzHpxuOouqN2cg
DJ6CUvu3QGRh8/BbbasVmhYriu59pMuaRbJ+N5L0u5BUrkCG6QAutjdgX3lqQEWdWVZq+Q5/F5AR0YSK
SCASiT0sv3Q0o3XEgAStooO+7f1zRm4eNUqo0AWxAD92IqlCgRarHjUf8pDfcXhdfUUmqEpkmepiWSbt
L9AUGj63o8wklitsiWXypkMNqdD0nURe21EcNKYgozoZmcaU3rhL0nQ+t6PMkJydoJMrqfMJ+mXDqmLp
Bo09TJ31tH96nIZdSH4By/+MUJlLXfMAAAAASUVORK5CYII=
</value>
</data>
<data name="exportToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABF0RVh0VGl0
bGUARXhwb3J0O1NhdmVG1J4xAAAJf0lEQVRYR7WWB1CVZxaGrxuTNUqKrjGayRqjZldndmxgoYmIAqL0
eul46b13pAoIijQrqLFgRbEba4wNEcVFQUQFLFRpShV09t1zfsoisnF2dvebeeb2+7znfOX/RQD+YwYO
1w3T+6ExjPjEJW36nkWm40fzc+IP/L5ZxGTRYEzDJ4uGFHyMgcM1fZqo/V2pqO1tKb/kAJ+6pE3Dyti/
VWi7/1meXn9GcJBhrW+LRUxV61nRi5aTInH4jz0B/pvhnDZN1NpdIkCDqx3hlPpXlNVeQOBm1W59/0lh
9N7nxKe9nw+reJ0jqnh9WGQSNumDAFwBw1/8PXjwI1fGDO+Fq/3CYf1f8Lq7EFWtx7D9lAcMAn+4OE9z
LPVbNIIQuvG4aa/IMPiH9wKwu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o
bmiDqo4rNPS9hDUho2D80QCjF2s5w4suSKa0HcV20dC3DhVa/orkza1Mb+X9be6R91TOYqKhHdUcoL4N
KppOUNfzpLXgB2k5QxbxnRDf8g0ZYMwiDXu4BqbCWBIJ3pI6tLp5rl+xfIC44XVPy5mBldewuLd6DqCs
4UCnqQc0jXwxR9aARXwhGjIAt2WMopoEjnSyGdisourDaDX7oqWjW2h7IwVooAA854JcqLxXTpXznNf0
iquYl610+kloGtxpHXhh9gL9jweQX2INW49E2lp0ilmEQMPQE8mXKhB+ohRhxx4i5FgJgnJK4H/4Afyy
H8D74AN47i+G+94iuGQVwWn3fTjsug/7nffhcrCcrhU2WKrtTovRGzPn6/1uAGERLlC2eGftHEenVyDt
50Co6rnRnUwtVl+oRPS5SkSefYFVZ54j9NRzBJ18hoDjT+F39Cm8cyrgmV0OD8L1YBlcDjwRkFtsiSXa
rlDX8cDMebpvyfFvtyHfkIyaJauXOFdR/E6G7gVlaNssUDaHJPUmDGIuQzfyIjTDzmN58FmoB5zBEt9T
UPY6AUW3o5BzycF8x2zMtTsEackBzLLe1wNVPWOeLmbM1fnHtJmqa8jxJcGn7gcB+Lack40i+IrF24Xh
VTsYbuNgxg/BhF74Of8Xy4X2E4J3cACG0/F0cBj+8v8K/j+h8l4+CNA3+r7w/6J/9ASA6J980cTGNX7R
GQAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripMenuItemDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAldEVYdFRpdGxlAEdyaWQ7U3ByZWFkc2hlZXQ7Um93
O0RlbGV0ZVJvdztOu1grAAACuklEQVQ4T33UW0iTYRgH8M1TmXbQwI6QXQwqSQK76iq60BS6KA1bllkW
ohXmKQXpoKYDkzZxnndwE71wqaksT1lm6ZxubWpOuzCiG8VTOl2uLfj3vJsuDOmBH9/zbu/z/8Y7vo9D
5UG8yLb/2L6O9Z6EC4DDcKQNxj5FswmKpnHUbGj8DPmGl2OQMaoxSFWjqKgf/sBCXAFixSBd/1bb2y/r
nbPaejavRbIBmuJ4U+sMKKlxBqxZf8NCZCo9LGt2rJIVImvQw/zTDrPF5tjzQuII8HEFZNUakUkeKg3I
UBiQXvMJaXI9UmV6pEh1eCAZRnLVEO5XanGvfBBJZZrNAXHPe/F6ctEljQbUkwtQTzilVg+5eoaf18UC
fF0B1wU9aDUtQDo0A6l2Gil0tyrNNBqMcxiY+oHm/q/on1pE48gsmomi3cQC/Ik74XKuPusGn6HkK7md
pAvROZ2o655AS2UDdPHxaBeIUdc1jrrOcahzhdBERi20hJ2/7AjJF/fRLwEWzFbML1tRqtRgbsmKxWUL
tDExsGnf4LuoECPiMhiFxfhWJMCvjx14Fxo+TwFenJziXkeA2WLH8qoNyiYDlui6YrGiLzcfusgw2Kvy
oL8bD13iLdhKH0Nz4RwK9x8qoABPTsrTV+8zCjqQkd+B9Px2pOepkUbEigG0do1AEpsETcRZWIVZWCvK
RH/oGWT7BxTTsLfjDKh2kN1kzz/8yAFJUIjSdCMaK0mXsJpwEeP8KEh4weX0nQ/hOv6KrVB5yXmnSkbv
3ITlUSJUp09AFXIcK9m3YbjGR9nhY0K2Z8thhsq7/shJ81xyHGqDeYhw8xCRCkXQUcwkREO+j7fE9mw5
zFB5FuwNjJUF8GbDue4CWvuSnWFcd1G1X+DMk10H+WzPlsMMFTsg9uiyM2KPsds61rPP6BXA4f4Ba3pO
faKtBbEAAAAASUVORK5CYII=
</value>
</data>
<data name="filterToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAACFJJREFUWEe9
V2lUU2caz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0BeTpppQ
HxUTCcew5TJogBJf7rBed65PAuodPn7i17P3xSYcQkl5HbxD0vAD2WgchH6wd16Pr7+dr33OWcUpGjRA
iVvZeXEsV3lyLFYKOUuWu3EWWfM5ZsucOaZcJ878JaspE9QXjfHegyqkpGWC5x1MtlkxrAWhcCHHZGwB
4VityP/jHwyw0QCmpJE3Z/O5FuxIKYZLiAqO0hx4bN5BXTCDmcKALac+WYNaGsDUFEUxbSAiqRC8YBVW
B2aDvy6EumAmM4UBW059sga1NACjhNQc2oCMNpBHG1jjHkBdMJuZwoAtpz5Zg1oawLexSVl6K6AEeYz/
NAMz5LsVaDqrfmOArIB/JqxXeQ6TsVnMFAZsOfXJGtTSAGaGRh146xasCciExQpXysCf0gOzgyIS37oF
DuL9+H6RbR8Z+4aZwoAtpz5Zg1oawHd+22J0Bpy3q7DKOwrTZ5udImOfMVMYsOXUJ2tQSwMw9pHImVuQ
TFYgIB0WtmuHvphotJmMfchMYcCWU5+sQS0N4F/eolDShGQF4jOxXBg5Ql5U1D8aXxBS3xE6sOXUJ2tQ
SwP4zt07EAlJh7HCSTRkNGtBNonR+z89OgpsOfXJGtTSACbZ2HtenWdqVT3pm5nUslOV0995+mDLqU/W
oJYG8AEhJUo13N8I31r20WDL+TbB+R+8KX/u3bpeNgAAAABJRU5ErkJggg==
</value>
</data>
<data name="groupToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAfdEVYdFRpdGxlAEdyb3VwO0JveDtHcm91cGluZztI
aWVyYXLo02v3AAAAPElEQVQ4T2P4//8/RRirICmYwbdpx38SMUgPHI8aADGAIoxNEJutOPGoAUADsKVv
UjBWQVIwVkHi8X8GAEI/c4deVxHuAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="toolTipController.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>357, 27</value>
</metadata>
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="simpleButtonTestListFile.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt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leButtonDataMod.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAF8CAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9Cgku
UmVke2ZpbGw6I0QxMUMxQzt9CgkuWWVsbG93e2ZpbGw6I0ZGQjExNTt9CgkuR3JlZW57ZmlsbDojMDM5
QzIzO30KPC9zdHlsZT4NCiAgPGcgaWQ9Ildhcm5pbmdDaXJjbGVkMSI+DQogICAgPHBhdGggZD0iTTE2
LDJDOC4zLDIsMiw4LjMsMiwxNnM2LjMsMTQsMTQsMTRzMTQtNi4zLDE0LTE0UzIzLjcsMiwxNiwyeiBN
MTYsMjRjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTIgICBzMiwwLjksMiwyQzE4LDIzLjEs
MTcuMSwyNCwxNiwyNHogTTE4LDE4aC00VjhoNFYxOHoiIGNsYXNzPSJSZWQiIC8+DQogIDwvZz4NCjwv
c3ZnPgs=
</value>
</data>
<data name="simpleButtonTestListRelease.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5Oj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ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonTestListVariant.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.byt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TMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonGroup.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAfdEVYdFRpdGxlAEdyb3VwO0JveDtHcm91cGluZztI
aWVyYXLo02v3AAAAYklEQVRYR+3QwQmAMABD0S7oUk7ldhEPitpIQW16+YcHkhb9WCQNZcckOybZMel4
mOZFHWzvrRBAAAEEEPAUcDn4w/3Du/Od5uUe3gS43/sJAQQQQAABVcAodkyyY5Idc1RWirMbP4kjfNQA
AAAASUVORK5CYII=
</value>
</data>
<data name="simpleButtonSelVRFYVersion.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABV0RVh0VGl0
bGUAR2V0dGluZ1N0YXJ0ZWQ76lu8zQAAAV5JREFUWEfFlM1Nw1AQhANUQAu0kBZy5ZgWaCF3TrRAC1SA
RAtw4oZEC7TwmLE81uZ5bCU5TA6fbM/uezv7frxprV0VKyaxYhIrJrFiEismsWISKyaxYhIrJpleHp/f
K5+ggb2JkT34AMwhfN8Cl/sClEcOYIgtGagDnAEWqhOKP/AAau4rcLnUZwbuQe2KOANvgDGuEsew6O+o
Td2N0BT1oSBQc9RnBrTsfGogl5qxiismU3zW3J5qfmaA3WvSNQOOpRUQXCnGVXzYqt5ApTfwBb7B7fhd
0T5zjM5An09dBsgTONnADeBkP+AO1Lx6YNX9Wj4LK397qgF+s5O14nyvMZcvNPfhHAM97HapuOCyax5t
DTnPgIntgIrreh0xjqn7rttRje8uNaDr6uiv4dKPaMi7xEB/mnvcf4Bdaz4yXdUjA9fCikmsmMSKSayY
xIpJrJjEikmsmMSKOdrmH65Cj4Hyp+TCAAAAAElFTkSuQmCC
</value>
</data>
<data name="simpleButtonPrint.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzA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zMxLjEsMTYsMzIsMTYu
OSwzMiwxOHogTTI0LDMwdi00aC02djRIMjR6IiBjbGFzcz0iQmxhY2siIC8+DQo8L3N2Zz4L
</value>
</data>
<data name="simpleButtonViewVRFY.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAEgDAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkdyZWVue2ZpbGw6IzAzOUMyMzt9Cgku
QmxhY2t7ZmlsbDojNzI3MjcyO30KCS5SZWR7ZmlsbDojRDExQzFDO30KCS5ZZWxsb3d7ZmlsbDojRkZC
MTE1O30KCS5CbHVle2ZpbGw6IzExNzdENzt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iVmFsdWVzUG9z
aXRpb24iPg0KICAgIDxwYXRoIGQ9Ik02LDE2SDB2LTRoNlYxNnogTTYsMThIMHY0aDZWMTh6IE02LDI0
SDB2NGg2VjI0eiIgY2xhc3M9IkJsdWUiIC8+DQogICAgPGcgY2xhc3M9InN0MCI+DQogICAgICA8cGF0
aCBkPSJNMjIsMTZIOHYtNGgxNFYxNnogTTIyLDE4SDh2NGgxNFYxOHogTTIyLDI0SDh2NGgxNFYyNHog
TTMwLDZoLTZ2MjJoNlY2eiBNMTQsMTBIOFY2aDZWMTB6IE0yMiwxMGgtNlY2aDYgICAgVjEweiIgY2xh
c3M9IkJsYWNrIiAvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBkPSJNMTQsNEg4VjBoNlY0eiBNMjIsMGgt
NnY0aDZWMHogTTMwLDBoLTZ2NGg2VjB6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9nPg0KPC9zdmc+Cw==
</value>
</data>
<data name="simpleButtonExportTestList.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAMICAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ
LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
Y2l0eTowLjc1O30KPC9zdHlsZT4NCiAgPGcgaWQ9IkltcG9ydCI+DQogICAgPHBhdGggZD0iTTEyLDEy
SDhWNmg0VjEyeiBNMjQsMTd2MXY5YzAsMC42LTAuNCwxLTEsMUgzYy0wLjYsMC0xLTAuNC0xLTFWN2Mw
LTAuNiwwLjQtMSwxLTFoM3Y4aDE0TDI0LDE3eiBNMjAsMThINiAgIHY2aDE0VjE4eiIgY2xhc3M9IkJs
YWNrIiAvPg0KICAgIDxwb2x5Z29uIHBvaW50cz0iMzIsNiAyNCw2IDI0LDIgMTYsOCAyNCwxNCAyNCwx
MCAzMiwxMCAgIiBjbGFzcz0iR3JlZW4iIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonFilter.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXR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IxLjFjLTAuMi0wLjItMC4zLTAuNC0wLjMtMC43VjE4aC00djZoNy4yICAgIEwxNC4zLDIx
LjF6IiBjbGFzcz0iQmxhY2siIC8+DQogICAgPC9nPg0KICAgIDxwb2x5Z29uIHBvaW50cz0iMTYsMTgg
MzIsMTggMzIsMjAgMjYsMjYgMjYsMzIgMjIsMzIgMjIsMjYgMTYsMjAgICIgY2xhc3M9IlllbGxvdyIg
Lz4NCiAgPC9nPg0KPC9zdmc+Cw==
</value>
</data>
<data name="simpleButtonModify1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAL4DAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iQ3VzdG9taXplTWVyZ2VGaWVsZCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3Jv
dW5kOm5ldyAwIDAgMzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6
IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3RDc7fQoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQo8L3N0
eWxlPg0KICA8cmVjdCB4PSI2IiB5PSIxMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjIiIHJ4PSIwIiByeT0i
MCIgY2xhc3M9IlllbGxvdyIgLz4NCiAgPHBhdGggZD0iTTMxLjUsMjguOWwtNi4xLTYuMUMyNS44LDIx
LjksMjYsMjEsMjYsMjBjMC0zLjMtMi43LTYtNi02Yy0xLDAtMS45LDAuMi0yLjcsMC43bDQuMiw0LjIg
IGMwLjcsMC43LDAuNywxLjksMCwyLjZjLTAuNywwLjctMS45LDAuNy0yLjYsMGwtNC4yLTQuMkMxNC4y
LDE4LjEsMTQsMTksMTQsMjBjMCwzLjMsMi43LDYsNiw2YzEsMCwxLjktMC4yLDIuNy0wLjdsNi4xLDYu
MSAgYzAuNywwLjcsMS45LDAuNywyLjYsMEMzMi4yLDMwLjgsMzIuMiwyOS42LDMxLjUsMjguOXoiIGNs
YXNzPSJCbHVlIiAvPg0KICA8cGF0aCBkPSJNMjQuNiwzMEgxYy0wLjUsMC0xLTAuNS0xLTFWMWMwLTAu
NSwwLjUtMSwxLTFoMjRjMC41LDAsMSwwLjUsMSwxdjEzLjdjLTAuNi0wLjctMS4yLTEuMi0yLTEuNlYy
SDJ2MjZoMjAuNiAgTDI0LjYsMzB6IE0yMCw2SDZ2MmgxNFY2eiBNMTYsMTRINnYyaDEwVjE0eiBNMTIs
MjJINnYyaDZWMjJ6IE0xMiwxOEg2djJoNlYxOHoiIGNsYXNzPSJCbGFjayIgLz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonRegister1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgU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dDl7ZGlzcGxheTppbmxpbmU7ZmlsbDojMTE3N0Q3O30KCS5zdDEwe2Rp
c3BsYXk6aW5saW5lO2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+DQogIDxnIGlkPSJEb2N1bWVudF8xXyI+
DQogICAgPHBhdGggZD0iTTE1LDIwbDktOWw1LDVsLTksOUwxNSwyMHogTTMxLjcsMTEuOWwtMy42LTMu
NmMtMC40LTAuNC0xLTAuNC0xLjQsMEwyNSwxMGw1LDVsMS43LTEuNyAgIEMzMi4xLDEyLjksMzIuMSwx
Mi4zLDMxLjcsMTEuOXogTTE0LDI2aDVsLTUtNVYyNnoiIGNsYXNzPSJCbHVlIiAvPg0KICAgIDxwYXRo
IGQ9Ik0yNCwyMy44VjI4aC00LjJIMTJINlY0aDE4djQuMmwyLTJWM2MwLTAuNS0wLjUtMS0xLTFINUM0
LjQsMiw0LDIuNSw0LDN2MjZjMCwwLjUsMC41LDEsMSwxaDIwICAgYzAuNSwwLDEtMC41LDEtMXYtNy4y
TDI0LDIzLjh6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonSelectTL.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABZ0RVh0VGl0
bGUAU29ydDtSZXZlcnNTb3J0O0sjVgMAAAFfSURBVFhH7c47bsJAGARg7ofSUdNSUUADHVLkC9BwAS6R
kyHx3MxY/6L1eBQTYW2aIH2yPfYyM0kp/Skb1mTDmmxYkw1rsmFNNlQfn19rSNDou6ZpVCp03ulZsmEJ
pQt4xADale+1BMYbgLK5lGfb/I2WwDgDUDKDWxSWI3K24ndaAu8PwJ9P4RxFl7iWOIKjlloCoww4RRHL
93GfbeLajtASGGUAC65wKJ5b8ZxHXLQERhlwh2Px3BkQWTtCS+D9AcoNyLQE/gfUHUBSZAe4c2RD9dMA
/PkdjkWZG7Dhs56lXuAMDGDRFQ7gBrTlcNGz1AucgQGnXAD7uM9y+Q0eepZ6gTMwYArnKOKIcsCzHJZ6
lnqBMzCAZlHEQpaV5byuoHMus6F6YQDNoSzPttB+o2fJhurFAbSAcsQOnu/1LNlQ/WIArYHl/HXe6Vmy
YU02rMmGNdmwJhvWZMN60uQbiYnc3xJewKcAAAAASUVORK5CYII=
</value>
</data>
<data name="simpleButtonSelectParentFullUpdate.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAI8DAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iUmVmcmVzaCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5C
bGFja3tmaWxsOiM3MjcyNzI7fQoJLkdyZWVue2ZpbGw6IzAzOUMyMzt9Cgkuc3Qwe29wYWNpdHk6MC41
O30KPC9zdHlsZT4NCiAgPGcgY2xhc3M9InN0MCI+DQogICAgPHBhdGggZD0iTTEwLDEwSDZWNmg0VjEw
eiBNMjQsNkgxMnY0aDEyVjZ6IE0xMCwxMkg2djEyaDRWMTJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9n
Pg0KICA8cGF0aCBkPSJNMzAsMTZ2NmgtMC4xaC0ySDI0bDIuNS0yLjVDMjUuNiwxOC42LDI0LjQsMTgs
MjMsMThjLTIuNCwwLTQuNCwxLjctNC45LDRoLTJjMC41LTMuNCwzLjQtNiw2LjktNiAgYzEuOSwwLDMu
NywwLjgsNC45LDIuMUwzMCwxNnogTTIzLDI4Yy0xLjQsMC0yLjYtMC42LTMuNS0xLjVMMjIsMjRoLTMu
OWgtMkgxNnY2bDIuMS0yLjFjMS4zLDEuMywzLDIuMSw0LjksMi4xICBjMy41LDAsNi40LTIuNiw2Ljkt
NmgtMkMyNy40LDI2LjMsMjUuNCwyOCwyMywyOHoiIGNsYXNzPSJHcmVlbiIgLz4NCiAgPHBhdGggZD0i
TTI3LDJIM0MyLjQsMiwyLDIuNCwyLDN2MjRjMCwwLjYsMC40LDEsMSwxaDExdi0ySDRWNGgyMnYxMC41
YzAuNywwLjMsMS40LDAuNiwyLDFWM0MyOCwyLjQsMjcuNiwyLDI3LDJ6IiBjbGFzcz0iQmxhY2siIC8+
DQo8L3N2Zz4L
</value>
</data>
<metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>192, 27</value>
</metadata>
<metadata name="timerUI.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>690, 27</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>54</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,514 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using SystemX.Product.ALIS.UI.View.InfoList;
using System.Data.SqlClient;
using SystemX.Product.ALIS.Interface;
using static SystemX.Product.ALIS.UI.View.ViewCfg;
using DevExpress.XtraGrid.Columns;
using System.Reflection;
using SystemX.Product.ALIS.UI.Subs;
using System.Threading;
using static CpCommon.ExceptionHandler;
using static PsKGaudi.Parser.PsCCS;
using PsKGaudi.Parser.PsCCSSTDFn;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using System.Xml.Linq;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using DevExpress.XtraGrid.Views.Base;
using PsKGaudi.Parser.PsCCSSTDFn;
using System.IO;
using static SystemX.Net.Platform.Common.Util.LogMessage;
using System.Diagnostics;
using SystemX.Common;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public class UcTestListViewSub
{
}
public partial class UcTestListView
{
public bool CreateInfo(eSelectType SelType, long lChkTime = long.MaxValue)
{
bool bCreateInfoResult = true;
switch (SelType)
{
case eSelectType.TestListFile:
try
{
AbsoluteHostName = gridHistView.GetFocusedRowCellValue("Name").ToString();
SelectTestListFileInfo.SelectTestListFileNo = nVRFYParameter;
//SelectTestListFileInfo.Name = AbsoluteHostName;
SelectTestListFileInfo.TestType = gridHistView.GetFocusedRowCellValue("TestType").ToString();
SelectTestListFileInfo.Version = gridHistView.GetFocusedRowCellValue("FileVersion").ToString();
SelectTestListFileInfo.ProdCode = gridHistView.GetFocusedRowCellValue("ProdCode").ToString();
SelectTestListFileInfo.FileName = gridHistView.GetFocusedRowCellValue("FileName").ToString();
SelectTestListFileInfo.RegDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("RegDT").ToString());
SelectTestListFileInfo.RegUser = gridHistView.GetFocusedRowCellValue("RegUser").ToString();
SelectTestListFileInfo.UpdateDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("UpdateDT"));
SelectTestListFileInfo.UpdateUser = gridHistView.GetFocusedRowCellValue("UpdateUser").ToString();
SelectTestListFileInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
SelectTestListFileInfo.Description = gridHistView.GetFocusedRowCellValue("Description").ToString();
string strQueryText = $"SELECT X.No, " +
$"X.Name, " +
$"X.TestType, " +
$"X.Version, " +
$"X.ProdCode, " +
$"X.FileName, " +
$"X.TestListData " +
$"FROM [dbo].[STOR_TestListFile] AS X " +
$"WHERE " +
$"No = " + SelectTestListFileInfo.SelectTestListFileNo.Value;
DataTable dtQuery = ctrlDB.GetTable(strQueryText);
if (XCommons.isHasRow(dtQuery) == false)
throw new Exception();
SelectTestListFileInfo.TestListFileLoadRawData = new byte[((byte[])dtQuery.Rows[0]["TestListData"]).Length];
((byte[])dtQuery.Rows[0]["TestListData"]).CopyTo(SelectTestListFileInfo.TestListFileLoadRawData, 0);
}
catch { bCreateInfoResult = false; }
finally
{
if (bCreateInfoResult)
{
SelectTestListFileInfo.bHasSelectedData = true;
if (lChkTime <= 180)
{
textEditQueryText1.Text = AbsoluteHostName;
textEditQueryText2.Text = SelectTestListFileInfo.TestType;
textEditQueryText3.Text = SelectTestListFileInfo.Version;
textEditQueryText4.Text = SelectTestListFileInfo.ProdCode;
textEditQueryText5.Text = SelectTestListFileInfo.FileName;
ModifyItem();
}
}
else
SelectTestListFileInfo.bHasSelectedData = false;
}
break;
case eSelectType.TestListVariant:
try
{
AbsoluteHostName = gridHistView.GetFocusedRowCellValue("P_ProdNo").ToString();
SelectTestListVariantInfo.SelectVariantNo = nVRFYParameter;
SelectTestListVariantInfo.ProdNo_P = AbsoluteHostName;
SelectTestListVariantInfo.TestType = gridHistView.GetFocusedRowCellValue("TestType").ToString();
SelectTestListVariantInfo.Version = gridHistView.GetFocusedRowCellValue("FileVersion").ToString();
SelectTestListVariantInfo.ProdCode = gridHistView.GetFocusedRowCellValue("ProdCode").ToString();
SelectTestListVariantInfo.FileName = gridHistView.GetFocusedRowCellValue("FileName").ToString();
SelectTestListVariantInfo.RegDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("RegDT").ToString());
SelectTestListVariantInfo.RegUser = gridHistView.GetFocusedRowCellValue("RegUser").ToString();
SelectTestListVariantInfo.UpdateDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("UpdateDT"));
SelectTestListVariantInfo.UpdateUser = gridHistView.GetFocusedRowCellValue("UpdateUser").ToString();
SelectTestListVariantInfo.GroupNo = Convert.ToInt32(gridHistView.GetFocusedRowCellValue("GroupNo"));
SelectTestListVariantInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
SelectTestListVariantInfo.Description = gridHistView.GetFocusedRowCellValue("Description").ToString();
SelectTestListVariantInfo.TestListFileNo = Convert.ToInt32(gridHistView.GetFocusedRowCellValue("TestListFileNo"));
SelectTestListVariantInfo.TestListName = gridHistView.GetFocusedRowCellValue("TestListName").ToString();
}
catch { bCreateInfoResult = false; }
finally
{
if (bCreateInfoResult)
{
SelectTestListVariantInfo.bHasSelectedData = true;
if (lChkTime <= 180)
{
textEditQueryText1.Text = AbsoluteHostName;
textEditQueryText2.Text = SelectTestListVariantInfo.TestType;
textEditQueryText3.Text = SelectTestListVariantInfo.Version;
textEditQueryText4.Text = SelectTestListVariantInfo.ProdCode;
ModifyItem();
}
}
else
SelectTestListVariantInfo.bHasSelectedData = false;
}
break;
case eSelectType.TestListRelease:
try
{
AbsoluteHostName = gridHistView.GetFocusedRowCellValue("C_ProdNo").ToString();
SelectTestListReleaseInfo.ProdNo_C = AbsoluteHostName;
SelectTestListReleaseInfo.TestCodeNo = Commons.ConvertTextToTryValue<int>(gridHistView.GetFocusedRowCellValue("TestCodeNo").ToString(), -1);
SelectTestListReleaseInfo.VariantNo = Commons.ConvertTextToTryValue<int>(gridHistView.GetFocusedRowCellValue("VariantNo").ToString(), -1);
SelectTestListReleaseInfo.Config = gridHistView.GetFocusedRowCellValue("Config").ToString();
SelectTestListReleaseInfo.RegDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("RegDT").ToString());
SelectTestListReleaseInfo.RegUser = gridHistView.GetFocusedRowCellValue("RegUser").ToString();
SelectTestListReleaseInfo.RegUserComment = gridHistView.GetFocusedRowCellValue("RegUserComment").ToString();
SelectTestListReleaseInfo.TestCode = gridHistView.GetFocusedRowCellValue("TestCode").ToString();
SelectTestListReleaseInfo.ProdNo_P = gridHistView.GetFocusedRowCellValue("P_ProdNo").ToString();
SelectTestListReleaseInfo.TestType = gridHistView.GetFocusedRowCellValue("TestType").ToString();
SelectTestListReleaseInfo.FileVersion = gridHistView.GetFocusedRowCellValue("FileVersion").ToString();
SelectTestListReleaseInfo.ProdCode = gridHistView.GetFocusedRowCellValue("ProdCode").ToString();
if (SelectTestListReleaseInfo.VariantNo == -1)
throw new Exception();
}
catch { bCreateInfoResult = false; }
finally
{
if (bCreateInfoResult)
{
SelectTestListReleaseInfo.bHasSelectedData = true;
if (lChkTime <= 180)
{
textEditQueryText1.Text = AbsoluteHostName;
textEditQueryText2.Text = SelectTestListReleaseInfo.TestCode;
textEditQueryText3.Text = SelectTestListReleaseInfo.TestType;
textEditQueryText4.Text = SelectTestListReleaseInfo.FileVersion;
textEditQueryText5.Text = SelectTestListReleaseInfo.ProdCode;
textEditQueryText6.Text = SelectTestListReleaseInfo.ProdNo_P;
ModifyItem();
}
}
else
SelectTestListReleaseInfo.bHasSelectedData = false;
}
break;
}
return bCreateInfoResult;
}
public void SetTestListFileFieldInfo()
{
dicTestListFileField = new Dictionary<string, Tuple<SqlDbType, int>>();
dicTestListFileField.Clear();
dicTestListFileField.Add("Name", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
dicTestListFileField.Add("TestType", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 8));
dicTestListFileField.Add("Version", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
dicTestListFileField.Add("ProdCode", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
dicTestListFileField.Add("FileName", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
dicTestListFileField.Add("RegDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
dicTestListFileField.Add("RegUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicTestListFileField.Add("UpdateDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
dicTestListFileField.Add("UpdateUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicTestListFileField.Add("Comment", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
dicTestListFileField.Add("Description", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
dicTestListFileField.Add("TestListData", new Tuple<SqlDbType, int>(SqlDbType.Binary, -1));
}
public void SetTestListVariantFieldInfo()
{
dicTestListVariantField = new Dictionary<string, Tuple<SqlDbType, int>>();
dicTestListVariantField.Clear();
dicTestListVariantField.Add("ProdNo_P", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 16));
/*
dicTestListVariantField.Add("TestType", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 8));
dicTestListVariantField.Add("Version", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
dicTestListVariantField.Add("ProdCode", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
dicTestListVariantField.Add("FileName", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
*/
dicTestListVariantField.Add("RegDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
dicTestListVariantField.Add("RegUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicTestListVariantField.Add("UpdateDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
dicTestListVariantField.Add("UpdateUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicTestListVariantField.Add("GroupNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
dicTestListVariantField.Add("Comment", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
dicTestListVariantField.Add("Description", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
dicTestListVariantField.Add("TestListFileNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
}
public void SetTestListRelFieldInfo()
{
dicTestListReleaseField = new Dictionary<string, Tuple<SqlDbType, int>>();
dicTestListReleaseField.Clear();
dicTestListReleaseField.Add("ProdNo_C", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 16));
dicTestListReleaseField.Add("TestCodeNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
dicTestListReleaseField.Add("VariantNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
dicTestListReleaseField.Add("Config", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicTestListReleaseField.Add("RegDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
dicTestListReleaseField.Add("RegUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicTestListReleaseField.Add("RegUserComment", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
}
public void SetVRFYReleaseFieldInfo()
{
dicVRFYReleaseField = new Dictionary<string, Tuple<SqlDbType, int>>();
dicVRFYReleaseField.Clear();
dicVRFYReleaseField.Add("TestlistFileNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
dicVRFYReleaseField.Add("StepID", new Tuple<SqlDbType, int>(SqlDbType.BigInt, 0));
dicVRFYReleaseField.Add("Variant", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
dicVRFYReleaseField.Add("Gate", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
dicVRFYReleaseField.Add("Activate", new Tuple<SqlDbType, int>(SqlDbType.Bit, 0));
dicVRFYReleaseField.Add("StepVersion", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
dicVRFYReleaseField.Add("Enable", new Tuple<SqlDbType, int>(SqlDbType.Bit, 0));
dicVRFYReleaseField.Add("Position", new Tuple<SqlDbType, int>(SqlDbType.BigInt, 0));
dicVRFYReleaseField.Add("StepDesc", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
dicVRFYReleaseField.Add("UseFunction", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
dicVRFYReleaseField.Add("MacroParm", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
dicVRFYReleaseField.Add("Parm", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
dicVRFYReleaseField.Add("SpecMin", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
dicVRFYReleaseField.Add("SpecMax", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
dicVRFYReleaseField.Add("IsGlobal", new Tuple<SqlDbType, int>(SqlDbType.Bit, 0));
dicVRFYReleaseField.Add("Dim", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
dicVRFYReleaseField.Add("UpdateDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
}
private SqlParameter GetMakeSqlParameterInfo(Dictionary<string, Tuple<SqlDbType, int>> refField, string strSetName, object objValue)
{
if (refField.ContainsKey(strSetName))
{
SqlParameter param = null;
if (refField[strSetName].Item2 != 0)
param = new SqlParameter("@" + strSetName, refField[strSetName].Item1, refField[strSetName].Item2);
else
param = new SqlParameter("@" + strSetName, refField[strSetName].Item1);
param.Value = objValue;
return param;
}
else
return null;
}
private void SetVRFYReleaseTableControl(eVRFYControlMode setMode, int setTestListNo, DateTime ctrlDt, List<PsCCSStdFnBase> lstFb, int nLastVersion = -1)
{
if (lstFb.Count <= 0)
return;
Int64 nStepNum = Int64.MaxValue;
try
{
int iItemNum = lstFb.Count;
int iPos = 0;
SqlCommand[] cmds = new SqlCommand[iItemNum];
string columns = "TestlistFileNo,StepID,Variant,Gate,Activate,StepVersion,Enable,Position,StepDesc,UseFunction,MacroParm,Parm,SpecMin,SpecMax,IsGlobal,Dim,UpdateDT";
string values = string.Join(",", columns.Split(',').Select(c => string.Format("@{0}", c)));
string sqlCommandInsert = string.Format("INSERT INTO [VRFY_TestListFileRelease] ({0}) VALUES ({1})", columns, values);
SetVRFYReleaseFieldInfo();
int isetVersion = 0;
int isetEnable = 1;
foreach (PsCCSStdFnBase fb in lstFb)
{
fb.GetTestStepSummary();
isetVersion = 0;
isetEnable = 1;
//삭제시 Enable -> 0 변경
if (setMode == eVRFYControlMode.Delete)
isetEnable = 0;
if (setMode != eVRFYControlMode.New)
{
//직전 마지막 스텝 버전 기준 + 1
isetVersion = nLastVersion + 1;
}
cmds[iPos] = new SqlCommand(sqlCommandInsert, ctrlDB.GetConnSqlCmd().Connection);
string strMO = (fb.GetMO() != null) ? fb.GetMO() : "";
string strFuncName = (fb.GetSTDFnNameAsEnum().ToString() != null) ? fb.GetSTDFnNameAsEnum().ToString() : "";
string strDim = (fb.GetDimension().ToString() != null) ? fb.GetDimension().ToString() : "";
string[] strSummaryTestSteps = fb.SummaryTestStep;
string strMacroParm = (strSummaryTestSteps[6] != null) ? strSummaryTestSteps[6] : "";
string strParm = (strSummaryTestSteps[8] != null) ? strSummaryTestSteps[8] : "";
string strGetMin = (fb.PairedParmsMinMax.Min != null) ? fb.PairedParmsMinMax.Min : "";
string strGetMax = (fb.PairedParmsMinMax.Max != null) ? fb.PairedParmsMinMax.Max : "";
nStepNum = fb.StepNum;
SqlParameter[] setParams = new SqlParameter[columns.Split(',').Count()];
setParams[0] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "TestlistFileNo", setTestListNo);
setParams[1] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "StepID", (Int64)fb.StepNum);
setParams[2] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Variant", fb.Variant);
setParams[3] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Gate", fb.Gate);
PsKGaudi.Parser.PsCCSDefineEnumTraceability getTracebility = fb.Traceability;
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateState = fb.IsActivate();
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateProperty = fb.Activate;
if (getActivateProperty == PsKGaudi.Parser.PsCCSDefineEnumActivate.ACTIVATE)
setParams[4] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Activate", 1);
else
setParams[4] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Activate", 0);
setParams[5] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "StepVersion", isetVersion);
setParams[6] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Enable", isetEnable);
setParams[7] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Position", (Int64)fb.Position);
setParams[8] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "StepDesc", strMO);
setParams[9] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "UseFunction", strFuncName);
setParams[10] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "MacroParm", strMacroParm);
setParams[11] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Parm", strParm);
setParams[12] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "SpecMin", strGetMin);
setParams[13] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "SpecMax", strGetMax);
if (fb.PairedParmsMinMax.Min.IndexOf("&") >= 0 || fb.PairedParmsMinMax.Max.IndexOf("&") >= 0)
setParams[14] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "IsGlobal", 1);
else
setParams[14] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "IsGlobal", 0);
setParams[15] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Dim", strDim);
setParams[16] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "UpdateDT", ctrlDt);
cmds[iPos++].Parameters.AddRange(setParams);
}
cmds.ToList().ForEach(x => x.ExecuteNonQuery());
}
catch(Exception e)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" setVRFYReleaseTableControl() Error. "+ setTestListNo + " " + nStepNum + " " + e.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
throw;
}
}
private DataTable MakeVRFYTestListReleaseTable()
{
// Create a new DataTable titled 'Names.'
DataTable vrfyTable = new DataTable("VRFY");
// Add three column objects to the table.
DataColumn Column0 = new DataColumn();
Column0.DataType = System.Type.GetType("System.Int64");
Column0.ColumnName = "No";
Column0.AutoIncrement = true;
Column0.AllowDBNull = false;
vrfyTable.Columns.Add(Column0);
DataColumn Column1 = new DataColumn();
Column1.DataType = System.Type.GetType("System.Int32");
Column1.ColumnName = "TestlistNo";
vrfyTable.Columns.Add(Column1);
DataColumn Column2 = new DataColumn();
Column2.DataType = System.Type.GetType("System.Int64");
Column2.ColumnName = "StepID";
vrfyTable.Columns.Add(Column2);
DataColumn Column3 = new DataColumn();
Column3.DataType = System.Type.GetType("System.String");
Column3.ColumnName = "Variant";
vrfyTable.Columns.Add(Column3);
DataColumn Column4 = new DataColumn();
Column4.DataType = System.Type.GetType("System.String");
Column4.ColumnName = "Gate";
vrfyTable.Columns.Add(Column4);
DataColumn Column5 = new DataColumn();
Column5.DataType = System.Type.GetType("System.Boolean");
Column5.ColumnName = "Activate";
vrfyTable.Columns.Add(Column5);
DataColumn Column6 = new DataColumn();
Column6.DataType = System.Type.GetType("System.Int32");
Column6.ColumnName = "StepVersion";
vrfyTable.Columns.Add(Column6);
DataColumn Column7 = new DataColumn();
Column7.DataType = System.Type.GetType("System.Boolean");
Column7.ColumnName = "Enable";
vrfyTable.Columns.Add(Column7);
DataColumn Column8 = new DataColumn();
Column8.DataType = System.Type.GetType("System.Int64");
Column8.ColumnName = "Position";
vrfyTable.Columns.Add(Column8);
DataColumn Column9 = new DataColumn();
Column9.DataType = System.Type.GetType("System.String");
Column9.ColumnName = "StepDesc";
vrfyTable.Columns.Add(Column9);
DataColumn Column10 = new DataColumn();
Column10.DataType = System.Type.GetType("System.String");
Column10.ColumnName = "UseFunction";
vrfyTable.Columns.Add(Column10);
DataColumn Column11 = new DataColumn();
Column11.DataType = System.Type.GetType("System.String");
Column11.ColumnName = "MacroParm";
vrfyTable.Columns.Add(Column11);
DataColumn Column12 = new DataColumn();
Column12.DataType = System.Type.GetType("System.String");
Column12.ColumnName = "Parm";
vrfyTable.Columns.Add(Column12);
DataColumn Column13 = new DataColumn();
Column13.DataType = System.Type.GetType("System.String");
Column13.ColumnName = "SpecMin";
vrfyTable.Columns.Add(Column13);
DataColumn Column14 = new DataColumn();
Column14.DataType = System.Type.GetType("System.String");
Column14.ColumnName = "SpecMax";
vrfyTable.Columns.Add(Column14);
DataColumn Column15 = new DataColumn();
Column15.DataType = System.Type.GetType("System.Boolean");
Column15.ColumnName = "IsGlobal";
vrfyTable.Columns.Add(Column15);
DataColumn Column16 = new DataColumn();
Column16.DataType = System.Type.GetType("System.String");
Column16.ColumnName = "Dim";
vrfyTable.Columns.Add(Column16);
DataColumn Column17 = new DataColumn();
Column17.DataType = System.Type.GetType("System.DateTime");
Column17.ColumnName = "UpdateDT";
vrfyTable.Columns.Add(Column17);
// Create an array for DataColumn objects.
DataColumn[] keys = new DataColumn[1];
keys[0] = Column0;
vrfyTable.PrimaryKey = keys;
// Return the new DataTable.
return vrfyTable;
}
}
}

View File

@ -0,0 +1,591 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.ComboBox;
using SystemX.Product.ALIS.Interface;
using SystemX.Common.Archive;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using PsKGaudi;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi.Parser.PsCCSSTDFn;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using static PsKGaudi.Parser.PsCCS;
using static CpCommon.ExceptionHandler;
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
using SystemX.Common;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class TestListFileInfoEdit : Form
{
private enum eTestListLoadType
{
Load = 0,
Select
}
public eSelectMode CurrentWizardMode { internal set; get; }
private CTestListFileInformation SelTestListFileInfo;
private PsCCSGaudiFile GetTestListGaudiData;
private byte[] ucTestListByte;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
private string strGetModifyName;
private string strGetModifyTestType;
private string strGetModifyFileVersion;
private string strGetModifyFileName;
public enum eSelectMode
{
Insert = 0,
Modify
}
private psGaudiImformation m_psGaudiInfo = new psGaudiImformation();
public psGaudiImformation psGaudiInfo
{
get { return m_psGaudiInfo; }
set { m_psGaudiInfo = value; }
}
private string strTitle = "PROD TestList-File";
private string strWizardControl = "PROD TestList-File";
private string strWelcomeWizard = "Welcome to the PROD TestList-File wizard!";
private string strWizardPage = "PROD TestList Information";
private bool bModifyFirstLoad;
private string strTempTestListFilePos;
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
public TestListFileInfoEdit(IDataController ctrlDB, eSelectMode setMode, CTestListFileInformation getSelTestListFileInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
//
CurrentWizardMode = setMode;
SelTestListFileInfo = getSelTestListFileInfo;
SelTestListFileInfo.TestListFileSelectRawData = null;
this.ctrlDB = ctrlDB;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
textBoxItem6_Picker.Value = SelTestListFileInfo.RegDT;
textBoxItem7.Text = SelTestListFileInfo.RegUser;
textBoxItem8_Picker.Value = SelTestListFileInfo.UpdateDT;
textBoxItem9.Text = SelTestListFileInfo.UpdateUser;
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
string strGetCurrentDir = Directory.GetCurrentDirectory();
Guid uguid = Guid.NewGuid();
strTempTestListFilePos = @strGetCurrentDir + @"\TempTestList\";
if (Directory.Exists(strTempTestListFilePos) == false)
Directory.CreateDirectory(strTempTestListFilePos);
strTempTestListFilePos += uguid.ToString("B") + ".CpXv" + SelTestListFileInfo.Version + SelTestListFileInfo.ProdCode;
SelTestListFileInfo.TestListFileLoadRawData = XDataArchive.DecompressGZipByteToByte(SelTestListFileInfo.TestListFileLoadRawData);
File.WriteAllBytes(strTempTestListFilePos, (byte[])SelTestListFileInfo.TestListFileLoadRawData);
bModifyFirstLoad = false;
//textBoxItem1.Text = SelTestListFileInfo.Name;
textBoxItem2.Text = SelTestListFileInfo.TestType;
textBoxItem3.Text = SelTestListFileInfo.Version;
textBoxItem4.Text = SelTestListFileInfo.ProdCode;
textBoxItem5.Text = SelTestListFileInfo.FileName;
textBoxItem6_Picker.Value = SelTestListFileInfo.RegDT;
textBoxItem7.Text = SelTestListFileInfo.RegUser;
textBoxItem8_Picker.Value = SelTestListFileInfo.UpdateDT;
textBoxItem9.Text = SelTestListFileInfo.UpdateUser;
//strGetModifyName = SelTestListFileInfo.Name;
strGetModifyTestType = SelTestListFileInfo.TestType;
strGetModifyFileVersion = SelTestListFileInfo.Version;
strGetModifyFileName = SelTestListFileInfo.FileName;
textBoxItem11.Text = SelTestListFileInfo.Comment;
textBoxItem12.Text = SelTestListFileInfo.Description;
//View Modify SHow
//textBoxModify1.Text = SelTestListFileInfo.Name;
textBoxModify2.Text = SelTestListFileInfo.TestType;
textBoxModify3.Text = SelTestListFileInfo.Version;
textBoxModify4.Text = SelTestListFileInfo.ProdCode;
textBoxModify5.Text = SelTestListFileInfo.FileName;
textBoxModify8.Text = SelTestListFileInfo.Comment;
textBoxModify9.Text = SelTestListFileInfo.Description;
panelModify.Visible = true;
break;
}
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
lock (objInfoControlNextLock)
{
if (wizardControl.SelectedPageIndex == 0)
{
if (CurrentWizardMode == eSelectMode.Modify && bModifyFirstLoad == false)
{
if (m_psGaudiInfo.bInfoLoading != false)
return;
LoadTestList(eTestListLoadType.Load, strTempTestListFilePos, SelTestListFileInfo.FileName, true);
labelDispLoadResult.Text = "Loading ...";
labelDispLoadResult.BackColor = Color.Yellow;
bModifyFirstLoad = true;
}
}
else if (wizardControl.SelectedPageIndex == 1)
{
try
{
if (m_psGaudiInfo.bInfoNormalLoaded == false)
throw new Exception("The test list is loading or there is no information on the selected test list.");
string strItemName = "";
//if (textBoxItem1.Text.Length <= 0) { strItemName = "Name"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
if (textBoxItem2.Text.Length <= 0) { strItemName = "Test Type"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
if (textBoxItem3.Text.Length <= 0) { strItemName = "Version"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
if (textBoxItem4.Text.Length <= 0) { strItemName = "Prod Code"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
if (textBoxItem5.Text.Length <= 0) { strItemName = "File Name"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
string strGetName = textBoxItem1.Text;
string strGetTestType = textBoxItem2.Text;
string strGetFileVersion = textBoxItem3.Text;
string strGetFileName = textBoxItem5.Text;
string strGetQueryText = "SELECT * FROM [STOR_TestListFile] WHERE No IN(SELECT No FROM [STOR_TestListFile] WHERE " + //[Name] = '" + strGetName + "' " +
//"AND [TestType] = '" + strGetTestType + "' " +
"[TestType] = '" + strGetTestType + "' " +
"AND [Version] = '" + strGetFileVersion + "' " +
"AND [FileName] = '" + strGetFileName + "' " +
") ORDER BY No ASC;";
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtCheck))
{
bool bExistException = true;
if (CurrentWizardMode == eSelectMode.Modify)
{
if (//strGetName.CompareTo(strGetModifyName) == 0 &&
strGetTestType.CompareTo(strGetModifyTestType) == 0 &&
strGetFileVersion.CompareTo(strGetModifyFileVersion) == 0 &&
strGetFileName.CompareTo(strGetModifyFileName) == 0)
bExistException = false;
}
if (bExistException)
{
/*throw new Exception($"Name - TestType - FileVersion - FileName Combine Key is information that already exists. : " +
$"{strGetName}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");*/
throw new Exception($"FileName - TestType - FileVersion Combine Key is information that already exists. : " +
$"{strGetFileName}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}");
}
}
else
{
//테스트리스트 파일 수정일때 기존 파일명 버전 타입과 동일한 파일인지 확인
if (CurrentWizardMode == eSelectMode.Modify)
{
if (//strGetName.CompareTo(strGetModifyName) == 0 &&
strGetTestType.CompareTo(strGetModifyTestType) != 0 ||
strGetFileVersion.CompareTo(strGetModifyFileVersion) != 0 ||
strGetFileName.CompareTo(strGetModifyFileName) != 0)
{
throw new Exception($"When update the test-list file, the update is possible only when the information is the same. If the information is different, find the information or register a new one. \r\n" +
$"FileName - TestType - FileVersion : \r\n" +
$"Existing information > {strGetModifyFileName}" + " " + $"{strGetModifyTestType}" + " " + $"{strGetModifyFileVersion} \r\n" +
$"Selection information > {strGetFileName}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion} \r\n");
}
}
}
//if (bFindVariant == false) { strItemName = "ProdNo_P"; throw new Exception($"P_ProdNo that does not exist in the selected test list." + strItemName); }
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
labelControlInfo1.Text = textBoxItem1.Text;
labelControlInfo2.Text = textBoxItem2.Text;
labelControlInfo3.Text = textBoxItem3.Text;
labelControlInfo4.Text = textBoxItem4.Text;
labelControlInfo5.Text = textBoxItem5.Text;
labelControlInfo6.Text = textBoxItem6_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo7.Text = textBoxItem7.Text;
labelControlInfo8.Text = textBoxItem8_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo8Sub.Text = ctrlDB.GetServerDateTimeString(); //DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo9.Text = textBoxItem9.Text;
labelControlInfo9Sub.Text = ctrlDB.GetLoginInfo().UserID;
labelControlInfo11.Text = textBoxItem11.Text;
labelControlInfo12.Text = textBoxItem12.Text;
richTextBoxDisp.Text = richTextBoxTestList.Text;
SelTestListFileInfo.VariantList.Clear();
foreach (KeyValuePair<string, string> kvp in m_psGaudiInfo.psVariantTable.GetStrVariantTable)
SelTestListFileInfo.VariantList.Add(kvp.Key);
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
SelTestListFileInfo.UpdateDT = textBoxItem8_Picker.Value;
SelTestListFileInfo.UpdateUser = textBoxItem9.Text;
break;
case eSelectMode.Modify:
SelTestListFileInfo.UpdateDT = Convert.ToDateTime(labelControlInfo8Sub.Text);
SelTestListFileInfo.UpdateUser = labelControlInfo9Sub.Text;
//기존 해당 테스트리스트 사용 Variant 확인
string strGetQueryText = "SELECT No, ProdNo_P FROM [PROD_Variant] AS X WITH(NOLOCK) WHERE TestListFileNo = " + SelTestListFileInfo.SelectTestListFileNo.Value + ";";
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtCheck))
{
foreach(DataRow dr in dtCheck.Rows)
{
int nGetVariantNo = int.Parse(dr["No"].ToString());
string strGetProdP = dr["ProdNo_P"].ToString();
string strGetResult = SelTestListFileInfo.VariantList.Find(x => x == strGetProdP);
if(strGetResult == null)
{
MessageBox.Show("TestListFile to be updated among previously registered Variants " +
"is not resolved in the Variant list of. Please check.\r\n" +
"> Variant Table No:" +
nGetVariantNo + " [" + strGetProdP + "][" +
SelTestListFileInfo.TestType + "][" +
SelTestListFileInfo.FileName + "][" +
SelTestListFileInfo.Version + "][" +
SelTestListFileInfo.ProdCode + "]", strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
}
}
break;
}
//SelTestListFileInfo.Name = textBoxItem1.Text;
SelTestListFileInfo.TestType = textBoxItem2.Text;
SelTestListFileInfo.Version = textBoxItem3.Text;
SelTestListFileInfo.ProdCode = textBoxItem4.Text;
SelTestListFileInfo.FileName = textBoxItem5.Text;
SelTestListFileInfo.RegDT = textBoxItem6_Picker.Value;
SelTestListFileInfo.RegUser = textBoxItem7.Text;
SelTestListFileInfo.Comment = textBoxItem11.Text;
SelTestListFileInfo.Description = textBoxItem12.Text;
SelTestListFileInfo.TestListFileSelectRawData = new byte[ucTestListByte.Length];
ucTestListByte.CopyTo(SelTestListFileInfo.TestListFileSelectRawData, 0);
//SelTestListFileInfo.TestListFileSelectGaudiData = GetTestListGaudiData;
}
}
}
private async Task<bool> LoadTestList(eTestListLoadType eLoadType, string strLoadFileName, string strDBFileName = "", bool bDeleteFile = false)
{
m_psGaudiInfo.bInfoNormalLoaded = false;
m_psGaudiInfo.bInfoLoading = true;
try
{
if (PsCpDef.CheckCPFileExtension(strLoadFileName) == false || getCPxmlInfo(strLoadFileName) == false)
throw new Exception($"Not a normal CP TestList.");
if (m_psGaudiInfo.psVariantTable.GetStrVariantTable.Count <= 0)
throw new Exception($"There is no TTNR information registered in the test list.");
m_psGaudiInfo.psFileInfo = new PsCCSFileInfo(strLoadFileName);
//TODO:Insert/Modify
//if (CurrentWizardMode == eSelectMode.Insert)
Invoke((MethodInvoker)delegate ()
{
textBoxItem2.Text = m_psGaudiInfo.psTestListInfo.Type;
textBoxItem3.Text = m_psGaudiInfo.psFileInfo.FileVersion;
textBoxItem4.Text = m_psGaudiInfo.psFileInfo.FileType;
//if (CurrentWizardMode == eSelectMode.Insert)
if (strDBFileName.Length > 0)
textBoxItem5.Text = strDBFileName;
else
textBoxItem5.Text = m_psGaudiInfo.psFileInfo.FileName;
richTextBoxTestList.Clear();
richTextBoxTestList.Refresh();
richTextBoxTestList.AppendText("FileInfo: " + m_psGaudiInfo.psFileInfo.FileDirectory + "\r\n");
richTextBoxTestList.AppendText("FileName: " + m_psGaudiInfo.psFileInfo.FileName + "\r\n");
richTextBoxTestList.AppendText("FileExtention: " + m_psGaudiInfo.psFileInfo.FileExtention + "\r\n");
richTextBoxTestList.AppendText("FileNameWithPath: " + m_psGaudiInfo.psFileInfo.FileNameWithPath + "\r\n");
richTextBoxTestList.AppendText("FileVersion: " + m_psGaudiInfo.psFileInfo.FileVersion + "\r\n");
richTextBoxTestList.AppendText("FileType: " + m_psGaudiInfo.psFileInfo.FileType + "\r\n");
//richTextBoxTestList.AppendText("LockFileNameWithPath: " + m_psGaudiInfo.psFileInfo.LockFileNameWithPath + "\r\n");
richTextBoxTestList.AppendText("\r\n");
richTextBoxTestList.AppendText("CPEditorVer: " + m_psGaudiInfo.psTestListInfo.CPEditorVer + "\r\n");
richTextBoxTestList.AppendText("PartNumber: " + m_psGaudiInfo.psTestListInfo.PartNum + "\r\n");
richTextBoxTestList.AppendText("Type: " + m_psGaudiInfo.psTestListInfo.Type + "\r\n");
richTextBoxTestList.AppendText("Variant: " + m_psGaudiInfo.psTestListInfo.Variant + "\r\n");
richTextBoxTestList.AppendText("\r\n");
foreach (KeyValuePair<string, string> kvp in m_psGaudiInfo.psVariantTable.GetStrVariantTable)
richTextBoxTestList.AppendText("Variant to have : " + kvp.Key + "-" + kvp.Value + "\r\n");
});
await Task.Delay(100);
string getTTNR = ((KeyValuePair<string, string>)m_psGaudiInfo.psVariantTable.GetStrVariantTable[0]).Key;
GetTestListGaudiData = await LoadTestListFile(@strLoadFileName, getTTNR);
if (GetTestListGaudiData != null)
{
if(eLoadType == eTestListLoadType.Load)
{
SelTestListFileInfo.TestListFileLoadGaudiData = GetTestListGaudiData;
}
else if(eLoadType == eTestListLoadType.Select)
{
SelTestListFileInfo.TestListFileSelectGaudiData = GetTestListGaudiData;
/*if (textBoxItem1.Text.Length <= 0)
textBoxItem1.Text = getTTNR;*/
}
ucTestListByte = File.ReadAllBytes(strLoadFileName);
Invoke((MethodInvoker)delegate ()
{
textBoxItem12.Text = GetTestListGaudiData.ListTestStep[0].Comment;
labelDispLoadResult.Text = "Test-list data verification completed.";
labelDispLoadResult.BackColor = Color.LimeGreen;
});
m_psGaudiInfo.bInfoNormalLoaded = true;
}
else
throw new Exception($"Failed to load test list file.");
}
catch (Exception e)
{
MessageBox.Show(e.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
Invoke((MethodInvoker)delegate ()
{
labelDispLoadResult.Text = "Failed to check test-list data.";
labelDispLoadResult.BackColor = Color.Red;
});
}
await Task.Delay(1);
if (bDeleteFile)
File.Delete(strLoadFileName);
m_psGaudiInfo.bInfoLoading = false;
return m_psGaudiInfo.bInfoNormalLoaded;
}
private async Task<PsCCSGaudiFile> LoadTestListFile(string strFileName, string strTTNR)
{
return await Task.Run(async () =>
{
await Task.Delay(10);
return PsCCSGaudiFile.PsCCSPaseDataApi(strFileName, strTTNR);
});
}
private async void buttonSelectFile_Click(object sender, EventArgs e)
{
if (m_psGaudiInfo.bInfoLoading != false)
return;
if (openFileDialogTestList.ShowDialog() == DialogResult.OK)
{
labelDispLoadResult.Text = "";
labelDispLoadResult.BackColor = Color.Silver;
string strSelectFile = openFileDialogTestList.FileName;
string strGetFileName = Path.GetFileNameWithoutExtension(strSelectFile);
string strGetFileExtension = Path.GetExtension(strSelectFile);
labelDispLoadResult.Text = "Loading ...";
labelDispLoadResult.BackColor = Color.Yellow;
await LoadTestList(eTestListLoadType.Select, strSelectFile, string.Empty);
}
await Task.Delay(1);
}
private bool getCPxmlInfo(string strfilename)
{
try
{
XDocument xDoc = XDocument.Load(strfilename);
PsCCSAreaBasicInfo psBasicInfo = PsCCSAreaBasicInfo.LoadXmlData(xDoc.Root);
PsCCSAreaTestListInfo psTestListInfo = PsCCSAreaTestListInfo.LoadXmlData(xDoc.Root);
PsCCSAreaVariantTable psVariantTable = PsCCSAreaVariantTable.LoadXmlData(xDoc.Root);
PsCCSFileInfo psFileInfo = new PsCCSFileInfo(strfilename);
m_psGaudiInfo.psBasicInfo = psBasicInfo;
m_psGaudiInfo.psTestListInfo = psTestListInfo;
m_psGaudiInfo.psVariantTable = psVariantTable;
m_psGaudiInfo.psFileInfo = psFileInfo;
}
catch (Exception ex)
{
return false;
}
return true;
}
private void FromFilebutton_Click(object sender, EventArgs e)
{
if (m_psGaudiInfo.bInfoNormalLoaded == false)
return;
int igetTag = Convert.ToInt32(((Control)sender).Tag);
switch (igetTag)
{
case 0:
textBoxItem2.Text = m_psGaudiInfo.psTestListInfo.Type;
break;
case 1:
textBoxItem3.Text = m_psGaudiInfo.psFileInfo.FileVersion;
break;
case 2:
textBoxItem4.Text = m_psGaudiInfo.psFileInfo.FileType;
break;
case 3:
if (CurrentWizardMode == eSelectMode.Insert)
textBoxItem5.Text = m_psGaudiInfo.psFileInfo.FileName;
break;
case 4:
textBoxItem12.Text = GetTestListGaudiData.ListTestStep[0].Comment;
break;
}
}
private bool CheckTestListLoad()
{
if (m_psGaudiInfo.bInfoLoading)
{
this.DialogResult = DialogResult.None;
MessageBox.Show("You cannot close the information modification wizard while loading the test list.", strTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
return true;
}
private void wizardControl_CancelClick(object sender, CancelEventArgs e)
{
if (CheckTestListLoad() == false)
e.Cancel = true;
}
private void TestListInfoEdit_FormClosing(object sender, FormClosingEventArgs e)
{
if (CheckTestListLoad() == false)
e.Cancel = true;
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxItem1;
textBoxItem1.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="openFileDialogTestList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@ -0,0 +1,959 @@

namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class TestListReleaseCopyWizard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
this.labelReadyViewInfo = new System.Windows.Forms.Label();
this.buttonModify = new System.Windows.Forms.Button();
this.richTextBoxErr = new System.Windows.Forms.RichTextBox();
this.groupBoxTestList = new System.Windows.Forms.GroupBox();
this.textBoxDispTestListComment = new System.Windows.Forms.TextBox();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
this.checkBoxAutoComplete = new System.Windows.Forms.CheckBox();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.textBoxDispInFileName = new System.Windows.Forms.TextBox();
this.textBoxDispInProdCode = new System.Windows.Forms.TextBox();
this.textBoxDispInVersion = new System.Windows.Forms.TextBox();
this.textBoxDispInTestType = new System.Windows.Forms.TextBox();
this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
this.textBoxDispTestListVariantNo = new System.Windows.Forms.TextBox();
this.textBoxDispTestListDescription = new System.Windows.Forms.TextBox();
this.textBoxPProdNoInput = new System.Windows.Forms.TextBox();
this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
this.buttonTestListChk = new System.Windows.Forms.Button();
this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
this.buttonDelete = new System.Windows.Forms.Button();
this.groupBoxTestCode = new System.Windows.Forms.GroupBox();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.comboBoxTestCodeList = new System.Windows.Forms.ComboBox();
this.textBoxTextCodeInput = new System.Windows.Forms.TextBox();
this.textBoxDispComment = new System.Windows.Forms.TextBox();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.textBoxDispGate2 = new System.Windows.Forms.TextBox();
this.textBoxDispTestCodeNo = new System.Windows.Forms.TextBox();
this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
this.buttonTestCodeChk = new System.Windows.Forms.Button();
this.textBoxDispGate1 = new System.Windows.Forms.TextBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.textBoxDispTestCode = new System.Windows.Forms.TextBox();
this.textBoxItemConfig = new System.Windows.Forms.TextBox();
this.buttonAdd = new System.Windows.Forms.Button();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.textBoxItemRegDT_Picker = new System.Windows.Forms.DateTimePicker();
this.textBoxItemDescription = new System.Windows.Forms.TextBox();
this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
this.textBoxItemRegUser = new System.Windows.Forms.TextBox();
this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
this.textBoxItemProdC = new System.Windows.Forms.TextBox();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.dataGridViewReady = new System.Windows.Forms.DataGridView();
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
this.dataGridViewResult = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
this.wizardControl.SuspendLayout();
this.wizardPage.SuspendLayout();
this.groupBoxTestList.SuspendLayout();
this.groupBoxTestCode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewReady)).BeginInit();
this.completionWizardPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).BeginInit();
this.SuspendLayout();
//
// wizardControl
//
this.wizardControl.Controls.Add(this.welcomeWizardPage);
this.wizardControl.Controls.Add(this.wizardPage);
this.wizardControl.Controls.Add(this.completionWizardPage1);
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.wizardControl.Name = "wizardControl";
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
this.welcomeWizardPage,
this.wizardPage,
this.completionWizardPage1});
this.wizardControl.Size = new System.Drawing.Size(1354, 800);
this.wizardControl.Text = "STAT Host";
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
//
// welcomeWizardPage
//
this.welcomeWizardPage.Name = "welcomeWizardPage";
this.welcomeWizardPage.Size = new System.Drawing.Size(1294, 633);
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
//
// wizardPage
//
this.wizardPage.Controls.Add(this.labelReadyViewInfo);
this.wizardPage.Controls.Add(this.buttonModify);
this.wizardPage.Controls.Add(this.richTextBoxErr);
this.wizardPage.Controls.Add(this.groupBoxTestList);
this.wizardPage.Controls.Add(this.buttonDelete);
this.wizardPage.Controls.Add(this.groupBoxTestCode);
this.wizardPage.Controls.Add(this.textBoxItemConfig);
this.wizardPage.Controls.Add(this.buttonAdd);
this.wizardPage.Controls.Add(this.labelControl6);
this.wizardPage.Controls.Add(this.textBoxItemRegDT_Picker);
this.wizardPage.Controls.Add(this.textBoxItemDescription);
this.wizardPage.Controls.Add(this.labelControl14);
this.wizardPage.Controls.Add(this.textBoxItemRegUser);
this.wizardPage.Controls.Add(this.labelControl10);
this.wizardPage.Controls.Add(this.labelControl9);
this.wizardPage.Controls.Add(this.textBoxItemProdC);
this.wizardPage.Controls.Add(this.labelControl1);
this.wizardPage.Controls.Add(this.dataGridViewReady);
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
this.wizardPage.Name = "wizardPage";
this.wizardPage.Size = new System.Drawing.Size(1294, 633);
this.wizardPage.Text = "STAT Host Information";
//
// labelReadyViewInfo
//
this.labelReadyViewInfo.AutoSize = true;
this.labelReadyViewInfo.Location = new System.Drawing.Point(631, 397);
this.labelReadyViewInfo.Name = "labelReadyViewInfo";
this.labelReadyViewInfo.Size = new System.Drawing.Size(11, 12);
this.labelReadyViewInfo.TabIndex = 3;
this.labelReadyViewInfo.Text = "-";
//
// buttonModify
//
this.buttonModify.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
this.buttonModify.FlatAppearance.BorderSize = 2;
this.buttonModify.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Snow;
this.buttonModify.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Honeydew;
this.buttonModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonModify.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonModify.Location = new System.Drawing.Point(394, 389);
this.buttonModify.Name = "buttonModify";
this.buttonModify.Size = new System.Drawing.Size(188, 27);
this.buttonModify.TabIndex = 113;
this.buttonModify.TabStop = false;
this.buttonModify.Text = "Modify";
this.buttonModify.UseVisualStyleBackColor = true;
this.buttonModify.Click += new System.EventHandler(this.buttonModify_Click);
//
// richTextBoxErr
//
this.richTextBoxErr.BackColor = System.Drawing.SystemColors.ButtonFace;
this.richTextBoxErr.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBoxErr.Dock = System.Windows.Forms.DockStyle.Right;
this.richTextBoxErr.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.richTextBoxErr.ForeColor = System.Drawing.Color.Red;
this.richTextBoxErr.Location = new System.Drawing.Point(938, 0);
this.richTextBoxErr.Name = "richTextBoxErr";
this.richTextBoxErr.ReadOnly = true;
this.richTextBoxErr.Size = new System.Drawing.Size(356, 419);
this.richTextBoxErr.TabIndex = 115;
this.richTextBoxErr.TabStop = false;
this.richTextBoxErr.Text = "";
//
// groupBoxTestList
//
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListComment);
this.groupBoxTestList.Controls.Add(this.labelControl8);
this.groupBoxTestList.Controls.Add(this.checkBoxAutoComplete);
this.groupBoxTestList.Controls.Add(this.button4);
this.groupBoxTestList.Controls.Add(this.button3);
this.groupBoxTestList.Controls.Add(this.button2);
this.groupBoxTestList.Controls.Add(this.button1);
this.groupBoxTestList.Controls.Add(this.textBoxDispInFileName);
this.groupBoxTestList.Controls.Add(this.textBoxDispInProdCode);
this.groupBoxTestList.Controls.Add(this.textBoxDispInVersion);
this.groupBoxTestList.Controls.Add(this.textBoxDispInTestType);
this.groupBoxTestList.Controls.Add(this.labelControl23);
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListVariantNo);
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListDescription);
this.groupBoxTestList.Controls.Add(this.textBoxPProdNoInput);
this.groupBoxTestList.Controls.Add(this.labelControl16);
this.groupBoxTestList.Controls.Add(this.labelControl17);
this.groupBoxTestList.Controls.Add(this.labelControl19);
this.groupBoxTestList.Controls.Add(this.labelControl20);
this.groupBoxTestList.Controls.Add(this.buttonTestListChk);
this.groupBoxTestList.Controls.Add(this.labelControl21);
this.groupBoxTestList.Controls.Add(this.labelControl22);
this.groupBoxTestList.Location = new System.Drawing.Point(377, 146);
this.groupBoxTestList.Name = "groupBoxTestList";
this.groupBoxTestList.Size = new System.Drawing.Size(527, 239);
this.groupBoxTestList.TabIndex = 7;
this.groupBoxTestList.TabStop = false;
this.groupBoxTestList.Text = "TestList-Variant Select";
//
// textBoxDispTestListComment
//
this.textBoxDispTestListComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestListComment.Location = new System.Drawing.Point(101, 185);
this.textBoxDispTestListComment.MaxLength = 16;
this.textBoxDispTestListComment.Name = "textBoxDispTestListComment";
this.textBoxDispTestListComment.ReadOnly = true;
this.textBoxDispTestListComment.Size = new System.Drawing.Size(420, 21);
this.textBoxDispTestListComment.TabIndex = 110;
this.textBoxDispTestListComment.TabStop = false;
//
// labelControl8
//
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl8.Appearance.Options.UseFont = true;
this.labelControl8.Location = new System.Drawing.Point(6, 188);
this.labelControl8.Name = "labelControl8";
this.labelControl8.Size = new System.Drawing.Size(55, 15);
this.labelControl8.TabIndex = 66;
this.labelControl8.Text = "Comment";
//
// checkBoxAutoComplete
//
this.checkBoxAutoComplete.AutoSize = true;
this.checkBoxAutoComplete.Location = new System.Drawing.Point(101, 17);
this.checkBoxAutoComplete.Name = "checkBoxAutoComplete";
this.checkBoxAutoComplete.Size = new System.Drawing.Size(307, 18);
this.checkBoxAutoComplete.TabIndex = 108;
this.checkBoxAutoComplete.TabStop = false;
this.checkBoxAutoComplete.Text = "Autocomplete feature(It may affect performance)";
this.checkBoxAutoComplete.UseCompatibleTextRendering = true;
this.checkBoxAutoComplete.UseVisualStyleBackColor = true;
this.checkBoxAutoComplete.CheckedChanged += new System.EventHandler(this.checkBoxAutoComplete_CheckedChanged);
//
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button4.Location = new System.Drawing.Point(342, 124);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(16, 21);
this.button4.TabIndex = 16;
this.button4.Tag = "3";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button_Click);
//
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.Location = new System.Drawing.Point(342, 102);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(16, 21);
this.button3.TabIndex = 14;
this.button3.Tag = "2";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button_Click);
//
// button2
//
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button2.Location = new System.Drawing.Point(342, 80);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(16, 21);
this.button2.TabIndex = 12;
this.button2.Tag = "1";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button_Click);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.Location = new System.Drawing.Point(342, 58);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(16, 21);
this.button1.TabIndex = 10;
this.button1.Tag = "0";
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button_Click);
//
// textBoxDispInFileName
//
this.textBoxDispInFileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInFileName.Location = new System.Drawing.Point(101, 124);
this.textBoxDispInFileName.MaxLength = 64;
this.textBoxDispInFileName.Name = "textBoxDispInFileName";
this.textBoxDispInFileName.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInFileName.TabIndex = 15;
this.textBoxDispInFileName.Tag = "3";
this.textBoxDispInFileName.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInFileName.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// textBoxDispInProdCode
//
this.textBoxDispInProdCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInProdCode.Location = new System.Drawing.Point(101, 102);
this.textBoxDispInProdCode.MaxLength = 4;
this.textBoxDispInProdCode.Name = "textBoxDispInProdCode";
this.textBoxDispInProdCode.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInProdCode.TabIndex = 13;
this.textBoxDispInProdCode.Tag = "2";
this.textBoxDispInProdCode.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInProdCode.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// textBoxDispInVersion
//
this.textBoxDispInVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInVersion.Location = new System.Drawing.Point(101, 80);
this.textBoxDispInVersion.MaxLength = 4;
this.textBoxDispInVersion.Name = "textBoxDispInVersion";
this.textBoxDispInVersion.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInVersion.TabIndex = 11;
this.textBoxDispInVersion.Tag = "1";
this.textBoxDispInVersion.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInVersion.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// textBoxDispInTestType
//
this.textBoxDispInTestType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInTestType.Location = new System.Drawing.Point(101, 58);
this.textBoxDispInTestType.MaxLength = 8;
this.textBoxDispInTestType.Name = "textBoxDispInTestType";
this.textBoxDispInTestType.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInTestType.TabIndex = 9;
this.textBoxDispInTestType.Tag = "0";
this.textBoxDispInTestType.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInTestType.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// labelControl23
//
this.labelControl23.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl23.Appearance.Options.UseFont = true;
this.labelControl23.Location = new System.Drawing.Point(6, 127);
this.labelControl23.Name = "labelControl23";
this.labelControl23.Size = new System.Drawing.Size(54, 15);
this.labelControl23.TabIndex = 63;
this.labelControl23.Text = "FileName";
//
// textBoxDispTestListVariantNo
//
this.textBoxDispTestListVariantNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestListVariantNo.Location = new System.Drawing.Point(190, 158);
this.textBoxDispTestListVariantNo.MaxLength = 16;
this.textBoxDispTestListVariantNo.Name = "textBoxDispTestListVariantNo";
this.textBoxDispTestListVariantNo.ReadOnly = true;
this.textBoxDispTestListVariantNo.Size = new System.Drawing.Size(215, 21);
this.textBoxDispTestListVariantNo.TabIndex = 109;
this.textBoxDispTestListVariantNo.TabStop = false;
//
// textBoxDispTestListDescription
//
this.textBoxDispTestListDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestListDescription.Location = new System.Drawing.Point(101, 212);
this.textBoxDispTestListDescription.MaxLength = 16;
this.textBoxDispTestListDescription.Name = "textBoxDispTestListDescription";
this.textBoxDispTestListDescription.ReadOnly = true;
this.textBoxDispTestListDescription.Size = new System.Drawing.Size(420, 21);
this.textBoxDispTestListDescription.TabIndex = 111;
this.textBoxDispTestListDescription.TabStop = false;
//
// textBoxPProdNoInput
//
this.textBoxPProdNoInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxPProdNoInput.Location = new System.Drawing.Point(101, 36);
this.textBoxPProdNoInput.MaxLength = 16;
this.textBoxPProdNoInput.Name = "textBoxPProdNoInput";
this.textBoxPProdNoInput.Size = new System.Drawing.Size(240, 21);
this.textBoxPProdNoInput.TabIndex = 7;
this.textBoxPProdNoInput.TextChanged += new System.EventHandler(this.textBoxPProdNoInput_TextChanged);
//
// labelControl16
//
this.labelControl16.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl16.Appearance.Options.UseFont = true;
this.labelControl16.Location = new System.Drawing.Point(6, 39);
this.labelControl16.Name = "labelControl16";
this.labelControl16.Size = new System.Drawing.Size(57, 15);
this.labelControl16.TabIndex = 41;
this.labelControl16.Text = "P_ProdNo";
//
// labelControl17
//
this.labelControl17.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl17.Appearance.Options.UseFont = true;
this.labelControl17.Location = new System.Drawing.Point(6, 215);
this.labelControl17.Name = "labelControl17";
this.labelControl17.Size = new System.Drawing.Size(62, 15);
this.labelControl17.TabIndex = 60;
this.labelControl17.Text = "Description";
//
// labelControl19
//
this.labelControl19.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl19.Appearance.Options.UseFont = true;
this.labelControl19.Location = new System.Drawing.Point(6, 61);
this.labelControl19.Name = "labelControl19";
this.labelControl19.Size = new System.Drawing.Size(49, 15);
this.labelControl19.TabIndex = 43;
this.labelControl19.Text = "TestType";
//
// labelControl20
//
this.labelControl20.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl20.Appearance.Options.UseFont = true;
this.labelControl20.Location = new System.Drawing.Point(6, 161);
this.labelControl20.Name = "labelControl20";
this.labelControl20.Size = new System.Drawing.Size(122, 15);
this.labelControl20.TabIndex = 58;
this.labelControl20.Text = "TestList Variant KeyNo";
//
// buttonTestListChk
//
this.buttonTestListChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonTestListChk.Location = new System.Drawing.Point(347, 36);
this.buttonTestListChk.Name = "buttonTestListChk";
this.buttonTestListChk.Size = new System.Drawing.Size(58, 21);
this.buttonTestListChk.TabIndex = 8;
this.buttonTestListChk.Tag = "4";
this.buttonTestListChk.Text = "Check";
this.buttonTestListChk.UseVisualStyleBackColor = true;
this.buttonTestListChk.Click += new System.EventHandler(this.buttonTestListChk_Click);
//
// labelControl21
//
this.labelControl21.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl21.Appearance.Options.UseFont = true;
this.labelControl21.Location = new System.Drawing.Point(6, 83);
this.labelControl21.Name = "labelControl21";
this.labelControl21.Size = new System.Drawing.Size(41, 15);
this.labelControl21.TabIndex = 54;
this.labelControl21.Text = "Version";
//
// labelControl22
//
this.labelControl22.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl22.Appearance.Options.UseFont = true;
this.labelControl22.Location = new System.Drawing.Point(6, 105);
this.labelControl22.Name = "labelControl22";
this.labelControl22.Size = new System.Drawing.Size(55, 15);
this.labelControl22.TabIndex = 56;
this.labelControl22.Text = "ProdCode";
//
// buttonDelete
//
this.buttonDelete.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
this.buttonDelete.FlatAppearance.BorderSize = 2;
this.buttonDelete.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Snow;
this.buttonDelete.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Honeydew;
this.buttonDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonDelete.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonDelete.Location = new System.Drawing.Point(206, 389);
this.buttonDelete.Name = "buttonDelete";
this.buttonDelete.Size = new System.Drawing.Size(188, 27);
this.buttonDelete.TabIndex = 112;
this.buttonDelete.TabStop = false;
this.buttonDelete.Text = "Delete";
this.buttonDelete.UseVisualStyleBackColor = true;
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
//
// groupBoxTestCode
//
this.groupBoxTestCode.Controls.Add(this.labelControl7);
this.groupBoxTestCode.Controls.Add(this.comboBoxTestCodeList);
this.groupBoxTestCode.Controls.Add(this.textBoxTextCodeInput);
this.groupBoxTestCode.Controls.Add(this.textBoxDispComment);
this.groupBoxTestCode.Controls.Add(this.labelControl2);
this.groupBoxTestCode.Controls.Add(this.labelControl15);
this.groupBoxTestCode.Controls.Add(this.labelControl3);
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate2);
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCodeNo);
this.groupBoxTestCode.Controls.Add(this.labelControl13);
this.groupBoxTestCode.Controls.Add(this.buttonTestCodeChk);
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate1);
this.groupBoxTestCode.Controls.Add(this.labelControl4);
this.groupBoxTestCode.Controls.Add(this.labelControl5);
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCode);
this.groupBoxTestCode.Location = new System.Drawing.Point(18, 146);
this.groupBoxTestCode.Name = "groupBoxTestCode";
this.groupBoxTestCode.Size = new System.Drawing.Size(353, 239);
this.groupBoxTestCode.TabIndex = 5;
this.groupBoxTestCode.TabStop = false;
this.groupBoxTestCode.Text = "TestCode Select";
//
// labelControl7
//
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl7.Appearance.Options.UseFont = true;
this.labelControl7.Location = new System.Drawing.Point(6, 18);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(77, 15);
this.labelControl7.TabIndex = 103;
this.labelControl7.Text = "TestCode List.";
//
// comboBoxTestCodeList
//
this.comboBoxTestCodeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxTestCodeList.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxTestCodeList.FormattingEnabled = true;
this.comboBoxTestCodeList.Location = new System.Drawing.Point(101, 17);
this.comboBoxTestCodeList.Name = "comboBoxTestCodeList";
this.comboBoxTestCodeList.Size = new System.Drawing.Size(176, 21);
this.comboBoxTestCodeList.TabIndex = 102;
this.comboBoxTestCodeList.TabStop = false;
this.comboBoxTestCodeList.SelectedIndexChanged += new System.EventHandler(this.comboBoxTestCodeList_SelectedIndexChanged);
//
// textBoxTextCodeInput
//
this.textBoxTextCodeInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxTextCodeInput.Location = new System.Drawing.Point(101, 39);
this.textBoxTextCodeInput.MaxLength = 16;
this.textBoxTextCodeInput.Name = "textBoxTextCodeInput";
this.textBoxTextCodeInput.Size = new System.Drawing.Size(176, 21);
this.textBoxTextCodeInput.TabIndex = 5;
this.textBoxTextCodeInput.TextChanged += new System.EventHandler(this.textBoxTextCodeInput_TextChanged);
//
// textBoxDispComment
//
this.textBoxDispComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispComment.Location = new System.Drawing.Point(101, 179);
this.textBoxDispComment.MaxLength = 32;
this.textBoxDispComment.Name = "textBoxDispComment";
this.textBoxDispComment.ReadOnly = true;
this.textBoxDispComment.Size = new System.Drawing.Size(240, 21);
this.textBoxDispComment.TabIndex = 107;
this.textBoxDispComment.TabStop = false;
//
// labelControl2
//
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Appearance.Options.UseFont = true;
this.labelControl2.Location = new System.Drawing.Point(6, 42);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(52, 15);
this.labelControl2.TabIndex = 41;
this.labelControl2.Text = "TestCode";
//
// labelControl15
//
this.labelControl15.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl15.Appearance.Options.UseFont = true;
this.labelControl15.Location = new System.Drawing.Point(6, 182);
this.labelControl15.Name = "labelControl15";
this.labelControl15.Size = new System.Drawing.Size(55, 15);
this.labelControl15.TabIndex = 60;
this.labelControl15.Text = "Comment";
//
// labelControl3
//
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl3.Appearance.Options.UseFont = true;
this.labelControl3.Location = new System.Drawing.Point(6, 74);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(71, 15);
this.labelControl3.TabIndex = 43;
this.labelControl3.Text = "TestCode No";
//
// textBoxDispGate2
//
this.textBoxDispGate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispGate2.Location = new System.Drawing.Point(101, 152);
this.textBoxDispGate2.MaxLength = 32;
this.textBoxDispGate2.Name = "textBoxDispGate2";
this.textBoxDispGate2.ReadOnly = true;
this.textBoxDispGate2.Size = new System.Drawing.Size(240, 21);
this.textBoxDispGate2.TabIndex = 106;
this.textBoxDispGate2.TabStop = false;
//
// textBoxDispTestCodeNo
//
this.textBoxDispTestCodeNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestCodeNo.Location = new System.Drawing.Point(101, 71);
this.textBoxDispTestCodeNo.MaxLength = 32;
this.textBoxDispTestCodeNo.Name = "textBoxDispTestCodeNo";
this.textBoxDispTestCodeNo.ReadOnly = true;
this.textBoxDispTestCodeNo.Size = new System.Drawing.Size(240, 21);
this.textBoxDispTestCodeNo.TabIndex = 103;
this.textBoxDispTestCodeNo.TabStop = false;
//
// labelControl13
//
this.labelControl13.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl13.Appearance.Options.UseFont = true;
this.labelControl13.Location = new System.Drawing.Point(6, 155);
this.labelControl13.Name = "labelControl13";
this.labelControl13.Size = new System.Drawing.Size(33, 15);
this.labelControl13.TabIndex = 58;
this.labelControl13.Text = "Gate2";
//
// buttonTestCodeChk
//
this.buttonTestCodeChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonTestCodeChk.Location = new System.Drawing.Point(283, 39);
this.buttonTestCodeChk.Name = "buttonTestCodeChk";
this.buttonTestCodeChk.Size = new System.Drawing.Size(58, 21);
this.buttonTestCodeChk.TabIndex = 6;
this.buttonTestCodeChk.Tag = "4";
this.buttonTestCodeChk.Text = "Check";
this.buttonTestCodeChk.UseVisualStyleBackColor = true;
this.buttonTestCodeChk.Click += new System.EventHandler(this.buttonTestCodeChk_Click);
//
// textBoxDispGate1
//
this.textBoxDispGate1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispGate1.Location = new System.Drawing.Point(101, 125);
this.textBoxDispGate1.MaxLength = 32;
this.textBoxDispGate1.Name = "textBoxDispGate1";
this.textBoxDispGate1.ReadOnly = true;
this.textBoxDispGate1.Size = new System.Drawing.Size(240, 21);
this.textBoxDispGate1.TabIndex = 105;
this.textBoxDispGate1.TabStop = false;
//
// labelControl4
//
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl4.Appearance.Options.UseFont = true;
this.labelControl4.Location = new System.Drawing.Point(6, 101);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(52, 15);
this.labelControl4.TabIndex = 54;
this.labelControl4.Text = "TestCode";
//
// labelControl5
//
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl5.Appearance.Options.UseFont = true;
this.labelControl5.Location = new System.Drawing.Point(6, 128);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(33, 15);
this.labelControl5.TabIndex = 56;
this.labelControl5.Text = "Gate1";
//
// textBoxDispTestCode
//
this.textBoxDispTestCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestCode.Location = new System.Drawing.Point(101, 98);
this.textBoxDispTestCode.MaxLength = 32;
this.textBoxDispTestCode.Name = "textBoxDispTestCode";
this.textBoxDispTestCode.ReadOnly = true;
this.textBoxDispTestCode.Size = new System.Drawing.Size(240, 21);
this.textBoxDispTestCode.TabIndex = 104;
this.textBoxDispTestCode.TabStop = false;
//
// textBoxItemConfig
//
this.textBoxItemConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItemConfig.Location = new System.Drawing.Point(113, 38);
this.textBoxItemConfig.MaxLength = 32;
this.textBoxItemConfig.Name = "textBoxItemConfig";
this.textBoxItemConfig.Size = new System.Drawing.Size(304, 21);
this.textBoxItemConfig.TabIndex = 3;
//
// buttonAdd
//
this.buttonAdd.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
this.buttonAdd.FlatAppearance.BorderSize = 2;
this.buttonAdd.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Snow;
this.buttonAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Honeydew;
this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAdd.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonAdd.Location = new System.Drawing.Point(18, 389);
this.buttonAdd.Name = "buttonAdd";
this.buttonAdd.Size = new System.Drawing.Size(188, 27);
this.buttonAdd.TabIndex = 2;
this.buttonAdd.Text = "Add";
this.buttonAdd.UseVisualStyleBackColor = true;
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
//
// labelControl6
//
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl6.Appearance.Options.UseFont = true;
this.labelControl6.Location = new System.Drawing.Point(18, 41);
this.labelControl6.Name = "labelControl6";
this.labelControl6.Size = new System.Drawing.Size(35, 15);
this.labelControl6.TabIndex = 53;
this.labelControl6.Text = "Config";
//
// textBoxItemRegDT_Picker
//
this.textBoxItemRegDT_Picker.CustomFormat = "yyyy-MM-dd HH:mm:ss";
this.textBoxItemRegDT_Picker.Enabled = false;
this.textBoxItemRegDT_Picker.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItemRegDT_Picker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.textBoxItemRegDT_Picker.Location = new System.Drawing.Point(113, 65);
this.textBoxItemRegDT_Picker.Name = "textBoxItemRegDT_Picker";
this.textBoxItemRegDT_Picker.Size = new System.Drawing.Size(200, 21);
this.textBoxItemRegDT_Picker.TabIndex = 100;
this.textBoxItemRegDT_Picker.TabStop = false;
//
// textBoxItemDescription
//
this.textBoxItemDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItemDescription.Location = new System.Drawing.Point(113, 119);
this.textBoxItemDescription.MaxLength = 256;
this.textBoxItemDescription.Name = "textBoxItemDescription";
this.textBoxItemDescription.Size = new System.Drawing.Size(791, 21);
this.textBoxItemDescription.TabIndex = 4;
//
// labelControl14
//
this.labelControl14.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl14.Appearance.Options.UseFont = true;
this.labelControl14.Location = new System.Drawing.Point(18, 123);
this.labelControl14.Name = "labelControl14";
this.labelControl14.Size = new System.Drawing.Size(62, 15);
this.labelControl14.TabIndex = 50;
this.labelControl14.Text = "Description";
//
// textBoxItemRegUser
//
this.textBoxItemRegUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItemRegUser.Location = new System.Drawing.Point(113, 92);
this.textBoxItemRegUser.MaxLength = 32;
this.textBoxItemRegUser.Name = "textBoxItemRegUser";
this.textBoxItemRegUser.ReadOnly = true;
this.textBoxItemRegUser.Size = new System.Drawing.Size(258, 21);
this.textBoxItemRegUser.TabIndex = 101;
this.textBoxItemRegUser.TabStop = false;
//
// labelControl10
//
this.labelControl10.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl10.Appearance.Options.UseFont = true;
this.labelControl10.Location = new System.Drawing.Point(18, 95);
this.labelControl10.Name = "labelControl10";
this.labelControl10.Size = new System.Drawing.Size(52, 15);
this.labelControl10.TabIndex = 48;
this.labelControl10.Text = "Reg User";
//
// labelControl9
//
this.labelControl9.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl9.Appearance.Options.UseFont = true;
this.labelControl9.Location = new System.Drawing.Point(18, 68);
this.labelControl9.Name = "labelControl9";
this.labelControl9.Size = new System.Drawing.Size(80, 15);
this.labelControl9.TabIndex = 47;
this.labelControl9.Text = "Reg DateTime";
//
// textBoxItemProdC
//
this.textBoxItemProdC.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItemProdC.Location = new System.Drawing.Point(113, 11);
this.textBoxItemProdC.MaxLength = 16;
this.textBoxItemProdC.Name = "textBoxItemProdC";
this.textBoxItemProdC.Size = new System.Drawing.Size(304, 21);
this.textBoxItemProdC.TabIndex = 1;
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Appearance.Options.UseFont = true;
this.labelControl1.Location = new System.Drawing.Point(18, 14);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(57, 15);
this.labelControl1.TabIndex = 45;
this.labelControl1.Text = "ProdNo_C";
//
// dataGridViewReady
//
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle13.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewReady.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
this.dataGridViewReady.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle14.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewReady.DefaultCellStyle = dataGridViewCellStyle14;
this.dataGridViewReady.Dock = System.Windows.Forms.DockStyle.Bottom;
this.dataGridViewReady.Location = new System.Drawing.Point(0, 419);
this.dataGridViewReady.MultiSelect = false;
this.dataGridViewReady.Name = "dataGridViewReady";
this.dataGridViewReady.ReadOnly = true;
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle15.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewReady.RowHeadersDefaultCellStyle = dataGridViewCellStyle15;
this.dataGridViewReady.RowTemplate.Height = 23;
this.dataGridViewReady.RowTemplate.ReadOnly = true;
this.dataGridViewReady.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridViewReady.Size = new System.Drawing.Size(1294, 214);
this.dataGridViewReady.TabIndex = 114;
this.dataGridViewReady.TabStop = false;
this.dataGridViewReady.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewReady_CellClick);
this.dataGridViewReady.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewReady_CellDoubleClick);
//
// completionWizardPage1
//
this.completionWizardPage1.Controls.Add(this.dataGridViewResult);
this.completionWizardPage1.Name = "completionWizardPage1";
this.completionWizardPage1.Size = new System.Drawing.Size(1294, 633);
//
// dataGridViewResult
//
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle16.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewResult.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
this.dataGridViewResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle17.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewResult.DefaultCellStyle = dataGridViewCellStyle17;
this.dataGridViewResult.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridViewResult.Location = new System.Drawing.Point(0, 0);
this.dataGridViewResult.Name = "dataGridViewResult";
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle18.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewResult.RowHeadersDefaultCellStyle = dataGridViewCellStyle18;
this.dataGridViewResult.RowTemplate.Height = 23;
this.dataGridViewResult.Size = new System.Drawing.Size(1294, 633);
this.dataGridViewResult.TabIndex = 43;
this.dataGridViewResult.TabStop = false;
//
// TestListReleaseCopyWizard
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1354, 800);
this.Controls.Add(this.wizardControl);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "TestListReleaseCopyWizard";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "STAT Host";
this.TopMost = true;
this.Load += new System.EventHandler(this.TestListReleaseCopyWizard_Load);
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
this.wizardControl.ResumeLayout(false);
this.wizardPage.ResumeLayout(false);
this.wizardPage.PerformLayout();
this.groupBoxTestList.ResumeLayout(false);
this.groupBoxTestList.PerformLayout();
this.groupBoxTestCode.ResumeLayout(false);
this.groupBoxTestCode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewReady)).EndInit();
this.completionWizardPage1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraWizard.WizardControl wizardControl;
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
private DevExpress.XtraWizard.WizardPage wizardPage;
private System.Windows.Forms.DataGridView dataGridViewResult;
private System.Windows.Forms.DataGridView dataGridViewReady;
private System.Windows.Forms.TextBox textBoxItemProdC;
private DevExpress.XtraEditors.LabelControl labelControl1;
private System.Windows.Forms.TextBox textBoxItemConfig;
private DevExpress.XtraEditors.LabelControl labelControl6;
private System.Windows.Forms.DateTimePicker textBoxItemRegDT_Picker;
private System.Windows.Forms.TextBox textBoxItemDescription;
private DevExpress.XtraEditors.LabelControl labelControl14;
private System.Windows.Forms.TextBox textBoxItemRegUser;
private DevExpress.XtraEditors.LabelControl labelControl10;
private DevExpress.XtraEditors.LabelControl labelControl9;
private System.Windows.Forms.Button buttonModify;
private System.Windows.Forms.Button buttonDelete;
private System.Windows.Forms.Button buttonAdd;
private System.Windows.Forms.GroupBox groupBoxTestList;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox textBoxDispInFileName;
private System.Windows.Forms.TextBox textBoxDispInProdCode;
private System.Windows.Forms.TextBox textBoxDispInVersion;
private System.Windows.Forms.TextBox textBoxDispInTestType;
private DevExpress.XtraEditors.LabelControl labelControl23;
private System.Windows.Forms.TextBox textBoxDispTestListVariantNo;
private System.Windows.Forms.TextBox textBoxDispTestListDescription;
private System.Windows.Forms.TextBox textBoxPProdNoInput;
private DevExpress.XtraEditors.LabelControl labelControl16;
private DevExpress.XtraEditors.LabelControl labelControl17;
private DevExpress.XtraEditors.LabelControl labelControl19;
private DevExpress.XtraEditors.LabelControl labelControl20;
private System.Windows.Forms.Button buttonTestListChk;
private DevExpress.XtraEditors.LabelControl labelControl21;
private DevExpress.XtraEditors.LabelControl labelControl22;
private System.Windows.Forms.GroupBox groupBoxTestCode;
private System.Windows.Forms.TextBox textBoxTextCodeInput;
private System.Windows.Forms.TextBox textBoxDispComment;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl labelControl15;
private DevExpress.XtraEditors.LabelControl labelControl3;
private System.Windows.Forms.TextBox textBoxDispGate2;
private System.Windows.Forms.TextBox textBoxDispTestCodeNo;
private DevExpress.XtraEditors.LabelControl labelControl13;
private System.Windows.Forms.Button buttonTestCodeChk;
private System.Windows.Forms.TextBox textBoxDispGate1;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LabelControl labelControl5;
private System.Windows.Forms.TextBox textBoxDispTestCode;
private System.Windows.Forms.Label labelReadyViewInfo;
private System.Windows.Forms.RichTextBox richTextBoxErr;
private System.Windows.Forms.ComboBox comboBoxTestCodeList;
private DevExpress.XtraEditors.LabelControl labelControl7;
private System.Windows.Forms.CheckBox checkBoxAutoComplete;
private System.Windows.Forms.TextBox textBoxDispTestListComment;
private DevExpress.XtraEditors.LabelControl labelControl8;
}
}

View File

@ -0,0 +1,948 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.ComboBox;
using SystemX.Product.ALIS.Interface;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using PsKGaudi;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi.Parser.PsCCSSTDFn;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using static PsKGaudi.Parser.PsCCS;
using static CpCommon.ExceptionHandler;
using SystemX.Common;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class TestListReleaseCopyWizard : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private List<CReleaseInformation> lstCopyTestListRelease;
private List<CReleaseInformation> lstCopyInsertSetTestListRelease;
private CReleaseInformation MakeInformation;
private DataTable dtCurrentDataTable;
private string strCopyProductNoInput;
public int GetInsertSize()
{
return lstCopyInsertSetTestListRelease.Count;
}
public IEnumerable<CReleaseInformation> GetInsertList()
{
foreach (CReleaseInformation info in lstCopyInsertSetTestListRelease)
{
yield return info;
}
}
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "PROD TestList-Release [Copy And Paste]";
private string strWizardControl = "PROD TestList-Release";
private string strWelcomeWizard = "Welcome to the PROD TestList-Release [Copy And Paste] wizard!";
private string strWizardPage = "PROD TestList Release Information";
private int nReadyViewSelectRow { set; get; } = -1;
private bool TestCodeCheckResult { set; get; }
private int nNowTestCodeNo { set; get; } = -1;
private bool TestListCheckResult { set; get; }
private int nNowTestListNo { set; get; } = -1;
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
private void RefreshReadyGridView()
{
dataGridViewReady.DataSource = dtCurrentDataTable;
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
dataGridViewReady.Refresh();
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
}
private void RefreshResultGridView()
{
dataGridViewResult.DataSource = dtCurrentDataTable;
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
dataGridViewResult.Refresh();
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
}
private void AddResultList(DataRow dr)
{
CReleaseInformation InformationTemp = new CReleaseInformation();
InformationTemp.ProdNo_C = dr.Field<string>("ProdNo_C");
InformationTemp.TestCodeNo = dr.Field<Int32>("TestCodeNo");
InformationTemp.TestCode = dr.Field<string>("TestCode");
InformationTemp.VariantNo = dr.Field<Int32>("VariantNo");
InformationTemp.ProdNo_P = dr.Field<string>("ProdNo_P");
InformationTemp.TestType = dr.Field<string>("TestType");
InformationTemp.FileVersion = dr.Field<string>("FileVersion");
InformationTemp.ProdCode = dr.Field<string>("ProdCode");
InformationTemp.Config = dr.Field<string>("Config");
InformationTemp.RegDT = DateTime.Now; //dr.Field<DateTime>("RegDT", DateTime.Now);
InformationTemp.RegUser = ctrlDB.GetLoginInfo().UserID; //dr.Field<string>("RegUser");
InformationTemp.RegUserComment = dr.Field<string>("RegUserComment");
lstCopyInsertSetTestListRelease.Add(InformationTemp);
}
public TestListReleaseCopyWizard(IDataController ctrlDB, eSelectMode setMode, List<CReleaseInformation> getSelTestListRelInfo, string strGetCopyPorductNo = "")
{
InitializeComponent();
strCopyProductNoInput = strGetCopyPorductNo;
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
CurrentWizardMode = setMode;
lstCopyTestListRelease = getSelTestListRelInfo.ToList();
lstCopyInsertSetTestListRelease = new List<CReleaseInformation>();
this.ctrlDB = ctrlDB;
GetTestCodeList();
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to copy and paste into the " + strWizardControl + " table.";
wizardControl.Text = strTitle + " - Information";
this.Text = strTitle + " - Information";
break;
case eSelectMode.Modify:
break;
}
MakeInformation = new CReleaseInformation();
DataRow[] setMakeDataRows = new DataRow[lstCopyTestListRelease.Count];
dtCurrentDataTable = MakeDataTable();
for (int i = 0; i < lstCopyTestListRelease.Count; i++)
{
setMakeDataRows[i] = dtCurrentDataTable.NewRow();
setMakeDataRows[i]["No"] = i + 1;
if (strCopyProductNoInput.Length > 0)
setMakeDataRows[i]["ProdNo_C"] = strCopyProductNoInput;
else
setMakeDataRows[i]["ProdNo_C"] = lstCopyTestListRelease[i].ProdNo_C;
setMakeDataRows[i]["TestCodeNo"] = lstCopyTestListRelease[i].TestCodeNo;
setMakeDataRows[i]["TestCode"] = lstCopyTestListRelease[i].TestCode;
setMakeDataRows[i]["VariantNo"] = lstCopyTestListRelease[i].VariantNo;
setMakeDataRows[i]["ProdNo_P"] = lstCopyTestListRelease[i].ProdNo_P;
setMakeDataRows[i]["TestType"] = lstCopyTestListRelease[i].TestType;
setMakeDataRows[i]["FileVersion"] = lstCopyTestListRelease[i].FileVersion;
setMakeDataRows[i]["ProdCode"] = lstCopyTestListRelease[i].ProdCode;
setMakeDataRows[i]["Config"] = lstCopyTestListRelease[i].Config;
setMakeDataRows[i]["RegDT"] = DateTime.Now;
setMakeDataRows[i]["RegUser"] = ctrlDB.GetLoginInfo().UserID;
setMakeDataRows[i]["RegUserComment"] = lstCopyTestListRelease[i].RegUserComment;
dtCurrentDataTable.Rows.Add(setMakeDataRows[i]);
}
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE No = " + lstCopyTestListRelease[0].TestCodeNo + " ORDER BY No ASC;");
CheckTestCodeInfo(dtTestCode);
/*
DataTable dtTestList = ctrlDB.GetTable("SELECT No, ProdNo_P, TestType, Version, ProdCode, FileName, Comment, Description FROM [PROD_Variant] WHERE No = " + lstCopyTestListRelease[0].VariantNo + " ORDER BY No ASC;");
CheckTestListInfo(dtTestList);
*/
DataTable dtTestList = ctrlDB.GetTable($"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
$"WHERE X.No = " + lstCopyTestListRelease[0].VariantNo + " ORDER BY No ASC;");
CheckTestListInfo(dtTestList);
}
private void TestListReleaseCopyWizard_Load(object sender, EventArgs e)
{
RefreshReadyGridView();
textBoxItemRegDT_Picker.Value = DateTime.Now;
textBoxItemProdC.Text = lstCopyTestListRelease[0].ProdNo_C;
textBoxItemRegUser.Text = ctrlDB.GetLoginInfo().UserID;
}
private DataTable MakeDataTable()
{
// Create a new DataTable titled 'Names.'
DataTable logTable = new DataTable("TempTable");
// Add three column objects to the table.
DataColumn Column0 = new DataColumn();
Column0.DataType = System.Type.GetType("System.Int64");
Column0.ColumnName = "No";
Column0.AutoIncrement = true;
Column0.AllowDBNull = false;
logTable.Columns.Add(Column0);
DataColumn Column1 = new DataColumn();
Column1.DataType = System.Type.GetType("System.String");
Column1.ColumnName = "ProdNo_C";
Column1.AutoIncrement = false;
Column1.AllowDBNull = false;
logTable.Columns.Add(Column1);
DataColumn Column2 = new DataColumn();
Column2.DataType = System.Type.GetType("System.Int32");
Column2.ColumnName = "TestCodeNo";
Column2.AutoIncrement = false;
Column2.AllowDBNull = true;
logTable.Columns.Add(Column2);
DataColumn Column00 = new DataColumn();
Column00.DataType = System.Type.GetType("System.String");
Column00.ColumnName = "TestCode";
Column00.AutoIncrement = false;
Column00.AllowDBNull = true;
logTable.Columns.Add(Column00);
DataColumn Column3 = new DataColumn();
Column3.DataType = System.Type.GetType("System.Int32");
Column3.ColumnName = "VariantNo";
Column3.AutoIncrement = false;
Column3.AllowDBNull = true;
logTable.Columns.Add(Column3);
DataColumn Column01 = new DataColumn();
Column01.DataType = System.Type.GetType("System.String");
Column01.ColumnName = "ProdNo_P";
Column01.AutoIncrement = false;
Column01.AllowDBNull = true;
logTable.Columns.Add(Column01);
DataColumn Column02 = new DataColumn();
Column02.DataType = System.Type.GetType("System.String");
Column02.ColumnName = "TestType";
Column02.AutoIncrement = false;
Column02.AllowDBNull = true;
logTable.Columns.Add(Column02);
DataColumn Column03 = new DataColumn();
Column03.DataType = System.Type.GetType("System.String");
Column03.ColumnName = "FileVersion";
Column03.AutoIncrement = false;
Column03.AllowDBNull = true;
logTable.Columns.Add(Column03);
DataColumn Column04 = new DataColumn();
Column04.DataType = System.Type.GetType("System.String");
Column04.ColumnName = "ProdCode";
Column04.AutoIncrement = false;
Column04.AllowDBNull = true;
logTable.Columns.Add(Column04);
DataColumn Column4 = new DataColumn();
Column4.DataType = System.Type.GetType("System.String");
Column4.ColumnName = "Config";
Column4.AutoIncrement = false;
Column4.AllowDBNull = false;
logTable.Columns.Add(Column4);
DataColumn Column5 = new DataColumn();
Column5.DataType = System.Type.GetType("System.DateTime");
Column5.ColumnName = "RegDT";
Column5.AutoIncrement = false;
Column5.AllowDBNull = false;
Column5.DefaultValue = DateTime.Now;
logTable.Columns.Add(Column5);
DataColumn Column6 = new DataColumn();
Column6.DataType = System.Type.GetType("System.String");
Column6.ColumnName = "RegUser";
Column6.AutoIncrement = false;
Column6.AllowDBNull = false;
logTable.Columns.Add(Column6);
DataColumn Column7 = new DataColumn();
Column7.DataType = System.Type.GetType("System.String");
Column7.ColumnName = "RegUserComment";
Column7.AutoIncrement = false;
Column7.AllowDBNull = true;
logTable.Columns.Add(Column7);
// Create an array for DataColumn objects.
DataColumn[] keys = new DataColumn[1];
keys[0] = Column0;
logTable.PrimaryKey = keys;
// Return the new DataTable.
return logTable;
}
private void GetTestCodeList()
{
SqlDataReader reader;
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM STAT_TestCode WITH(NOLOCK) ORDER BY No ASC;";
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Load(reader);
ds.Tables.Add(dt);
reader.Close();
comboBoxTestCodeList.Items.Clear();
if (XCommons.isHasRow(ds))
{
comboBoxTestCodeList.Items.Add("Select Test Code ...");
comboBoxTestCodeList.SelectedIndex = 0;
for (int i = 0; i < dt.Rows.Count; i++)
comboBoxTestCodeList.Items.Add(dt.Rows[i]["TestCode"].ToString());
}
}
private bool CheckTestCodeInfo(DataTable dt)
{
if (XCommons.isHasRow(dt) == false)
{
textBoxTextCodeInput.BackColor = Color.Red;
nNowTestCodeNo = -1;
return false;
}
DataSet ds = new DataSet();
ds.Tables.Add(dt);
textBoxDispTestCodeNo.Text = dt.Rows[0][0].ToString();
textBoxDispTestCode.Text = dt.Rows[0][1].ToString();
textBoxDispGate1.Text = dt.Rows[0][2].ToString();
textBoxDispGate2.Text = dt.Rows[0][3].ToString();
textBoxDispComment.Text = dt.Rows[0][4].ToString();
textBoxTextCodeInput.Text = dt.Rows[0][1].ToString();
nNowTestCodeNo = Convert.ToInt32(textBoxDispTestCodeNo.Text);
TestCodeCheckResult = true;
textBoxTextCodeInput.BackColor = Color.LimeGreen;
return true;
}
private bool CheckTestListInfo(DataTable dt)
{
if (XCommons.isHasRow(dt) == false)
{
textBoxPProdNoInput.BackColor = Color.Red;
textBoxDispInTestType.BackColor = Color.Red;
textBoxDispInVersion.BackColor = Color.Red;
textBoxDispInProdCode.BackColor = Color.Red;
textBoxDispInFileName.BackColor = Color.Red;
textBoxDispInTestType.ReadOnly = false;
textBoxDispInVersion.ReadOnly = false;
textBoxDispInProdCode.ReadOnly = false;
textBoxDispInFileName.ReadOnly = false;
nNowTestListNo = -1;
return false;
}
DataSet ds = new DataSet();
ds.Tables.Add(dt);
textBoxDispTestListVariantNo.Text = dt.Rows[0][0].ToString();
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
textBoxDispInTestType.Text = dt.Rows[0][2].ToString();
textBoxDispInVersion.Text = dt.Rows[0][3].ToString();
textBoxDispInProdCode.Text = dt.Rows[0][4].ToString();
textBoxDispInFileName.Text = dt.Rows[0][5].ToString();
textBoxDispTestListComment.Text = dt.Rows[0][6].ToString();
textBoxDispTestListDescription.Text = dt.Rows[0][7].ToString();
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
nNowTestListNo = Convert.ToInt32(textBoxDispTestListVariantNo.Text);
TestListCheckResult = true;
textBoxPProdNoInput.BackColor = Color.LimeGreen;
textBoxDispInTestType.BackColor = Color.LimeGreen;
textBoxDispInVersion.BackColor = Color.LimeGreen;
textBoxDispInProdCode.BackColor = Color.LimeGreen;
textBoxDispInFileName.BackColor = Color.LimeGreen;
textBoxDispInTestType.ReadOnly = true;
textBoxDispInVersion.ReadOnly = true;
textBoxDispInProdCode.ReadOnly = true;
textBoxDispInFileName.ReadOnly = true;
return true;
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
if (wizardControl.SelectedPageIndex == 1)
{
lock (objInfoControlNextLock)
{
richTextBoxErr.Clear();
bool bCheckInformationResult = true;
StringBuilder sb = new StringBuilder();
lstCopyInsertSetTestListRelease = new List<CReleaseInformation>();
lstCopyInsertSetTestListRelease.Clear();
try
{
/*
string strItemName = "";
if (TestCodeCheckResult == false) { strItemName = "TestCode No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
if (TestListCheckResult == false) { strItemName = "TestList No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
*/
int nRowPos = 0;
foreach (DataRow dr in dtCurrentDataTable.Rows)
{
string strGetProdC = dr.Field<string>("ProdNo_C");
int nGetTestCodeNo = dr.Field<int>("TestCodeNo");
string strGetTestCode = dr.Field<string>("TestCode");
string strGetTestType = dr.Field<string>("TestType");
string strGetVersion = dr.Field<string>("FileVersion");
string strGetProdCode = dr.Field<string>("ProdCode");
int nGetTestListNo = dr.Field<int>("VariantNo");
//"SELECT * FROM [PROD_Release] WHERE No IN(SELECT No FROM [PROD_Release] WHERE [ProdNo_C] = '" + strGetProdC + "' AND [TestCodeNo] = "+ strGetTestCodeNo + " AND [VariantNo] = "+ strGetTestListNo + " ) ORDER BY No ASC;";
// 'C_ProdNo' // 'TestCodeNo' // 'VariantNo' // 'P_ProdNo' // 'FileVersion'
string strGetQueryText =
$"SELECT X.No, " +
$"X.ProdNo_C AS 'C_ProdNo', " +
$"Y.No AS 'TestCodeNo', " +
$"Y.TestCode, " +
$"Z.No AS 'VariantNo', " +
$"Z.ProdNo_P AS 'P_ProdNo', " +
$"J.TestType, " +
$"J.Version AS 'FileVersion', " +
$"J.ProdCode, " +
$"X.Config, " +
$"X.RegDT, " +
$"X.RegUser, " +
$"X.RegUserComment " +
$"FROM [PROD_Release] AS X " +
$"INNER JOIN [STAT_TestCode] AS Y WITH(NOLOCK) ON X.TestCodeNo = Y.No " +
$"INNER JOIN [PROD_Variant] AS Z WITH(NOLOCK) ON X.VariantNo = Z.No " +
$"INNER JOIN [STOR_TestListFile] AS J WITH(NOLOCK) ON Z.TestListFileNo = J.No " +
$"WHERE X.ProdNo_C = '" + strGetProdC + "' AND X.TestCodeNo = " + nGetTestCodeNo + " " +
$"ORDER BY No ASC;";
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtCheck))
{
bool bExistException = false;
string strTableProdNoC = dtCheck.Rows[0]["C_ProdNo"].ToString();
string strTableTestCode = dtCheck.Rows[0]["TestCode"].ToString();
string strTableTestType = dtCheck.Rows[0]["TestType"].ToString();
string strTableVersion = dtCheck.Rows[0]["FileVersion"].ToString();
string strTableProductionCode = dtCheck.Rows[0]["ProdCode"].ToString();
if (strGetProdC.CompareTo(strTableProdNoC) == 0 &&
strGetTestCode.CompareTo(strTableTestCode) == 0 &&
strGetTestType.CompareTo(strTableTestType) == 0 &&
strGetVersion.CompareTo(strTableVersion) == 0 &&
strGetProdCode.CompareTo(strTableProductionCode) == 0)
bExistException = true;
if (bExistException)
{
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_C]-[TestCode]-[TestType]-[Version]-[ProductionCode] Combine Key is information that already exists. : " +
$"{strGetProdC}" + " " + $"{strGetTestCode}" + " " + $"{strGetTestType}" + " " + $"{strGetVersion}" + " " + $"{strGetProdCode}");
bCheckInformationResult = false;
}
}
else
{
string strScanInfo = strGetProdC + strGetTestCode + strGetTestType + strGetVersion + strGetProdCode;
for (int i = 0; i < dtCurrentDataTable.Rows.Count; i++)
{
if (i == nRowPos)
continue;
string CompareProdNoC = dtCurrentDataTable.Rows[i].Field<string>("ProdNo_C");
string CompareTestCode = dtCurrentDataTable.Rows[i].Field<string>("TestCode");
string CompareTestType = dtCurrentDataTable.Rows[i].Field<string>("TestType");
string CompareFileVersion = dtCurrentDataTable.Rows[i].Field<string>("FileVersion");
string CompareProdCode = dtCurrentDataTable.Rows[i].Field<string>("ProdCode");
string strCompareInfo = CompareProdNoC + CompareTestCode + CompareTestType + CompareFileVersion + CompareProdCode;
if (strScanInfo.CompareTo(strCompareInfo) == 0)
{
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_C]-[TestCode]-[TestType]-[Version]-[ProductionCode] Combine Key is information that already exists. in registration waiting list. : " +
$"{strGetProdC}" + " " + $"{strGetTestCode}" + " " + $"{strGetTestType}" + " " + $"{strGetVersion}" + " " + $"{strGetProdCode}");
bCheckInformationResult = false;
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
}
}
}
AddResultList(dr);
nRowPos++;
}
if (bCheckInformationResult == false)
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
richTextBoxErr.AppendText(sb.ToString());
e.Handled = true;
return;
}
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
RefreshResultGridView();
}
}
}
private bool CheckRowSelectInfo(int nIndex)
{
object objHandle = null;
bool bCheckResult = true;
if ((dataGridViewReady.Rows.Count - 1) == nIndex)
return false;
try
{
objHandle = dataGridViewReady.Rows[nIndex].Cells["No"].Value.ToString();
}
catch
{
objHandle = null;
bCheckResult = false;
}
finally
{
;//
}
return bCheckResult;
}
private void ClearListSelect()
{
labelReadyViewInfo.Text = "-";
nReadyViewSelectRow = -1;
}
private void dataGridViewReady_CellClick(object sender, DataGridViewCellEventArgs e)
{
int n = e.RowIndex;
nReadyViewSelectRow = e.RowIndex;
labelReadyViewInfo.Text = "Select Row : " + (nReadyViewSelectRow + 1).ToString();
if (CheckRowSelectInfo(nReadyViewSelectRow))
{
;//
}
else
ClearListSelect();
}
private void dataGridViewReady_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
if (CheckRowSelectInfo(nReadyViewSelectRow))
{
MakeInformation.ProdNo_C = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["ProdNo_C"].Value.ToString();
MakeInformation.TestCodeNo = Convert.ToInt32(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["TestCodeNo"].Value);
MakeInformation.VariantNo = Convert.ToInt32(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["VariantNo"].Value);
MakeInformation.Config = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Config"].Value.ToString();
MakeInformation.RegDT = Convert.ToDateTime(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegDT"].Value);
MakeInformation.RegUser = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegUser"].Value.ToString();
MakeInformation.RegUserComment = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegUserComment"].Value.ToString();
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE No = " + MakeInformation.TestCodeNo + " ORDER BY No ASC;");
CheckTestCodeInfo(dtTestCode);
/*
DataTable dtTestList = ctrlDB.GetTable("SELECT No, ProdNo_P, TestType, Version, ProdCode, FileName, Comment, Description FROM [PROD_Variant] WHERE No = " + MakeInformation.VariantNo + " ORDER BY No ASC;");
CheckTestListInfo(dtTestList);
*/
DataTable dtTestList = ctrlDB.GetTable($"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
$"WHERE X.No = " + lstCopyTestListRelease[0].VariantNo + " ORDER BY No ASC;");
CheckTestListInfo(dtTestList);
textBoxItemProdC.Text = MakeInformation.ProdNo_C;
textBoxItemConfig.Text = MakeInformation.Config;
textBoxItemRegDT_Picker.Value = DateTime.Now;
textBoxItemDescription.Text = MakeInformation.RegUserComment;
}
}
private void buttonTestCodeChk_Click(object sender, EventArgs e)
{
TestCodeCheckResult = false;
textBoxDispTestCodeNo.Text = "";
textBoxDispTestCode.Text = "";
textBoxDispGate1.Text = "";
textBoxDispGate2.Text = "";
textBoxDispComment.Text = "";
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE TestCode = '" + textBoxTextCodeInput.Text + "' ORDER BY No ASC;");
CheckTestCodeInfo(dtTestCode);
}
private void buttonTestListChk_Click(object sender, EventArgs e)
{
TestListCheckResult = false;
textBoxDispTestListVariantNo.Text = "";
textBoxDispTestListComment.Text = "";
textBoxDispTestListDescription.Text = "";
/*
string strSetQueryText = "SELECT No, ProdNo_P, TestType, Version, ProdCode, FileName, Comment, Description FROM [PROD_Variant] " +
"WHERE ProdNo_P = '" + textBoxPProdNoInput.Text + "' ";
*/
string strSetQueryText = $"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
$"WHERE X.ProdNo_P = '" + textBoxPProdNoInput.Text + "' ";
string strSetQueryEndText = "ORDER BY No ASC;";
if (textBoxDispInTestType.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.TestType = '" + textBoxDispInTestType.Text + "' ";
}
if (textBoxDispInVersion.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.Version = '" + textBoxDispInVersion.Text + "' ";
}
if (textBoxDispInProdCode.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.ProdCode = '" + textBoxDispInProdCode.Text + "' ";
}
if (textBoxDispInFileName.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.FileName = '" + textBoxDispInFileName.Text + "' ";
}
strSetQueryText += strSetQueryEndText;
DataTable dtTestList = ctrlDB.GetTable(strSetQueryText);
if (CheckTestListInfo(dtTestList))
{
wizardPage.ActiveControl = buttonAdd;
buttonAdd.Focus();
}
}
private void button_Click(object sender, EventArgs e)
{
int nTag = Convert.ToInt32(((Control)sender).Tag);
switch (nTag)
{
case 0:
if (textBoxDispInTestType.ReadOnly) textBoxDispInTestType.ReadOnly = false;
else if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
break;
case 1:
if (textBoxDispInVersion.ReadOnly) textBoxDispInVersion.ReadOnly = false;
else if (textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
break;
case 2:
if (textBoxDispInProdCode.ReadOnly) textBoxDispInProdCode.ReadOnly = false;
else if (textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
break;
case 3:
if (textBoxDispInFileName.ReadOnly) textBoxDispInFileName.ReadOnly = false;
else if (textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
break;
}
}
private void textBoxDispIn_ReadOnlyChanged(object sender, EventArgs e)
{
int nTag = Convert.ToInt32(((Control)sender).Tag);
bool bReadOnly = ((TextBox)sender).ReadOnly;
switch (nTag)
{
case 0:
if (bReadOnly) button1.BackColor = Color.Transparent;
else button1.BackColor = Color.Yellow; textBoxDispInTestType.Focus();
break;
case 1:
if (bReadOnly) button2.BackColor = Color.Transparent;
else button2.BackColor = Color.Yellow; textBoxDispInVersion.Focus();
break;
case 2:
if (bReadOnly) button3.BackColor = Color.Transparent;
else button3.BackColor = Color.Yellow; textBoxDispInProdCode.Focus();
break;
case 3:
if (bReadOnly) button4.BackColor = Color.Transparent;
else button4.BackColor = Color.Yellow; textBoxDispInFileName.Focus();
break;
}
}
private void textBoxDispIn_TextChanged(object sender, EventArgs e)
{
TestListCheckResult = false;
textBoxPProdNoInput.BackColor = Color.Yellow;
}
private void checkBoxAutoComplete_CheckedChanged(object sender, EventArgs e)
{
if (checkBoxAutoComplete.Checked == false)
{
textBoxPProdNoInput.AutoCompleteCustomSource = null;
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.None;
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.None;
}
else
{
/*if (checkBoxAutoComplete.Checked != true || textBoxPProdNoInput.Text.Length <= 0)
return;*/
//WHERE ProdNo_P LIKE '%" + textBoxPProdNoInput.Text + "%'
DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, ProdNo_P FROM [PROD_Variant] ORDER BY No ASC;");
if (dtProdNoP == null)
return;
string[] postSource = dtProdNoP
.AsEnumerable()
.Select<System.Data.DataRow, String>(x => x.Field<string>("ProdNo_P"))
.ToArray();
var source = new AutoCompleteStringCollection();
source.AddRange(postSource);
textBoxPProdNoInput.AutoCompleteCustomSource = source;
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.Suggest;
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.CustomSource;
}
}
private void textBoxPProdNoInput_TextChanged(object sender, EventArgs e)
{
TestListCheckResult = false;
textBoxPProdNoInput.BackColor = Color.Yellow;
textBoxDispInTestType.Text = "";
textBoxDispInVersion.Text = "";
textBoxDispInProdCode.Text = "";
textBoxDispInFileName.Text = "";
}
private void textBoxTextCodeInput_TextChanged(object sender, EventArgs e)
{
TestCodeCheckResult = false;
textBoxTextCodeInput.BackColor = Color.Yellow;
}
private void comboBoxTestCodeList_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBoxTestCodeList.SelectedIndex > 0)
{
textBoxTextCodeInput.Text = comboBoxTestCodeList.Items[comboBoxTestCodeList.SelectedIndex].ToString();
TestCodeCheckResult = false;
textBoxTextCodeInput.BackColor = Color.Yellow;
}
}
private void buttonAdd_Click(object sender, EventArgs e)
{
if (TestCodeCheckResult == false || TestListCheckResult == false)
return;
DataRow setMakeDataRows = null;
setMakeDataRows = dtCurrentDataTable.NewRow();
setMakeDataRows["No"] = dtCurrentDataTable.Rows.Count + 1;
setMakeDataRows["ProdNo_C"] = textBoxItemProdC.Text;
setMakeDataRows["TestCodeNo"] = nNowTestCodeNo;
setMakeDataRows["TestCode"] = textBoxDispTestCode.Text;
setMakeDataRows["VariantNo"] = nNowTestListNo;
setMakeDataRows["ProdNo_P"] = textBoxPProdNoInput.Text;
setMakeDataRows["TestType"] = textBoxDispInTestType.Text;
setMakeDataRows["FileVersion"] = textBoxDispInVersion.Text;
setMakeDataRows["ProdCode"] = textBoxDispInProdCode.Text;
setMakeDataRows["Config"] = textBoxItemConfig.Text;
setMakeDataRows["RegDT"] = DateTime.Now;
setMakeDataRows["RegUser"] = textBoxItemRegUser.Text;
setMakeDataRows["RegUserComment"] = textBoxItemDescription.Text;
dtCurrentDataTable.Rows.Add(setMakeDataRows);
RefreshReadyGridView();
}
private void buttonDelete_Click(object sender, EventArgs e)
{
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
return;
dtCurrentDataTable.Rows.RemoveAt(nReadyViewSelectRow);
RefreshReadyGridView();
}
private void buttonModify_Click(object sender, EventArgs e)
{
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
return;
if (TestCodeCheckResult == false || TestListCheckResult == false)
return;
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdNo_C", textBoxItemProdC.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<Int32>("TestCodeNo", nNowTestCodeNo);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("TestCode", textBoxDispTestCode.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<Int32>("VariantNo", nNowTestListNo);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdNo_P", textBoxPProdNoInput.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("TestType", textBoxDispInTestType.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("FileVersion", textBoxDispInVersion.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdCode", textBoxDispInProdCode.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Config", textBoxItemConfig.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<DateTime>("RegDT", DateTime.Now);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("RegUser", ctrlDB.GetLoginInfo().UserID);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("RegUserComment", textBoxItemDescription.Text);
RefreshReadyGridView();
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxItemProdC;
textBoxItemProdC.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,965 @@

namespace SystemX.Product.ALIS.UI.View.InfoList
{
partial class TestListInfoReleaseEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
this.groupBoxTestList = new System.Windows.Forms.GroupBox();
this.textBoxDispTestListComment = new System.Windows.Forms.TextBox();
this.labelControl27 = new DevExpress.XtraEditors.LabelControl();
this.checkBoxAutoComplete = new System.Windows.Forms.CheckBox();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.textBoxDispInFileName = new System.Windows.Forms.TextBox();
this.textBoxDispInProdCode = new System.Windows.Forms.TextBox();
this.textBoxDispInVersion = new System.Windows.Forms.TextBox();
this.textBoxDispInTestType = new System.Windows.Forms.TextBox();
this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
this.textBoxDispTestListVariantNo = new System.Windows.Forms.TextBox();
this.textBoxDispTestListDescription = new System.Windows.Forms.TextBox();
this.textBoxPProdNoInput = new System.Windows.Forms.TextBox();
this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
this.buttonTestListChk = new System.Windows.Forms.Button();
this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
this.groupBoxTestCode = new System.Windows.Forms.GroupBox();
this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
this.comboBoxTestCodeList = new System.Windows.Forms.ComboBox();
this.textBoxTextCodeInput = new System.Windows.Forms.TextBox();
this.textBoxDispComment = new System.Windows.Forms.TextBox();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.textBoxDispGate2 = new System.Windows.Forms.TextBox();
this.textBoxDispTestCodeNo = new System.Windows.Forms.TextBox();
this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
this.buttonTestCodeChk = new System.Windows.Forms.Button();
this.textBoxDispGate1 = new System.Windows.Forms.TextBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.textBoxDispTestCode = new System.Windows.Forms.TextBox();
this.textBoxItem4 = new System.Windows.Forms.TextBox();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.textBoxItem5_Picker = new System.Windows.Forms.DateTimePicker();
this.textBoxItem7 = new System.Windows.Forms.TextBox();
this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
this.textBoxItem6 = new System.Windows.Forms.TextBox();
this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
this.textBoxItem1 = new System.Windows.Forms.TextBox();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
this.dataGridView = new System.Windows.Forms.DataGridView();
this.labelControlInfo5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl24 = new DevExpress.XtraEditors.LabelControl();
this.labelControl25 = new DevExpress.XtraEditors.LabelControl();
this.labelControlInfo4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl32 = new DevExpress.XtraEditors.LabelControl();
this.labelControlInfo3 = new DevExpress.XtraEditors.LabelControl();
this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
this.labelControlInfo2 = new DevExpress.XtraEditors.LabelControl();
this.labelControlInfo1 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
this.wizardControl.SuspendLayout();
this.wizardPage.SuspendLayout();
this.groupBoxTestList.SuspendLayout();
this.groupBoxTestCode.SuspendLayout();
this.completionWizardPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
this.SuspendLayout();
//
// wizardControl
//
this.wizardControl.Controls.Add(this.welcomeWizardPage);
this.wizardControl.Controls.Add(this.wizardPage);
this.wizardControl.Controls.Add(this.completionWizardPage1);
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.wizardControl.Name = "wizardControl";
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
this.welcomeWizardPage,
this.wizardPage,
this.completionWizardPage1});
this.wizardControl.Size = new System.Drawing.Size(1148, 577);
this.wizardControl.Text = "STAT Host";
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
//
// welcomeWizardPage
//
this.welcomeWizardPage.Name = "welcomeWizardPage";
this.welcomeWizardPage.Size = new System.Drawing.Size(1088, 410);
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
//
// wizardPage
//
this.wizardPage.Controls.Add(this.groupBoxTestList);
this.wizardPage.Controls.Add(this.groupBoxTestCode);
this.wizardPage.Controls.Add(this.textBoxItem4);
this.wizardPage.Controls.Add(this.labelControl6);
this.wizardPage.Controls.Add(this.textBoxItem5_Picker);
this.wizardPage.Controls.Add(this.textBoxItem7);
this.wizardPage.Controls.Add(this.labelControl14);
this.wizardPage.Controls.Add(this.textBoxItem6);
this.wizardPage.Controls.Add(this.labelControl10);
this.wizardPage.Controls.Add(this.labelControl9);
this.wizardPage.Controls.Add(this.textBoxItem1);
this.wizardPage.Controls.Add(this.labelControl1);
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
this.wizardPage.Name = "wizardPage";
this.wizardPage.Size = new System.Drawing.Size(1088, 410);
this.wizardPage.Text = "STAT Host Information";
//
// groupBoxTestList
//
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListComment);
this.groupBoxTestList.Controls.Add(this.labelControl27);
this.groupBoxTestList.Controls.Add(this.checkBoxAutoComplete);
this.groupBoxTestList.Controls.Add(this.button4);
this.groupBoxTestList.Controls.Add(this.button3);
this.groupBoxTestList.Controls.Add(this.button2);
this.groupBoxTestList.Controls.Add(this.button1);
this.groupBoxTestList.Controls.Add(this.textBoxDispInFileName);
this.groupBoxTestList.Controls.Add(this.textBoxDispInProdCode);
this.groupBoxTestList.Controls.Add(this.textBoxDispInVersion);
this.groupBoxTestList.Controls.Add(this.textBoxDispInTestType);
this.groupBoxTestList.Controls.Add(this.labelControl23);
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListVariantNo);
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListDescription);
this.groupBoxTestList.Controls.Add(this.textBoxPProdNoInput);
this.groupBoxTestList.Controls.Add(this.labelControl16);
this.groupBoxTestList.Controls.Add(this.labelControl17);
this.groupBoxTestList.Controls.Add(this.labelControl19);
this.groupBoxTestList.Controls.Add(this.labelControl20);
this.groupBoxTestList.Controls.Add(this.buttonTestListChk);
this.groupBoxTestList.Controls.Add(this.labelControl21);
this.groupBoxTestList.Controls.Add(this.labelControl22);
this.groupBoxTestList.Location = new System.Drawing.Point(435, 44);
this.groupBoxTestList.Name = "groupBoxTestList";
this.groupBoxTestList.Size = new System.Drawing.Size(632, 239);
this.groupBoxTestList.TabIndex = 3;
this.groupBoxTestList.TabStop = false;
this.groupBoxTestList.Text = "TestList-Variant Select";
//
// textBoxDispTestListComment
//
this.textBoxDispTestListComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestListComment.Location = new System.Drawing.Point(101, 185);
this.textBoxDispTestListComment.MaxLength = 16;
this.textBoxDispTestListComment.Name = "textBoxDispTestListComment";
this.textBoxDispTestListComment.ReadOnly = true;
this.textBoxDispTestListComment.Size = new System.Drawing.Size(516, 21);
this.textBoxDispTestListComment.TabIndex = 108;
this.textBoxDispTestListComment.TabStop = false;
//
// labelControl27
//
this.labelControl27.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl27.Appearance.Options.UseFont = true;
this.labelControl27.Location = new System.Drawing.Point(6, 188);
this.labelControl27.Name = "labelControl27";
this.labelControl27.Size = new System.Drawing.Size(55, 15);
this.labelControl27.TabIndex = 67;
this.labelControl27.Text = "Comment";
//
// checkBoxAutoComplete
//
this.checkBoxAutoComplete.AutoSize = true;
this.checkBoxAutoComplete.Location = new System.Drawing.Point(101, 14);
this.checkBoxAutoComplete.Name = "checkBoxAutoComplete";
this.checkBoxAutoComplete.Size = new System.Drawing.Size(307, 18);
this.checkBoxAutoComplete.TabIndex = 106;
this.checkBoxAutoComplete.TabStop = false;
this.checkBoxAutoComplete.Text = "Autocomplete feature(It may affect performance)";
this.checkBoxAutoComplete.UseCompatibleTextRendering = true;
this.checkBoxAutoComplete.UseVisualStyleBackColor = true;
this.checkBoxAutoComplete.CheckedChanged += new System.EventHandler(this.checkBoxAutoComplete_CheckedChanged);
//
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button4.Location = new System.Drawing.Point(342, 123);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(16, 21);
this.button4.TabIndex = 12;
this.button4.Tag = "3";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button_Click);
//
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.Location = new System.Drawing.Point(342, 101);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(16, 21);
this.button3.TabIndex = 10;
this.button3.Tag = "2";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button_Click);
//
// button2
//
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button2.Location = new System.Drawing.Point(342, 79);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(16, 21);
this.button2.TabIndex = 8;
this.button2.Tag = "1";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button_Click);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.Location = new System.Drawing.Point(342, 57);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(16, 21);
this.button1.TabIndex = 6;
this.button1.Tag = "0";
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button_Click);
//
// textBoxDispInFileName
//
this.textBoxDispInFileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInFileName.Location = new System.Drawing.Point(101, 123);
this.textBoxDispInFileName.MaxLength = 64;
this.textBoxDispInFileName.Name = "textBoxDispInFileName";
this.textBoxDispInFileName.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInFileName.TabIndex = 11;
this.textBoxDispInFileName.Tag = "3";
this.textBoxDispInFileName.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInFileName.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// textBoxDispInProdCode
//
this.textBoxDispInProdCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInProdCode.Location = new System.Drawing.Point(101, 101);
this.textBoxDispInProdCode.MaxLength = 4;
this.textBoxDispInProdCode.Name = "textBoxDispInProdCode";
this.textBoxDispInProdCode.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInProdCode.TabIndex = 9;
this.textBoxDispInProdCode.Tag = "2";
this.textBoxDispInProdCode.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInProdCode.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// textBoxDispInVersion
//
this.textBoxDispInVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInVersion.Location = new System.Drawing.Point(101, 79);
this.textBoxDispInVersion.MaxLength = 4;
this.textBoxDispInVersion.Name = "textBoxDispInVersion";
this.textBoxDispInVersion.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInVersion.TabIndex = 7;
this.textBoxDispInVersion.Tag = "1";
this.textBoxDispInVersion.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInVersion.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// textBoxDispInTestType
//
this.textBoxDispInTestType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispInTestType.Location = new System.Drawing.Point(101, 57);
this.textBoxDispInTestType.MaxLength = 8;
this.textBoxDispInTestType.Name = "textBoxDispInTestType";
this.textBoxDispInTestType.Size = new System.Drawing.Size(240, 21);
this.textBoxDispInTestType.TabIndex = 5;
this.textBoxDispInTestType.Tag = "0";
this.textBoxDispInTestType.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
this.textBoxDispInTestType.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
//
// labelControl23
//
this.labelControl23.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl23.Appearance.Options.UseFont = true;
this.labelControl23.Location = new System.Drawing.Point(6, 126);
this.labelControl23.Name = "labelControl23";
this.labelControl23.Size = new System.Drawing.Size(54, 15);
this.labelControl23.TabIndex = 63;
this.labelControl23.Text = "FileName";
//
// textBoxDispTestListVariantNo
//
this.textBoxDispTestListVariantNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestListVariantNo.Location = new System.Drawing.Point(186, 158);
this.textBoxDispTestListVariantNo.MaxLength = 16;
this.textBoxDispTestListVariantNo.Name = "textBoxDispTestListVariantNo";
this.textBoxDispTestListVariantNo.ReadOnly = true;
this.textBoxDispTestListVariantNo.Size = new System.Drawing.Size(240, 21);
this.textBoxDispTestListVariantNo.TabIndex = 107;
this.textBoxDispTestListVariantNo.TabStop = false;
//
// textBoxDispTestListDescription
//
this.textBoxDispTestListDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestListDescription.Location = new System.Drawing.Point(101, 212);
this.textBoxDispTestListDescription.MaxLength = 16;
this.textBoxDispTestListDescription.Name = "textBoxDispTestListDescription";
this.textBoxDispTestListDescription.ReadOnly = true;
this.textBoxDispTestListDescription.Size = new System.Drawing.Size(516, 21);
this.textBoxDispTestListDescription.TabIndex = 109;
this.textBoxDispTestListDescription.TabStop = false;
//
// textBoxPProdNoInput
//
this.textBoxPProdNoInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxPProdNoInput.Location = new System.Drawing.Point(101, 35);
this.textBoxPProdNoInput.MaxLength = 16;
this.textBoxPProdNoInput.Name = "textBoxPProdNoInput";
this.textBoxPProdNoInput.Size = new System.Drawing.Size(240, 21);
this.textBoxPProdNoInput.TabIndex = 3;
this.textBoxPProdNoInput.TextChanged += new System.EventHandler(this.textBoxPProdNoInput_TextChanged);
//
// labelControl16
//
this.labelControl16.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl16.Appearance.Options.UseFont = true;
this.labelControl16.Location = new System.Drawing.Point(6, 38);
this.labelControl16.Name = "labelControl16";
this.labelControl16.Size = new System.Drawing.Size(57, 15);
this.labelControl16.TabIndex = 41;
this.labelControl16.Text = "P_ProdNo";
//
// labelControl17
//
this.labelControl17.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl17.Appearance.Options.UseFont = true;
this.labelControl17.Location = new System.Drawing.Point(6, 215);
this.labelControl17.Name = "labelControl17";
this.labelControl17.Size = new System.Drawing.Size(62, 15);
this.labelControl17.TabIndex = 60;
this.labelControl17.Text = "Description";
//
// labelControl19
//
this.labelControl19.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl19.Appearance.Options.UseFont = true;
this.labelControl19.Location = new System.Drawing.Point(6, 60);
this.labelControl19.Name = "labelControl19";
this.labelControl19.Size = new System.Drawing.Size(49, 15);
this.labelControl19.TabIndex = 43;
this.labelControl19.Text = "TestType";
//
// labelControl20
//
this.labelControl20.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl20.Appearance.Options.UseFont = true;
this.labelControl20.Location = new System.Drawing.Point(6, 161);
this.labelControl20.Name = "labelControl20";
this.labelControl20.Size = new System.Drawing.Size(122, 15);
this.labelControl20.TabIndex = 58;
this.labelControl20.Text = "TestList Variant KeyNo";
//
// buttonTestListChk
//
this.buttonTestListChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonTestListChk.Location = new System.Drawing.Point(347, 35);
this.buttonTestListChk.Name = "buttonTestListChk";
this.buttonTestListChk.Size = new System.Drawing.Size(58, 21);
this.buttonTestListChk.TabIndex = 4;
this.buttonTestListChk.Tag = "4";
this.buttonTestListChk.Text = "Check";
this.buttonTestListChk.UseVisualStyleBackColor = true;
this.buttonTestListChk.Click += new System.EventHandler(this.buttonTestListChk_Click);
//
// labelControl21
//
this.labelControl21.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl21.Appearance.Options.UseFont = true;
this.labelControl21.Location = new System.Drawing.Point(6, 82);
this.labelControl21.Name = "labelControl21";
this.labelControl21.Size = new System.Drawing.Size(41, 15);
this.labelControl21.TabIndex = 54;
this.labelControl21.Text = "Version";
//
// labelControl22
//
this.labelControl22.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl22.Appearance.Options.UseFont = true;
this.labelControl22.Location = new System.Drawing.Point(6, 104);
this.labelControl22.Name = "labelControl22";
this.labelControl22.Size = new System.Drawing.Size(55, 15);
this.labelControl22.TabIndex = 56;
this.labelControl22.Text = "ProdCode";
//
// groupBoxTestCode
//
this.groupBoxTestCode.Controls.Add(this.labelControl26);
this.groupBoxTestCode.Controls.Add(this.comboBoxTestCodeList);
this.groupBoxTestCode.Controls.Add(this.textBoxTextCodeInput);
this.groupBoxTestCode.Controls.Add(this.textBoxDispComment);
this.groupBoxTestCode.Controls.Add(this.labelControl2);
this.groupBoxTestCode.Controls.Add(this.labelControl15);
this.groupBoxTestCode.Controls.Add(this.labelControl3);
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate2);
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCodeNo);
this.groupBoxTestCode.Controls.Add(this.labelControl13);
this.groupBoxTestCode.Controls.Add(this.buttonTestCodeChk);
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate1);
this.groupBoxTestCode.Controls.Add(this.labelControl4);
this.groupBoxTestCode.Controls.Add(this.labelControl5);
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCode);
this.groupBoxTestCode.Location = new System.Drawing.Point(19, 44);
this.groupBoxTestCode.Name = "groupBoxTestCode";
this.groupBoxTestCode.Size = new System.Drawing.Size(410, 239);
this.groupBoxTestCode.TabIndex = 2;
this.groupBoxTestCode.TabStop = false;
this.groupBoxTestCode.Text = "TestCode Select";
//
// labelControl26
//
this.labelControl26.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl26.Appearance.Options.UseFont = true;
this.labelControl26.Location = new System.Drawing.Point(6, 17);
this.labelControl26.Name = "labelControl26";
this.labelControl26.Size = new System.Drawing.Size(77, 15);
this.labelControl26.TabIndex = 105;
this.labelControl26.Text = "TestCode List.";
//
// comboBoxTestCodeList
//
this.comboBoxTestCodeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxTestCodeList.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxTestCodeList.FormattingEnabled = true;
this.comboBoxTestCodeList.Location = new System.Drawing.Point(101, 16);
this.comboBoxTestCodeList.Name = "comboBoxTestCodeList";
this.comboBoxTestCodeList.Size = new System.Drawing.Size(240, 21);
this.comboBoxTestCodeList.TabIndex = 100;
this.comboBoxTestCodeList.TabStop = false;
this.comboBoxTestCodeList.SelectedIndexChanged += new System.EventHandler(this.comboBoxTestCodeList_SelectedIndexChanged);
//
// textBoxTextCodeInput
//
this.textBoxTextCodeInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxTextCodeInput.Location = new System.Drawing.Point(101, 38);
this.textBoxTextCodeInput.MaxLength = 16;
this.textBoxTextCodeInput.Name = "textBoxTextCodeInput";
this.textBoxTextCodeInput.Size = new System.Drawing.Size(240, 21);
this.textBoxTextCodeInput.TabIndex = 2;
this.textBoxTextCodeInput.TextChanged += new System.EventHandler(this.textBoxTextCodeInput_TextChanged);
//
// textBoxDispComment
//
this.textBoxDispComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispComment.Location = new System.Drawing.Point(101, 179);
this.textBoxDispComment.MaxLength = 32;
this.textBoxDispComment.Name = "textBoxDispComment";
this.textBoxDispComment.ReadOnly = true;
this.textBoxDispComment.Size = new System.Drawing.Size(240, 21);
this.textBoxDispComment.TabIndex = 105;
this.textBoxDispComment.TabStop = false;
//
// labelControl2
//
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Appearance.Options.UseFont = true;
this.labelControl2.Location = new System.Drawing.Point(6, 41);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(52, 15);
this.labelControl2.TabIndex = 41;
this.labelControl2.Text = "TestCode";
//
// labelControl15
//
this.labelControl15.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl15.Appearance.Options.UseFont = true;
this.labelControl15.Location = new System.Drawing.Point(6, 182);
this.labelControl15.Name = "labelControl15";
this.labelControl15.Size = new System.Drawing.Size(55, 15);
this.labelControl15.TabIndex = 60;
this.labelControl15.Text = "Comment";
//
// labelControl3
//
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl3.Appearance.Options.UseFont = true;
this.labelControl3.Location = new System.Drawing.Point(6, 74);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(71, 15);
this.labelControl3.TabIndex = 43;
this.labelControl3.Text = "TestCode No";
//
// textBoxDispGate2
//
this.textBoxDispGate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispGate2.Location = new System.Drawing.Point(101, 152);
this.textBoxDispGate2.MaxLength = 32;
this.textBoxDispGate2.Name = "textBoxDispGate2";
this.textBoxDispGate2.ReadOnly = true;
this.textBoxDispGate2.Size = new System.Drawing.Size(240, 21);
this.textBoxDispGate2.TabIndex = 104;
this.textBoxDispGate2.TabStop = false;
//
// textBoxDispTestCodeNo
//
this.textBoxDispTestCodeNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestCodeNo.Location = new System.Drawing.Point(101, 71);
this.textBoxDispTestCodeNo.MaxLength = 32;
this.textBoxDispTestCodeNo.Name = "textBoxDispTestCodeNo";
this.textBoxDispTestCodeNo.ReadOnly = true;
this.textBoxDispTestCodeNo.Size = new System.Drawing.Size(240, 21);
this.textBoxDispTestCodeNo.TabIndex = 101;
this.textBoxDispTestCodeNo.TabStop = false;
//
// labelControl13
//
this.labelControl13.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl13.Appearance.Options.UseFont = true;
this.labelControl13.Location = new System.Drawing.Point(6, 155);
this.labelControl13.Name = "labelControl13";
this.labelControl13.Size = new System.Drawing.Size(33, 15);
this.labelControl13.TabIndex = 58;
this.labelControl13.Text = "Gate2";
//
// buttonTestCodeChk
//
this.buttonTestCodeChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonTestCodeChk.Location = new System.Drawing.Point(347, 38);
this.buttonTestCodeChk.Name = "buttonTestCodeChk";
this.buttonTestCodeChk.Size = new System.Drawing.Size(58, 21);
this.buttonTestCodeChk.TabIndex = 3;
this.buttonTestCodeChk.Tag = "4";
this.buttonTestCodeChk.Text = "Check";
this.buttonTestCodeChk.UseVisualStyleBackColor = true;
this.buttonTestCodeChk.Click += new System.EventHandler(this.buttonTestCodeChk_Click);
//
// textBoxDispGate1
//
this.textBoxDispGate1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispGate1.Location = new System.Drawing.Point(101, 125);
this.textBoxDispGate1.MaxLength = 32;
this.textBoxDispGate1.Name = "textBoxDispGate1";
this.textBoxDispGate1.ReadOnly = true;
this.textBoxDispGate1.Size = new System.Drawing.Size(240, 21);
this.textBoxDispGate1.TabIndex = 103;
this.textBoxDispGate1.TabStop = false;
//
// labelControl4
//
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl4.Appearance.Options.UseFont = true;
this.labelControl4.Location = new System.Drawing.Point(6, 101);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(52, 15);
this.labelControl4.TabIndex = 54;
this.labelControl4.Text = "TestCode";
//
// labelControl5
//
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl5.Appearance.Options.UseFont = true;
this.labelControl5.Location = new System.Drawing.Point(6, 128);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(33, 15);
this.labelControl5.TabIndex = 56;
this.labelControl5.Text = "Gate1";
//
// textBoxDispTestCode
//
this.textBoxDispTestCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDispTestCode.Location = new System.Drawing.Point(101, 98);
this.textBoxDispTestCode.MaxLength = 32;
this.textBoxDispTestCode.Name = "textBoxDispTestCode";
this.textBoxDispTestCode.ReadOnly = true;
this.textBoxDispTestCode.Size = new System.Drawing.Size(240, 21);
this.textBoxDispTestCode.TabIndex = 102;
this.textBoxDispTestCode.TabStop = false;
//
// textBoxItem4
//
this.textBoxItem4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItem4.Location = new System.Drawing.Point(114, 289);
this.textBoxItem4.MaxLength = 32;
this.textBoxItem4.Name = "textBoxItem4";
this.textBoxItem4.Size = new System.Drawing.Size(304, 21);
this.textBoxItem4.TabIndex = 13;
this.textBoxItem4.Text = "-";
//
// labelControl6
//
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl6.Appearance.Options.UseFont = true;
this.labelControl6.Location = new System.Drawing.Point(19, 292);
this.labelControl6.Name = "labelControl6";
this.labelControl6.Size = new System.Drawing.Size(35, 15);
this.labelControl6.TabIndex = 35;
this.labelControl6.Text = "Config";
//
// textBoxItem5_Picker
//
this.textBoxItem5_Picker.CustomFormat = "yyyy-MM-dd HH:mm:ss";
this.textBoxItem5_Picker.Enabled = false;
this.textBoxItem5_Picker.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItem5_Picker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.textBoxItem5_Picker.Location = new System.Drawing.Point(114, 316);
this.textBoxItem5_Picker.Name = "textBoxItem5_Picker";
this.textBoxItem5_Picker.Size = new System.Drawing.Size(200, 21);
this.textBoxItem5_Picker.TabIndex = 110;
this.textBoxItem5_Picker.TabStop = false;
//
// textBoxItem7
//
this.textBoxItem7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItem7.Location = new System.Drawing.Point(114, 370);
this.textBoxItem7.MaxLength = 256;
this.textBoxItem7.Name = "textBoxItem7";
this.textBoxItem7.Size = new System.Drawing.Size(938, 21);
this.textBoxItem7.TabIndex = 14;
//
// labelControl14
//
this.labelControl14.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl14.Appearance.Options.UseFont = true;
this.labelControl14.Location = new System.Drawing.Point(19, 374);
this.labelControl14.Name = "labelControl14";
this.labelControl14.Size = new System.Drawing.Size(62, 15);
this.labelControl14.TabIndex = 30;
this.labelControl14.Text = "Description";
//
// textBoxItem6
//
this.textBoxItem6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItem6.Location = new System.Drawing.Point(114, 343);
this.textBoxItem6.MaxLength = 32;
this.textBoxItem6.Name = "textBoxItem6";
this.textBoxItem6.ReadOnly = true;
this.textBoxItem6.Size = new System.Drawing.Size(258, 21);
this.textBoxItem6.TabIndex = 111;
this.textBoxItem6.TabStop = false;
//
// labelControl10
//
this.labelControl10.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl10.Appearance.Options.UseFont = true;
this.labelControl10.Location = new System.Drawing.Point(19, 346);
this.labelControl10.Name = "labelControl10";
this.labelControl10.Size = new System.Drawing.Size(52, 15);
this.labelControl10.TabIndex = 22;
this.labelControl10.Text = "Reg User";
//
// labelControl9
//
this.labelControl9.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl9.Appearance.Options.UseFont = true;
this.labelControl9.Location = new System.Drawing.Point(19, 319);
this.labelControl9.Name = "labelControl9";
this.labelControl9.Size = new System.Drawing.Size(80, 15);
this.labelControl9.TabIndex = 20;
this.labelControl9.Text = "Reg DateTime";
//
// textBoxItem1
//
this.textBoxItem1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxItem1.Location = new System.Drawing.Point(114, 17);
this.textBoxItem1.MaxLength = 16;
this.textBoxItem1.Name = "textBoxItem1";
this.textBoxItem1.Size = new System.Drawing.Size(304, 21);
this.textBoxItem1.TabIndex = 1;
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Appearance.Options.UseFont = true;
this.labelControl1.Location = new System.Drawing.Point(19, 20);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(57, 15);
this.labelControl1.TabIndex = 1;
this.labelControl1.Text = "ProdNo_C";
//
// completionWizardPage1
//
this.completionWizardPage1.Controls.Add(this.dataGridView);
this.completionWizardPage1.Controls.Add(this.labelControlInfo5);
this.completionWizardPage1.Controls.Add(this.labelControl24);
this.completionWizardPage1.Controls.Add(this.labelControl25);
this.completionWizardPage1.Controls.Add(this.labelControlInfo4);
this.completionWizardPage1.Controls.Add(this.labelControl32);
this.completionWizardPage1.Controls.Add(this.labelControlInfo3);
this.completionWizardPage1.Controls.Add(this.labelControl18);
this.completionWizardPage1.Controls.Add(this.labelControlInfo2);
this.completionWizardPage1.Controls.Add(this.labelControlInfo1);
this.completionWizardPage1.Controls.Add(this.labelControl7);
this.completionWizardPage1.Controls.Add(this.labelControl8);
this.completionWizardPage1.Name = "completionWizardPage1";
this.completionWizardPage1.Size = new System.Drawing.Size(1088, 410);
//
// dataGridView
//
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView.DefaultCellStyle = dataGridViewCellStyle4;
this.dataGridView.Location = new System.Drawing.Point(39, 152);
this.dataGridView.Name = "dataGridView";
this.dataGridView.ReadOnly = true;
this.dataGridView.RowTemplate.Height = 23;
this.dataGridView.Size = new System.Drawing.Size(1003, 214);
this.dataGridView.TabIndex = 43;
//
// labelControlInfo5
//
this.labelControlInfo5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlInfo5.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlInfo5.Appearance.Options.UseFont = true;
this.labelControlInfo5.Appearance.Options.UseForeColor = true;
this.labelControlInfo5.Location = new System.Drawing.Point(114, 99);
this.labelControlInfo5.Name = "labelControlInfo5";
this.labelControlInfo5.Size = new System.Drawing.Size(62, 15);
this.labelControlInfo5.TabIndex = 32;
this.labelControlInfo5.Text = "Description";
//
// labelControl24
//
this.labelControl24.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl24.Appearance.Options.UseFont = true;
this.labelControl24.Location = new System.Drawing.Point(16, 131);
this.labelControl24.Name = "labelControl24";
this.labelControl24.Size = new System.Drawing.Size(57, 15);
this.labelControl24.TabIndex = 30;
this.labelControl24.Text = "Select Info";
//
// labelControl25
//
this.labelControl25.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl25.Appearance.Options.UseFont = true;
this.labelControl25.Location = new System.Drawing.Point(16, 99);
this.labelControl25.Name = "labelControl25";
this.labelControl25.Size = new System.Drawing.Size(62, 15);
this.labelControl25.TabIndex = 29;
this.labelControl25.Text = "Description";
//
// labelControlInfo4
//
this.labelControlInfo4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlInfo4.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlInfo4.Appearance.Options.UseFont = true;
this.labelControlInfo4.Appearance.Options.UseForeColor = true;
this.labelControlInfo4.Location = new System.Drawing.Point(334, 66);
this.labelControlInfo4.Name = "labelControlInfo4";
this.labelControlInfo4.Size = new System.Drawing.Size(52, 15);
this.labelControlInfo4.TabIndex = 25;
this.labelControlInfo4.Text = "Reg User";
//
// labelControl32
//
this.labelControl32.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl32.Appearance.Options.UseFont = true;
this.labelControl32.Location = new System.Drawing.Point(255, 66);
this.labelControl32.Name = "labelControl32";
this.labelControl32.Size = new System.Drawing.Size(52, 15);
this.labelControl32.TabIndex = 22;
this.labelControl32.Text = "Reg User";
//
// labelControlInfo3
//
this.labelControlInfo3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlInfo3.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlInfo3.Appearance.Options.UseFont = true;
this.labelControlInfo3.Appearance.Options.UseForeColor = true;
this.labelControlInfo3.Location = new System.Drawing.Point(334, 38);
this.labelControlInfo3.Name = "labelControlInfo3";
this.labelControlInfo3.Size = new System.Drawing.Size(38, 13);
this.labelControlInfo3.TabIndex = 21;
this.labelControlInfo3.Text = "Reg DT";
//
// labelControl18
//
this.labelControl18.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl18.Appearance.Options.UseFont = true;
this.labelControl18.Location = new System.Drawing.Point(255, 36);
this.labelControl18.Name = "labelControl18";
this.labelControl18.Size = new System.Drawing.Size(42, 15);
this.labelControl18.TabIndex = 18;
this.labelControl18.Text = "Reg DT";
//
// labelControlInfo2
//
this.labelControlInfo2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlInfo2.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlInfo2.Appearance.Options.UseFont = true;
this.labelControlInfo2.Appearance.Options.UseForeColor = true;
this.labelControlInfo2.Location = new System.Drawing.Point(114, 66);
this.labelControlInfo2.Name = "labelControlInfo2";
this.labelControlInfo2.Size = new System.Drawing.Size(35, 15);
this.labelControlInfo2.TabIndex = 13;
this.labelControlInfo2.Text = "Config";
//
// labelControlInfo1
//
this.labelControlInfo1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControlInfo1.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControlInfo1.Appearance.Options.UseFont = true;
this.labelControlInfo1.Appearance.Options.UseForeColor = true;
this.labelControlInfo1.Location = new System.Drawing.Point(114, 36);
this.labelControlInfo1.Name = "labelControlInfo1";
this.labelControlInfo1.Size = new System.Drawing.Size(57, 15);
this.labelControlInfo1.TabIndex = 12;
this.labelControlInfo1.Text = "ProdNo_C";
//
// labelControl7
//
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl7.Appearance.Options.UseFont = true;
this.labelControl7.Location = new System.Drawing.Point(16, 66);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(35, 15);
this.labelControl7.TabIndex = 9;
this.labelControl7.Text = "Config";
//
// labelControl8
//
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl8.Appearance.Options.UseFont = true;
this.labelControl8.Location = new System.Drawing.Point(16, 36);
this.labelControl8.Name = "labelControl8";
this.labelControl8.Size = new System.Drawing.Size(57, 15);
this.labelControl8.TabIndex = 8;
this.labelControl8.Text = "ProdNo_C";
//
// TestListInfoReleaseEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1148, 577);
this.Controls.Add(this.wizardControl);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "TestListInfoReleaseEdit";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "STAT Host";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
this.wizardControl.ResumeLayout(false);
this.wizardPage.ResumeLayout(false);
this.wizardPage.PerformLayout();
this.groupBoxTestList.ResumeLayout(false);
this.groupBoxTestList.PerformLayout();
this.groupBoxTestCode.ResumeLayout(false);
this.groupBoxTestCode.PerformLayout();
this.completionWizardPage1.ResumeLayout(false);
this.completionWizardPage1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraWizard.WizardControl wizardControl;
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
private System.Windows.Forms.TextBox textBoxItem1;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
private DevExpress.XtraWizard.WizardPage wizardPage;
private DevExpress.XtraEditors.LabelControl labelControlInfo2;
private DevExpress.XtraEditors.LabelControl labelControlInfo1;
private DevExpress.XtraEditors.LabelControl labelControl7;
private DevExpress.XtraEditors.LabelControl labelControl8;
private System.Windows.Forms.TextBox textBoxItem7;
private DevExpress.XtraEditors.LabelControl labelControl14;
private System.Windows.Forms.TextBox textBoxItem6;
private DevExpress.XtraEditors.LabelControl labelControl10;
private DevExpress.XtraEditors.LabelControl labelControl9;
private System.Windows.Forms.DateTimePicker textBoxItem5_Picker;
private DevExpress.XtraEditors.LabelControl labelControlInfo5;
private DevExpress.XtraEditors.LabelControl labelControl24;
private DevExpress.XtraEditors.LabelControl labelControl25;
private DevExpress.XtraEditors.LabelControl labelControlInfo4;
private DevExpress.XtraEditors.LabelControl labelControl32;
private DevExpress.XtraEditors.LabelControl labelControlInfo3;
private DevExpress.XtraEditors.LabelControl labelControl18;
private System.Windows.Forms.TextBox textBoxItem4;
private DevExpress.XtraEditors.LabelControl labelControl6;
private System.Windows.Forms.DataGridView dataGridView;
private System.Windows.Forms.TextBox textBoxDispTestCodeNo;
private DevExpress.XtraEditors.LabelControl labelControl3;
private System.Windows.Forms.TextBox textBoxTextCodeInput;
private DevExpress.XtraEditors.LabelControl labelControl2;
private System.Windows.Forms.TextBox textBoxDispComment;
private DevExpress.XtraEditors.LabelControl labelControl15;
private System.Windows.Forms.TextBox textBoxDispGate2;
private DevExpress.XtraEditors.LabelControl labelControl13;
private System.Windows.Forms.TextBox textBoxDispGate1;
private DevExpress.XtraEditors.LabelControl labelControl5;
private System.Windows.Forms.TextBox textBoxDispTestCode;
private DevExpress.XtraEditors.LabelControl labelControl4;
private System.Windows.Forms.Button buttonTestCodeChk;
private System.Windows.Forms.GroupBox groupBoxTestList;
private System.Windows.Forms.TextBox textBoxPProdNoInput;
private DevExpress.XtraEditors.LabelControl labelControl16;
private DevExpress.XtraEditors.LabelControl labelControl17;
private DevExpress.XtraEditors.LabelControl labelControl19;
private DevExpress.XtraEditors.LabelControl labelControl20;
private System.Windows.Forms.Button buttonTestListChk;
private DevExpress.XtraEditors.LabelControl labelControl21;
private DevExpress.XtraEditors.LabelControl labelControl22;
private System.Windows.Forms.GroupBox groupBoxTestCode;
private System.Windows.Forms.TextBox textBoxDispTestListVariantNo;
private System.Windows.Forms.TextBox textBoxDispTestListDescription;
private System.Windows.Forms.TextBox textBoxDispInFileName;
private System.Windows.Forms.TextBox textBoxDispInProdCode;
private System.Windows.Forms.TextBox textBoxDispInVersion;
private System.Windows.Forms.TextBox textBoxDispInTestType;
private DevExpress.XtraEditors.LabelControl labelControl23;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private DevExpress.XtraEditors.LabelControl labelControl26;
private System.Windows.Forms.ComboBox comboBoxTestCodeList;
private System.Windows.Forms.CheckBox checkBoxAutoComplete;
private System.Windows.Forms.TextBox textBoxDispTestListComment;
private DevExpress.XtraEditors.LabelControl labelControl27;
}
}

View File

@ -0,0 +1,596 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.ComboBox;
using SystemX.Product.ALIS.Interface;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using PsKGaudi;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi.Parser.PsCCSSTDFn;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using static PsKGaudi.Parser.PsCCS;
using static CpCommon.ExceptionHandler;
using SystemX.Common;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class TestListInfoReleaseEdit : Form
{
[Flags]
private enum eDataFindMode
{
None = 0x00,
P_ProdNo = 0x01,
TestType = 0x02,
Version = 0x03,
FileName = 0x04
}
public eSelectMode CurrentWizardMode { internal set; get; }
private CReleaseInformation ctrlTestListRelInformation;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
private string strGetModifyProdCInfo;
private string strGetModifyTestCodeInfo;
private string strGetModifyTestListInfo;
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "PROD TestList-Release";
private string strWizardControl = "PROD TestList-Release";
private string strWelcomeWizard = "Welcome to the PROD TestList-Release wizard!";
private string strWizardPage = "PROD TestList Release Information";
private bool TestCodeCheckResult { set; get; } = false;
private bool TestListCheckResult { set; get; } = false;
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
private bool CheckTestCodeInfo(DataTable dt)
{
if (XCommons.isHasRow(dt) == false)
{
textBoxTextCodeInput.BackColor = Color.Red;
return false;
}
DataSet ds = new DataSet();
ds.Tables.Add(dt);
textBoxDispTestCodeNo.Text = dt.Rows[0][0].ToString();
textBoxDispTestCode.Text = dt.Rows[0][1].ToString();
textBoxDispGate1.Text = dt.Rows[0][2].ToString();
textBoxDispGate2.Text = dt.Rows[0][3].ToString();
textBoxDispComment.Text = dt.Rows[0][4].ToString();
textBoxTextCodeInput.Text = dt.Rows[0][1].ToString();
TestCodeCheckResult = true;
textBoxTextCodeInput.BackColor = Color.LimeGreen;
return true;
}
private void GetTestCodeList()
{
SqlDataReader reader;
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM STAT_TestCode WITH(NOLOCK) ORDER BY No ASC;";
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Load(reader);
ds.Tables.Add(dt);
reader.Close();
comboBoxTestCodeList.Items.Clear();
if (XCommons.isHasRow(ds))
{
comboBoxTestCodeList.Items.Add("Select Test Code ...");
comboBoxTestCodeList.SelectedIndex = 0;
for (int i = 0; i < dt.Rows.Count; i++)
comboBoxTestCodeList.Items.Add(dt.Rows[i]["TestCode"].ToString());
}
}
private bool CheckTestListInfo(DataTable dt)
{
if (XCommons.isHasRow(dt) == false)
{
textBoxPProdNoInput.BackColor = Color.Red;
textBoxDispInTestType.BackColor = Color.Red;
textBoxDispInVersion.BackColor = Color.Red;
textBoxDispInProdCode.BackColor = Color.Red;
textBoxDispInFileName.BackColor = Color.Red;
textBoxDispInTestType.ReadOnly = false;
textBoxDispInVersion.ReadOnly = false;
textBoxDispInProdCode.ReadOnly = false;
textBoxDispInFileName.ReadOnly = false;
return false;
}
DataSet ds = new DataSet();
ds.Tables.Add(dt);
textBoxDispTestListVariantNo.Text = dt.Rows[0][0].ToString();
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
textBoxDispInTestType.Text = dt.Rows[0][2].ToString();
textBoxDispInVersion.Text = dt.Rows[0][3].ToString();
textBoxDispInProdCode.Text = dt.Rows[0][4].ToString();
textBoxDispInFileName.Text = dt.Rows[0][5].ToString();
textBoxDispTestListComment.Text = dt.Rows[0][6].ToString();
textBoxDispTestListDescription.Text = dt.Rows[0][7].ToString();
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
TestListCheckResult = true;
textBoxPProdNoInput.BackColor = Color.LimeGreen;
textBoxDispInTestType.BackColor = Color.LimeGreen;
textBoxDispInVersion.BackColor = Color.LimeGreen;
textBoxDispInProdCode.BackColor = Color.LimeGreen;
textBoxDispInFileName.BackColor = Color.LimeGreen;
textBoxDispInTestType.ReadOnly = true;
textBoxDispInVersion.ReadOnly = true;
textBoxDispInProdCode.ReadOnly = true;
textBoxDispInFileName.ReadOnly = true;
return true;
}
public TestListInfoReleaseEdit(IDataController ctrlDB, eSelectMode setMode, CReleaseInformation getSelTestListRelInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
CurrentWizardMode = setMode;
ctrlTestListRelInformation = getSelTestListRelInfo;
this.ctrlDB = ctrlDB;
GetTestCodeList();
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
textBoxItem5_Picker.Value = getSelTestListRelInfo.RegDT;
textBoxItem6.Text = getSelTestListRelInfo.RegUser;
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
textBoxItem1.Text = getSelTestListRelInfo.ProdNo_C;
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE No = " + getSelTestListRelInfo.TestCodeNo + " ORDER BY No ASC;");
CheckTestCodeInfo(dtTestCode);
DataTable dtTestList = ctrlDB.GetTable($"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
$"WHERE X.No = " + getSelTestListRelInfo.VariantNo + " ORDER BY No ASC;");
CheckTestListInfo(dtTestList);
textBoxItem4.Text = getSelTestListRelInfo.Config;
textBoxItem5_Picker.Value = getSelTestListRelInfo.RegDT;
textBoxItem6.Text = getSelTestListRelInfo.RegUser;
textBoxItem7.Text = getSelTestListRelInfo.RegUserComment;
strGetModifyProdCInfo = textBoxItem1.Text;
strGetModifyTestCodeInfo = textBoxDispTestCodeNo.Text;
strGetModifyTestListInfo = textBoxDispTestListVariantNo.Text;
break;
}
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
if (wizardControl.SelectedPageIndex == 1)
{
lock (objInfoControlNextLock)
{
try
{
string strItemName = "";
if (textBoxItem1.Text.Length <= 0) { strItemName = "ProdNo_C"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
if (TestCodeCheckResult == false) { strItemName = "TestCode No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
if (TestListCheckResult == false) { strItemName = "TestList No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
if (textBoxItem4.Text.Length <= 0) { strItemName = "Config"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
string strGetProdC = textBoxItem1.Text;
string strGetTestCodeNo = textBoxDispTestCodeNo.Text;
string strGetTestCode = textBoxDispTestCode.Text;
string strGetTestType = textBoxDispInTestType.Text;
string strGetVersion = textBoxDispInVersion.Text;
string strGetProdCode = textBoxDispInProdCode.Text;
string strGetTestListNo = textBoxDispTestListVariantNo.Text;
//"SELECT * FROM [PROD_Release] WHERE No IN(SELECT No FROM [PROD_Release] WHERE [ProdNo_C] = '" + strGetProdC + "' AND [TestCodeNo] = "+ strGetTestCodeNo + " AND [VariantNo] = "+ strGetTestListNo + " ) ORDER BY No ASC;";
// 'C_ProdNo' // 'TestCodeNo' // 'VariantNo' // 'P_ProdNo' // 'FileVersion'
string strGetQueryText =
$"SELECT X.No, " +
$"X.ProdNo_C AS 'C_ProdNo', " +
$"Y.No AS 'TestCodeNo', " +
$"Y.TestCode, " +
$"Z.No AS 'VariantNo', " +
$"Z.ProdNo_P AS 'P_ProdNo', " +
$"J.TestType, " +
$"J.Version AS 'FileVersion', " +
$"J.ProdCode, " +
$"X.Config, " +
$"X.RegDT, " +
$"X.RegUser, " +
$"X.RegUserComment " +
$"FROM [PROD_Release] AS X " +
$"INNER JOIN [STAT_TestCode] AS Y WITH(NOLOCK) ON X.TestCodeNo = Y.No " +
$"INNER JOIN [PROD_Variant] AS Z WITH(NOLOCK) ON X.VariantNo = Z.No " +
$"INNER JOIN [STOR_TestListFile] AS J WITH(NOLOCK) ON Z.TestListFileNo = J.No " +
$"WHERE X.ProdNo_C = '" + strGetProdC + "' AND X.TestCodeNo = " + strGetTestCodeNo + " " +
$"ORDER BY No ASC;";
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtCheck))
{
bool bExistException = false;
bool bDetailInforSame = false;
string strTableProdNoC = dtCheck.Rows[0]["C_ProdNo"].ToString();
string strTableTestCode = dtCheck.Rows[0]["TestCode"].ToString();
string strTableTestType = dtCheck.Rows[0]["TestType"].ToString();
string strTableVersion = dtCheck.Rows[0]["FileVersion"].ToString();
string strTableProductionCode = dtCheck.Rows[0]["ProdCode"].ToString();
if (strGetProdC.CompareTo(strTableProdNoC) == 0 &&
strGetTestCode.CompareTo(strTableTestCode) == 0 &&
strGetTestType.CompareTo(strTableTestType) == 0 &&
strGetVersion.CompareTo(strTableVersion) == 0 &&
strGetProdCode.CompareTo(strTableProductionCode) == 0)
{
bExistException = true;
bDetailInforSame = true;
}
if(CurrentWizardMode == eSelectMode.Modify)
{
if (strGetProdC.CompareTo(strGetModifyProdCInfo) == 0 &&
strGetTestCodeNo.CompareTo(strGetModifyTestCodeInfo) == 0)
{
if(strGetTestListNo.CompareTo(strGetModifyTestListInfo) != 0)
{
if(bDetailInforSame)
bExistException = false;
}
else
bExistException = false;
}
}
if(bExistException)
throw new Exception($"ProdNo_C - TestCode - TestType - Version - ProductionCode Combine Key is information that already exists. : " +
$"{textBoxItem1.Text}" + " " + $"{textBoxDispTestCode.Text}" + " " + $"{textBoxDispInTestType.Text}" + " " + $"{textBoxDispInVersion.Text}" + " " + $"{textBoxDispInProdCode.Text}");
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
labelControlInfo1.Text = textBoxItem1.Text;
labelControlInfo2.Text = textBoxItem4.Text;
labelControlInfo3.Text = textBoxItem5_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo4.Text = textBoxItem6.Text;
labelControlInfo5.Text = textBoxItem7.Text;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
string strGetItemNum1 = textBoxDispTestCodeNo.Text;
string strGetItemNum2 = textBoxDispTestListVariantNo.Text;
DataTable dtTestList =
ctrlDB.GetTable($"SELECT X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, C.GroupName, C.ModelName, D.TestCode, D.Gate1, D.Gate2 FROM [PROD_Variant] AS X WITH(NOLOCK) " +
$"INNER JOIN(SELECT * FROM [PROD_Group] AS Y) AS C ON C.No = X.GroupNo " +
$"INNER JOIN(SELECT * FROM [STAT_TestCode] AS Z) AS D ON D.No = " + strGetItemNum1 + " " +
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
$"WHERE X.No = " + strGetItemNum2 + ";");
dataGridView.DataSource = dtTestList;
ctrlTestListRelInformation.ProdNo_C = textBoxItem1.Text;
ctrlTestListRelInformation.TestCodeNo = Commons.ConvertTextToTryValue<int>(strGetItemNum1, -1);
ctrlTestListRelInformation.VariantNo = Commons.ConvertTextToTryValue<int>(strGetItemNum2, -1);
ctrlTestListRelInformation.Config = textBoxItem4.Text;
ctrlTestListRelInformation.RegDT = textBoxItem5_Picker.Value;
ctrlTestListRelInformation.RegUser = textBoxItem6.Text;
ctrlTestListRelInformation.RegUserComment = textBoxItem7.Text;
}
}
}
private void buttonTestCodeChk_Click(object sender, EventArgs e)
{
TestCodeCheckResult = false;
textBoxDispTestCodeNo.Text = "";
textBoxDispTestCode.Text = "";
textBoxDispGate1.Text = "";
textBoxDispGate2.Text = "";
textBoxDispComment.Text = "";
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE TestCode = '" + textBoxTextCodeInput.Text + "' ORDER BY No ASC;");
if (XCommons.isHasRow(dtTestCode))
CheckTestCodeInfo(dtTestCode);
}
private void buttonTestListChk_Click(object sender, EventArgs e)
{
TestListCheckResult = false;
textBoxDispTestListVariantNo.Text = "";
textBoxDispTestListComment.Text = "";
textBoxDispTestListDescription.Text = "";
string strSetQueryText = $"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
$"WHERE X.ProdNo_P = '" + textBoxPProdNoInput.Text + "' ";
string strSetQueryEndText = "ORDER BY No ASC;";
if (textBoxDispInTestType.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.TestType = '" + textBoxDispInTestType.Text + "' ";
}
if (textBoxDispInVersion.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.Version = '" + textBoxDispInVersion.Text + "' ";
}
if (textBoxDispInProdCode.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.ProdCode = '" + textBoxDispInProdCode.Text + "' ";
}
if (textBoxDispInFileName.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "Y.FileName = '" + textBoxDispInFileName.Text + "' ";
}
strSetQueryText += strSetQueryEndText;
DataTable dtTestList = ctrlDB.GetTable(strSetQueryText);
if (XCommons.isHasRow(dtTestList))
{
if (CheckTestListInfo(dtTestList))
{
wizardPage.ActiveControl = textBoxItem4;
textBoxItem4.Focus();
}
}
}
private void button_Click(object sender, EventArgs e)
{
int nTag = Convert.ToInt32(((Control)sender).Tag);
switch(nTag)
{
case 0:
if (textBoxDispInTestType.ReadOnly) textBoxDispInTestType.ReadOnly = false;
else if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
break;
case 1:
if (textBoxDispInVersion.ReadOnly) textBoxDispInVersion.ReadOnly = false;
else if(textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
break;
case 2:
if (textBoxDispInProdCode.ReadOnly) textBoxDispInProdCode.ReadOnly = false;
else if(textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
break;
case 3:
if (textBoxDispInFileName.ReadOnly) textBoxDispInFileName.ReadOnly = false;
else if(textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
break;
}
}
private void textBoxDispIn_ReadOnlyChanged(object sender, EventArgs e)
{
int nTag = Convert.ToInt32(((Control)sender).Tag);
bool bReadOnly = ((TextBox)sender).ReadOnly;
switch (nTag)
{
case 0:
if (bReadOnly) button1.BackColor = Color.Transparent;
else button1.BackColor = Color.Yellow; textBoxDispInTestType.Focus();
break;
case 1:
if (bReadOnly) button2.BackColor = Color.Transparent;
else button2.BackColor = Color.Yellow; textBoxDispInVersion.Focus();
break;
case 2:
if (bReadOnly) button3.BackColor = Color.Transparent;
else button3.BackColor = Color.Yellow; textBoxDispInProdCode.Focus();
break;
case 3:
if (bReadOnly) button4.BackColor = Color.Transparent;
else button4.BackColor = Color.Yellow; textBoxDispInFileName.Focus();
break;
}
}
private void checkBoxAutoComplete_CheckedChanged(object sender, EventArgs e)
{
if (checkBoxAutoComplete.Checked == false)
{
textBoxPProdNoInput.AutoCompleteCustomSource = null;
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.None;
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.None;
}
else
{
/*if (checkBoxAutoComplete.Checked != true || textBoxPProdNoInput.Text.Length <= 0)
return;*/
//WHERE ProdNo_P LIKE '%" + textBoxPProdNoInput.Text + "%'
DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, ProdNo_P FROM [PROD_Variant] ORDER BY No ASC;");
if (dtProdNoP == null)
return;
/*
int nDataPos = 0;
string[] strData = new string[dtProdNoP.Rows.Count];
foreach (DataRow dr in dtProdNoP.Rows)
{
strData[nDataPos] = dr["ProdNo_P"].ToString();
nDataPos++;
}
*/
string[] postSource = dtProdNoP
.AsEnumerable()
.Select<System.Data.DataRow, string>(x => x.Field<string>("ProdNo_P"))
.ToArray();
var source = new AutoCompleteStringCollection();
source.AddRange(postSource);
textBoxPProdNoInput.AutoCompleteCustomSource = source;
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.Suggest;
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.CustomSource;
}
}
private void textBoxPProdNoInput_TextChanged(object sender, EventArgs e)
{
TestListCheckResult = false;
textBoxPProdNoInput.BackColor = Color.Yellow;
textBoxDispInTestType.Text = "";
textBoxDispInVersion.Text = "";
textBoxDispInProdCode.Text = "";
textBoxDispInFileName.Text = "";
}
private void textBoxDispIn_TextChanged(object sender, EventArgs e)
{
TestListCheckResult = false;
textBoxPProdNoInput.BackColor = Color.Yellow;
}
private void textBoxTextCodeInput_TextChanged(object sender, EventArgs e)
{
TestCodeCheckResult = false;
textBoxTextCodeInput.BackColor = Color.Yellow;
}
private void comboBoxTestCodeList_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBoxTestCodeList.SelectedIndex > 0)
{
textBoxTextCodeInput.Text = comboBoxTestCodeList.Items[comboBoxTestCodeList.SelectedIndex].ToString();
TestCodeCheckResult = false;
textBoxTextCodeInput.BackColor = Color.Yellow;
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxItem1;
textBoxItem1.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,967 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.ComboBox;
using SystemX.Product.ALIS.Interface;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using PsKGaudi;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi.Parser.PsCCSSTDFn;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using static PsKGaudi.Parser.PsCCS;
using static CpCommon.ExceptionHandler;
using SystemX.Common;
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
using SystemX.Common.Archive;
using SystemX.Product.PTS.UI.View.Test_List.Infos;
using DevExpress.XtraWizard;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class TestListVariantCopyWizard : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private CVariantInformation CopyTestListVariant;
private List<CVariantInformation> lstCopyInsertSetTestListVariant;
private CVariantInformation MakeInformation;
private DataTable dtCurrentDataTable;
//private CpTestlistLoad loadTestListProc;
//private bool bModifyFirstLoad;
private int nSelectedTestListFileNo;
private string[] strSelectedTestListFileVariantList;
public int GetInsertSize()
{
return lstCopyInsertSetTestListVariant.Count;
}
public IEnumerable<CVariantInformation> GetInsertList()
{
foreach (CVariantInformation info in lstCopyInsertSetTestListVariant)
{
yield return info;
}
}
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "PROD TestList-Variant [Copy And Paste]";
private string strWizardControl = "PROD TestList-Variant";
private string strWelcomeWizard = "Welcome to the PROD TestList-Variant [Copy And Paste] wizard!";
private string strWizardPage = "PROD TestList Information";
private int nReadyViewSelectRow { set; get; } = -1;
private bool GroupCheckResult { set; get; } = false;
private int nNowSelectGroupNo { set; get; } = -1;
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
private void RefreshReadyGridView()
{
dataGridViewReady.DataSource = dtCurrentDataTable;
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
dataGridViewReady.Refresh();
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
this.ActiveControl = textBoxItem1;
textBoxItem1.Focus();
if (string.IsNullOrEmpty(textBoxItem1.Text) == false)
{
textBoxItem1.SelectionStart = textBoxItem1.Text.Length;
textBoxItem1.SelectionLength = 0;
}
}
private void RefreshResultGridView()
{
dataGridViewResult.DataSource = dtCurrentDataTable;
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
dataGridViewResult.Refresh();
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
}
private void AddResultList(DataRow dr)
{
CVariantInformation InformationTemp = new CVariantInformation();
InformationTemp.ProdNo_P = dr.Field<string>("ProdNo_P");
InformationTemp.TestType = dr.Field<string>("TestType");
InformationTemp.Version = dr.Field<string>("Version");
InformationTemp.ProdCode = dr.Field<string>("ProdCode");
InformationTemp.FileName = dr.Field<string>("FileName");
InformationTemp.TestListFileNo = nSelectedTestListFileNo;
InformationTemp.RegDT = DateTime.Now;
InformationTemp.RegUser = ctrlDB.GetLoginInfo().UserID;
InformationTemp.UpdateDT = DateTime.Now;
InformationTemp.UpdateUser = ctrlDB.GetLoginInfo().UserID;
InformationTemp.GroupNo = dr.Field<int>("GroupNo");
InformationTemp.Comment = dr.Field<string>("Comment");
InformationTemp.Description = dr.Field<string>("Description");
lstCopyInsertSetTestListVariant.Add(InformationTemp);
}
public TestListVariantCopyWizard(IDataController ctrlDB, eSelectMode setMode, CVariantInformation getSelTestListVariantInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
CurrentWizardMode = setMode;
CopyTestListVariant = getSelTestListVariantInfo.Clone() as CVariantInformation;
lstCopyInsertSetTestListVariant = new List<CVariantInformation>();
this.ctrlDB = ctrlDB;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to copy and paste into the " + strWizardControl + " table.";
wizardControl.Text = strTitle + " - Information";
this.Text = strTitle + " - Information";
break;
case eSelectMode.Modify:
break;
}
GetGroupList();
CheckGroupInfo("SELECT * FROM PROD_Group WHERE No = " + CopyTestListVariant.GroupNo + " ORDER BY No ASC;");
MakeInformation = new CVariantInformation();
dtCurrentDataTable = MakeDataTable();
/*DataRow[] setMakeDataRows = new DataRow[1]; //DataRow[CopyTestListVariant.Count];
dtCurrentDataTable = MakeDataTable();
for (int i = 0; i < 1; *//*CopyTestListVariant.Count;*//* i++)
{
setMakeDataRows[i] = dtCurrentDataTable.NewRow();
setMakeDataRows[i]["No"] = i + 1;
setMakeDataRows[i]["ProdNo_P"] = CopyTestListVariant.ProdNo_P;
setMakeDataRows[i]["TestType"] = CopyTestListVariant.TestType;
setMakeDataRows[i]["Version"] = CopyTestListVariant.Version;
setMakeDataRows[i]["ProdCode"] = CopyTestListVariant.ProdCode;
setMakeDataRows[i]["FileName"] = CopyTestListVariant.FileName;
setMakeDataRows[i]["RegDT"] = DateTime.Now;
setMakeDataRows[i]["RegUser"] = ctrlDB.GetLoginInfo().UserID;
setMakeDataRows[i]["UpdateDT"] = DateTime.Now;
setMakeDataRows[i]["UpdateUser"] = ctrlDB.GetLoginInfo().UserID;
setMakeDataRows[i]["GroupNo"] = CopyTestListVariant.GroupNo;
setMakeDataRows[i]["GroupName"] = textBoxDispGroupName.Text;
setMakeDataRows[i]["ModelName"] = textBoxDispModelName.Text;
setMakeDataRows[i]["Comment"] = CopyTestListVariant.Comment;
setMakeDataRows[i]["Description"] = CopyTestListVariant.Description;
dtCurrentDataTable.Rows.Add(setMakeDataRows[i]);
}*/
textBoxModify1.Text = CopyTestListVariant.ProdNo_P;
textBoxModify2.Text = CopyTestListVariant.TestType;
textBoxModify3.Text = CopyTestListVariant.Version;
textBoxModify4.Text = CopyTestListVariant.ProdCode;
textBoxModify5.Text = CopyTestListVariant.FileName;
textBoxModify6.Text = textBoxDispGroupName.Text;
textBoxModify7.Text = textBoxDispModelName.Text;
textBoxModify8.Text = CopyTestListVariant.Comment;
textBoxModify9.Text = CopyTestListVariant.Description;
//bModifyFirstLoad = false;
string strGetQueryText = $"SELECT No FROM [PROD_Variant] WHERE ProdNo_P = '" + CopyTestListVariant.ProdNo_P + "' AND " +
$"TestListFileNo = " + CopyTestListVariant.TestListFileNo + " AND " +
$"GroupNo = " + CopyTestListVariant.GroupNo + ";";
DataTable dtResult = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtResult))
{
strGetQueryText = "SELECT * FROM [HIST_TestListFileVariantList] AS X WHERE TestListFileNo = " + CopyTestListVariant.TestListFileNo + ";";
DataTable dtVariantList = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtVariantList))
{
nSelectedTestListFileNo = CopyTestListVariant.TestListFileNo;
comboBoxVariant.BeginUpdate();
comboBoxVariant.Items.Clear();
comboBoxVariant.Refresh();
comboBoxVariant.Items.Add("Select Variant ...");
strSelectedTestListFileVariantList = dtVariantList.Rows[0]["VariantList"].ToString().Split(';');
foreach (string strVariant in strSelectedTestListFileVariantList)
comboBoxVariant.Items.Add(strVariant);
comboBoxVariant.SelectedIndex = 0;
comboBoxVariant.EndUpdate();
labelDispLoadResult.Text = "Test-list data verification completed.";
labelDispLoadResult.BackColor = Color.LimeGreen;
comboBoxVariant.Visible = true;
}
}
}
private void TestListCopyWizard_Load(object sender, EventArgs e)
{
RefreshReadyGridView();
textBoxItem6_Picker.Value = DateTime.Now;
textBoxItem8_Picker.Value = DateTime.Now;
textBoxItem1.Text = CopyTestListVariant.ProdNo_P;
textBoxItem2.Text = CopyTestListVariant.TestType;
textBoxItem3.Text = CopyTestListVariant.Version;
textBoxItem4.Text = CopyTestListVariant.ProdCode;
textBoxItem5.Text = CopyTestListVariant.FileName;
textBoxItem11.Text = CopyTestListVariant.Comment;
textBoxItem12.Text = CopyTestListVariant.Description;
textBoxItem7.Text = ctrlDB.GetLoginInfo().UserID;
textBoxItem9.Text = ctrlDB.GetLoginInfo().UserID;
}
/*
public void CompleteTestListLoad(object sender, EventArgs e)
{
bool bLoadResult = (bool)sender;
if (bLoadResult)
{
Invoke((MethodInvoker)delegate ()
{
textBoxItem2.Text = loadTestListProc.psGaudiInfo.psTestListInfo.Type;
textBoxItem3.Text = loadTestListProc.psGaudiInfo.psFileInfo.FileVersion;
textBoxItem4.Text = loadTestListProc.psGaudiInfo.psFileInfo.FileType;
textBoxItem5.Text = CopyTestList.FileName; //loadTestListProc.psGaudiInfo.psFileInfo.FileName;
comboBoxVariant.BeginUpdate();
comboBoxVariant.Items.Clear();
comboBoxVariant.Refresh();
comboBoxVariant.Items.Add("Select Variant ...");
foreach (KeyValuePair<string, string> kvp in loadTestListProc.psGaudiInfo.psVariantTable.GetStrVariantTable)
comboBoxVariant.Items.Add(kvp.Key);
comboBoxVariant.SelectedIndex = 0;
comboBoxVariant.EndUpdate();
labelDispLoadResult.Text = "Test-list data verification completed.";
labelDispLoadResult.BackColor = Color.LimeGreen;
textBoxItem11.Text = CopyTestList.Comment;
textBoxItem12.Text = loadTestListProc.GetTestListDescription();
comboBoxVariant.Visible = true;
});
}
else
{
Invoke((MethodInvoker)delegate ()
{
labelDispLoadResult.Text = "Failed to check test-list data.";
labelDispLoadResult.BackColor = Color.Red;
});
}
}
*/
private DataTable MakeDataTable()
{
// Create a new DataTable titled 'Names.'
DataTable logTable = new DataTable("TempTable");
// Add three column objects to the table.
DataColumn Column0 = new DataColumn();
Column0.DataType = System.Type.GetType("System.Int64");
Column0.ColumnName = "No";
Column0.AutoIncrement = true;
Column0.AllowDBNull = false;
logTable.Columns.Add(Column0);
DataColumn Column1 = new DataColumn();
Column1.DataType = System.Type.GetType("System.String");
Column1.ColumnName = "ProdNo_P";
Column1.AutoIncrement = false;
Column1.AllowDBNull = false;
logTable.Columns.Add(Column1);
DataColumn Column2 = new DataColumn();
Column2.DataType = System.Type.GetType("System.String");
Column2.ColumnName = "TestType";
Column2.AutoIncrement = false;
Column2.AllowDBNull = false;
logTable.Columns.Add(Column2);
DataColumn Column00 = new DataColumn();
Column00.DataType = System.Type.GetType("System.String");
Column00.ColumnName = "Version";
Column00.AutoIncrement = false;
Column00.AllowDBNull = false;
logTable.Columns.Add(Column00);
DataColumn Column3 = new DataColumn();
Column3.DataType = System.Type.GetType("System.String");
Column3.ColumnName = "ProdCode";
Column3.AutoIncrement = false;
Column3.AllowDBNull = false;
logTable.Columns.Add(Column3);
DataColumn Column01 = new DataColumn();
Column01.DataType = System.Type.GetType("System.String");
Column01.ColumnName = "FileName";
Column01.AutoIncrement = false;
Column01.AllowDBNull = false;
logTable.Columns.Add(Column01);
DataColumn Column02 = new DataColumn();
Column02.DataType = System.Type.GetType("System.DateTime");
Column02.ColumnName = "RegDT";
Column02.AutoIncrement = false;
Column02.AllowDBNull = true;
Column02.DefaultValue = DateTime.Now;
logTable.Columns.Add(Column02);
DataColumn Column03 = new DataColumn();
Column03.DataType = System.Type.GetType("System.String");
Column03.ColumnName = "RegUser";
Column03.AutoIncrement = false;
Column03.AllowDBNull = true;
logTable.Columns.Add(Column03);
DataColumn Column04 = new DataColumn();
Column04.DataType = System.Type.GetType("System.DateTime");
Column04.ColumnName = "UpdateDT";
Column04.AutoIncrement = false;
Column04.AllowDBNull = true;
Column04.DefaultValue = DateTime.Now;
logTable.Columns.Add(Column04);
DataColumn Column4 = new DataColumn();
Column4.DataType = System.Type.GetType("System.String");
Column4.ColumnName = "UpdateUser";
Column4.AutoIncrement = false;
Column4.AllowDBNull = false;
logTable.Columns.Add(Column4);
DataColumn Column5 = new DataColumn();
Column5.DataType = System.Type.GetType("System.Int32");
Column5.ColumnName = "GroupNo";
Column5.AutoIncrement = false;
Column5.AllowDBNull = true;
logTable.Columns.Add(Column5);
DataColumn Column6 = new DataColumn();
Column6.DataType = System.Type.GetType("System.String");
Column6.ColumnName = "GroupName";
Column6.AutoIncrement = false;
Column6.AllowDBNull = true;
logTable.Columns.Add(Column6);
DataColumn Column7 = new DataColumn();
Column7.DataType = System.Type.GetType("System.String");
Column7.ColumnName = "ModelName";
Column7.AutoIncrement = false;
Column7.AllowDBNull = true;
logTable.Columns.Add(Column7);
DataColumn Column8 = new DataColumn();
Column8.DataType = System.Type.GetType("System.String");
Column8.ColumnName = "Comment";
Column8.AutoIncrement = false;
Column8.AllowDBNull = true;
logTable.Columns.Add(Column8);
DataColumn Column9 = new DataColumn();
Column9.DataType = System.Type.GetType("System.String");
Column9.ColumnName = "Description";
Column9.AutoIncrement = false;
Column9.AllowDBNull = true;
logTable.Columns.Add(Column9);
// Create an array for DataColumn objects.
DataColumn[] keys = new DataColumn[1];
keys[0] = Column0;
logTable.PrimaryKey = keys;
// Return the new DataTable.
return logTable;
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
lock (objInfoControlNextLock)
{
if (wizardControl.SelectedPageIndex == 0)
{
/*
if (bModifyFirstLoad == false)
{
labelDispLoadResult.Text = "Loading ...";
labelDispLoadResult.BackColor = Color.Yellow;
loadTestListProc = new CpTestlistLoad();
loadTestListProc.TestListLoadResultEvent += CompleteTestListLoad;
loadTestListProc.ExcuteTestListLoad(CopyTestList);
bModifyFirstLoad = true;
}
*/
}
if (wizardControl.SelectedPageIndex == 1)
{
richTextBoxErr.Clear();
bool bCheckInformationResult = true;
StringBuilder sb = new StringBuilder();
lstCopyInsertSetTestListVariant = new List<CVariantInformation>();
lstCopyInsertSetTestListVariant.Clear();
string strItemName = string.Empty;
try
{
/*
if (loadTestListProc.GetTestListLoadState() == false)
throw new Exception("The test list is loading or there is no information on the selected test list.");
*/
int nRowPos = 0;
foreach (DataRow dr in dtCurrentDataTable.Rows)
{
string strGetProdP = dr.Field<string>("ProdNo_P");
string strGetTestType = dr.Field<string>("TestType");
string strGetFileVersion = dr.Field<string>("Version");
string strGetProdCode = dr.Field<string>("ProdCode");
string strGetFileName = dr.Field<string>("FileName");
bool bFindVariant = false;
foreach (string strVariant in strSelectedTestListFileVariantList)
{
if (strVariant.CompareTo(strGetProdP) == 0)
{
bFindVariant = true;
break;
}
}
if (bFindVariant == false)
{
sb.AppendLine($"<Row : {nRowPos + 1}> P_ProdNo that does not exist in the test-list data(Variant). : {strGetProdP}");
bCheckInformationResult = false;
}
/*
string strGetQueryText = "SELECT * FROM [PROD_Variant] WHERE No IN(SELECT No FROM [PROD_Variant] WHERE [ProdNo_P] = '" + strGetProdP + "' " +
"AND [TestType] = '" + strGetTestType + "' " +
"AND [Version] = '" + strGetFileVersion + "' " +
"AND [FileName] = '" + strGetFileName + "' " +
") ORDER BY No ASC;";
*/
//Variant Duplicate Check
string strGetQueryText = "SELECT * FROM [PROD_Variant] WHERE No IN(SELECT No FROM [PROD_Variant] WHERE [ProdNo_P] = '" + strGetProdP + "' " +
"AND [TestListFileNo] = " + nSelectedTestListFileNo +
") ORDER BY No ASC;";
DataTable dtVariantCheck = ctrlDB.GetTable(strGetQueryText);
strGetQueryText = "SELECT No, Name, TestType, Version, ProdCode, FileName FROM [STOR_TestListFile] WHERE No = " + nSelectedTestListFileNo + ";";
DataTable dtTestListFIleCheck = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtVariantCheck))
{
bool bExistException = false;
string strGetTableProdP = dtVariantCheck.Rows[0]["ProdNo_P"].ToString();
string strGetTableTestType = dtTestListFIleCheck.Rows[0]["TestType"].ToString();
string strGetTableFileVersion = dtTestListFIleCheck.Rows[0]["Version"].ToString();
string strGetTableProdCode = dtTestListFIleCheck.Rows[0]["ProdCode"].ToString();
string strGetTableFileName = dtTestListFIleCheck.Rows[0]["FileName"].ToString();
if (strGetProdP.CompareTo(strGetTableProdP) == 0 &&
strGetTestType.CompareTo(strGetTableTestType) == 0 &&
strGetFileVersion.CompareTo(strGetTableFileVersion) == 0 &&
strGetFileName.CompareTo(strGetTableFileName) == 0)
bExistException = true;
if (bExistException)
{
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_P]-[TestType]-[FileVersion]-[FileName] Combine Key is information that already exists. : " +
$"{strGetProdP}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");
bCheckInformationResult = false;
}
}
else
{
string strScanInfo = strGetProdP + strGetTestType + strGetFileVersion + strGetFileName;
for (int i = 0; i < dtCurrentDataTable.Rows.Count; i++)
{
if (i == nRowPos)
continue;
string CompareProdNoP = dtCurrentDataTable.Rows[i].Field<string>("ProdNo_P");
string CompareTestType = dtCurrentDataTable.Rows[i].Field<string>("TestType");
string CompareTestFileVer = dtCurrentDataTable.Rows[i].Field<string>("Version");
string CompareFileName = dtCurrentDataTable.Rows[i].Field<string>("FileName");
string strCompareInfo = CompareProdNoP + CompareTestType + CompareTestFileVer + CompareFileName;
if (strScanInfo.CompareTo(strCompareInfo) == 0)
{
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_P]-[TestType]-[FileVersion]-[FileName] Combine Key is information that already exists. in registration waiting list. : " +
$"{strGetProdP}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");
bCheckInformationResult = false;
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
}
}
}
AddResultList(dr);
nRowPos++;
}
if (bCheckInformationResult == false)
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
richTextBoxErr.AppendText(sb.ToString());
e.Handled = true;
return;
}
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
break;
case eSelectMode.Modify:
break;
}
RefreshResultGridView();
}
}
}
private bool CheckRowSelectInfo(int nIndex)
{
object objHandle = null;
bool bCheckResult = true;
if ((dataGridViewReady.Rows.Count - 1) == nIndex)
return false;
try
{
objHandle = dataGridViewReady.Rows[nIndex].Cells["No"].Value.ToString();
}
catch
{
objHandle = null;
bCheckResult = false;
}
finally
{
;//
}
return bCheckResult;
}
private void ClearListSelect()
{
labelReadyViewInfo.Text = "-";
nReadyViewSelectRow = -1;
}
private void GetGroupList()
{
SqlDataReader reader;
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WITH(NOLOCK) ORDER BY No ASC;";
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Load(reader);
ds.Tables.Add(dt);
reader.Close();
comboBoxGroupList.Items.Clear();
if (XCommons.isHasRow(ds))
{
comboBoxGroupList.Items.Add("Select Model Name(Group) ...");
comboBoxGroupList.SelectedIndex = 0;
for (int i = 0; i < dt.Rows.Count; i++)
comboBoxGroupList.Items.Add(dt.Rows[i]["ModelName"].ToString());
}
}
private bool CheckGroupInfo(string strQueryText = "")
{
SqlDataReader reader;
if (strQueryText.Length > 0)
ctrlDB.GetConnSqlCmd().CommandText = strQueryText;
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Load(reader);
ds.Tables.Add(dt);
reader.Close();
if (XCommons.isHasRow(ds))
{
textBoxDispGroupNo.Text = dt.Rows[0][0].ToString();
nNowSelectGroupNo = Convert.ToInt32(textBoxDispGroupNo.Text);
textBoxDispGroupName.Text = dt.Rows[0][1].ToString();
textBoxDispModelName.Text = dt.Rows[0][2].ToString();
textBoxDispComment.Text = dt.Rows[0][3].ToString();
textBoxInputModelName.Text = dt.Rows[0][2].ToString();
GroupCheckResult = true;
textBoxInputModelName.BackColor = Color.LimeGreen;
return true;
}
else
{
nNowSelectGroupNo = -1;
textBoxInputModelName.BackColor = Color.Red;
return false;
}
}
private void GridViewSelectedProc(int nRow)
{
nReadyViewSelectRow = nRow;
labelReadyViewInfo.Text = "Select Row : " + (nReadyViewSelectRow + 1).ToString();
if (CheckRowSelectInfo(nReadyViewSelectRow))
{
;//
}
else
ClearListSelect();
}
private void dataGridViewReady_CellClick(object sender, DataGridViewCellEventArgs e)
{
GridViewSelectedProc(e.RowIndex);
}
private void dataGridViewReady_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
/*
if (loadTestListProc.CheckTestListLoad() == false)
return;
*/
if (CheckRowSelectInfo(nReadyViewSelectRow))
{
MakeInformation.ProdNo_P = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["ProdNo_P"].Value.ToString();
MakeInformation.TestType = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["TestType"].Value.ToString();
MakeInformation.Version = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Version"].Value.ToString();
MakeInformation.ProdCode = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["ProdCode"].Value.ToString();
MakeInformation.FileName = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["FileName"].Value.ToString();
MakeInformation.RegDT = Convert.ToDateTime(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegDT"].Value);
MakeInformation.RegUser = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegUser"].Value.ToString();
MakeInformation.UpdateDT = Convert.ToDateTime(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["UpdateDT"].Value);
MakeInformation.UpdateUser = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["UpdateUser"].Value.ToString();
MakeInformation.GroupNo = Convert.ToInt32(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["GroupNo"].Value);
MakeInformation.Comment = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Comment"].Value.ToString();
MakeInformation.Description = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Description"].Value.ToString();
textBoxItem1.Text = MakeInformation.ProdNo_P;
textBoxItem2.Text = MakeInformation.TestType;
textBoxItem3.Text = MakeInformation.Version;
textBoxItem4.Text = MakeInformation.ProdCode;
textBoxItem11.Text = MakeInformation.Comment;
CheckGroupInfo("SELECT * FROM PROD_Group WHERE No = " + MakeInformation.GroupNo + " ORDER BY No ASC;");
}
}
private void buttonAdd_Click(object sender, EventArgs e)
{
/*
if (loadTestListProc.CheckTestListLoad() == false)
return;
*/
if (GroupCheckResult == false)
return;
DataRow setMakeDataRows = null;
setMakeDataRows = dtCurrentDataTable.NewRow();
setMakeDataRows["No"] = dtCurrentDataTable.Rows.Count + 1;
setMakeDataRows["ProdNo_P"] = textBoxItem1.Text;
setMakeDataRows["TestType"] = textBoxItem2.Text;
setMakeDataRows["Version"] = textBoxItem3.Text;
setMakeDataRows["ProdCode"] = textBoxItem4.Text;
setMakeDataRows["FileName"] = textBoxItem5.Text;
setMakeDataRows["RegDT"] = DateTime.Now;
setMakeDataRows["RegUser"] = textBoxItem7.Text;
setMakeDataRows["UpdateDT"] = DateTime.Now;
setMakeDataRows["UpdateUser"] = textBoxItem9.Text;
setMakeDataRows["GroupNo"] = nNowSelectGroupNo;
setMakeDataRows["GroupName"] = textBoxDispGroupName.Text;
setMakeDataRows["ModelName"] = textBoxDispModelName.Text;
setMakeDataRows["Comment"] = textBoxItem11.Text;
setMakeDataRows["Description"] = textBoxItem12.Text;
dtCurrentDataTable.Rows.Add(setMakeDataRows);
RefreshReadyGridView();
}
private void buttonDelete_Click(object sender, EventArgs e)
{
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
return;
dtCurrentDataTable.Rows.RemoveAt(nReadyViewSelectRow);
RefreshReadyGridView();
}
private void buttonModify_Click(object sender, EventArgs e)
{
/*
if (loadTestListProc.CheckTestListLoad() == false)
return;
*/
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
return;
if (GroupCheckResult == false)
return;
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdNo_P", textBoxItem1.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("TestType", textBoxItem2.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Version", textBoxItem3.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdCode", textBoxItem4.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("FileName", textBoxItem5.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<DateTime>("RegDT", DateTime.Now);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("RegUser", textBoxItem7.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<DateTime>("UpdateDT", DateTime.Now);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("UpdateUser", textBoxItem9.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<int>("GroupNo", nNowSelectGroupNo);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("GroupName", textBoxDispGroupName.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ModelName", textBoxDispModelName.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Comment", textBoxItem11.Text);
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Description", textBoxItem12.Text);
RefreshReadyGridView();
}
private void TestListCopyWizard_FormClosing(object sender, FormClosingEventArgs e)
{
/*
if (loadTestListProc != null)
{
if (loadTestListProc.CheckTestListLoad() == false)
{
this.DialogResult = DialogResult.None;
e.Cancel = true;
}
}
*/
}
private void wizardControl_CancelClick(object sender, CancelEventArgs e)
{
/*
if (loadTestListProc != null)
{
if (loadTestListProc.CheckTestListLoad() == false)
{
this.DialogResult = DialogResult.None;
e.Cancel = true;
}
}
*/
}
private void buttonGroupChk_Click(object sender, EventArgs e)
{
/*
if (loadTestListProc.CheckTestListLoad() == false)
return;
*/
GroupCheckResult = false;
textBoxDispGroupNo.Text = "";
textBoxDispGroupName.Text = "";
textBoxDispModelName.Text = "";
textBoxDispComment.Text = "";
CheckGroupInfo("SELECT * FROM PROD_Group WHERE ModelName = '" + textBoxInputModelName.Text + "' ORDER BY No ASC;");
}
private void comboBoxVariant_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBoxVariant.SelectedIndex > 0)
textBoxItem1.Text = comboBoxVariant.Items[comboBoxVariant.SelectedIndex].ToString();
}
private void textBoxInputModelName_TextChanged(object sender, EventArgs e)
{
GroupCheckResult = false;
textBoxInputModelName.BackColor = Color.Yellow;
}
private void comboBoxGroupList_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBoxGroupList.SelectedIndex > 0)
{
textBoxInputModelName.Text = comboBoxGroupList.Items[comboBoxGroupList.SelectedIndex].ToString();
GroupCheckResult = false;
textBoxInputModelName.BackColor = Color.Yellow;
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxItem1;
textBoxItem1.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
private void dataGridViewReady_KeyPress(object sender, KeyPressEventArgs e)
{
byte ucGetChar = Convert.ToByte(e.KeyChar);
switch (ucGetChar)
{
case 32:
if (dataGridViewReady.SelectedRows.Count > 0)
{
int nRow = dataGridViewReady.SelectedRows[0].Index;
GridViewSelectedProc(nRow);
}
break;
case 27:
this.ActiveControl = buttonDelete;
buttonDelete.Focus();
break;
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,783 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.ComboBox;
using SystemX.Product.ALIS.Interface;
using SystemX.Common.Archive;
using CpApplication;
using CpApplication.Manager;
using CpCommon;
using CpTesterPlatform.CpLogUtil;
using static PsCommon.PsCommon;
using PsKGaudi;
using PsKGaudi.Parser.PsCCSArea;
using PsKGaudi.Parser.PsCCSSTDFn;
using PsKGaudi.Parser.MacroModuleSkel;
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
using static PsKGaudi.Parser.PsCCS;
using static CpCommon.ExceptionHandler;
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
using SystemX.Common;
namespace SystemX.Product.ALIS.UI.View.InfoList
{
public partial class TestListVariantInfoEdit : Form
{
public eSelectMode CurrentWizardMode { internal set; get; }
private CVariantInformation SelTestListVariantInfo;
private IDataController ctrlDB;
private static object objInfoControlNextLock = new object();
private int nSelectedTestListFileNo;
private string[] strSelectedTestListFileVariantList;
private string strGetModifyProdP;
private string strGetModifyTestType;
private string strGetModifyFileVersion;
private string strGetModifyFileName;
public enum eSelectMode
{
Insert = 0,
Modify
}
private string strTitle = "PROD TestList-Variant";
private string strWizardControl = "PROD TestList-Variant";
private string strWelcomeWizard = "Welcome to the PROD TestList-Variant wizard!";
private string strWizardPage = "PROD TestList Information";
public void WizardCancelEvent(object sender, EventArgs e)
{
if (((bool)sender) == false)
this.DialogResult = DialogResult.Cancel;
}
private bool TestListFileCheckResult { set; get; } = false;
private bool GroupCheckResult { set; get; } = false;
private void GetGroupList()
{
SqlDataReader reader;
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WITH(NOLOCK) ORDER BY No ASC;";
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Load(reader);
ds.Tables.Add(dt);
reader.Close();
comboBoxGroupList.Items.Clear();
if (XCommons.isHasRow(ds))
{
comboBoxGroupList.Items.Add("Select Model Name(Group) ...");
comboBoxGroupList.SelectedIndex = 0;
for (int i = 0; i < dt.Rows.Count; i++)
comboBoxGroupList.Items.Add(dt.Rows[i]["ModelName"].ToString());
}
}
private bool CheckGroupInfo()
{
SqlDataReader reader;
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Load(reader);
ds.Tables.Add(dt);
reader.Close();
if (XCommons.isHasRow(ds))
{
textBoxDispGroupNo.Text = dt.Rows[0][0].ToString();
textBoxDispGroupName.Text = dt.Rows[0][1].ToString();
textBoxDispModelName.Text = dt.Rows[0][2].ToString();
textBoxDispComment.Text = dt.Rows[0][3].ToString();
textBoxInputModelName.Text = dt.Rows[0][2].ToString();
GroupCheckResult = true;
textBoxInputModelName.BackColor = Color.LimeGreen;
return true;
}
else
{
textBoxInputModelName.BackColor = Color.Red;
return false;
}
}
public TestListVariantInfoEdit(IDataController ctrlDB, eSelectMode setMode, CVariantInformation getSelTestListInfo)
{
InitializeComponent();
this.Text = strTitle;
wizardControl.Text = strWizardControl;
welcomeWizardPage.Text = strWelcomeWizard;
wizardPage.Text = strWizardPage;
//
CurrentWizardMode = setMode;
SelTestListVariantInfo = getSelTestListInfo;
this.ctrlDB = ctrlDB;
GetGroupList();
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Insert";
this.Text = strTitle + " - Insert";
textBoxItem6_Picker.Value = SelTestListVariantInfo.RegDT;
textBoxItem7.Text = SelTestListVariantInfo.RegUser;
textBoxItem8_Picker.Value = SelTestListVariantInfo.UpdateDT;
textBoxItem9.Text = SelTestListVariantInfo.UpdateUser;
break;
case eSelectMode.Modify:
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
wizardControl.Text = strTitle + " - Modify";
this.Text = strTitle + " - Modify";
textBoxItem1.Text = SelTestListVariantInfo.ProdNo_P;
textBoxItem6_Picker.Value = SelTestListVariantInfo.RegDT;
textBoxItem7.Text = SelTestListVariantInfo.RegUser;
textBoxItem8_Picker.Value = SelTestListVariantInfo.UpdateDT;
textBoxItem9.Text = SelTestListVariantInfo.UpdateUser;
strGetModifyProdP = SelTestListVariantInfo.ProdNo_P;
strGetModifyTestType = SelTestListVariantInfo.TestType;
strGetModifyFileVersion = SelTestListVariantInfo.Version;
strGetModifyFileName = SelTestListVariantInfo.FileName;
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WHERE No = " + SelTestListVariantInfo.GroupNo + " ORDER BY No ASC;";
CheckGroupInfo();
textBoxItem11.Text = SelTestListVariantInfo.Comment;
textBoxItem12.Text = SelTestListVariantInfo.Description;
//View Modify SHow
textBoxModify1.Text = SelTestListVariantInfo.ProdNo_P;
textBoxModify2.Text = SelTestListVariantInfo.TestType;
textBoxModify3.Text = SelTestListVariantInfo.Version;
textBoxModify4.Text = SelTestListVariantInfo.ProdCode;
textBoxModify5.Text = SelTestListVariantInfo.FileName;
textBoxModify6.Text = textBoxDispGroupName.Text;
textBoxModify7.Text = textBoxDispModelName.Text;
textBoxModify8.Text = SelTestListVariantInfo.Comment;
textBoxModify9.Text = SelTestListVariantInfo.Description;
textBoxTestListFileNameInput.Text = SelTestListVariantInfo.FileName; //SelTestListVariantInfo.TestListName;
textBoxDispInTestType.Text = SelTestListVariantInfo.TestType;
textBoxDispInVersion.Text = SelTestListVariantInfo.Version;
textBoxDispInProdCode.Text = SelTestListVariantInfo.ProdCode;
textBoxDispInFileName.Text = SelTestListVariantInfo.FileName;
DataTable dtTestList = ScanTestListFileCheck();
if (XCommons.isHasRow(dtTestList))
if (CheckTestListFileInfo(dtTestList))
SetVariantList();
panelModify.Visible = true;
break;
}
}
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
{
lock (objInfoControlNextLock)
{
if (wizardControl.SelectedPageIndex == 0)
{
if (CurrentWizardMode == eSelectMode.Modify)
{
;//
}
}
else if (wizardControl.SelectedPageIndex == 1)
{
try
{
groupBoxTestList.Enabled = false;
groupBoxGroup.Enabled = false;
string strItemName = "";
if (textBoxItem1.Text.Length <= 0) { strItemName = "ProdNo_P"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
if (TestListFileCheckResult == false) { strItemName = "TestList File"; throw new Exception($"The value must be input and check. [" + strItemName + "]"); }
if (GroupCheckResult == false) { strItemName = "Group No"; throw new Exception($"The value must be input and check. [" + strItemName + "]"); }
bool bFindVariant = false;
foreach (string strVariant in strSelectedTestListFileVariantList)
{
if (strVariant.CompareTo(textBoxItem1.Text) == 0)
{
bFindVariant = true;
break;
}
}
string strGetProdP = textBoxItem1.Text;
string strGetTestType = textBoxDispInTestType.Text;
string strGetFileVersion = textBoxDispInVersion.Text;
string strGetFileName = textBoxDispInFileName.Text;
//Variant Duplicate Check
string strGetQueryText = "SELECT * FROM [PROD_Variant] WHERE No IN(SELECT No FROM [PROD_Variant] WHERE [ProdNo_P] = '" + strGetProdP + "' " +
"AND [TestListFileNo] = " + nSelectedTestListFileNo +
") ORDER BY No ASC;";
DataTable dtVariantCheck = ctrlDB.GetTable(strGetQueryText);
if (XCommons.isHasRow(dtVariantCheck))
{
bool bExistException = true;
if (CurrentWizardMode == eSelectMode.Modify)
{
if (strGetProdP.CompareTo(strGetModifyProdP) == 0 &&
strGetTestType.CompareTo(strGetModifyTestType) == 0 &&
strGetFileVersion.CompareTo(strGetModifyFileVersion) == 0 &&
strGetFileName.CompareTo(strGetModifyFileName) == 0)
bExistException = false;
}
if (bExistException)
throw new Exception($"ProdNo_P - TestType - FileVersion - FileName Combine Key is information that already exists. : " +
$"{strGetProdP}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");
}
if (bFindVariant == false) { strItemName = "ProdNo_P"; throw new Exception($"P_ProdNo that does not exist in the selected test list." + strItemName); }
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
e.Handled = true;
return;
}
finally
{
groupBoxTestList.Enabled = true;
groupBoxGroup.Enabled = true;
}
SelTestListVariantInfo.TestListFileNo = nSelectedTestListFileNo;
SelTestListVariantInfo.TestType = textBoxDispInTestType.Text;
SelTestListVariantInfo.Version = textBoxDispInVersion.Text;
SelTestListVariantInfo.ProdCode = textBoxDispInProdCode.Text;
SelTestListVariantInfo.FileName = textBoxDispInFileName.Text;
SelTestListVariantInfo.Description = textBoxDispTestListDescription.Text;
textBoxItem12.Text = SelTestListVariantInfo.Description;
richTextBoxDisp.Clear();
int nNumPos = 1;
foreach (string strVariant in strSelectedTestListFileVariantList)
{
richTextBoxDisp.AppendText(nNumPos.ToString("D3") + ": " + strVariant + "\r\n");
nNumPos++;
}
labelControlInfo1.Text = textBoxItem1.Text;
labelControlInfo2.Text = SelTestListVariantInfo.TestType;
labelControlInfo3.Text = SelTestListVariantInfo.Version;
labelControlInfo4.Text = SelTestListVariantInfo.ProdCode;
labelControlInfo5.Text = SelTestListVariantInfo.FileName;
labelControlInfo6.Text = textBoxItem6_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo7.Text = textBoxItem7.Text;
labelControlInfo8.Text = textBoxItem8_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo8Sub.Text = ctrlDB.GetServerDateTimeString(); //DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
labelControlInfo9.Text = textBoxItem9.Text;
labelControlInfo9Sub.Text = ctrlDB.GetLoginInfo().UserID;
string strGetItemNum = textBoxDispGroupNo.Text; //textBoxItem10_Combo.SelectedItem.ToString().Split('|')[0].Remove(0, 2);
int igroupSetNum = Commons.ConvertTextToTryValue<int>(strGetItemNum, -1);
//textBoxItem10_Combo.SelectedItem.ToString();
labelControlInfo10.Text = igroupSetNum.ToString() + " " +
textBoxDispGroupNo.Text + " " +
textBoxDispGroupName.Text + " " +
textBoxDispModelName.Text + " " +
textBoxDispComment.Text;
labelControlInfo11.Text = textBoxItem11.Text;
labelControlInfo12.Text = textBoxItem12.Text;
switch (CurrentWizardMode)
{
case eSelectMode.Insert:
SelTestListVariantInfo.UpdateDT = textBoxItem8_Picker.Value;
SelTestListVariantInfo.UpdateUser = textBoxItem9.Text;
break;
case eSelectMode.Modify:
SelTestListVariantInfo.UpdateDT = Convert.ToDateTime(labelControlInfo8Sub.Text);
SelTestListVariantInfo.UpdateUser = labelControlInfo9Sub.Text;
break;
}
SelTestListVariantInfo.ProdNo_P = textBoxItem1.Text;
SelTestListVariantInfo.RegDT = textBoxItem6_Picker.Value;
SelTestListVariantInfo.RegUser = textBoxItem7.Text;
SelTestListVariantInfo.GroupNo = igroupSetNum;
SelTestListVariantInfo.Comment = textBoxItem11.Text;
SelTestListVariantInfo.Description = textBoxItem12.Text;
}
}
}
private void buttonGroupChk_Click(object sender, EventArgs e)
{
GroupCheckResult = false;
textBoxDispGroupNo.Text = "";
textBoxDispGroupName.Text = "";
textBoxDispModelName.Text = "";
textBoxDispComment.Text = "";
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WHERE ModelName = '" + textBoxInputModelName.Text + "' ORDER BY No ASC;";
CheckGroupInfo();
}
private void wizardControl_CancelClick(object sender, CancelEventArgs e)
{
;//
}
private void TestListInfoEdit_FormClosing(object sender, FormClosingEventArgs e)
{
;//
}
private void comboBoxVariant_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBoxVariant.SelectedIndex > 0)
textBoxItem1.Text = comboBoxVariant.Items[comboBoxVariant.SelectedIndex].ToString();
}
private void textBoxInputModelName_TextChanged(object sender, EventArgs e)
{
GroupCheckResult = false;
textBoxInputModelName.BackColor = Color.Yellow;
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBoxGroupList.SelectedIndex > 0)
{
textBoxInputModelName.Text = comboBoxGroupList.Items[comboBoxGroupList.SelectedIndex].ToString();
GroupCheckResult = false;
textBoxInputModelName.BackColor = Color.Yellow;
}
}
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
{
if (e.Page == wizardPage)
{
this.ActiveControl = textBoxItem1;
textBoxItem1.Focus();
}
else if (e.Page == welcomeWizardPage)
{
this.ActiveControl = e.NextButton.Button;
e.NextButton.Button.Focus();
}
}
private bool CheckTestListFileInfo(DataTable dt)
{
if (XCommons.isHasRow(dt) == false)
{
textBoxTestListFileNameInput.BackColor = Color.Red;
textBoxDispInTestType.BackColor = Color.Red;
textBoxDispInVersion.BackColor = Color.Red;
textBoxDispInProdCode.BackColor = Color.Red;
textBoxDispInFileName.BackColor = Color.Red;
textBoxDispInTestType.ReadOnly = false;
textBoxDispInVersion.ReadOnly = false;
textBoxDispInProdCode.ReadOnly = false;
textBoxDispInFileName.ReadOnly = false;
return false;
}
DataSet ds = new DataSet();
ds.Tables.Add(dt);
textBoxDispTestListNo.Text = dt.Rows[0][0].ToString();
nSelectedTestListFileNo = int.MaxValue;
int.TryParse(textBoxDispTestListNo.Text, out nSelectedTestListFileNo);
//textBoxTestListFileNameInput.Text = dt.Rows[0][5].ToString(); //dt.Rows[0][1].ToString();
textBoxDispInTestType.Text = dt.Rows[0][2].ToString();
textBoxDispInVersion.Text = dt.Rows[0][3].ToString();
textBoxDispInProdCode.Text = dt.Rows[0][4].ToString();
textBoxDispInFileName.Text = dt.Rows[0][5].ToString();
textBoxDispTestListComment.Text = dt.Rows[0][6].ToString();
textBoxDispTestListDescription.Text = dt.Rows[0][7].ToString();
textBoxTestListFileNameInput.Text = dt.Rows[0][5].ToString(); //dt.Rows[0][1].ToString();
TestListFileCheckResult = true;
textBoxTestListFileNameInput.BackColor = Color.LimeGreen;
textBoxDispInTestType.BackColor = Color.LimeGreen;
textBoxDispInVersion.BackColor = Color.LimeGreen;
textBoxDispInProdCode.BackColor = Color.LimeGreen;
textBoxDispInFileName.BackColor = Color.LimeGreen;
textBoxDispInTestType.ReadOnly = true;
textBoxDispInVersion.ReadOnly = true;
textBoxDispInProdCode.ReadOnly = true;
textBoxDispInFileName.ReadOnly = true;
return true;
}
private void checkBoxAutoComplete_CheckedChanged(object sender, EventArgs e)
{
if (checkBoxAutoComplete.Checked == false)
{
textBoxTestListFileNameInput.AutoCompleteCustomSource = null;
textBoxTestListFileNameInput.AutoCompleteMode = AutoCompleteMode.None;
textBoxTestListFileNameInput.AutoCompleteSource = AutoCompleteSource.None;
}
else
{
//DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, Name FROM [STOR_TestListFile] ORDER BY No ASC;");
DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, FileName FROM [STOR_TestListFile] ORDER BY No ASC;");
if (dtProdNoP == null)
return;
/*
int nDataPos = 0;
string[] strData = new string[dtProdNoP.Rows.Count];
foreach(DataRow dr in dtProdNoP.Rows)
{
strData[nDataPos] = dr["Name"].ToString();
nDataPos++;
}
*/
/*
string[] postSource = dtProdNoP
.AsEnumerable()
.Select<System.Data.DataRow, string>(x => x.Field<string>("Name"))
.ToArray();
*/
string[] postSource = dtProdNoP
.AsEnumerable()
.Select<System.Data.DataRow, string>(x => x.Field<string>("FileName"))
.ToArray();
var source = new AutoCompleteStringCollection();
source.AddRange(postSource);
textBoxTestListFileNameInput.AutoCompleteCustomSource = source;
textBoxTestListFileNameInput.AutoCompleteMode = AutoCompleteMode.Suggest;
textBoxTestListFileNameInput.AutoCompleteSource = AutoCompleteSource.CustomSource;
}
}
private DataTable ScanTestListFileCheck()
{
string strSetQueryText = "SELECT No, Name, TestType, Version, ProdCode, FileName, Comment, Description FROM [STOR_TestListFile] " +
"WHERE ";
string strSetQueryEndText = "ORDER BY No ASC;";
bool bFirstAdded = true;
if (textBoxTestListFileNameInput.Text.Length > 0)
{
//strSetQueryText += "AND ";
strSetQueryText += "FileName = '" + textBoxTestListFileNameInput.Text + "' ";
bFirstAdded = false;
}
if (textBoxDispInTestType.Text.Length > 0)
{
if (bFirstAdded == false)
strSetQueryText += "AND ";
strSetQueryText += "TestType = '" + textBoxDispInTestType.Text + "' ";
bFirstAdded = false;
}
if (textBoxDispInVersion.Text.Length > 0)
{
if (bFirstAdded == false)
strSetQueryText += "AND ";
strSetQueryText += "Version = '" + textBoxDispInVersion.Text + "' ";
bFirstAdded = false;
}
if (textBoxDispInProdCode.Text.Length > 0)
{
if (bFirstAdded == false)
strSetQueryText += "AND ";
strSetQueryText += "ProdCode = '" + textBoxDispInProdCode.Text + "' ";
bFirstAdded = false;
}
/*
if (textBoxDispInFileName.Text.Length > 0)
{
strSetQueryText += "AND ";
strSetQueryText += "FileName = '" + textBoxDispInFileName.Text + "' ";
}
*/
if (textBoxDispTestListNo.ReadOnly == false)
{
if (textBoxDispTestListNo.Text.Length > 0)
{
if (bFirstAdded == false)
strSetQueryText += "AND ";
strSetQueryText += "No = " + textBoxDispTestListNo.Text + " ";
bFirstAdded = false;
}
}
strSetQueryText += strSetQueryEndText;
DataTable dtTestList = ctrlDB.GetTable(strSetQueryText);
return dtTestList;
}
private void SetVariantList()
{
comboBoxVariant.BeginUpdate();
comboBoxVariant.Items.Clear();
comboBoxVariant.Refresh();
comboBoxVariant.Items.Add("Select Variant ...");
string strSetQueryText = "SELECT * FROM [HIST_TestListFileVariantList] AS X WHERE TestListFileNo = " + nSelectedTestListFileNo + ";";
DataTable dtVariantList = ctrlDB.GetTable(strSetQueryText);
if (XCommons.isHasRow(dtVariantList))
{
strSelectedTestListFileVariantList = dtVariantList.Rows[0]["VariantList"].ToString().Split(';');
foreach (string strVariant in strSelectedTestListFileVariantList)
comboBoxVariant.Items.Add(strVariant);
comboBoxVariant.SelectedIndex = 0;
comboBoxVariant.EndUpdate();
comboBoxVariant.Visible = true;
textBoxItem12.Text = textBoxDispTestListDescription.Text;
}
else
TestListFileCheckResult = false;
}
private void buttonTestListFileChk_Click(object sender, EventArgs e)
{
TestListFileCheckResult = false;
if (textBoxDispTestListNo.ReadOnly == true)
textBoxDispTestListNo.Text = "";
textBoxDispTestListComment.Text = "";
textBoxDispTestListDescription.Text = "";
string strSetQueryText = string.Empty;
DataTable dtTestList = ScanTestListFileCheck();
if (XCommons.isHasRow(dtTestList))
{
if (CheckTestListFileInfo(dtTestList))
{
SetVariantList();
AllTextReadOnlyOn();
}
}
EnabledTestListFileSelect(TestListFileCheckResult);
}
private void EnabledTestListFileSelect(bool bSetCheckResult)
{
if (bSetCheckResult)
{
this.ActiveControl = textBoxItem1;
textBoxItem1.Focus();
}
else
{
this.ActiveControl = textBoxTestListFileNameInput;
textBoxTestListFileNameInput.Focus();
}
}
private void textBoxTestListFileNameInput_TextChanged(object sender, EventArgs e)
{
TestListFileCheckResult = false;
textBoxTestListFileNameInput.BackColor = Color.Yellow;
textBoxDispInTestType.Text = "";
textBoxDispInVersion.Text = "";
textBoxDispInProdCode.Text = "";
textBoxDispInFileName.Text = "";
EnabledTestListFileSelect(false);
}
private void AllTextReadOnlyOn()
{
if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
if (textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
if (textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
if (textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
if (textBoxDispTestListNo.ReadOnly == false) textBoxDispTestListNo.ReadOnly = true;
}
private bool textReadOnlyCheck()
{
if (textBoxDispInTestType.ReadOnly == false) return false;
if (textBoxDispInVersion.ReadOnly == false) return false;
if (textBoxDispInProdCode.ReadOnly == false) return false;
if (textBoxDispInFileName.ReadOnly == false) return false;
if (textBoxDispTestListNo.ReadOnly == false) return false;
return true;
}
private void textBoxDispIn_TextChanged(object sender, EventArgs e)
{
TestListFileCheckResult = false;
textBoxTestListFileNameInput.BackColor = Color.Yellow;
if(textReadOnlyCheck())
EnabledTestListFileSelect(false);
}
private void textBoxDispIn_ReadOnlyChanged(object sender, EventArgs e)
{
int nTag = Convert.ToInt32(((Control)sender).Tag);
bool bReadOnly = ((TextBox)sender).ReadOnly;
switch (nTag)
{
case 0:
if (bReadOnly) button1.BackColor = Color.Transparent;
else button1.BackColor = Color.Yellow; textBoxDispInTestType.Focus();
break;
case 1:
if (bReadOnly) button2.BackColor = Color.Transparent;
else button2.BackColor = Color.Yellow; textBoxDispInVersion.Focus();
break;
case 2:
if (bReadOnly) button3.BackColor = Color.Transparent;
else button3.BackColor = Color.Yellow; textBoxDispInProdCode.Focus();
break;
case 3:
if (bReadOnly) button4.BackColor = Color.Transparent;
else button4.BackColor = Color.Yellow; textBoxDispInFileName.Focus();
break;
case 4:
if (bReadOnly) button5.BackColor = Color.Transparent;
else button5.BackColor = Color.Yellow; textBoxDispTestListNo.Focus();
break;
}
}
private void button_Click(object sender, EventArgs e)
{
int nTag = Convert.ToInt32(((Control)sender).Tag);
switch (nTag)
{
case 0:
if (textBoxDispInTestType.ReadOnly) textBoxDispInTestType.ReadOnly = false;
else if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
break;
case 1:
if (textBoxDispInVersion.ReadOnly) textBoxDispInVersion.ReadOnly = false;
else if (textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
break;
case 2:
if (textBoxDispInProdCode.ReadOnly) textBoxDispInProdCode.ReadOnly = false;
else if (textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
break;
case 3:
if (textBoxDispInFileName.ReadOnly) textBoxDispInFileName.ReadOnly = false;
else if (textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
break;
case 4:
if (textBoxDispTestListNo.ReadOnly) textBoxDispTestListNo.ReadOnly = false;
else if (textBoxDispTestListNo.ReadOnly == false) textBoxDispTestListNo.ReadOnly = true;
break;
}
}
}
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="openFileDialogTestList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@ -0,0 +1,562 @@
namespace SystemX.Product.ALIS.UI.View.Base
{
partial class UcBaseView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UcBaseView));
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
this.ViewgridControl = new DevExpress.XtraGrid.GridControl();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gridHistView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupControlDtlData = new DevExpress.XtraEditors.GroupControl();
this.layoutControl21 = new DevExpress.XtraLayout.LayoutControl();
this.simpleButtonDataMod = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonHost = new DevExpress.XtraEditors.SimpleButton();
this.layoutControlGroup11 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
this.layoutControlItemDataMod = new DevExpress.XtraLayout.LayoutControlItem();
this.groupControlModelOption = new DevExpress.XtraEditors.GroupControl();
this.layoutControl31 = new DevExpress.XtraLayout.LayoutControl();
this.simpleButtonModify1 = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonRegister1 = new DevExpress.XtraEditors.SimpleButton();
this.layoutControlGroup22 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem131 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem141 = new DevExpress.XtraLayout.LayoutControlItem();
this.simpleLabelItemSelectRow = new DevExpress.XtraLayout.SimpleLabelItem();
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItemModelMod = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
this.layoutControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ViewgridControl)).BeginInit();
this.contextMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridHistView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlDtlData)).BeginInit();
this.groupControlDtlData.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControl21)).BeginInit();
this.layoutControl21.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDataMod)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlModelOption)).BeginInit();
this.groupControlModelOption.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControl31)).BeginInit();
this.layoutControl31.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup22)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem131)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem141)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemSelectRow)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemModelMod)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
this.SuspendLayout();
//
// layoutControl1
//
this.layoutControl1.Controls.Add(this.ViewgridControl);
this.layoutControl1.Controls.Add(this.groupControlDtlData);
this.layoutControl1.Controls.Add(this.groupControlModelOption);
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
this.layoutControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.layoutControl1.Name = "layoutControl1";
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(825, 313, 650, 400);
this.layoutControl1.Root = this.Root;
this.layoutControl1.Size = new System.Drawing.Size(1258, 693);
this.layoutControl1.TabIndex = 0;
this.layoutControl1.Text = "layoutControl1";
//
// ViewgridControl
//
this.ViewgridControl.ContextMenuStrip = this.contextMenuStrip;
this.ViewgridControl.Cursor = System.Windows.Forms.Cursors.AppStarting;
this.ViewgridControl.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3);
gridLevelNode1.RelationName = "Level1";
this.ViewgridControl.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode1});
this.ViewgridControl.Location = new System.Drawing.Point(293, 138);
this.ViewgridControl.MainView = this.gridHistView;
this.ViewgridControl.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3);
this.ViewgridControl.Name = "ViewgridControl";
this.ViewgridControl.Size = new System.Drawing.Size(953, 543);
this.ViewgridControl.TabIndex = 8;
this.ViewgridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridHistView,
this.gridView});
//
// contextMenuStrip
//
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItem});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(137, 26);
this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
this.contextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip_ItemClicked);
//
// toolStripMenuItem
//
this.toolStripMenuItem.Name = "toolStripMenuItem";
this.toolStripMenuItem.Size = new System.Drawing.Size(136, 22);
this.toolStripMenuItem.Text = "Delete Item";
//
// gridHistView
//
this.gridHistView.DetailHeight = 440;
this.gridHistView.GridControl = this.ViewgridControl;
this.gridHistView.Name = "gridHistView";
this.gridHistView.OptionsBehavior.Editable = false;
this.gridHistView.OptionsView.AllowHtmlDrawGroups = false;
this.gridHistView.OptionsView.ShowGroupPanel = false;
this.gridHistView.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.gridHistView_RowClick);
this.gridHistView.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gridHistView_RowCellClick);
//
// gridView
//
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn14,
this.gridColumn15,
this.gridColumn16,
this.gridColumn17,
this.gridColumn18,
this.gridColumn19});
this.gridView.DetailHeight = 440;
this.gridView.GridControl = this.ViewgridControl;
this.gridView.Name = "gridView";
//
// gridColumn14
//
this.gridColumn14.FieldName = "No";
this.gridColumn14.MinWidth = 25;
this.gridColumn14.Name = "gridColumn14";
this.gridColumn14.Visible = true;
this.gridColumn14.VisibleIndex = 0;
this.gridColumn14.Width = 99;
//
// gridColumn15
//
this.gridColumn15.FieldName = "PalletNumber";
this.gridColumn15.MinWidth = 25;
this.gridColumn15.Name = "gridColumn15";
this.gridColumn15.Visible = true;
this.gridColumn15.VisibleIndex = 1;
this.gridColumn15.Width = 99;
//
// gridColumn16
//
this.gridColumn16.FieldName = "PalletID";
this.gridColumn16.MinWidth = 25;
this.gridColumn16.Name = "gridColumn16";
this.gridColumn16.Visible = true;
this.gridColumn16.VisibleIndex = 2;
this.gridColumn16.Width = 99;
//
// gridColumn17
//
this.gridColumn17.FieldName = "UpdateDT";
this.gridColumn17.MinWidth = 25;
this.gridColumn17.Name = "gridColumn17";
this.gridColumn17.Visible = true;
this.gridColumn17.VisibleIndex = 3;
this.gridColumn17.Width = 99;
//
// gridColumn18
//
this.gridColumn18.FieldName = "Revision";
this.gridColumn18.MinWidth = 25;
this.gridColumn18.Name = "gridColumn18";
this.gridColumn18.Visible = true;
this.gridColumn18.VisibleIndex = 4;
this.gridColumn18.Width = 99;
//
// gridColumn19
//
this.gridColumn19.FieldName = "Description";
this.gridColumn19.MinWidth = 25;
this.gridColumn19.Name = "gridColumn19";
this.gridColumn19.Visible = true;
this.gridColumn19.VisibleIndex = 5;
this.gridColumn19.Width = 99;
//
// groupControlDtlData
//
this.groupControlDtlData.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupControlDtlData.AppearanceCaption.Options.UseFont = true;
this.groupControlDtlData.Controls.Add(this.layoutControl21);
this.groupControlDtlData.Location = new System.Drawing.Point(12, 138);
this.groupControlDtlData.Name = "groupControlDtlData";
this.groupControlDtlData.Size = new System.Drawing.Size(277, 543);
this.groupControlDtlData.TabIndex = 5;
this.groupControlDtlData.Text = "Detail Data";
//
// layoutControl21
//
this.layoutControl21.Controls.Add(this.simpleButtonDataMod);
this.layoutControl21.Controls.Add(this.simpleButtonHost);
this.layoutControl21.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl21.Location = new System.Drawing.Point(2, 23);
this.layoutControl21.Name = "layoutControl21";
this.layoutControl21.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(299, 288, 650, 400);
this.layoutControl21.Root = this.layoutControlGroup11;
this.layoutControl21.Size = new System.Drawing.Size(273, 518);
this.layoutControl21.TabIndex = 0;
this.layoutControl21.Text = "layoutControl2";
//
// simpleButtonDataMod
//
this.simpleButtonDataMod.Appearance.BackColor = System.Drawing.Color.Chocolate;
this.simpleButtonDataMod.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButtonDataMod.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonDataMod.Appearance.Options.UseBackColor = true;
this.simpleButtonDataMod.Appearance.Options.UseFont = true;
this.simpleButtonDataMod.Appearance.Options.UseForeColor = true;
this.simpleButtonDataMod.Appearance.Options.UseTextOptions = true;
this.simpleButtonDataMod.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonDataMod.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonDataMod.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonDataMod.ImageOptions.SvgImage")));
this.simpleButtonDataMod.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonDataMod.Location = new System.Drawing.Point(12, 483);
this.simpleButtonDataMod.Name = "simpleButtonDataMod";
this.simpleButtonDataMod.Size = new System.Drawing.Size(249, 23);
this.simpleButtonDataMod.StyleController = this.layoutControl21;
this.simpleButtonDataMod.TabIndex = 15;
this.simpleButtonDataMod.Text = " Data Modification";
this.simpleButtonDataMod.Click += new System.EventHandler(this.simpleButtonDataMod_Click);
//
// simpleButtonHost
//
this.simpleButtonHost.Appearance.BackColor = System.Drawing.Color.PaleTurquoise;
this.simpleButtonHost.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButtonHost.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonHost.Appearance.Options.UseBackColor = true;
this.simpleButtonHost.Appearance.Options.UseFont = true;
this.simpleButtonHost.Appearance.Options.UseForeColor = true;
this.simpleButtonHost.Appearance.Options.UseTextOptions = true;
this.simpleButtonHost.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
this.simpleButtonHost.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonHost.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonHost.ImageOptions.SvgImage")));
this.simpleButtonHost.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
this.simpleButtonHost.Location = new System.Drawing.Point(12, 12);
this.simpleButtonHost.Name = "simpleButtonHost";
this.simpleButtonHost.Size = new System.Drawing.Size(249, 23);
this.simpleButtonHost.StyleController = this.layoutControl21;
this.simpleButtonHost.TabIndex = 4;
this.simpleButtonHost.Text = " List: -";
this.simpleButtonHost.Click += new System.EventHandler(this.simpleButtonViewList_Click);
//
// layoutControlGroup11
//
this.layoutControlGroup11.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.layoutControlGroup11.GroupBordersVisible = false;
this.layoutControlGroup11.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem4,
this.splitterItem1,
this.layoutControlItemDataMod});
this.layoutControlGroup11.Name = "Root";
this.layoutControlGroup11.Size = new System.Drawing.Size(273, 518);
this.layoutControlGroup11.TextVisible = false;
//
// layoutControlItem4
//
this.layoutControlItem4.Control = this.simpleButtonHost;
this.layoutControlItem4.CustomizationFormText = "layoutControlItemHost";
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0);
this.layoutControlItem4.Name = "layoutControlItem4";
this.layoutControlItem4.Size = new System.Drawing.Size(253, 27);
this.layoutControlItem4.Text = "layoutControlItemHost";
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem4.TextVisible = false;
//
// splitterItem1
//
this.splitterItem1.AllowHotTrack = true;
this.splitterItem1.Location = new System.Drawing.Point(0, 27);
this.splitterItem1.Name = "splitterItem1";
this.splitterItem1.Size = new System.Drawing.Size(253, 444);
//
// layoutControlItemDataMod
//
this.layoutControlItemDataMod.Control = this.simpleButtonDataMod;
this.layoutControlItemDataMod.Location = new System.Drawing.Point(0, 471);
this.layoutControlItemDataMod.Name = "layoutControlItemDataMod";
this.layoutControlItemDataMod.Size = new System.Drawing.Size(253, 27);
this.layoutControlItemDataMod.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItemDataMod.TextVisible = false;
this.layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
//
// groupControlModelOption
//
this.groupControlModelOption.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.groupControlModelOption.AppearanceCaption.Options.UseFont = true;
this.groupControlModelOption.Controls.Add(this.layoutControl31);
this.groupControlModelOption.Location = new System.Drawing.Point(12, 12);
this.groupControlModelOption.Name = "groupControlModelOption";
this.groupControlModelOption.Size = new System.Drawing.Size(1234, 122);
this.groupControlModelOption.TabIndex = 6;
this.groupControlModelOption.Text = "Management";
//
// layoutControl31
//
this.layoutControl31.Controls.Add(this.simpleButtonModify1);
this.layoutControl31.Controls.Add(this.simpleButtonRegister1);
this.layoutControl31.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl31.Location = new System.Drawing.Point(2, 23);
this.layoutControl31.Margin = new System.Windows.Forms.Padding(0);
this.layoutControl31.Name = "layoutControl31";
this.layoutControl31.Root = this.layoutControlGroup22;
this.layoutControl31.Size = new System.Drawing.Size(1230, 97);
this.layoutControl31.TabIndex = 0;
this.layoutControl31.Text = "layoutControl3";
//
// simpleButtonModify1
//
this.simpleButtonModify1.Appearance.BackColor = System.Drawing.Color.MintCream;
this.simpleButtonModify1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButtonModify1.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonModify1.Appearance.Options.UseBackColor = true;
this.simpleButtonModify1.Appearance.Options.UseFont = true;
this.simpleButtonModify1.Appearance.Options.UseForeColor = true;
this.simpleButtonModify1.Appearance.Options.UseTextOptions = true;
this.simpleButtonModify1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.simpleButtonModify1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonModify1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
this.simpleButtonModify1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonModify1.ImageOptions.SvgImage")));
this.simpleButtonModify1.ImageOptions.SvgImageSize = new System.Drawing.Size(32, 32);
this.simpleButtonModify1.Location = new System.Drawing.Point(175, 1);
this.simpleButtonModify1.Name = "simpleButtonModify1";
this.simpleButtonModify1.Size = new System.Drawing.Size(170, 95);
this.simpleButtonModify1.StyleController = this.layoutControl31;
this.simpleButtonModify1.TabIndex = 6;
this.simpleButtonModify1.Text = "Modify Data";
this.simpleButtonModify1.Click += new System.EventHandler(this.simpleButtonModify1_Click);
//
// simpleButtonRegister1
//
this.simpleButtonRegister1.Appearance.BackColor = System.Drawing.Color.MintCream;
this.simpleButtonRegister1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButtonRegister1.Appearance.ForeColor = System.Drawing.Color.DimGray;
this.simpleButtonRegister1.Appearance.Options.UseBackColor = true;
this.simpleButtonRegister1.Appearance.Options.UseFont = true;
this.simpleButtonRegister1.Appearance.Options.UseForeColor = true;
this.simpleButtonRegister1.Appearance.Options.UseTextOptions = true;
this.simpleButtonRegister1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.simpleButtonRegister1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.simpleButtonRegister1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
this.simpleButtonRegister1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonRegister1.ImageOptions.SvgImage")));
this.simpleButtonRegister1.ImageOptions.SvgImageSize = new System.Drawing.Size(32, 32);
this.simpleButtonRegister1.Location = new System.Drawing.Point(1, 1);
this.simpleButtonRegister1.Name = "simpleButtonRegister1";
this.simpleButtonRegister1.Size = new System.Drawing.Size(174, 95);
this.simpleButtonRegister1.StyleController = this.layoutControl31;
this.simpleButtonRegister1.TabIndex = 5;
this.simpleButtonRegister1.Text = "Register ";
this.simpleButtonRegister1.Click += new System.EventHandler(this.simpleButtonRegister1_Click);
//
// layoutControlGroup22
//
this.layoutControlGroup22.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.layoutControlGroup22.GroupBordersVisible = false;
this.layoutControlGroup22.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem131,
this.layoutControlItem141,
this.simpleLabelItemSelectRow});
this.layoutControlGroup22.Name = "layoutControlGroup22";
this.layoutControlGroup22.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
this.layoutControlGroup22.Size = new System.Drawing.Size(1230, 97);
this.layoutControlGroup22.TextVisible = false;
//
// layoutControlItem131
//
this.layoutControlItem131.Control = this.simpleButtonRegister1;
this.layoutControlItem131.Location = new System.Drawing.Point(0, 0);
this.layoutControlItem131.MaxSize = new System.Drawing.Size(174, 0);
this.layoutControlItem131.MinSize = new System.Drawing.Size(174, 71);
this.layoutControlItem131.Name = "layoutControlItem131";
this.layoutControlItem131.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
this.layoutControlItem131.Size = new System.Drawing.Size(174, 95);
this.layoutControlItem131.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem131.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem131.TextVisible = false;
//
// layoutControlItem141
//
this.layoutControlItem141.Control = this.simpleButtonModify1;
this.layoutControlItem141.Location = new System.Drawing.Point(174, 0);
this.layoutControlItem141.MaxSize = new System.Drawing.Size(170, 0);
this.layoutControlItem141.MinSize = new System.Drawing.Size(170, 71);
this.layoutControlItem141.Name = "layoutControlItem141";
this.layoutControlItem141.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
this.layoutControlItem141.Size = new System.Drawing.Size(170, 95);
this.layoutControlItem141.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem141.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem141.TextVisible = false;
//
// simpleLabelItemSelectRow
//
this.simpleLabelItemSelectRow.AllowHotTrack = false;
this.simpleLabelItemSelectRow.Location = new System.Drawing.Point(344, 0);
this.simpleLabelItemSelectRow.Name = "simpleLabelItemSelectRow";
this.simpleLabelItemSelectRow.Size = new System.Drawing.Size(884, 95);
this.simpleLabelItemSelectRow.Text = "-";
this.simpleLabelItemSelectRow.TextSize = new System.Drawing.Size(4, 16);
//
// Root
//
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
this.Root.GroupBordersVisible = false;
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
this.layoutControlItem2,
this.layoutControlItemModelMod,
this.layoutControlItem1});
this.Root.Name = "Root";
this.Root.Size = new System.Drawing.Size(1258, 693);
this.Root.TextVisible = false;
//
// layoutControlItem2
//
this.layoutControlItem2.Control = this.groupControlDtlData;
this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
this.layoutControlItem2.Location = new System.Drawing.Point(0, 126);
this.layoutControlItem2.MaxSize = new System.Drawing.Size(281, 0);
this.layoutControlItem2.MinSize = new System.Drawing.Size(281, 339);
this.layoutControlItem2.Name = "layoutControlItem2";
this.layoutControlItem2.Size = new System.Drawing.Size(281, 547);
this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem2.TextVisible = false;
//
// layoutControlItemModelMod
//
this.layoutControlItemModelMod.Control = this.groupControlModelOption;
this.layoutControlItemModelMod.CustomizationFormText = "layoutControlItemModelMod";
this.layoutControlItemModelMod.Location = new System.Drawing.Point(0, 0);
this.layoutControlItemModelMod.MaxSize = new System.Drawing.Size(0, 126);
this.layoutControlItemModelMod.MinSize = new System.Drawing.Size(1, 126);
this.layoutControlItemModelMod.Name = "layoutControlItemModelMod";
this.layoutControlItemModelMod.Size = new System.Drawing.Size(1238, 126);
this.layoutControlItemModelMod.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItemModelMod.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItemModelMod.TextVisible = false;
this.layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
//
// layoutControlItem1
//
this.layoutControlItem1.Control = this.ViewgridControl;
this.layoutControlItem1.Location = new System.Drawing.Point(281, 126);
this.layoutControlItem1.Name = "layoutControlItem1";
this.layoutControlItem1.Size = new System.Drawing.Size(957, 547);
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem1.TextVisible = false;
//
// UcBaseView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.layoutControl1);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
this.Name = "UcBaseView";
this.Size = new System.Drawing.Size(1258, 693);
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
this.layoutControl1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ViewgridControl)).EndInit();
this.contextMenuStrip.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gridHistView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlDtlData)).EndInit();
this.groupControlDtlData.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControl21)).EndInit();
this.layoutControl21.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDataMod)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.groupControlModelOption)).EndInit();
this.groupControlModelOption.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControl31)).EndInit();
this.layoutControl31.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup22)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem131)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem141)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemSelectRow)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemModelMod)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraLayout.LayoutControl layoutControl1;
private DevExpress.XtraLayout.LayoutControlGroup Root;
private DevExpress.XtraEditors.GroupControl groupControlDtlData;
private DevExpress.XtraLayout.LayoutControl layoutControl21;
private DevExpress.XtraEditors.SimpleButton simpleButtonHost;
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup11;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
private DevExpress.XtraEditors.GroupControl groupControlModelOption;
private DevExpress.XtraLayout.LayoutControl layoutControl31;
private DevExpress.XtraEditors.SimpleButton simpleButtonModify1;
private DevExpress.XtraEditors.SimpleButton simpleButtonRegister1;
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup22;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem131;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem141;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemModelMod;
public DevExpress.XtraGrid.GridControl ViewgridControl;
private DevExpress.XtraGrid.Views.Grid.GridView gridHistView;
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn18;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem;
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemSelectRow;
private DevExpress.XtraEditors.SimpleButton simpleButtonDataMod;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemDataMod;
private DevExpress.XtraLayout.SplitterItem splitterItem1;
}
}

View File

@ -0,0 +1,362 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using SystemX.Product.ALIS.UI.View.InfoList;
using System.Data.SqlClient;
using SystemX.Product.ALIS.Interface;
using static SystemX.Product.ALIS.UI.View.ViewCfg;
using static SystemX.Net.Platform.Common.Util.LogMessage;
using static SystemX.Product.ALIS.UI.Commons;
namespace SystemX.Product.ALIS.UI.View.Base
{
public partial class UcBaseView : UserControl, IUserControlSubscribe
{
/// <summary>
/// IUserControlSubscribe
/// </summary>
/// <param name="CurrentAccessLevel"></param>
/// <param name="bLoginState"></param>
public void SetLoginStateNotice(LoginAccessLevel CurrentAccessLevel, bool bLoginState)
{
bool bSetState = ((CurrentAccessLevel == ThisAccessLevel) && (bLoginState == true)) ? true : false;
ViewLoginState = bSetState;
WizardCancelEvent?.Invoke(bSetState, null);
this.Invoke((MethodInvoker)delegate ()
{
if (bSetState)
{
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
else
{
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
}
});
}
/// <summary>
/// IUserControlSubscribe - GoToFindTestListFileFocus
/// </summary>
/// <param name="nTestListFileNo"></param>
public void GoToFindTestListFileFocus(int nTestListFileNo)
{
;//
}
/// <summary>
/// IUserControlSubscribe - GoToFindParentFocus
/// </summary>
/// <param name="nParentNo"></param>
public void GoToFindVariantFocus(int nVariantNo)
{
;//
}
/// <summary>
/// IUserControlSubscribe
/// </summary>
public void RefreshDataView()
{
ViewList();
}
private void EventClear(object obj)
{
if (WizardCancelEvent != null)
{
foreach (Delegate d in WizardCancelEvent?.GetInvocationList())
{
if (d.Target.GetType() == obj.GetType())
WizardCancelEvent -= (EventHandler)d;
}
}
}
public event EventHandler WizardCancelEvent;
public int AbsoluteIndexRow { get; set; }
public string AbsoluteUniqueNo { get; set; }
public string AbsoluteHostName { get; set; }
//public int AbsoluteIndexCol { get; set; }
IDataController ctrlDB;
private DataSet ds = new DataSet();
private DataTable dt = new DataTable();
eSelectType SelectOpenType { get; set; }
string strSelectTable;
public LoginAccessLevel ThisAccessLevel { get; private set; }
public bool ViewLoginState { private set; get; }
public UcBaseView(eSelectType SelType, IDataController ctrlDB, LoginAccessLevel MakeAccessLevel, bool bLoginState = false)
{
InitializeComponent();
ThisAccessLevel = MakeAccessLevel;
ViewLoginState = bLoginState;
if (ViewLoginState)
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
this.ctrlDB = ctrlDB;
SelectOpenType = SelType;
strSelectTable = "";
ViewList();
AbsoluteIndexRow = -1;
//AbsoluteIndexCol = -1;
AbsoluteUniqueNo = "";
simpleButtonRegister1.Text = "Register " + SelectOpenType.ToString();
}
public void CreateInfo(eSelectType SelType)
{
}
private void ViewList(string strSetTableName = "")
{
eDbTableList selTable = eDbTableList.NONE;
string vTblName = string.Empty;
if (strSelectTable.Length <= 0)
return;
if (strSetTableName.Length > 0)
vTblName = strSetTableName;
else
vTblName = strSelectTable;
if (Enum.TryParse<eDbTableList>(vTblName, out selTable))
{
ViewgridControl.BeginUpdate();
ViewgridControl.DataSource = null;
gridHistView.RefreshData();
ViewgridControl.DataSource = ctrlDB.GetTable(selTable);
//ViewgridControl.DataMember = vTblName;
ViewgridControl.Views[0].PopulateColumns();
gridHistView.BestFitColumns();
ViewgridControl.EndUpdate();
}
}
private void simpleButtonRegister1_Click(object sender, EventArgs e)
{
DialogResult getResult = new DialogResult();
getResult = DialogResult.None;
switch (SelectOpenType)
{
default:
break;
}
try
{
if (getResult == DialogResult.OK)
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" simpleButtonRegister1_Click() Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
ViewList();
}
private void simpleButtonModify1_Click(object sender, EventArgs e)
{
if (AbsoluteIndexRow < 0 || AbsoluteUniqueNo.Length < 0)
{
MessageBox.Show("Click the [No] column of the row you want.", strSelectTable, MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
}
DialogResult getResult = new DialogResult();
getResult = DialogResult.None;
switch (SelectOpenType)
{
default:
break;
}
try
{
if (getResult == DialogResult.OK)
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" simpleButtonModify1_Click() Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
ViewList();
}
private void contextMenuStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
ToolStripItem tsp = e.ClickedItem;
string strTitle = SelectOpenType.ToString();
if (AbsoluteIndexRow >= 0 && AbsoluteUniqueNo.Length > 0)
{
if (MessageBox.Show("Are you sure you want to delete the " + strTitle + " [" + AbsoluteHostName + "] information?", strTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
switch (SelectOpenType)
{
default:
break;
}
try
{
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
}
catch (Exception ex)
{
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" contextMenuStrip_ItemClicked() Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
}
ViewList();
}
}
}
private void ClearListSelect()
{
simpleLabelItemSelectRow.Text = "-";
AbsoluteIndexRow = -1;
AbsoluteUniqueNo = "";
}
private void gridHistView_RowClick(object sender, RowClickEventArgs e)
{
object objHandle = null;
try
{
objHandle = gridHistView.GetFocusedRowCellValue("No");
}
catch
{
objHandle = null;
}
finally
{
AbsoluteIndexRow = e.RowHandle;
simpleLabelItemSelectRow.Text = "Select Row : " + (e.RowHandle + 1).ToString();
if (objHandle != null)
{
try
{
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
AbsoluteUniqueNo = strNumber;
CreateInfo(SelectOpenType);
}
catch
{
ClearListSelect();
}
}
else
{
ClearListSelect();
}
}
}
private void gridHistView_RowCellClick(object sender, RowCellClickEventArgs e)
{
/*if (e.Column.FieldName.Equals("No"))
{
simpleLabelItemSelectRow.Text = "Select Row : " + (e.RowHandle + 1).ToString();
simpleLabelItemSelectCol.Text = "Select Col : " + (e.Column.AbsoluteIndex + 1).ToString();
AbsoluteIndexRow = e.RowHandle;
AbsoluteIndexCol = e.Column.AbsoluteIndex;
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
AbsoluteUniqueNo = strNumber;
CreateInfo(SelectOpenType);
}
else
{
simpleLabelItemSelectRow.Text = "-";
simpleLabelItemSelectCol.Text = "-";
AbsoluteIndexRow = -1;
AbsoluteIndexCol = -1;
AbsoluteUniqueNo = "";
}*/
}
private void simpleButtonViewList_Click(object sender, EventArgs e)
{
ViewList();
}
private void simpleButtonDataMod_Click(object sender, EventArgs e)
{
if (layoutControlItemModelMod.Visibility == DevExpress.XtraLayout.Utils.LayoutVisibility.Never)
{
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
else
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
}
private void contextMenuStrip_Opening(object sender, CancelEventArgs e)
{
if ((ThisAccessLevel & LoginAccessLevel.None) == LoginAccessLevel.None)
e.Cancel = true;
}
}
}

View File

@ -0,0 +1,231 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="simpleButtonDataMod.ImageOptions.SvgImage" type="DevExp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TE4LDE4aC00VjhoNFYxOHoiIGNsYXNzPSJSZWQiIC8+DQogIDwvZz4NCjwv
c3ZnPgs=
</value>
</data>
<data name="simpleButtonHost.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU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MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonModify1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgA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jMsMi43LDYsNiw2YzEsMCwxLjktMC4yLDIuNy0wLjdsNi4xLDYu
MSAgYzAuNywwLjcsMS45LDAuNywyLjYsMEMzMi4yLDMwLjgsMzIuMiwyOS42LDMxLjUsMjguOXoiIGNs
YXNzPSJCbHVlIiAvPg0KICA8cGF0aCBkPSJNMjQuNiwzMEgxYy0wLjUsMC0xLTAuNS0xLTFWMWMwLTAu
NSwwLjUtMSwxLTFoMjRjMC41LDAsMSwwLjUsMSwxdjEzLjdjLTAuNi0wLjctMS4yLTEuMi0yLTEuNlYy
SDJ2MjZoMjAuNiAgTDI0LjYsMzB6IE0yMCw2SDZ2MmgxNFY2eiBNMTYsMTRINnYyaDEwVjE0eiBNMTIs
MjJINnYyaDZWMjJ6IE0xMiwxOEg2djJoNlYxOHoiIGNsYXNzPSJCbGFjayIgLz4NCjwvc3ZnPgs=
</value>
</data>
<data name="simpleButtonRegister1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAGYEAAAC77u/
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
Y2U9InByZXNl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ik0yNCwyMy44VjI4aC00LjJIMTJINlY0aDE4djQuMmwyLTJWM2MwLTAuNS0wLjUtMS0xLTFINUM0
LjQsMiw0LDIuNSw0LDN2MjZjMCwwLjUsMC41LDEsMSwxaDIwICAgYzAuNSwwLDEtMC41LDEtMXYtNy4y
TDI0LDIzLjh6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
</data>
</root>

View File

@ -0,0 +1,299 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using SystemX.Net.Platform.Common.Util;
using static SystemX.Product.ALIS.UI.View.ViewCfg;
namespace SystemX.Product.ALIS.UI.View
{
public static class ViewCfg
{
public enum eOperationMode
{
ALL,
AUTO,
MANUAL
}
public enum eWorkMode
{
NORMAL,
RETEST,
REWORK
}
public enum eAppFunctionType
{
None = 0,
M_HostList,
M_UserList,
M_GroupList,
M_TestCodeList,
M_TestListFile,
M_TestListVariant,
M_TestListRelease,
A_AnalysisPartID,
A_LogSearchTrend,
A_AnalysisProcessTrend
}
public enum eSelectType
{
None = 0,
HostList,
UserList,
GroupList,
TestCodeList,
TestListFile,
TestListVariant,
TestListRelease
}
public enum eEditType
{
Insert = 0,
Modify
}
public enum eModelType
{
NONE,
IMAGE,
TEXT,
CPLOG,
PARTID_MAP
}
public enum eProcessTable
{
HIST_ProdLoad = 0,
HIST_CapDeassy,
HIST_PreHeating,
HIST_PreMeas,
HIST_Leak,
HIST_LaserTrim,
HIST_LaserTrimVision,
HIST_IsoRes,
HIST_CapAssy,
HIST_Function,
HIST_OutSealPress,
HIST_PinLVDT,
HIST_PinVision,
HIST_ProdUnload
}
private enum eProcessTableNumber
{
HIST_ProdLoad = 180,
HIST_CapDeassy = 180,
HIST_PreHeating = 190,
HIST_PreMeas = 190,
HIST_Leak = 200,
HIST_LaserTrim = 210,
HIST_LaserTrimVision = 220,
HIST_IsoRes = 220,
HIST_CapAssy = 230,
HIST_Function = 240,
HIST_OutSealPress = 250,
HIST_PinLVDT = 260,
HIST_PinVision = 260,
HIST_ProdUnload = 270
}
public static string GetTableProcessNumber(eProcessTable processTable)
{
string[] strSetProcessNumberList = new string[]
{ "180", "180", "190", "190", "200", "210", "220", "220", "230", "240", "250", "260", "260", "270" };
if (strSetProcessNumberList.Length > (int)processTable)
return strSetProcessNumberList[(int)processTable];
else
return "";
}
public enum eDataTable
{
HIST_TestResultData,
HIST_TestResultDatail
}
public const string SystemConfigPath = @"./Config/SystemConfig.xml";
public const string SaveLayoutPath = @"./Layout/Search/";
public enum eConfigElemList
{
Root,
RegisteredModels,
Model
}
public static XElement OpenSystemConfig()
{
var xElement = XMLControl.OpenXMLDocument(SystemConfigPath, eConfigElemList.Root.ToString());
if (xElement == null) return null;
return xElement;
}
public static XElement SaveSystemConfig(List<SysModelDef> registeredModels)
{
XDocument xmlDoc = new XDocument();
XElement xRoot = new XElement(eConfigElemList.Root.ToString());
XElement xRegModels = new XElement(eConfigElemList.RegisteredModels.ToString());
foreach (SysModelDef modeldef in registeredModels)
xRegModels.Add(modeldef.SaveXML());
xRoot.Add(xRegModels);
xmlDoc.Add(xRoot);
xmlDoc.Save(SystemConfigPath);
return xRoot;
}
public static List<SysModelDef> GetRegisteredModels(XElement xelemRoot)
{
XElement elemModelRoot = xelemRoot.Element(eConfigElemList.RegisteredModels.ToString());
List<SysModelDef> modeldef = new List<SysModelDef>();
foreach (XElement elemModel in elemModelRoot.Elements())
modeldef.Add(new SysModelDef(elemModel));
return modeldef;
}
public static Dictionary<string, string> GetProcessTableNameMap()
{
Dictionary<string, string> NameMap = new Dictionary<string, string>();
NameMap.Add(eProcessTable.HIST_ProdLoad.ToString(), "LX/LU-180:Loading");
NameMap.Add(eProcessTable.HIST_CapDeassy.ToString(), "LX/LU-180:Cap De-Ass'y");
NameMap.Add(eProcessTable.HIST_PreHeating.ToString(), "LX/LU-190:Pre-Heating");
NameMap.Add(eProcessTable.HIST_PreMeas.ToString(), "LX/LU-190:Pre-Measuring");
NameMap.Add(eProcessTable.HIST_Leak.ToString(), "LX/LU-200:Leak Test");
NameMap.Add(eProcessTable.HIST_LaserTrim.ToString(), "LX/LU-210:Laser Trimming");
NameMap.Add(eProcessTable.HIST_LaserTrimVision.ToString(), "LX/LU-220:Trimming Vision Inspection");
NameMap.Add(eProcessTable.HIST_IsoRes.ToString(), "LX/LU-220:Isolation Resistance Test");
NameMap.Add(eProcessTable.HIST_CapAssy.ToString(), "LX/LU-230:Cap Ass'y");
NameMap.Add(eProcessTable.HIST_Function.ToString(), "LX/LU-240:Function Test");
NameMap.Add(eProcessTable.HIST_OutSealPress.ToString(), "LX/LU-250:Outer Seal Press");
NameMap.Add(eProcessTable.HIST_PinLVDT.ToString(), "LX/LU-260:Pin Height Inspection");
NameMap.Add(eProcessTable.HIST_PinVision.ToString(), "LX/LU-260:Pin-Align Vision Inspection");
NameMap.Add(eProcessTable.HIST_ProdUnload.ToString(), "LX/LU-270:Unloading");
return NameMap;
}
public class NameMapItem
{
public string TableName { get; set; }
public string ProcName { get; set; }
}
}
public class SysModelDef
{
public string ID { get; set; }
public string Path { get; set; }
public string Type { get; set; }
public eModelType eType { get; set; } = eModelType.NONE;
public SysModelDef(XElement elem)
{
SetModelDef(elem);
SetType(Type);
}
public SysModelDef(string strPath)
{
Path = strPath;
}
public bool SetType(string strType)
{
eModelType eparsetype = eModelType.NONE;
if (!Enum.TryParse(strType.ToUpper(), out eparsetype))
return false;
eType = eparsetype;
return true;
}
public bool SetModelDef(XElement elem)
{
try
{
foreach (XAttribute regAttrb in elem.Attributes())
{
string strAttrbName = regAttrb.Name.LocalName;
if (CommonUtil.GetProperty(this, strAttrbName) == null)
continue;
CommonUtil.SetPropertyValue(this, strAttrbName, regAttrb.Value);
}
}
catch (Exception ex)
{
LogMessage.MessageOutput.ConsoleWrite("Error during Read Mdoel Definition in System Config.", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
LogMessage.MessageOutput.ConsoleWrite($" - Message: {ex.Message}", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
throw;
}
return true;
}
public XElement SaveXML()
{
XElement xelemSave = new XElement(eConfigElemList.Model.ToString());
xelemSave.SetAttributeValue("ID", ID);
xelemSave.SetAttributeValue("Path", Path);
xelemSave.SetAttributeValue("Type", Type);
return xelemSave;
}
}
public class LogInfo
{
public string LogAccKey { get; set; }
public string ProductID { get; set; }
public string PalletID { get; set; }
public string UpdateDT { get; set; }
public string ProcessNo { get; set; }
public string PalletNo { get; set; }
public string PalletIndex { get; set; }
public string Status { get; set; }
public string TestTime { get; set; }
public string Result { get; set; }
public Dictionary<int, string> TestResult { get; set; }
}
public class ChartLogInfo
{
public string TableName { get; set; }
public string StartDateTime { get; set; }
public string EndDateTime { get; set; }
public string ProductNo { get; set; }
public string PalletNo { get; set; }
public string PalletIndex { get; set; }
public string WorkMode { get; set; }
public string OperationMode { get; set; }
public string StepNo { get; set; }
public string MO { get; set; }
public string FuncName { get; set; }
public string Min { get; set; }
public string Max { get; set; }
public Dictionary<string, double> MeasuredData = new Dictionary<string, double>();
}
}