[성현모] 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>