[성현모] CPXV2 Init
This commit is contained in:
34
CPXV2 PTS/SystemX.Product.CP.PTS.sln
Normal file
34
CPXV2 PTS/SystemX.Product.CP.PTS.sln
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.32901.82
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{18C1E9B6-823D-49DB-8253-ED32EEA21DB1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SystemX.Product.CP.PTS", "SystemX.Product.CP.PTS\SystemX.Product.CP.PTS.csproj", "{7C27888C-4E6A-4C6C-BC37-3004D73CF679}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Debug|x64.Build.0 = Debug|x64
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Release|x64.ActiveCfg = Release|x64
|
||||
{7C27888C-4E6A-4C6C-BC37-3004D73CF679}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
VisualSVNWorkingCopyRoot = .
|
||||
SolutionGuid = {34BF09E0-D510-452D-8E8B-B0D1C6FE25BF}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
94
CPXV2 PTS/SystemX.Product.CP.PTS/ChildController.cs
Normal file
94
CPXV2 PTS/SystemX.Product.CP.PTS/ChildController.cs
Normal file
@ -0,0 +1,94 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.XtraBars;
|
||||
using SystemX.Product.ALIS.UI.View;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using SystemX.Net.Platform.Common.Util;
|
||||
using DataBaseConnection.Control;
|
||||
using System.Data.SqlClient;
|
||||
using SystemX.Product.ALIS.UI.Subs;
|
||||
using System.Diagnostics;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Product.ALIS.UI.View.Base;
|
||||
using System.Net;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public partial class FrmMain
|
||||
{
|
||||
/// <summary>
|
||||
/// IChildController - CloseAllChildForm
|
||||
/// </summary>
|
||||
public void CloseAllChildForm()
|
||||
{
|
||||
if (DocFrames == null)
|
||||
return;
|
||||
|
||||
while (DocFrames.Count != 0)
|
||||
{
|
||||
for (int i = 0; i < DocFrames.Count; i++)
|
||||
DocFrames.ElementAt(i).Close();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IChildController - CloseChildForm
|
||||
/// </summary>
|
||||
/// <param name="SetType"></param>
|
||||
public void CloseChildForm(eAppFunctionType SetType)
|
||||
{
|
||||
FrmChild frmFound = DocFrames.Find(x => x.DocType == SetType);
|
||||
|
||||
if (frmFound != null)
|
||||
DocFrames.Remove(frmFound);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IChildController - SetObjectValue
|
||||
/// </summary>
|
||||
/// <param name="obj"></param>
|
||||
public void SetObjectValue(object obj)
|
||||
{
|
||||
strConnIPAddress = (string)obj;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IChildController - GoToFindTestListFileFocus
|
||||
/// </summary>
|
||||
/// <param name="nTestListFileNo"></param>
|
||||
public void GoToFindTestListFileFocus(int nTestListFileNo)
|
||||
{
|
||||
FrmChild frmFound = DocFrames.Find(x => x.DocType == eAppFunctionType.M_TestListFile);
|
||||
|
||||
if (frmFound != null)
|
||||
((IChildSubscribe)frmFound).GoToFindTestListFileFocus(nTestListFileNo);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IChildController - GoToFindVariantFocus
|
||||
/// </summary>
|
||||
/// <param name="nParentNo"></param>
|
||||
public void GoToFindVariantFocus(int nVariantNo)
|
||||
{
|
||||
FrmChild frmFound = DocFrames.Find(x => x.DocType == eAppFunctionType.M_TestListVariant);
|
||||
|
||||
if (frmFound != null)
|
||||
((IChildSubscribe)frmFound).GoToFindVariantFocus(nVariantNo);
|
||||
}
|
||||
|
||||
public eAppFunctionType CurrentSelectFunctionType(eAppFunctionType GetFuncType)
|
||||
{
|
||||
eCurrentSelectFuncType = GetFuncType;
|
||||
|
||||
return GetFuncType;
|
||||
}
|
||||
}
|
||||
}
|
||||
164
CPXV2 PTS/SystemX.Product.CP.PTS/DB/DataBaseConn.cs
Normal file
164
CPXV2 PTS/SystemX.Product.CP.PTS/DB/DataBaseConn.cs
Normal file
@ -0,0 +1,164 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using DevExpress.CodeParser;
|
||||
|
||||
using SystemX.Net.Platform.Common.Util;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
|
||||
namespace DataBaseConnection.Control
|
||||
{
|
||||
public class DatabaseConnControl
|
||||
{
|
||||
public static string CatalogName = "CPXV2";
|
||||
|
||||
public const int CatalogConnPort = 1433;
|
||||
|
||||
public const string CatalogConnUID = "Alis";
|
||||
|
||||
public const string CatalogConnPW = "Kefico!@34";
|
||||
|
||||
//SqlConnection
|
||||
//OdbcConnection
|
||||
public static SqlConnection conn = null;
|
||||
|
||||
//public static OdbcConnection connTest = null;
|
||||
|
||||
public DatabaseConnControl()
|
||||
{
|
||||
//conn = new SqlConnection($"Data Source=200.200.200.48,1433; Initial Catalog={CatalogName}; User ID=Alis; Password=kefico; MultipleActiveResultSets=True;");
|
||||
//conn = new SqlConnection($"Data Source=DESKTOP-5UQ1Q22;Initial Catalog={CatalogName};Integrated Security=True;");
|
||||
//conn = new SqlConnection($"Data Source = 125.130.37.164,1433; Initial Catalog = {CatalogName}; User ID = Alis; Password = kefico; MultipleActiveResultSets=True;");
|
||||
//"Data Source = {IP},{Port}; Initial Catalog = {CatalogName}; User ID = Alis; Password = kefico; MultipleActiveResultSets=True;";
|
||||
//"Data Source = localhost; Initial Catalog = {CatalogName}; Integrated Security = SSPI; MultipleActiveResultSets=True;";
|
||||
}
|
||||
|
||||
public static void DisconnectDB()
|
||||
{
|
||||
if (conn != null)
|
||||
{
|
||||
if (conn.State == System.Data.ConnectionState.Open)
|
||||
conn.Close();
|
||||
}
|
||||
}
|
||||
|
||||
public static SqlConnection ConnectDB()
|
||||
{
|
||||
try
|
||||
{
|
||||
//conn = new SqlConnection($"Data Source=200.200.200.48,1433; Initial Catalog={CatalogName}; User ID=Alis; Password=kefico; MultipleActiveResultSets=True;");
|
||||
//Data Source = {IP},{Port}; Initial Catalog = {SCHEMA}; User ID = {ID}; Password = {PW}; MultipleActiveResultSets=True;
|
||||
//conn = new SqlConnection($"Data Source=DESKTOP-5UQ1Q22;Initial Catalog={CatalogName};Integrated Security=True;");
|
||||
//conn = new SqlConnection($"Data Source = 125.130.37.164,1433; Initial Catalog = {CatalogName}; User ID = Alis; Password = kefico; MultipleActiveResultSets=True;");
|
||||
//conn = new SqlConnection($"Data Source = 127.0.0.1; Initial Catalog = Smart_Inhibitor_1th_ALIS; User ID = Alis; Password = kefico;"); //Integrated Security = SSPI;");
|
||||
|
||||
/*connTest = new OdbcConnection("Dsn=UIM_MacAddress; Uid=Alis; Pwd=Kefico!@34;");
|
||||
connTest.Open();
|
||||
|
||||
OdbcTransaction odbcTransaction = connTest.BeginTransaction();
|
||||
OdbcCommand DD = new OdbcCommand("SELECT TOP (1000) * FROM [UIM_MacAddress].[dbo].[HIST_Summary];", connTest, odbcTransaction);
|
||||
OdbcDataReader ddd = DD.ExecuteReader();
|
||||
int n1 = ddd.FieldCount;*/
|
||||
|
||||
conn = new SqlConnection($"Data Source=localhost; Initial Catalog={CatalogName}; Integrated Security = SSPI"); // MultipleActiveResultSets=True;");
|
||||
conn.Open();
|
||||
}
|
||||
catch (SqlException sqlEx)
|
||||
{
|
||||
MessageOutput.ConsoleWrite($"DB Connection Error: {sqlEx.Message}", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return conn;
|
||||
}
|
||||
|
||||
public static SqlConnection ConnectDB(string strGetCatalogName)
|
||||
{
|
||||
try
|
||||
{
|
||||
//conn = new SqlConnection($"Data Source=200.200.200.48,1433; Initial Catalog={CatalogName}; User ID=Alis; Password=kefico; MultipleActiveResultSets=True;");
|
||||
//Data Source = {IP},{Port}; Initial Catalog = {SCHEMA}; User ID = {ID}; Password = {PW}; MultipleActiveResultSets=True;
|
||||
//conn = new SqlConnection($"Data Source=DESKTOP-5UQ1Q22;Initial Catalog={CatalogName};Integrated Security=True;");
|
||||
//conn = new SqlConnection($"Data Source = 125.130.37.164,1433; Initial Catalog = {CatalogName}; User ID = Alis; Password = kefico; MultipleActiveResultSets=True;");
|
||||
//conn = new SqlConnection($"Data Source = 127.0.0.1; Initial Catalog = Smart_Inhibitor_1th_ALIS; User ID = Alis; Password = kefico;"); //Integrated Security = SSPI;");
|
||||
|
||||
/*connTest = new OdbcConnection("Dsn=UIM_MacAddress; Uid=Alis; Pwd=Kefico!@34;");
|
||||
connTest.Open();
|
||||
|
||||
OdbcTransaction odbcTransaction = connTest.BeginTransaction();
|
||||
OdbcCommand DD = new OdbcCommand("SELECT TOP (1000) * FROM [UIM_MacAddress].[dbo].[HIST_Summary];", connTest, odbcTransaction);
|
||||
OdbcDataReader ddd = DD.ExecuteReader();
|
||||
int n1 = ddd.FieldCount;*/
|
||||
|
||||
conn = new SqlConnection($"Data Source=localhost; Initial Catalog={strGetCatalogName}; Integrated Security = SSPI"); // MultipleActiveResultSets=True;");
|
||||
conn.Open();
|
||||
}
|
||||
catch (SqlException sqlEx)
|
||||
{
|
||||
MessageOutput.ConsoleWrite($"DB Connection Error: {sqlEx.Message}", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return conn;
|
||||
}
|
||||
|
||||
public static SqlConnection ConnectDB(string strGetConnIPAddress,
|
||||
string strGetCatalogName,
|
||||
string strGetUID,
|
||||
string strGetPW,
|
||||
int nGetConnPort = CatalogConnPort) //IPAddress getConnIPAddress)
|
||||
{
|
||||
try
|
||||
{
|
||||
//conn = new SqlConnection("Data Source=200.200.200.48,1433; Initial Catalog=LSU_Trimming_4th_ALIS; User ID=Alis; Password=kefico; MultipleActiveResultSets=True;");
|
||||
//Data Source = {IP},{Port}; Initial Catalog = {SCHEMA}; User ID = {ID}; Password = {PW}; MultipleActiveResultSets=True;
|
||||
//conn = new SqlConnection("Data Source=DESKTOP-5UQ1Q22;Initial Catalog=LSU_Trimming_4th_ALIS;Integrated Security=True;");
|
||||
//conn = new SqlConnection("Data Source = 125.130.37.164,1433; Initial Catalog = LSU_Trimming_4th_ALIS; User ID = Alis; Password = kefico; MultipleActiveResultSets=True;");
|
||||
//conn = new SqlConnection("Data Source = 127.0.0.1; Initial Catalog = Smart_Inhibitor_1th_ALIS; User ID = Alis; Password = kefico;"); //Integrated Security = SSPI;");
|
||||
|
||||
SqlConnectionStringBuilder builder = new SqlConnectionStringBuilder();
|
||||
|
||||
if (strGetConnIPAddress.Split(',').Length == 2)
|
||||
builder.DataSource = strGetConnIPAddress;
|
||||
else
|
||||
builder.DataSource = strGetConnIPAddress + "," + nGetConnPort.ToString(); //9000 50001 50002
|
||||
|
||||
/*
|
||||
builder.UserID = "Alis";
|
||||
builder.Password = "Kefico!@34";
|
||||
builder.InitialCatalog = CatalogName;
|
||||
*/
|
||||
|
||||
builder.UserID = strGetUID;
|
||||
builder.Password = strGetPW;
|
||||
builder.InitialCatalog = strGetCatalogName;
|
||||
|
||||
conn = new SqlConnection(builder.ConnectionString);
|
||||
|
||||
//Kefico!@34
|
||||
//KEFICO!@34
|
||||
//conn = new SqlConnection("Data Source = " + getConnIPAddress.ToString() + ",1433; Initial Catalog = UIM_MacAddress; User ID=Alis; Password=Kefico!@34;"); // MultipleActiveResultSets=True;");
|
||||
//conn = new SqlConnection("Data Source = " + getConnIPAddress.ToString() + ",1433; Initial Catalog = Smart_Inhibitor_1th_ALIS; User ID=Alis; Password=KEFICO!@34;"); // MultipleActiveResultSets=True;");
|
||||
|
||||
conn.Open();
|
||||
}
|
||||
catch (SqlException sqlEx)
|
||||
{
|
||||
MessageOutput.ConsoleWrite($"DB Connection Error: {sqlEx.Message}", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return conn;
|
||||
}
|
||||
}
|
||||
}
|
||||
308
CPXV2 PTS/SystemX.Product.CP.PTS/DataController.cs
Normal file
308
CPXV2 PTS/SystemX.Product.CP.PTS/DataController.cs
Normal file
@ -0,0 +1,308 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Net;
|
||||
using System.Diagnostics;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
using DataBaseConnection.Control;
|
||||
|
||||
using DevExpress.XtraBars;
|
||||
|
||||
using SystemX.Common;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Product.ALIS.UI.View.Base;
|
||||
using SystemX.Product.ALIS.UI.View;
|
||||
using SystemX.Net.Platform.Common.Util;
|
||||
using SystemX.Product.ALIS.UI.Subs;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public partial class FrmMain
|
||||
{
|
||||
/// <summary>
|
||||
/// IDataController
|
||||
/// </summary>
|
||||
object objSQLControl = new object();
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetConnSqlCmd
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public SqlCommand GetConnSqlCmd()
|
||||
{
|
||||
return SQLCmd;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetDuplicateCheck
|
||||
/// </summary>
|
||||
/// <param name="strTableName"></param>
|
||||
/// <param name="strFieldName"></param>
|
||||
/// <param name="strValue"></param>
|
||||
/// <returns></returns>
|
||||
public bool GetDuplicateCheck(string strTableName, string strFieldName, string strValue)
|
||||
{
|
||||
SqlDataReader dr = null;
|
||||
bool bHasRows = true;
|
||||
|
||||
try
|
||||
{
|
||||
SQLCmd.CommandText = "SELECT * FROM[" + strTableName + "] WHERE No IN(SELECT No FROM[" + strTableName + "] WHERE " + strFieldName + " = '" + strValue + "') ORDER BY No ASC;";
|
||||
|
||||
dr = SQLCmd.ExecuteReader();
|
||||
|
||||
if (dr != null)
|
||||
bHasRows = dr.HasRows;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>> ") + @"Query process fail. [SystemX.Product.ALIS.UI : IDataController.GetDuplicateCheck]\r\n" + ex.Message, ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (dr != null)
|
||||
dr.Close();
|
||||
}
|
||||
|
||||
return bHasRows;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetLoginInfo
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public UserInfo GetLoginInfo()
|
||||
{
|
||||
return CurrentUser;
|
||||
}
|
||||
|
||||
private DataTable QuerySQL(string strQueryText)
|
||||
{
|
||||
lock (objSQLControl)
|
||||
{
|
||||
SqlDataReader sqlReader = null;
|
||||
DataTable dt = new DataTable();
|
||||
|
||||
try
|
||||
{
|
||||
SQLCmd.CommandText = strQueryText;
|
||||
sqlReader = SQLCmd.ExecuteReader();
|
||||
|
||||
if (sqlReader.HasRows != false)
|
||||
dt.Load(sqlReader);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>> ") + @"Query process fail. [SystemX.Product.ALIS.UI : IDataController.QuerySQL]\r\n" + ex.Message, ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (sqlReader != null)
|
||||
sqlReader.Close();
|
||||
}
|
||||
|
||||
if (XCommons.isHasRow(dt))
|
||||
return dt;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public DataTable GetTable(string strQueryText)
|
||||
{
|
||||
return QuerySQL(strQueryText);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetTable
|
||||
/// </summary>
|
||||
/// <param name="tblName"></param>
|
||||
/// <returns></returns>
|
||||
public DataTable GetTable(eDbTableList tblName)
|
||||
{
|
||||
string strQueryText = string.Empty;
|
||||
|
||||
strQueryText = $"SELECT * FROM {tblName.ToString()} WITH(NOLOCK) ORDER BY No ASC;";
|
||||
|
||||
if (tblName == eDbTableList.STOR_TestListFile)
|
||||
{
|
||||
strQueryText = $"SELECT X.No, " +
|
||||
$"X.Name, " +
|
||||
$"X.FileName, " +
|
||||
$"X.TestType, " +
|
||||
$"X.Version AS 'FileVersion', " +
|
||||
$"X.ProdCode, " +
|
||||
$"X.RegDT, " +
|
||||
$"X.RegUser, " +
|
||||
$"X.UpdateDT, " +
|
||||
$"X.UpdateUser, " +
|
||||
$"X.Comment, " +
|
||||
$"X.Description, " +
|
||||
$"Z.LatestStepVersion AS 'Step Version' " +
|
||||
$"FROM [{tblName.ToString()}] AS X WITH(NOLOCK) " +
|
||||
$"LEFT JOIN [HIST_TestListFileLatestStepVersion] AS Z WITH(NOLOCK) ON Z.TestListFileNo = X.No " +
|
||||
$"ORDER BY No ASC;";
|
||||
}
|
||||
else if (tblName == eDbTableList.PROD_Variant)
|
||||
{
|
||||
strQueryText = $"SELECT X.No, " +
|
||||
$"X.ProdNo_P AS 'P_ProdNo', " +
|
||||
$"I.TestType, " +
|
||||
$"I.FileName, " +
|
||||
$"I.Version AS 'FileVersion', " +
|
||||
$"I.ProdCode, " +
|
||||
$"I.No AS 'TestListFileNo', " +
|
||||
$"I.Name AS 'TestListName', " +
|
||||
$"X.RegDT, " +
|
||||
$"X.RegUser, " +
|
||||
$"X.UpdateDT, " +
|
||||
$"X.UpdateUser, " +
|
||||
$"Y.No AS 'GroupNo', " +
|
||||
$"Y.GroupName, " +
|
||||
$"Y.ModelName, " +
|
||||
//$"Y.Comment AS 'Model-Comment', " +
|
||||
$"X.Comment, " +
|
||||
$"I.Description, " +
|
||||
$"X.UseTLPosition AS 'Test-List Position', " +
|
||||
$"Z.LatestStepVersion AS 'Step Version' " +
|
||||
//$"X.TestListData " +
|
||||
$"FROM {tblName.ToString()} AS X WITH(NOLOCK) " +
|
||||
$"LEFT JOIN [PROD_Group] AS Y WITH(NOLOCK) ON X.GroupNo = Y.No " +
|
||||
$"LEFT JOIN [STOR_TestListFile] AS I WITH(NOLOCK) ON X.TestListFileNo = I.No " +
|
||||
$"LEFT JOIN [HIST_TestListFileLatestStepVersion] AS Z WITH(NOLOCK) ON X.TestListFileNo = Z.TestListFileNo " +
|
||||
$"ORDER BY No ASC;";
|
||||
}
|
||||
else if (tblName == eDbTableList.PROD_Release)
|
||||
{
|
||||
strQueryText = $"SELECT X.No, " +
|
||||
$"K.ModelName, " +
|
||||
$"X.ProdNo_C AS 'C_ProdNo', " +
|
||||
$"Y.No AS 'TestCodeNo', " +
|
||||
$"Y.TestCode, " +
|
||||
$"Z.No AS 'VariantNo', " +
|
||||
$"Z.ProdNo_P AS 'P_ProdNo', " +
|
||||
$"J.TestType, " +
|
||||
$"J.Version AS 'FileVersion', " +
|
||||
$"J.ProdCode, " +
|
||||
$"X.Config, " +
|
||||
$"X.RegDT, " +
|
||||
$"X.RegUser, " +
|
||||
$"X.RegUserComment " +
|
||||
$"FROM {tblName.ToString()} AS X WITH(NOLOCK) " +
|
||||
$"LEFT JOIN [STAT_TestCode] AS Y WITH(NOLOCK) ON X.TestCodeNo = Y.No " +
|
||||
$"LEFT JOIN [PROD_Variant] AS Z WITH(NOLOCK) ON X.VariantNo = Z.No " +
|
||||
$"LEFT JOIN [PROD_Group] AS K WITH(NOLOCK) ON K.No = Z.GroupNo " +
|
||||
$"LEFT JOIN [STOR_TestListFile] AS J WITH(NOLOCK) ON Z.TestListFileNo = J.No " +
|
||||
$"OR X.No IS NULL ORDER BY No ASC;";
|
||||
}
|
||||
|
||||
return QuerySQL(strQueryText);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetTable
|
||||
/// </summary>
|
||||
/// <param name="tblName"></param>
|
||||
/// <param name="strColName"></param>
|
||||
/// <param name="strParameter"></param>
|
||||
/// <returns></returns>
|
||||
public DataTable GetTable(eDbTableList tblName, string strColName, string strParameter)
|
||||
{
|
||||
string strQueryText = $"SELECT * FROM {tblName.ToString()} WITH(NOLOCK) WHERE {strColName} = {strParameter} ORDER BY No ASC;";
|
||||
|
||||
return QuerySQL(strQueryText);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetServerDateTimeString
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string GetServerDateTimeString()
|
||||
{
|
||||
string strGetDateTime = string.Empty;
|
||||
|
||||
string strQueryText = "SELECT CONVERT(datetime2, GETDATE(), 121) AS CURRENT_DATETIME;";
|
||||
|
||||
DataTable getDt = QuerySQL(strQueryText);
|
||||
|
||||
if (XCommons.isHasRow(getDt))
|
||||
strGetDateTime = getDt.Rows[0].ItemArray[0].ToString();
|
||||
|
||||
return strGetDateTime;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - GetServerDateTime
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public DateTime GetServerDateTime()
|
||||
{
|
||||
string strGetDateTime = string.Empty;
|
||||
|
||||
string strQueryText = "SELECT CONVERT(datetime2, GETDATE(), 121) AS CURRENT_DATETIME;";
|
||||
|
||||
DataTable getDt = QuerySQL(strQueryText);
|
||||
|
||||
if (XCommons.isHasRow(getDt))
|
||||
strGetDateTime = getDt.Rows[0].ItemArray[0].ToString();
|
||||
|
||||
DateTime dtSetDateTime = new DateTime();
|
||||
DateTime.TryParse(strGetDateTime, out dtSetDateTime);
|
||||
|
||||
return dtSetDateTime;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IDataController - SetConvertDateTime
|
||||
/// </summary>
|
||||
/// <param name="strGetConvertText"></param>
|
||||
/// <returns></returns>
|
||||
public string SetConvertDateTime(string strGetConvertText)
|
||||
{
|
||||
string strQueryConvertText = string.Empty;
|
||||
|
||||
if (strGetConvertText.IndexOf("AM") >= 0 || strGetConvertText.IndexOf("PM") >= 0 ||
|
||||
strGetConvertText.IndexOf("오전") >= 0 || strGetConvertText.IndexOf("오후") >= 0)
|
||||
{
|
||||
if (strGetConvertText.IndexOf("AM") >= 0 || strGetConvertText.IndexOf("PM") >= 0)
|
||||
strQueryConvertText = "SELECT dbo.XConvertDateE('" + strGetConvertText + "') AS CONVERT_DATETIME_E;";
|
||||
else if (strGetConvertText.IndexOf("오전") >= 0 || strGetConvertText.IndexOf("오후") >= 0)
|
||||
strQueryConvertText = "SELECT dbo.XConvertDateK('" + strGetConvertText + "') AS CONVERT_DATETIME_K;";
|
||||
}
|
||||
|
||||
DataTable getDt = null;
|
||||
|
||||
string strGetResultText1 = string.Empty;
|
||||
string strGetResultText2 = string.Empty;
|
||||
|
||||
if (strQueryConvertText != string.Empty)
|
||||
getDt = QuerySQL(strQueryConvertText);
|
||||
else
|
||||
strGetResultText1 = strGetConvertText;
|
||||
|
||||
if (XCommons.isHasRow(getDt))
|
||||
strGetResultText1 = getDt.Rows[0].ItemArray[0].ToString();
|
||||
|
||||
string strQueryText = "SELECT CONVERT(VARCHAR, '" + strGetResultText1 + "', 121) AS CONVERT_DATETIME;";
|
||||
|
||||
if (strGetResultText1 != string.Empty)
|
||||
getDt = QuerySQL(strQueryText);
|
||||
|
||||
if (XCommons.isHasRow(getDt))
|
||||
strGetResultText2 = getDt.Rows[0].ItemArray[0].ToString();
|
||||
|
||||
return strGetResultText2;
|
||||
}
|
||||
}
|
||||
}
|
||||
64
CPXV2 PTS/SystemX.Product.CP.PTS/FrmChild.Designer.cs
generated
Normal file
64
CPXV2 PTS/SystemX.Product.CP.PTS/FrmChild.Designer.cs
generated
Normal file
@ -0,0 +1,64 @@
|
||||
namespace SystemX.Product.ALIS.UI.View
|
||||
{
|
||||
partial class FrmChild
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChild));
|
||||
this.panelControlDocFrame = new DevExpress.XtraEditors.PanelControl();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControlDocFrame)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panelControlDocFrame
|
||||
//
|
||||
this.panelControlDocFrame.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelControlDocFrame.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelControlDocFrame.Name = "panelControlDocFrame";
|
||||
this.panelControlDocFrame.Size = new System.Drawing.Size(890, 503);
|
||||
this.panelControlDocFrame.TabIndex = 2;
|
||||
//
|
||||
// FrmChild
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(890, 503);
|
||||
this.Controls.Add(this.panelControlDocFrame);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "FrmChild";
|
||||
this.Text = "ChildForm";
|
||||
this.Activated += new System.EventHandler(this.FrmChild_Activated);
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmChild_FormClosed);
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControlDocFrame)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraEditors.PanelControl panelControlDocFrame;
|
||||
}
|
||||
}
|
||||
211
CPXV2 PTS/SystemX.Product.CP.PTS/FrmChild.cs
Normal file
211
CPXV2 PTS/SystemX.Product.CP.PTS/FrmChild.cs
Normal file
@ -0,0 +1,211 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using DataBaseConnection.Control;
|
||||
|
||||
using DevExpress.XtraBars.Docking2010;
|
||||
using DevExpress.XtraBars.Docking2010.Views;
|
||||
using DevExpress.XtraBars.Docking2010.Views.Tabbed;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Product.ALIS.UI.View.InfoList;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View
|
||||
{
|
||||
public partial class FrmChild : Form, IChildSubscribe
|
||||
{
|
||||
/// <summary>
|
||||
/// IChildSubscribe - setLoginStateNotice
|
||||
/// </summary>
|
||||
/// <param name="CurrentAccessLevel"></param>
|
||||
/// <param name="bLoginState"></param>
|
||||
public void SetLoginStateNotice(LoginAccessLevel CurrentAccessLevel, bool bLoginState)
|
||||
{
|
||||
((IUserControlSubscribe)WindowControl).SetLoginStateNotice(CurrentAccessLevel, bLoginState);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IChildSubscribe - GoToFindTestListFileFocus
|
||||
/// </summary>
|
||||
/// <param name="nTestListFileNo"></param>
|
||||
public void GoToFindTestListFileFocus(int nTestListFileNo)
|
||||
{
|
||||
((IUserControlSubscribe)WindowControl).GoToFindTestListFileFocus(nTestListFileNo);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IChildSubscribe - GoToFindVariantFocus
|
||||
/// </summary>
|
||||
/// <param name="nParentNo"></param>
|
||||
public void GoToFindVariantFocus(int nVariantNo)
|
||||
{
|
||||
((IUserControlSubscribe)WindowControl).GoToFindVariantFocus(nVariantNo);
|
||||
}
|
||||
|
||||
public string DisplayName { get; private set; }
|
||||
public eAppFunctionType DocType { get; private set; }
|
||||
public UserControl WindowControl { get; private set; }
|
||||
|
||||
private IChildController refChildInterface;
|
||||
private IDataController refDBInterface;
|
||||
|
||||
public LoginAccessLevel ThisAccessLevel { get; private set; }
|
||||
|
||||
public FrmChild(Form mainform, eAppFunctionType eType, eSelectType eSelType, string strDispModelName, LoginAccessLevel CreateAccessLevel, bool bLoginState = false)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ThisAccessLevel = CreateAccessLevel;
|
||||
|
||||
refChildInterface = (IChildController)mainform;
|
||||
refDBInterface = (IDataController)mainform;
|
||||
|
||||
DisplayName = strDispModelName;
|
||||
DocType = eType;
|
||||
|
||||
WindowControl = CreateContents(eType, eSelType, ThisAccessLevel, bLoginState);
|
||||
WindowControl.Parent = mainform;
|
||||
|
||||
panelControlDocFrame.Controls.Add(WindowControl);
|
||||
panelControlDocFrame.Dock = DockStyle.Fill;
|
||||
panelControlDocFrame.Name = strDispModelName;
|
||||
|
||||
this.Name = strDispModelName;
|
||||
this.Dock = DockStyle.Fill;
|
||||
|
||||
MdiParent = mainform;
|
||||
}
|
||||
UserControl CreateContents(eAppFunctionType eType, eSelectType eSelType, LoginAccessLevel MakeAccessLevel, bool bLoginState = false)
|
||||
{
|
||||
switch (eType)
|
||||
{
|
||||
case eAppFunctionType.M_HostList:
|
||||
case eAppFunctionType.M_UserList:
|
||||
case eAppFunctionType.M_GroupList:
|
||||
case eAppFunctionType.M_TestCodeList:
|
||||
{
|
||||
UcInfoView UcView = new UcInfoView(eSelType, refDBInterface, MakeAccessLevel, bLoginState) { Dock = DockStyle.Fill };
|
||||
return UcView;
|
||||
}
|
||||
case eAppFunctionType.M_TestListFile:
|
||||
case eAppFunctionType.M_TestListVariant:
|
||||
case eAppFunctionType.M_TestListRelease:
|
||||
{
|
||||
UcTestListView UcView = new UcTestListView(eSelType, refChildInterface, refDBInterface, MakeAccessLevel, bLoginState) { Dock = DockStyle.Fill };
|
||||
return UcView;
|
||||
}
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void AddChildControl(BaseView parentView, FrmChild docFramesHide)
|
||||
{
|
||||
BaseDocumentCollection document = parentView.Documents;
|
||||
DevExpress.XtraBars.Docking2010.Views.Tabbed.Document baseDoc = document.Find(x => x.Control == this).FirstOrDefault() as DevExpress.XtraBars.Docking2010.Views.Tabbed.Document;
|
||||
DevExpress.XtraBars.Docking2010.Views.Tabbed.Document baseDocHiding = document.Find(x => x.Control == docFramesHide).FirstOrDefault() as DevExpress.XtraBars.Docking2010.Views.Tabbed.Document; ;
|
||||
|
||||
DevExpress.XtraBars.Docking2010.DocumentManager ctrlMng = baseDoc.Parent.Manager;
|
||||
|
||||
var index = baseDoc.Parent.Items.IndexOf(baseDoc);
|
||||
|
||||
/*
|
||||
baseDocHiding.Parent.Items.Remove(baseDocHiding);
|
||||
baseDoc.Parent.Items.Insert(index, baseDocHiding);
|
||||
(ctrlMng.View as TabbedView).Controller.Select(baseDocHiding);
|
||||
*/
|
||||
|
||||
(parentView as TabbedView).Controller.Dock(baseDocHiding, baseDoc.Parent, index);
|
||||
(ctrlMng.View as TabbedView).Controller.Select(baseDoc);
|
||||
|
||||
SetTabSpace(parentView as TabbedView, ctrlMng, baseDoc.Parent);
|
||||
Rebalance(ctrlMng, parentView as TabbedView);
|
||||
}
|
||||
|
||||
private void Rebalance(DocumentManager docMng, TabbedView parentView)
|
||||
{
|
||||
docMng.BeginUpdate();
|
||||
foreach (var documentGroup in parentView.DocumentGroups)
|
||||
{
|
||||
documentGroup.GroupLength = 1;
|
||||
documentGroup.Visible = true;
|
||||
}
|
||||
parentView.AppearancePage.Header.Font = new Font(parentView.AppearancePage.Header.Font, FontStyle.Regular);
|
||||
docMng.EndUpdate();
|
||||
}
|
||||
|
||||
private void SetTabSpace(TabbedView parentView, DocumentManager ctrlMng, DocumentGroup currentGroup)
|
||||
{
|
||||
int size = 200; //MtFormUserSettings.LoadScreenUserSettings(cnnInfo, mtSysMDAppMenuNodesIRN);
|
||||
|
||||
// Will be zero if form was floated
|
||||
if (size == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (size == 100)
|
||||
{
|
||||
MakeProminent(parentView, currentGroup);
|
||||
return;
|
||||
}
|
||||
|
||||
ctrlMng.BeginUpdate();
|
||||
|
||||
foreach (var documentGroup in parentView.DocumentGroups)
|
||||
{
|
||||
if (documentGroup == currentGroup)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
documentGroup.GroupLength = Convert.ToInt32(100 - size) / (parentView.DocumentGroups.Count - 1);
|
||||
}
|
||||
|
||||
currentGroup.GroupLength = size;
|
||||
|
||||
ctrlMng.EndUpdate();
|
||||
}
|
||||
|
||||
private void MakeProminent(TabbedView parentView, DocumentGroup currentGroup)
|
||||
{
|
||||
foreach (var documentGroup in parentView.DocumentGroups)
|
||||
{
|
||||
if (documentGroup == currentGroup)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
documentGroup.Visible = false;
|
||||
//reset the parent doc group's groupLength to 0 since the child doc group is going
|
||||
//to take up the whole screen
|
||||
documentGroup.GroupLength = 0;
|
||||
}
|
||||
parentView.AppearancePage.Header.Font = new Font(parentView.AppearancePage.Header.Font, FontStyle.Bold);
|
||||
}
|
||||
|
||||
private void FrmChild_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
refChildInterface.CloseChildForm(DocType);
|
||||
}
|
||||
|
||||
private void FrmChild_Activated(object sender, EventArgs e)
|
||||
{
|
||||
refChildInterface.CurrentSelectFunctionType(DocType);
|
||||
}
|
||||
|
||||
public void RefreshView()
|
||||
{
|
||||
((IUserControlSubscribe)WindowControl).RefreshDataView();
|
||||
}
|
||||
}
|
||||
}
|
||||
2962
CPXV2 PTS/SystemX.Product.CP.PTS/FrmChild.resx
Normal file
2962
CPXV2 PTS/SystemX.Product.CP.PTS/FrmChild.resx
Normal file
File diff suppressed because it is too large
Load Diff
501
CPXV2 PTS/SystemX.Product.CP.PTS/FrmMain.Designer.cs
generated
Normal file
501
CPXV2 PTS/SystemX.Product.CP.PTS/FrmMain.Designer.cs
generated
Normal file
@ -0,0 +1,501 @@
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
partial class FrmMain
|
||||
{
|
||||
/// <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.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
||||
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
||||
this.barStaticItemLoginTime1 = new DevExpress.XtraBars.BarStaticItem();
|
||||
this.barButtonItemMgTestCode = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
|
||||
this.barMdiChildrenListItemMain = new DevExpress.XtraBars.BarMdiChildrenListItem();
|
||||
this.barButtonItemMgGroup = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemASAPartID = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemASAProcess = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemTestListVariant = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemTestListRelease = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.btnHostInfo = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemPrdStart = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemPrdStop = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItem_Login = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemUserLogout = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemUser = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemLogSearch = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barStaticLabelLogin = new DevExpress.XtraBars.BarStaticItem();
|
||||
this.barStaticItemLoginTime2 = new DevExpress.XtraBars.BarStaticItem();
|
||||
this.barButtonItemConsole = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barStaticItemConn = new DevExpress.XtraBars.BarStaticItem();
|
||||
this.barButtonItemLogout = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemConnect = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.barButtonItemTestListFile = new DevExpress.XtraBars.BarButtonItem();
|
||||
this.ribbonPageManagement = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
||||
this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||
this.ribbonPageGroupMgtProduction = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||
this.ribbonPageGroupConsole = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||
this.ribbonPageMain = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
||||
this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
||||
this.repositoryItemPictureEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
|
||||
this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
|
||||
this.documentManagerMain = new DevExpress.XtraBars.Docking2010.DocumentManager(this.components);
|
||||
this.tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(this.components);
|
||||
this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
|
||||
this.timerSystem = new System.Windows.Forms.Timer(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.documentManagerMain)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabbedView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// ribbon
|
||||
//
|
||||
this.ribbon.CaptionBarItemLinks.Add(this.barStaticItemLoginTime1);
|
||||
this.ribbon.ExpandCollapseItem.Id = 0;
|
||||
this.ribbon.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
|
||||
this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
||||
this.barStaticItemLoginTime1,
|
||||
this.ribbon.ExpandCollapseItem,
|
||||
this.ribbon.SearchEditItem,
|
||||
this.barButtonItemMgTestCode,
|
||||
this.barStaticItem1,
|
||||
this.barMdiChildrenListItemMain,
|
||||
this.barButtonItemMgGroup,
|
||||
this.barButtonItemASAPartID,
|
||||
this.barButtonItemASAProcess,
|
||||
this.barButtonItemTestListVariant,
|
||||
this.barButtonItemTestListRelease,
|
||||
this.btnHostInfo,
|
||||
this.barButtonItem5,
|
||||
this.barButtonItemPrdStart,
|
||||
this.barButtonItemPrdStop,
|
||||
this.barButtonItem_Login,
|
||||
this.barButtonItemUserLogout,
|
||||
this.barButtonItemUser,
|
||||
this.barButtonItemLogSearch,
|
||||
this.barStaticLabelLogin,
|
||||
this.barStaticItemLoginTime2,
|
||||
this.barButtonItemConsole,
|
||||
this.barStaticItemConn,
|
||||
this.barButtonItemLogout,
|
||||
this.barButtonItemConnect,
|
||||
this.barButtonItemTestListFile});
|
||||
this.ribbon.Location = new System.Drawing.Point(0, 0);
|
||||
this.ribbon.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.ribbon.MaxItemId = 31;
|
||||
this.ribbon.Name = "ribbon";
|
||||
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
||||
this.ribbonPageManagement,
|
||||
this.ribbonPageMain});
|
||||
this.ribbon.QuickToolbarItemLinks.Add(this.barStaticItemConn);
|
||||
this.ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
||||
this.repositoryItemPictureEdit1});
|
||||
this.ribbon.Size = new System.Drawing.Size(1319, 166);
|
||||
this.ribbon.StatusBar = this.ribbonStatusBar;
|
||||
//
|
||||
// barStaticItemLoginTime1
|
||||
//
|
||||
this.barStaticItemLoginTime1.Caption = "-";
|
||||
this.barStaticItemLoginTime1.Id = 24;
|
||||
this.barStaticItemLoginTime1.Name = "barStaticItemLoginTime1";
|
||||
this.barStaticItemLoginTime1.ShowImageInToolbar = false;
|
||||
this.barStaticItemLoginTime1.TextAlignment = System.Drawing.StringAlignment.Center;
|
||||
this.barStaticItemLoginTime1.Width = 200;
|
||||
//
|
||||
// barButtonItemMgTestCode
|
||||
//
|
||||
this.barButtonItemMgTestCode.Caption = "Test Code Management(F8)";
|
||||
this.barButtonItemMgTestCode.Id = 1;
|
||||
this.barButtonItemMgTestCode.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemMgTestCode.ImageOptions.SvgImage")));
|
||||
this.barButtonItemMgTestCode.LargeWidth = 120;
|
||||
this.barButtonItemMgTestCode.Name = "barButtonItemMgTestCode";
|
||||
this.barButtonItemMgTestCode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemMgTestCode_ItemClick);
|
||||
//
|
||||
// barStaticItem1
|
||||
//
|
||||
this.barStaticItem1.Caption = "System X - Server Management System(PTS) CPXV2 v23.11.11";
|
||||
this.barStaticItem1.Id = 4;
|
||||
this.barStaticItem1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barStaticItem1.ImageOptions.Image")));
|
||||
this.barStaticItem1.Name = "barStaticItem1";
|
||||
//
|
||||
// barMdiChildrenListItemMain
|
||||
//
|
||||
this.barMdiChildrenListItemMain.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
|
||||
this.barMdiChildrenListItemMain.Caption = "Working Models";
|
||||
this.barMdiChildrenListItemMain.Id = 5;
|
||||
this.barMdiChildrenListItemMain.Name = "barMdiChildrenListItemMain";
|
||||
//
|
||||
// barButtonItemMgGroup
|
||||
//
|
||||
this.barButtonItemMgGroup.Caption = "Group Management(F7)";
|
||||
this.barButtonItemMgGroup.Id = 6;
|
||||
this.barButtonItemMgGroup.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemMgGroup.ImageOptions.SvgImage")));
|
||||
this.barButtonItemMgGroup.LargeWidth = 120;
|
||||
this.barButtonItemMgGroup.Name = "barButtonItemMgGroup";
|
||||
this.barButtonItemMgGroup.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemMgGroup_ItemClick);
|
||||
//
|
||||
// barButtonItemASAPartID
|
||||
//
|
||||
this.barButtonItemASAPartID.Caption = "Part History";
|
||||
this.barButtonItemASAPartID.Id = 7;
|
||||
this.barButtonItemASAPartID.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemASAPartID.ImageOptions.SvgImage")));
|
||||
this.barButtonItemASAPartID.Name = "barButtonItemASAPartID";
|
||||
this.barButtonItemASAPartID.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemASAPartID_ItemClick);
|
||||
//
|
||||
// barButtonItemASAProcess
|
||||
//
|
||||
this.barButtonItemASAProcess.Caption = "Process Trend";
|
||||
this.barButtonItemASAProcess.Id = 8;
|
||||
this.barButtonItemASAProcess.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemASAProcess.ImageOptions.SvgImage")));
|
||||
this.barButtonItemASAProcess.Name = "barButtonItemASAProcess";
|
||||
this.barButtonItemASAProcess.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemASAProcess_ItemClick);
|
||||
//
|
||||
// barButtonItemTestListVariant
|
||||
//
|
||||
this.barButtonItemTestListVariant.Caption = "Test List Variant Management(F3)";
|
||||
this.barButtonItemTestListVariant.Id = 10;
|
||||
this.barButtonItemTestListVariant.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemTestListVariant.ImageOptions.SvgImage")));
|
||||
this.barButtonItemTestListVariant.LargeWidth = 120;
|
||||
this.barButtonItemTestListVariant.Name = "barButtonItemTestListVariant";
|
||||
this.barButtonItemTestListVariant.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemTestListVariant_ItemClick);
|
||||
//
|
||||
// barButtonItemTestListRelease
|
||||
//
|
||||
this.barButtonItemTestListRelease.Caption = "Test List Release Management(F4)";
|
||||
this.barButtonItemTestListRelease.Id = 11;
|
||||
this.barButtonItemTestListRelease.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemTestListRelease.ImageOptions.SvgImage")));
|
||||
this.barButtonItemTestListRelease.LargeWidth = 120;
|
||||
this.barButtonItemTestListRelease.Name = "barButtonItemTestListRelease";
|
||||
this.barButtonItemTestListRelease.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemTestListRelease_ItemClick);
|
||||
//
|
||||
// btnHostInfo
|
||||
//
|
||||
this.btnHostInfo.Caption = "Host Management(F6)";
|
||||
this.btnHostInfo.Id = 13;
|
||||
this.btnHostInfo.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnHostInfo.ImageOptions.Image")));
|
||||
this.btnHostInfo.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnHostInfo.ImageOptions.LargeImage")));
|
||||
this.btnHostInfo.LargeWidth = 120;
|
||||
this.btnHostInfo.Name = "btnHostInfo";
|
||||
this.btnHostInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnHostInfo_ItemClick);
|
||||
//
|
||||
// barButtonItem5
|
||||
//
|
||||
this.barButtonItem5.Caption = "Order Status";
|
||||
this.barButtonItem5.Id = 15;
|
||||
this.barButtonItem5.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.ImageOptions.Image")));
|
||||
this.barButtonItem5.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.ImageOptions.LargeImage")));
|
||||
this.barButtonItem5.Name = "barButtonItem5";
|
||||
this.barButtonItem5.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
||||
//
|
||||
// barButtonItemPrdStart
|
||||
//
|
||||
this.barButtonItemPrdStart.Caption = "Start";
|
||||
this.barButtonItemPrdStart.Id = 16;
|
||||
this.barButtonItemPrdStart.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemPrdStart.ImageOptions.Image")));
|
||||
this.barButtonItemPrdStart.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemPrdStart.ImageOptions.LargeImage")));
|
||||
this.barButtonItemPrdStart.Name = "barButtonItemPrdStart";
|
||||
this.barButtonItemPrdStart.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
||||
//
|
||||
// barButtonItemPrdStop
|
||||
//
|
||||
this.barButtonItemPrdStop.Caption = "Stop";
|
||||
this.barButtonItemPrdStop.Id = 17;
|
||||
this.barButtonItemPrdStop.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemPrdStop.ImageOptions.Image")));
|
||||
this.barButtonItemPrdStop.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemPrdStop.ImageOptions.LargeImage")));
|
||||
this.barButtonItemPrdStop.Name = "barButtonItemPrdStop";
|
||||
this.barButtonItemPrdStop.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
||||
//
|
||||
// barButtonItem_Login
|
||||
//
|
||||
this.barButtonItem_Login.Caption = "Login(F1)";
|
||||
this.barButtonItem_Login.Id = 18;
|
||||
this.barButtonItem_Login.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Login.ImageOptions.Image")));
|
||||
this.barButtonItem_Login.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Login.ImageOptions.LargeImage")));
|
||||
this.barButtonItem_Login.LargeWidth = 100;
|
||||
this.barButtonItem_Login.Name = "barButtonItem_Login";
|
||||
this.barButtonItem_Login.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Login_ItemClick);
|
||||
//
|
||||
// barButtonItemUserLogout
|
||||
//
|
||||
this.barButtonItemUserLogout.Caption = "Logout";
|
||||
this.barButtonItemUserLogout.Enabled = false;
|
||||
this.barButtonItemUserLogout.Id = 19;
|
||||
this.barButtonItemUserLogout.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemUserLogout.ImageOptions.Image")));
|
||||
this.barButtonItemUserLogout.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemUserLogout.ImageOptions.LargeImage")));
|
||||
this.barButtonItemUserLogout.LargeWidth = 100;
|
||||
this.barButtonItemUserLogout.Name = "barButtonItemUserLogout";
|
||||
this.barButtonItemUserLogout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemUserLogout_ItemClick);
|
||||
//
|
||||
// barButtonItemUser
|
||||
//
|
||||
this.barButtonItemUser.Caption = "User(F9)";
|
||||
this.barButtonItemUser.Id = 20;
|
||||
this.barButtonItemUser.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemUser.ImageOptions.Image")));
|
||||
this.barButtonItemUser.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemUser.ImageOptions.LargeImage")));
|
||||
this.barButtonItemUser.LargeWidth = 100;
|
||||
this.barButtonItemUser.Name = "barButtonItemUser";
|
||||
this.barButtonItemUser.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemUser_ItemClick);
|
||||
//
|
||||
// barButtonItemLogSearch
|
||||
//
|
||||
this.barButtonItemLogSearch.Caption = "Log Search";
|
||||
this.barButtonItemLogSearch.Id = 22;
|
||||
this.barButtonItemLogSearch.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemLogSearch.ImageOptions.Image")));
|
||||
this.barButtonItemLogSearch.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemLogSearch.ImageOptions.LargeImage")));
|
||||
this.barButtonItemLogSearch.Name = "barButtonItemLogSearch";
|
||||
this.barButtonItemLogSearch.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemLogSearch_ItemClick);
|
||||
//
|
||||
// barStaticLabelLogin
|
||||
//
|
||||
this.barStaticLabelLogin.Caption = "-";
|
||||
this.barStaticLabelLogin.Id = 23;
|
||||
this.barStaticLabelLogin.Name = "barStaticLabelLogin";
|
||||
this.barStaticLabelLogin.TextAlignment = System.Drawing.StringAlignment.Center;
|
||||
this.barStaticLabelLogin.Width = 500;
|
||||
//
|
||||
// barStaticItemLoginTime2
|
||||
//
|
||||
this.barStaticItemLoginTime2.Caption = "-";
|
||||
this.barStaticItemLoginTime2.Id = 25;
|
||||
this.barStaticItemLoginTime2.Name = "barStaticItemLoginTime2";
|
||||
this.barStaticItemLoginTime2.TextAlignment = System.Drawing.StringAlignment.Center;
|
||||
this.barStaticItemLoginTime2.Width = 200;
|
||||
//
|
||||
// barButtonItemConsole
|
||||
//
|
||||
this.barButtonItemConsole.Caption = "Console Window";
|
||||
this.barButtonItemConsole.Id = 26;
|
||||
this.barButtonItemConsole.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemConsole.ImageOptions.SvgImage")));
|
||||
this.barButtonItemConsole.LargeWidth = 120;
|
||||
this.barButtonItemConsole.Name = "barButtonItemConsole";
|
||||
this.barButtonItemConsole.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemConsole_ItemClick);
|
||||
//
|
||||
// barStaticItemConn
|
||||
//
|
||||
this.barStaticItemConn.Caption = "Connect DB";
|
||||
this.barStaticItemConn.Id = 27;
|
||||
this.barStaticItemConn.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barStaticItemConn.ImageOptions.Image")));
|
||||
this.barStaticItemConn.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barStaticItemConn.ImageOptions.LargeImage")));
|
||||
this.barStaticItemConn.Name = "barStaticItemConn";
|
||||
this.barStaticItemConn.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
||||
this.barStaticItemConn.ShowImageInToolbar = false;
|
||||
this.barStaticItemConn.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
|
||||
//
|
||||
// barButtonItemLogout
|
||||
//
|
||||
this.barButtonItemLogout.Caption = "Disconnect";
|
||||
this.barButtonItemLogout.Enabled = false;
|
||||
this.barButtonItemLogout.Id = 28;
|
||||
this.barButtonItemLogout.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemLogout.ImageOptions.Image")));
|
||||
this.barButtonItemLogout.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemLogout.ImageOptions.LargeImage")));
|
||||
this.barButtonItemLogout.LargeWidth = 125;
|
||||
this.barButtonItemLogout.Name = "barButtonItemLogout";
|
||||
this.barButtonItemLogout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemLogout_ItemClick);
|
||||
//
|
||||
// barButtonItemConnect
|
||||
//
|
||||
this.barButtonItemConnect.Caption = "Connect";
|
||||
this.barButtonItemConnect.Id = 29;
|
||||
this.barButtonItemConnect.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItemConnect.ImageOptions.Image")));
|
||||
this.barButtonItemConnect.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItemConnect.ImageOptions.LargeImage")));
|
||||
this.barButtonItemConnect.LargeWidth = 125;
|
||||
this.barButtonItemConnect.Name = "barButtonItemConnect";
|
||||
this.barButtonItemConnect.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemConnect_ItemClick);
|
||||
//
|
||||
// barButtonItemTestListFile
|
||||
//
|
||||
this.barButtonItemTestListFile.Caption = "Test List File Management(F2)";
|
||||
this.barButtonItemTestListFile.Id = 30;
|
||||
this.barButtonItemTestListFile.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemTestListFile.ImageOptions.SvgImage")));
|
||||
this.barButtonItemTestListFile.Name = "barButtonItemTestListFile";
|
||||
this.barButtonItemTestListFile.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemTestListFile_ItemClick);
|
||||
//
|
||||
// ribbonPageManagement
|
||||
//
|
||||
this.ribbonPageManagement.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
||||
this.ribbonPageGroup2,
|
||||
this.ribbonPageGroupMgtProduction,
|
||||
this.ribbonPageGroupConsole});
|
||||
this.ribbonPageManagement.Name = "ribbonPageManagement";
|
||||
this.ribbonPageManagement.Text = "Management";
|
||||
//
|
||||
// ribbonPageGroup2
|
||||
//
|
||||
this.ribbonPageGroup2.ItemLinks.Add(this.btnHostInfo);
|
||||
this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItemMgGroup);
|
||||
this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItemMgTestCode);
|
||||
this.ribbonPageGroup2.Name = "ribbonPageGroup2";
|
||||
this.ribbonPageGroup2.Text = "Base";
|
||||
//
|
||||
// ribbonPageGroupMgtProduction
|
||||
//
|
||||
this.ribbonPageGroupMgtProduction.ItemLinks.Add(this.barButtonItemTestListFile, true);
|
||||
this.ribbonPageGroupMgtProduction.ItemLinks.Add(this.barButtonItemTestListVariant);
|
||||
this.ribbonPageGroupMgtProduction.ItemLinks.Add(this.barButtonItemTestListRelease);
|
||||
this.ribbonPageGroupMgtProduction.Name = "ribbonPageGroupMgtProduction";
|
||||
this.ribbonPageGroupMgtProduction.Text = "Test List";
|
||||
//
|
||||
// ribbonPageGroupConsole
|
||||
//
|
||||
this.ribbonPageGroupConsole.ItemLinks.Add(this.barButtonItemConsole, true);
|
||||
this.ribbonPageGroupConsole.Name = "ribbonPageGroupConsole";
|
||||
this.ribbonPageGroupConsole.Text = "Console Debug";
|
||||
//
|
||||
// ribbonPageMain
|
||||
//
|
||||
this.ribbonPageMain.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
||||
this.ribbonPageGroup5,
|
||||
this.ribbonPageGroup1});
|
||||
this.ribbonPageMain.Name = "ribbonPageMain";
|
||||
this.ribbonPageMain.Text = "Control";
|
||||
//
|
||||
// ribbonPageGroup5
|
||||
//
|
||||
this.ribbonPageGroup5.ItemLinks.Add(this.barButtonItem_Login);
|
||||
this.ribbonPageGroup5.ItemLinks.Add(this.barButtonItemUserLogout);
|
||||
this.ribbonPageGroup5.ItemLinks.Add(this.barButtonItemUser);
|
||||
this.ribbonPageGroup5.Name = "ribbonPageGroup5";
|
||||
this.ribbonPageGroup5.Text = "Permission";
|
||||
//
|
||||
// ribbonPageGroup1
|
||||
//
|
||||
this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItemConnect);
|
||||
this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItemLogout);
|
||||
this.ribbonPageGroup1.Name = "ribbonPageGroup1";
|
||||
this.ribbonPageGroup1.Text = "Database Connection";
|
||||
//
|
||||
// repositoryItemPictureEdit1
|
||||
//
|
||||
this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
|
||||
this.repositoryItemPictureEdit1.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
|
||||
//
|
||||
// ribbonStatusBar
|
||||
//
|
||||
this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem1);
|
||||
this.ribbonStatusBar.ItemLinks.Add(this.barMdiChildrenListItemMain);
|
||||
this.ribbonStatusBar.ItemLinks.Add(this.barStaticLabelLogin);
|
||||
this.ribbonStatusBar.ItemLinks.Add(this.barStaticItemLoginTime2);
|
||||
this.ribbonStatusBar.Location = new System.Drawing.Point(0, 570);
|
||||
this.ribbonStatusBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.ribbonStatusBar.Name = "ribbonStatusBar";
|
||||
this.ribbonStatusBar.Ribbon = this.ribbon;
|
||||
this.ribbonStatusBar.Size = new System.Drawing.Size(1319, 24);
|
||||
//
|
||||
// documentManagerMain
|
||||
//
|
||||
this.documentManagerMain.MdiParent = this;
|
||||
this.documentManagerMain.MenuManager = this.ribbon;
|
||||
this.documentManagerMain.View = this.tabbedView1;
|
||||
this.documentManagerMain.ViewCollection.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseView[] {
|
||||
this.tabbedView1});
|
||||
//
|
||||
// timerSystem
|
||||
//
|
||||
this.timerSystem.Enabled = true;
|
||||
this.timerSystem.Tick += new System.EventHandler(this.timerSystem_Tick);
|
||||
//
|
||||
// FrmMain
|
||||
//
|
||||
this.ActiveGlowColor = System.Drawing.Color.Transparent;
|
||||
this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.Appearance.Options.UseBackColor = true;
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.Zoom;
|
||||
this.BackgroundImageStore = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImageStore")));
|
||||
this.ClientSize = new System.Drawing.Size(1319, 594);
|
||||
this.Controls.Add(this.ribbonStatusBar);
|
||||
this.Controls.Add(this.ribbon);
|
||||
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("FrmMain.IconOptions.Icon")));
|
||||
this.IconOptions.Image = ((System.Drawing.Image)(resources.GetObject("FrmMain.IconOptions.Image")));
|
||||
this.InactiveGlowColor = System.Drawing.Color.White;
|
||||
this.IsMdiContainer = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.Name = "FrmMain";
|
||||
this.Ribbon = this.ribbon;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.StatusBar = this.ribbonStatusBar;
|
||||
this.Text = "CP - Server X : PTS [CPXV2]";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
|
||||
this.Load += new System.EventHandler(this.FrmMain_Load);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmMain_KeyDown);
|
||||
((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.documentManagerMain)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabbedView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DevExpress.XtraBars.Ribbon.RibbonControl ribbon;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPageMain;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemMgTestCode;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPageManagement;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroupMgtProduction;
|
||||
private DevExpress.XtraBars.BarStaticItem barStaticItem1;
|
||||
private DevExpress.XtraBars.BarMdiChildrenListItem barMdiChildrenListItemMain;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit repositoryItemPictureEdit1;
|
||||
private DevExpress.XtraBars.Docking2010.DocumentManager documentManagerMain;
|
||||
private DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView tabbedView1;
|
||||
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemMgGroup;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemASAPartID;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemASAProcess;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemTestListVariant;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemTestListRelease;
|
||||
private DevExpress.XtraBars.BarButtonItem btnHostInfo;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItem5;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemPrdStart;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemPrdStop;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItem_Login;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemUserLogout;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemUser;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup5;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemLogSearch;
|
||||
private DevExpress.XtraBars.BarStaticItem barStaticLabelLogin;
|
||||
private System.Windows.Forms.Timer timerSystem;
|
||||
private DevExpress.XtraBars.BarStaticItem barStaticItemLoginTime1;
|
||||
private DevExpress.XtraBars.BarStaticItem barStaticItemLoginTime2;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemConsole;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroupConsole;
|
||||
private DevExpress.XtraBars.BarStaticItem barStaticItemConn;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemLogout;
|
||||
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemConnect;
|
||||
private DevExpress.XtraBars.BarButtonItem barButtonItemTestListFile;
|
||||
}
|
||||
}
|
||||
584
CPXV2 PTS/SystemX.Product.CP.PTS/FrmMain.cs
Normal file
584
CPXV2 PTS/SystemX.Product.CP.PTS/FrmMain.cs
Normal file
@ -0,0 +1,584 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Diagnostics;
|
||||
using System.Data.SqlClient;
|
||||
using System.Net;
|
||||
using System.Security.Policy;
|
||||
using System.Data.Common;
|
||||
|
||||
using DataBaseConnection.Control;
|
||||
|
||||
using DevExpress.XtraBars;
|
||||
|
||||
using SystemX.Product.ALIS.UI.View;
|
||||
using SystemX.Net.Platform.Common.Util;
|
||||
using SystemX.Product.ALIS.UI.Subs;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Product.ALIS.UI.View.Base;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
using SystemX.Common;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public partial class FrmMain : DevExpress.XtraBars.Ribbon.RibbonForm, IChildController, IDataController
|
||||
{
|
||||
public class UserInfo
|
||||
{
|
||||
public string UserID;
|
||||
public string Name;
|
||||
public string Dept;
|
||||
public string Email;
|
||||
public string Comment;
|
||||
public string Password;
|
||||
|
||||
public UserInfo()
|
||||
{
|
||||
UserID = "";
|
||||
Name = "";
|
||||
Dept = "";
|
||||
Email = "";
|
||||
Comment = "";
|
||||
Password = "";
|
||||
}
|
||||
public void Clear()
|
||||
{
|
||||
UserID = "";
|
||||
Name = "";
|
||||
Dept = "";
|
||||
Email = "";
|
||||
Comment = "";
|
||||
Password = "";
|
||||
}
|
||||
}
|
||||
|
||||
private List<FrmChild> DocFrames { get; set; }
|
||||
|
||||
|
||||
/*DbConnection conn { get; set; }
|
||||
|
||||
DbCommand SQLCmd { get; set; }*/
|
||||
|
||||
private SqlConnection SQLConnection { get; set; }
|
||||
private SqlCommand SQLCmd { get; set; }
|
||||
|
||||
BackgroundWorker worker = new BackgroundWorker();
|
||||
WaitProgressForm loadForm = null;
|
||||
Stopwatch stLoadFormWait = new Stopwatch();
|
||||
|
||||
private string strUserInputConnectInfo;
|
||||
|
||||
private async void ReadingCompleted(object args)
|
||||
{
|
||||
loadForm.BringToFront();
|
||||
loadForm.Focus();
|
||||
|
||||
if (stLoadFormWait.ElapsedMilliseconds <= 1000)
|
||||
{
|
||||
int iremainTime = 1000 - (int)stLoadFormWait.ElapsedMilliseconds;
|
||||
await Task.Delay(iremainTime);
|
||||
}
|
||||
|
||||
if (loadForm != null)
|
||||
{
|
||||
loadForm.Close();
|
||||
loadForm = null;
|
||||
}
|
||||
|
||||
if (SQLConnection == null)
|
||||
{
|
||||
bDatabaseConnState = false;
|
||||
|
||||
MessageBox.Show("DB connection failed. Check the DB status or check the connection address.", "[SystemX.Product.ALIS.UI]", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
|
||||
if (bDatabaseConnState == false)
|
||||
{
|
||||
//this.Close();
|
||||
|
||||
SetDBConn();
|
||||
}
|
||||
else
|
||||
{
|
||||
ConnectInfoINICtrl CCtrl = new ConnectInfoINICtrl();
|
||||
CCtrl.SetLastestConnectInfo(strUserInputConnectInfo);
|
||||
|
||||
barStaticItemConn.Visibility = BarItemVisibility.Always;
|
||||
|
||||
barStaticItemConn.ShowImageInToolbar = true;
|
||||
|
||||
string strAddress = (strConnIPAddress == string.Empty ? "LocalHost" : strConnIPAddress);
|
||||
|
||||
strAddress += " , " + nConnPort.ToString();
|
||||
|
||||
barStaticItemConn.Caption += " [" + strAddress + "] [" + strConnCN /*DatabaseConnControl.CatalogName*/ + "] [" + strConnUID + "]";
|
||||
|
||||
barButtonItemConnect.Enabled = false;
|
||||
barButtonItemLogout.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void CheckSqlOption(SqlConnection SqlConn)
|
||||
{
|
||||
//옵션 확인 및 ON
|
||||
//DECLARE @ARITHABORT VARCHAR(3) = 'OFF'; IF ( (64 & @@OPTIONS) = 64 ) SET @ARITHABORT = 'ON'; SELECT @ARITHABORT AS ARITHABORT;
|
||||
string strGetQuery1 = "DECLARE @ARITHABORT VARCHAR(3) = 'OFF'; IF ( (64 & @@OPTIONS) = 64 ) SET @ARITHABORT = 'ON'; SELECT @ARITHABORT AS ARITHABORT;";
|
||||
string strGetQuery2 = "DECLARE @ARITHIGNORE VARCHAR(3) = 'OFF'; IF ( (128 & @@OPTIONS) = 128 ) SET @ARITHIGNORE = 'ON'; SELECT @ARITHIGNORE AS ARITHIGNORE;";
|
||||
/*
|
||||
SET ARITHIGNORE ON
|
||||
|
||||
- 쿼리 실행 중 오버플로 또는 0으로 나누기 오류에서 오류 메시지를 반환할지 여부를 제어
|
||||
|
||||
오류 메시지가 반환될지 여부만 제어하며 이 설정에 상관 없이 오버플로 또는 0으로 나누기 오류를
|
||||
발생시킨 계산에 NULL을 반환한다. 없는 값 처리를 해야하므고 오류를 발생시킨 것에서 null 반환을 받아야 한다!
|
||||
|
||||
SET ARITHABORT ON이면 오버플로 또는 0으로 나누기 오류 발생 시 쿼리나 일괄 처리가 종료
|
||||
트랜잭션에서 해당 오류가 발생하면 트랜잭션이 롤백시킨다. 그러나 이 설정이 INSERT, UPDATE, DELETE 문 실행 중에
|
||||
발생한 오류에는 영향을 주지 않는다.
|
||||
*/
|
||||
|
||||
DataTable dtResult1 = new DataTable();
|
||||
DataTable dtResult2 = new DataTable();
|
||||
|
||||
using (SqlCommand SqlCommand = new SqlCommand(strGetQuery1, SqlConn))
|
||||
{
|
||||
SqlCommand.CommandTimeout = 300;
|
||||
|
||||
DbDataReader dtReader = SqlCommand.ExecuteReader();
|
||||
|
||||
dtResult1.Load(dtReader);
|
||||
|
||||
dtReader.Close();
|
||||
}
|
||||
//
|
||||
using (SqlCommand SqlCommand = new SqlCommand(strGetQuery2, SqlConn))
|
||||
{
|
||||
SqlCommand.CommandTimeout = 300;
|
||||
|
||||
DbDataReader dtReader = SqlCommand.ExecuteReader();
|
||||
|
||||
dtResult2.Load(dtReader);
|
||||
|
||||
dtReader.Close();
|
||||
}
|
||||
//
|
||||
if (XCommons.isHasRow(dtResult1))
|
||||
{
|
||||
bool bOptionState = dtResult1.Rows[0]["ARITHABORT"].ToString() == "ON" ? true : false;
|
||||
|
||||
if (bOptionState == false)
|
||||
SetSqlOption(SqlConn, "SET ARITHABORT ON");
|
||||
}
|
||||
if (XCommons.isHasRow(dtResult2))
|
||||
{
|
||||
bool bOptionState = dtResult2.Rows[0]["ARITHIGNORE"].ToString() == "ON" ? true : false;
|
||||
|
||||
if (bOptionState == false)
|
||||
SetSqlOption(SqlConn, "SET ARITHIGNORE ON");
|
||||
}
|
||||
}
|
||||
|
||||
private void SetSqlOption(SqlConnection SqlConn, string strQuery)
|
||||
{
|
||||
using (SqlCommand SqlCommand = new SqlCommand(strQuery, SqlConn))
|
||||
{
|
||||
SqlCommand.CommandTimeout = 300;
|
||||
|
||||
int nRows = SqlCommand.ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
|
||||
private void PerformDatabaseConnect()
|
||||
{
|
||||
SQLConnection = null;
|
||||
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
//TODO : Conn Database
|
||||
if (strConnIPAddress == string.Empty)
|
||||
SQLConnection = DatabaseConnControl.ConnectDB(strConnCN);
|
||||
else
|
||||
SQLConnection = DatabaseConnControl.ConnectDB(strConnIPAddress,
|
||||
strConnCN,
|
||||
strConnUID,
|
||||
strConnPW,
|
||||
nConnPort);
|
||||
|
||||
SQLCmd = new SqlCommand();
|
||||
SQLCmd.Connection = DatabaseConnControl.conn;
|
||||
|
||||
CheckSqlOption(SQLConnection);
|
||||
|
||||
bDatabaseConnState = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
bDatabaseConnState = false;
|
||||
|
||||
MessageOutput.ConsoleWrite($"DB Connection Error: {ex.Message}", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (SQLConnection == null)
|
||||
{
|
||||
bDatabaseConnState = false;
|
||||
|
||||
MessageBox.Show("DB connection failed. Check DB status. Automatically close the program.", "[SystemX.Product.ALIS.UI]", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public UserInfo CurrentUser;
|
||||
|
||||
public LoginAccessLevel ACCESS_LEVEL { internal set; get; }
|
||||
|
||||
private string strTitleLabel;
|
||||
|
||||
private Stopwatch stCheckLoginTime;
|
||||
|
||||
private string strConnIPAddress;
|
||||
|
||||
private int nConnPort;
|
||||
|
||||
private string strConnCN;
|
||||
|
||||
private string strConnUID;
|
||||
|
||||
private string strConnPW;
|
||||
|
||||
eAppFunctionType eCurrentSelectFuncType;
|
||||
|
||||
public string GetServerConnectIP()
|
||||
{
|
||||
return strConnIPAddress;
|
||||
}
|
||||
|
||||
public int GetServerConnectPort()
|
||||
{
|
||||
return nConnPort;
|
||||
}
|
||||
|
||||
private bool bDatabaseConnState;
|
||||
|
||||
public FrmMain()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ConsoleUtil.ConsoleHide();
|
||||
|
||||
CurrentUser = new UserInfo();
|
||||
|
||||
ACCESS_LEVEL = LoginAccessLevel.None;
|
||||
|
||||
strTitleLabel = this.Text;
|
||||
|
||||
SetOnOperationMarker(false);
|
||||
|
||||
stCheckLoginTime = new Stopwatch();
|
||||
stCheckLoginTime.Start();
|
||||
|
||||
worker.DoWork += (sender, args) => PerformDatabaseConnect();
|
||||
worker.RunWorkerCompleted += (sender, args) => ReadingCompleted(bDatabaseConnState);
|
||||
|
||||
stLoadFormWait.Start();
|
||||
|
||||
ribbon.SelectedPage = ribbonPageMain;
|
||||
|
||||
this.KeyPreview = true;
|
||||
|
||||
eCurrentSelectFuncType = eAppFunctionType.None;
|
||||
}
|
||||
|
||||
protected override void WndProc(ref Message message)
|
||||
{
|
||||
if (LoginCheck(LoginAccessLevel.Basic))
|
||||
stCheckLoginTime.Restart();
|
||||
|
||||
base.WndProc(ref message);
|
||||
}
|
||||
|
||||
private bool CheckDatabaseConnState()
|
||||
{
|
||||
if (bDatabaseConnState == false)
|
||||
MessageBox.Show("No database connected. Connect first.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
return bDatabaseConnState;
|
||||
}
|
||||
|
||||
void RefreshView(eAppFunctionType funcType)
|
||||
{
|
||||
if (CheckDatabaseConnState() == false)
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
FrmChild frmFound = DocFrames.Find(x => x.DocType == funcType);
|
||||
|
||||
if (frmFound == null)
|
||||
return;
|
||||
else
|
||||
{
|
||||
frmFound.RefreshView();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogMessage.MessageOutput.ConsoleWrite($"Error On Open View. Error Message: {ex.Message}");
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
UserControl OpenViewModel(eAppFunctionType funcType, LoginAccessLevel CreateAccessLevel, eSelectType eSelType = eSelectType.None, bool bLoginState = false)
|
||||
{
|
||||
if (CheckDatabaseConnState() == false)
|
||||
return null;
|
||||
|
||||
if (DocFrames == null)
|
||||
DocFrames = new List<FrmChild>();
|
||||
|
||||
try
|
||||
{
|
||||
FrmChild frmFound = DocFrames.Find(x => x.DocType == funcType);
|
||||
|
||||
if (frmFound == null)
|
||||
{
|
||||
frmFound = new FrmChild(this, funcType, eSelType, funcType.ToString(), CreateAccessLevel, bLoginState);
|
||||
frmFound.Text = funcType.ToString();
|
||||
|
||||
DocFrames.Add(frmFound);
|
||||
|
||||
frmFound.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
frmFound.Select();
|
||||
}
|
||||
|
||||
return frmFound.WindowControl as UcBaseView;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogMessage.MessageOutput.ConsoleWrite($"Error On Open View. Error Message: {ex.Message}");
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private void SetDBConn()
|
||||
{
|
||||
strConnIPAddress = string.Empty;
|
||||
|
||||
strConnCN = DatabaseConnControl.CatalogName;
|
||||
|
||||
strConnUID = DatabaseConnControl.CatalogConnUID;
|
||||
|
||||
strConnPW = DatabaseConnControl.CatalogConnPW;
|
||||
|
||||
nConnPort = DatabaseConnControl.CatalogConnPort;
|
||||
|
||||
this.BringToFront();
|
||||
this.Focus();
|
||||
|
||||
ConnectForm connFrm = new ConnectForm(null);
|
||||
DialogResult dr = connFrm.ShowDialog();
|
||||
|
||||
if (dr == DialogResult.OK || dr == DialogResult.Ignore)
|
||||
{
|
||||
strUserInputConnectInfo = connFrm.strInputText;
|
||||
|
||||
strConnIPAddress = connFrm.strGetConnIPAddress;
|
||||
|
||||
nConnPort = connFrm.nGetConnPort;
|
||||
|
||||
strConnCN = connFrm.strGetConnCN;
|
||||
|
||||
strConnUID = connFrm.strGetConnUID;
|
||||
|
||||
strConnPW = connFrm.strGetConnPW;
|
||||
|
||||
loadForm = new WaitProgressForm();
|
||||
loadForm.setDescription("Connecting ...");
|
||||
loadForm.Location = new Point(this.Width / 2, this.Height / 2);
|
||||
|
||||
//loadForm.ShowOnTopMode = DevExpress.XtraWaitForm.ShowFormOnTopMode.AboveAll;
|
||||
|
||||
stLoadFormWait.Restart();
|
||||
|
||||
worker.RunWorkerAsync(null);
|
||||
|
||||
loadForm.ShowDialog();
|
||||
}
|
||||
else
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void FrmMain_Load(object sender, EventArgs e)
|
||||
{
|
||||
SetDBConn();
|
||||
}
|
||||
|
||||
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
|
||||
{
|
||||
switch (msg.Msg)
|
||||
{
|
||||
case 0x100:
|
||||
case 0x104:
|
||||
switch (keyData)
|
||||
{
|
||||
case Keys.Control | Keys.I:
|
||||
MessageBox.Show("Ctrl + I pressed");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return base.ProcessCmdKey(ref msg, keyData);
|
||||
}
|
||||
|
||||
private void LoginProc()
|
||||
{
|
||||
//SetOnOperationMarker(false);
|
||||
|
||||
if (CheckDatabaseConnState() == false)
|
||||
return;
|
||||
|
||||
LoginForm loginForm = new LoginForm(this);
|
||||
|
||||
using (GetOnOperationUserLoginMarker())
|
||||
{
|
||||
DialogResult dr = loginForm.ShowDialog();
|
||||
switch (dr)
|
||||
{
|
||||
case DialogResult.OK:
|
||||
{
|
||||
LoginInfoINICtrl LCtrl = new LoginInfoINICtrl();
|
||||
LCtrl.SetLastestLoginInfo(loginForm.UserID);
|
||||
|
||||
CurrentUser.UserID = loginForm.UserID;
|
||||
CurrentUser.Name = loginForm.UserName;
|
||||
CurrentUser.Dept = loginForm.UserDept;
|
||||
CurrentUser.Email = loginForm.UserEmail;
|
||||
CurrentUser.Comment = loginForm.UserComment;
|
||||
CurrentUser.Password = loginForm.UserPassword;
|
||||
|
||||
if (CurrentUser.UserID.CompareTo("Admin") == 0)
|
||||
ACCESS_LEVEL = LoginAccessLevel.Admin;
|
||||
else
|
||||
ACCESS_LEVEL = LoginAccessLevel.Basic;
|
||||
|
||||
SetOnOperationMarker(true);
|
||||
|
||||
ribbon.SelectedPage = ribbonPageManagement;
|
||||
}
|
||||
break;
|
||||
case DialogResult.Cancel:
|
||||
{
|
||||
SetOnOperationMarker(false);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void barButtonItem_Login_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
LoginProc();
|
||||
}
|
||||
|
||||
private void barButtonItemUserLogout_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
SetOnOperationMarker(false);
|
||||
}
|
||||
|
||||
private void timerSystem_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (LoginCheck(LoginAccessLevel.Basic))
|
||||
{
|
||||
if (Commons.DEBUG_MODE == false)
|
||||
{
|
||||
DispLoginTimeText();
|
||||
|
||||
/* Login Timeout Disabled
|
||||
if (stCheckLoginTime.ElapsedMilliseconds >= 600000)
|
||||
SetOnOperationMarker(false);
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FrmMain_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (SQLConnection != null) // && bDatabaseConnState)
|
||||
{
|
||||
if (MessageBox.Show("You want to program exit?", "[SystemX.Product.ALIS.UI]", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
|
||||
e.Cancel = true;
|
||||
else
|
||||
{
|
||||
DatabaseConnControl.DisconnectDB();
|
||||
|
||||
e.Cancel = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void barButtonItemConsole_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
ConsoleUtil.ConsoleVisibleControl();
|
||||
}
|
||||
|
||||
private void barButtonItemConnect_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
using (GetOnOperationDBConnMarker(true))
|
||||
{
|
||||
if (bDatabaseConnState)
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
SetDBConn();
|
||||
}
|
||||
}
|
||||
|
||||
private void barButtonItemLogout_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
using (GetOnOperationDBConnMarker(false))
|
||||
{
|
||||
SetOnOperationMarker(false);
|
||||
|
||||
CloseAllChildForm();
|
||||
|
||||
DatabaseConnControl.DisconnectDB();
|
||||
|
||||
bDatabaseConnState = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void FrmMain_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
switch(e.KeyCode)
|
||||
{
|
||||
case Keys.F1: LoginProc(); break;
|
||||
case Keys.F2: OpenViewModel(eAppFunctionType.M_TestListFile, LoginAccessLevel.Basic, eSelectType.TestListFile, LoginCheck(LoginAccessLevel.Basic)); break;
|
||||
case Keys.F3: OpenViewModel(eAppFunctionType.M_TestListVariant, LoginAccessLevel.Basic, eSelectType.TestListVariant, LoginCheck(LoginAccessLevel.Basic)); break;
|
||||
case Keys.F4: OpenViewModel(eAppFunctionType.M_TestListRelease, LoginAccessLevel.Basic, eSelectType.TestListRelease, LoginCheck(LoginAccessLevel.Basic)); break;
|
||||
case Keys.F5: RefreshView(eCurrentSelectFuncType); break;
|
||||
case Keys.F6: OpenViewModel(eAppFunctionType.M_HostList, LoginAccessLevel.Basic, eSelectType.HostList, LoginCheck(LoginAccessLevel.Basic)); break;
|
||||
case Keys.F7: OpenViewModel(eAppFunctionType.M_GroupList, LoginAccessLevel.Basic, eSelectType.GroupList, LoginCheck(LoginAccessLevel.Basic)); break;
|
||||
case Keys.F8: OpenViewModel(eAppFunctionType.M_TestCodeList, LoginAccessLevel.Basic, eSelectType.TestCodeList, LoginCheck(LoginAccessLevel.Basic)); break;
|
||||
case Keys.F9: OpenViewModel(eAppFunctionType.M_UserList, LoginAccessLevel.Admin, eSelectType.UserList, LoginCheck(LoginAccessLevel.Admin)); break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
155110
CPXV2 PTS/SystemX.Product.CP.PTS/FrmMain.resx
Normal file
155110
CPXV2 PTS/SystemX.Product.CP.PTS/FrmMain.resx
Normal file
File diff suppressed because it is too large
Load Diff
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/IconMain.ico
Normal file
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/IconMain.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 166 KiB |
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
|
||||
namespace SystemX.Product.ALIS.Interface
|
||||
{
|
||||
public interface IChildController
|
||||
{
|
||||
void CloseAllChildForm();
|
||||
|
||||
void CloseChildForm(eAppFunctionType SetType);
|
||||
|
||||
void SetObjectValue(object obj);
|
||||
|
||||
void GoToFindTestListFileFocus(int nTestListFileNo);
|
||||
|
||||
void GoToFindVariantFocus(int nVariantNo);
|
||||
|
||||
eAppFunctionType CurrentSelectFunctionType(eAppFunctionType SetType);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.Interface
|
||||
{
|
||||
interface IChildSubscribe
|
||||
{
|
||||
void SetLoginStateNotice(LoginAccessLevel CurrentAccessLevel, bool bLoginState);
|
||||
|
||||
void GoToFindTestListFileFocus(int nTestListFileNo);
|
||||
|
||||
void GoToFindVariantFocus(int nVariantNo);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SystemX.Product.ALIS.UI;
|
||||
using static SystemX.Product.ALIS.UI.FrmMain;
|
||||
|
||||
namespace SystemX.Product.ALIS.Interface
|
||||
{
|
||||
public enum eDbTableList
|
||||
{
|
||||
NONE,
|
||||
STAT_Host,
|
||||
STAT_User,
|
||||
STAT_TestCode,
|
||||
|
||||
PROD_Group,
|
||||
|
||||
STOR_TestListFile,
|
||||
PROD_Variant,
|
||||
PROD_Release,
|
||||
|
||||
VRFY_Release,
|
||||
VRFY_TestListFileRelease,
|
||||
|
||||
HIST_LatestStepVersion,
|
||||
HIST_TestListFileLatestStepVersion,
|
||||
|
||||
HIST_LatestAccessKey,
|
||||
HIST_Summary,
|
||||
|
||||
HIST_TestList,
|
||||
HIST_TestListFile,
|
||||
|
||||
HIST_TestResultShrotTerm,
|
||||
HIST_TestResultLongTerm
|
||||
}
|
||||
|
||||
public interface IDataController
|
||||
{
|
||||
SqlCommand GetConnSqlCmd();
|
||||
|
||||
bool GetDuplicateCheck(string strTableName, string strFieldName, string strValue);
|
||||
|
||||
UserInfo GetLoginInfo();
|
||||
|
||||
//TODO : DB CONTROL
|
||||
DataTable GetTable(string strQueryText);
|
||||
|
||||
DataTable GetTable(eDbTableList tblName);
|
||||
|
||||
DataTable GetTable(eDbTableList tblName, string strColName, string strParameter);
|
||||
|
||||
string GetServerDateTimeString();
|
||||
|
||||
DateTime GetServerDateTime();
|
||||
|
||||
string SetConvertDateTime(string strGetConvertText);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.Interface
|
||||
{
|
||||
interface IUserControlSubscribe
|
||||
{
|
||||
void SetLoginStateNotice(LoginAccessLevel CurrentAccessLevel, bool bLoginState);
|
||||
|
||||
void GoToFindTestListFileFocus(int nTestListFileNo);
|
||||
|
||||
void GoToFindVariantFocus(int nVariantNo);
|
||||
|
||||
void RefreshDataView();
|
||||
}
|
||||
}
|
||||
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/PTS-Logo.ico
Normal file
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/PTS-Logo.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 263 KiB |
45
CPXV2 PTS/SystemX.Product.CP.PTS/Program.cs
Normal file
45
CPXV2 PTS/SystemX.Product.CP.PTS/Program.cs
Normal file
@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.UserSkins;
|
||||
using DevExpress.Skins;
|
||||
using SystemX.Product.ALIS.UI;
|
||||
using System.Threading;
|
||||
|
||||
namespace SystemX.Product.ALIS
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
//bool bCreateProgram = false;
|
||||
bool bCreateProgram = true;
|
||||
|
||||
//Mutex SetMutex = new Mutex(true, "[SystemX.Product.ALIS.UI.PTS]", out bCreateProgram);
|
||||
|
||||
if (bCreateProgram)
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
BonusSkins.Register();
|
||||
|
||||
//Application.Run(new MainForm());
|
||||
Application.Run(new FrmMain());
|
||||
|
||||
//SetMutex.ReleaseMutex();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("[PTS] Already this program excute now. Check the process.", "CP-Server X : PTS", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
32
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/AssemblyInfo.cs
Normal file
32
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("SystemX.Product.ALIS")]
|
||||
[assembly: AssemblyDescription("SystemX")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("SystemX")]
|
||||
[assembly: AssemblyProduct("SystemX.Product.ALIS")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[assembly: AssemblyTrademark("CP-ServerX")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("c20b63ff-4512-4b80-90d8-b7e90d7a9328")]
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("20.22.11.29")]
|
||||
[assembly: AssemblyFileVersion("20.22.11.29")]
|
||||
93
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/Resources.Designer.cs
generated
Normal file
93
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,93 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||
// 런타임 버전:4.0.30319.42000
|
||||
//
|
||||
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||
// 이러한 변경 내용이 손실됩니다.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SystemX.Product.PTS.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||
/// </summary>
|
||||
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
||||
// 클래스에서 자동으로 생성되었습니다.
|
||||
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
|
||||
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SystemX.Product.PTS.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
|
||||
/// 재정의합니다.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap IpAddress {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("IpAddress", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Kefico_CI {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Kefico CI", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Password {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Password", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
130
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/Resources.resx
Normal file
130
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/Resources.resx
Normal file
@ -0,0 +1,130 @@
|
||||
<?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>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="IpAddress" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\IpAddress.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Kefico CI" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Kefico CI.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Password" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Password.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
26
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/Settings.Designer.cs
generated
Normal file
26
CPXV2 PTS/SystemX.Product.CP.PTS/Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||
// 런타임 버전:4.0.30319.42000
|
||||
//
|
||||
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||
// 이러한 변경 내용이 손실됩니다.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SystemX.Product.PTS.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
@ -0,0 +1,9 @@
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit, DevExpress.XtraEditors.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraWizard.WizardControl, DevExpress.XtraWizard.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraBars.Docking2010.DocumentManager, DevExpress.XtraBars.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/Resources/IpAddress.PNG
Normal file
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/Resources/IpAddress.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/Resources/Kefico CI.PNG
Normal file
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/Resources/Kefico CI.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/Resources/Password.jpg
Normal file
BIN
CPXV2 PTS/SystemX.Product.CP.PTS/Resources/Password.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
426
CPXV2 PTS/SystemX.Product.CP.PTS/SystemX.Product.CP.PTS.csproj
Normal file
426
CPXV2 PTS/SystemX.Product.CP.PTS/SystemX.Product.CP.PTS.csproj
Normal file
@ -0,0 +1,426 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7C27888C-4E6A-4C6C-BC37-3004D73CF679}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SystemX.Product.PTS</RootNamespace>
|
||||
<AssemblyName>SystemX.Product.PTS</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>PTS-Logo.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Accessibility" />
|
||||
<Reference Include="CpApplciationIntrf">
|
||||
<HintPath>..\References\Cp\CpApplciationIntrf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CpApplication">
|
||||
<HintPath>..\References\Cp\CpApplication.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CpCommon">
|
||||
<HintPath>..\References\Cp\CpCommon.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DevExpress.BonusSkins.v20.2" />
|
||||
<Reference Include="DevExpress.CodeParser.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Data.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Data.v20.2" />
|
||||
<Reference Include="DevExpress.DataAccess.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Office.v20.2.Core, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Printing.v20.2.Core, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Printing.v20.2.Core" />
|
||||
<Reference Include="DevExpress.RichEdit.v20.2.Core, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Sparkline.v20.2.Core, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Data.Desktop.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Utils.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Data.Desktop.v20.2" />
|
||||
<Reference Include="DevExpress.Utils.v20.2" />
|
||||
<Reference Include="DevExpress.Xpo.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraBars.v20.2" />
|
||||
<Reference Include="DevExpress.Sparkline.v20.2.Core" />
|
||||
<Reference Include="DevExpress.XtraEditors.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraEditors.v20.2" />
|
||||
<Reference Include="DevExpress.XtraGrid.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraLayout.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraScheduler.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraScheduler.v20.2.Core.Desktop, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraScheduler.v20.2.Core, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraWizard.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="log4net">
|
||||
<HintPath>..\References\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PsCommon">
|
||||
<HintPath>..\References\PsCCS\PsCommon.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PsCpUtility">
|
||||
<HintPath>..\References\PsCCS\PsCpUtility.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PsKGaudi">
|
||||
<HintPath>..\References\PsCCS\PsKGaudi.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SxMathCalLib">
|
||||
<HintPath>..\References\PsCCS\SxMathCalLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.Entity" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Messaging" />
|
||||
<Reference Include="System.Reactive.Core">
|
||||
<HintPath>..\References\System.Reactive.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Reactive.Interfaces">
|
||||
<HintPath>..\References\System.Reactive.Interfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Reactive.Linq">
|
||||
<HintPath>..\References\System.Reactive.Linq.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="SystemX.Net.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\UniqueInfoManagement\Output.SystemX\SystemX.Net.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SystemX.Net.XAdaptor.PC.UIM">
|
||||
<HintPath>..\..\UniqueInfoManagement\Output.SystemX\SystemX.Net.XAdaptor.PC.UIM.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UIAutomationClient" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ChildController.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DB\DataBaseConn.cs" />
|
||||
<Compile Include="DataController.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Interface\IUserControlSubscribe.cs" />
|
||||
<Compile Include="Interface\IDataController.cs" />
|
||||
<Compile Include="Interface\IChildController.cs" />
|
||||
<Compile Include="Interface\IChildSubscribe.cs" />
|
||||
<Compile Include="UI\SplashScreenSystemX.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\SplashScreenSystemX.designer.cs">
|
||||
<DependentUpon>SplashScreenSystemX.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.Designer.cs">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="FrmChild.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmChild.Designer.cs">
|
||||
<DependentUpon>FrmChild.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\Commons.cs" />
|
||||
<Compile Include="UI\Subs\InputCopyReleaseNoForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\InputCopyReleaseNoForm.Designer.cs">
|
||||
<DependentUpon>InputCopyReleaseNoForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\SelectTestListForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\SelectTestListForm.Designer.cs">
|
||||
<DependentUpon>SelectTestListForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\ConnectForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\ConnectForm.Designer.cs">
|
||||
<DependentUpon>ConnectForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\LoginForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\LoginForm.Designer.cs">
|
||||
<DependentUpon>LoginForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\WaitProgressForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Subs\WaitProgressForm.Designer.cs">
|
||||
<DependentUpon>WaitProgressForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\UI Events\Management.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\UI Events\Analysis.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\UI Events\Main.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Infos\GroupInfo.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Infos\TestCodeInfo.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Infos\UserInfo.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Infos\HostInfo.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\TestCodeInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\TestCodeInfoEdit.Designer.cs">
|
||||
<DependentUpon>TestCodeInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\GroupInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\GroupInfoEdit.Designer.cs">
|
||||
<DependentUpon>GroupInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\UserInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\UserInfoEdit.Designer.cs">
|
||||
<DependentUpon>UserInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\HostInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\Wizard\HostInfoEdit.Designer.cs">
|
||||
<DependentUpon>HostInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\UcInfoView.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Info List\UcInfoView.Designer.cs">
|
||||
<DependentUpon>UcInfoView.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Infos\CpTestlistLoad.cs" />
|
||||
<Compile Include="UI\View\Test List\Infos\TestListReleaseInfo.cs" />
|
||||
<Compile Include="UI\View\Test List\Infos\TestListInfo.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\TestList File Worker\UcTestListViewFileBasicWorker.cs" />
|
||||
<Compile Include="UI\View\Test List\UcTestListViewHelper.cs" />
|
||||
<Compile Include="UI\View\Test List\UcTestListView.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\UcTestListView.Designer.cs">
|
||||
<DependentUpon>UcTestListView.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\TestList Variant Worker\UcTestListViewVariantBasicWorker.cs" />
|
||||
<Compile Include="UI\View\Test List\UcTestListViewSub.cs" />
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList File\TestListFileInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList File\TestListFileInfoEdit.Designer.cs">
|
||||
<DependentUpon>TestListFileInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Variant\TestListVariantCopyWizard.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Variant\TestListVariantCopyWizard.Designer.cs">
|
||||
<DependentUpon>TestListVariantCopyWizard.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Release\TestListReleaseCopyWizard.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Release\TestListReleaseCopyWizard.Designer.cs">
|
||||
<DependentUpon>TestListReleaseCopyWizard.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Release\TestListReleaseInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Release\TestListReleaseInfoEdit.Designer.cs">
|
||||
<DependentUpon>TestListReleaseInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Variant\TestListVariantInfoEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\Test List\Wizard\TestList Variant\TestListVariantInfoEdit.Designer.cs">
|
||||
<DependentUpon>TestListVariantInfoEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\UcBaseView.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\UcBaseView.Designer.cs">
|
||||
<DependentUpon>UcBaseView.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\View\ViewCfg.cs" />
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="UI\SplashScreenSystemX.resx">
|
||||
<DependentUpon>SplashScreenSystemX.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmMain.resx">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="FrmChild.resx">
|
||||
<DependentUpon>FrmChild.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Subs\InputCopyReleaseNoForm.resx">
|
||||
<DependentUpon>InputCopyReleaseNoForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Subs\SelectTestListForm.resx">
|
||||
<DependentUpon>SelectTestListForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Subs\ConnectForm.resx">
|
||||
<DependentUpon>ConnectForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Subs\LoginForm.resx">
|
||||
<DependentUpon>LoginForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Subs\WaitProgressForm.resx">
|
||||
<DependentUpon>WaitProgressForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Info List\Wizard\TestCodeInfoEdit.resx">
|
||||
<DependentUpon>TestCodeInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Info List\Wizard\GroupInfoEdit.resx">
|
||||
<DependentUpon>GroupInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Info List\Wizard\UserInfoEdit.resx">
|
||||
<DependentUpon>UserInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Info List\Wizard\HostInfoEdit.resx">
|
||||
<DependentUpon>HostInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Info List\UcInfoView.resx">
|
||||
<DependentUpon>UcInfoView.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Test List\UcTestListView.resx">
|
||||
<DependentUpon>UcTestListView.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Test List\Wizard\TestList File\TestListFileInfoEdit.resx">
|
||||
<DependentUpon>TestListFileInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Test List\Wizard\TestList Variant\TestListVariantCopyWizard.resx">
|
||||
<DependentUpon>TestListVariantCopyWizard.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Test List\Wizard\TestList Release\TestListReleaseCopyWizard.resx">
|
||||
<DependentUpon>TestListReleaseCopyWizard.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Test List\Wizard\TestList Release\TestListReleaseInfoEdit.resx">
|
||||
<DependentUpon>TestListReleaseInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\Test List\Wizard\TestList Variant\TestListVariantInfoEdit.resx">
|
||||
<DependentUpon>TestListVariantInfoEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\View\UcBaseView.resx">
|
||||
<DependentUpon>UcBaseView.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="app.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="UI\View\Test List\TestList Release Worker\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="IconMain.ico" />
|
||||
<None Include="Resources\IpAddress.PNG" />
|
||||
<Content Include="PTS-Logo.ico" />
|
||||
<Content Include="Resources\Password.jpg" />
|
||||
<None Include="Resources\Kefico CI.PNG" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
175
CPXV2 PTS/SystemX.Product.CP.PTS/UI/SplashScreenSystemX.Designer.cs
generated
Normal file
175
CPXV2 PTS/SystemX.Product.CP.PTS/UI/SplashScreenSystemX.Designer.cs
generated
Normal file
@ -0,0 +1,175 @@
|
||||
namespace EV2WD_MCU_PM
|
||||
{
|
||||
partial class SplashScreenSystemX
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplashScreenSystemX));
|
||||
this.progressBarControl = new DevExpress.XtraEditors.MarqueeProgressBarControl();
|
||||
this.labelCopyright = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelStatus = new DevExpress.XtraEditors.LabelControl();
|
||||
this.pictureBoxBackImg = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxF = new System.Windows.Forms.PictureBox();
|
||||
this.marqueeProgressBarControl1 = new DevExpress.XtraEditors.MarqueeProgressBarControl();
|
||||
this.pictureBoxR = new System.Windows.Forms.PictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.progressBarControl.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackImg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxF)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.marqueeProgressBarControl1.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxR)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// progressBarControl
|
||||
//
|
||||
this.progressBarControl.EditValue = 0;
|
||||
this.progressBarControl.Location = new System.Drawing.Point(12, 535);
|
||||
this.progressBarControl.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.progressBarControl.Name = "progressBarControl";
|
||||
this.progressBarControl.Size = new System.Drawing.Size(1056, 27);
|
||||
this.progressBarControl.TabIndex = 5;
|
||||
//
|
||||
// labelCopyright
|
||||
//
|
||||
this.labelCopyright.Appearance.BackColor = System.Drawing.Color.Black;
|
||||
this.labelCopyright.Appearance.BackColor2 = System.Drawing.Color.Black;
|
||||
this.labelCopyright.Appearance.Font = new System.Drawing.Font("Arial Rounded MT", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelCopyright.Appearance.ForeColor = System.Drawing.Color.Gold;
|
||||
this.labelCopyright.Appearance.Options.UseBackColor = true;
|
||||
this.labelCopyright.Appearance.Options.UseFont = true;
|
||||
this.labelCopyright.Appearance.Options.UseForeColor = true;
|
||||
this.labelCopyright.Appearance.Options.UseTextOptions = true;
|
||||
this.labelCopyright.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.labelCopyright.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.labelCopyright.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.labelCopyright.Location = new System.Drawing.Point(12, 566);
|
||||
this.labelCopyright.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.labelCopyright.Name = "labelCopyright";
|
||||
this.labelCopyright.Size = new System.Drawing.Size(331, 21);
|
||||
this.labelCopyright.TabIndex = 6;
|
||||
this.labelCopyright.Text = "Copyright: System X, Co. Ltd. 2020-XXXX";
|
||||
//
|
||||
// labelStatus
|
||||
//
|
||||
this.labelStatus.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.labelStatus.Appearance.BackColor2 = System.Drawing.Color.Transparent;
|
||||
this.labelStatus.Appearance.Font = new System.Drawing.Font("Arial Rounded MT", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelStatus.Appearance.ForeColor = System.Drawing.Color.Gold;
|
||||
this.labelStatus.Appearance.Options.UseBackColor = true;
|
||||
this.labelStatus.Appearance.Options.UseFont = true;
|
||||
this.labelStatus.Appearance.Options.UseForeColor = true;
|
||||
this.labelStatus.Appearance.Options.UseTextOptions = true;
|
||||
this.labelStatus.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.labelStatus.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.labelStatus.Location = new System.Drawing.Point(12, 603);
|
||||
this.labelStatus.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.labelStatus.Name = "labelStatus";
|
||||
this.labelStatus.Size = new System.Drawing.Size(164, 22);
|
||||
this.labelStatus.TabIndex = 7;
|
||||
this.labelStatus.Text = "System Initializing...";
|
||||
//
|
||||
// pictureBoxBackImg
|
||||
//
|
||||
this.pictureBoxBackImg.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBoxBackImg.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.pictureBoxBackImg.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBackImg.Image")));
|
||||
this.pictureBoxBackImg.Location = new System.Drawing.Point(12, 12);
|
||||
this.pictureBoxBackImg.Name = "pictureBoxBackImg";
|
||||
this.pictureBoxBackImg.Size = new System.Drawing.Size(1056, 519);
|
||||
this.pictureBoxBackImg.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBoxBackImg.TabIndex = 10;
|
||||
this.pictureBoxBackImg.TabStop = false;
|
||||
//
|
||||
// pictureBoxF
|
||||
//
|
||||
this.pictureBoxF.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBoxF.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxF.Image")));
|
||||
this.pictureBoxF.Location = new System.Drawing.Point(-1, -1);
|
||||
this.pictureBoxF.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.pictureBoxF.Name = "pictureBoxF";
|
||||
this.pictureBoxF.Size = new System.Drawing.Size(759, 413);
|
||||
this.pictureBoxF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBoxF.TabIndex = 0;
|
||||
this.pictureBoxF.TabStop = false;
|
||||
//
|
||||
// marqueeProgressBarControl1
|
||||
//
|
||||
this.marqueeProgressBarControl1.EditValue = 0;
|
||||
this.marqueeProgressBarControl1.Location = new System.Drawing.Point(243, 360);
|
||||
this.marqueeProgressBarControl1.Name = "marqueeProgressBarControl1";
|
||||
this.marqueeProgressBarControl1.Properties.Appearance.BackColor = System.Drawing.Color.Black;
|
||||
this.marqueeProgressBarControl1.Size = new System.Drawing.Size(271, 13);
|
||||
this.marqueeProgressBarControl1.TabIndex = 9;
|
||||
//
|
||||
// pictureBoxR
|
||||
//
|
||||
this.pictureBoxR.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBoxR.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxR.Image")));
|
||||
this.pictureBoxR.Location = new System.Drawing.Point(-1, -1);
|
||||
this.pictureBoxR.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.pictureBoxR.Name = "pictureBoxR";
|
||||
this.pictureBoxR.Size = new System.Drawing.Size(759, 413);
|
||||
this.pictureBoxR.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBoxR.TabIndex = 10;
|
||||
this.pictureBoxR.TabStop = false;
|
||||
//
|
||||
// SplashScreenSystemX
|
||||
//
|
||||
this.ActiveGlowColor = System.Drawing.Color.Transparent;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(756, 407);
|
||||
this.Controls.Add(this.marqueeProgressBarControl1);
|
||||
this.Controls.Add(this.pictureBoxF);
|
||||
this.Controls.Add(this.pictureBoxR);
|
||||
this.InactiveGlowColor = System.Drawing.Color.Transparent;
|
||||
this.Name = "SplashScreenSystemX";
|
||||
this.ShowIcon = false;
|
||||
this.Text = "Form1";
|
||||
this.TopMost = true;
|
||||
this.TransparencyKey = System.Drawing.Color.Transparent;
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SplashScreenSystemX_FormClosed);
|
||||
this.Shown += new System.EventHandler(this.SplashScreenSystemX_Shown);
|
||||
((System.ComponentModel.ISupportInitialize)(this.progressBarControl.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackImg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxF)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.marqueeProgressBarControl1.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxR)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraEditors.MarqueeProgressBarControl progressBarControl;
|
||||
private DevExpress.XtraEditors.LabelControl labelCopyright;
|
||||
private DevExpress.XtraEditors.LabelControl labelStatus;
|
||||
private System.Windows.Forms.PictureBox pictureBoxBackImg;
|
||||
private System.Windows.Forms.PictureBox pictureBoxF;
|
||||
private DevExpress.XtraEditors.MarqueeProgressBarControl marqueeProgressBarControl1;
|
||||
private System.Windows.Forms.PictureBox pictureBoxR;
|
||||
}
|
||||
}
|
||||
97
CPXV2 PTS/SystemX.Product.CP.PTS/UI/SplashScreenSystemX.cs
Normal file
97
CPXV2 PTS/SystemX.Product.CP.PTS/UI/SplashScreenSystemX.cs
Normal file
@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.XtraSplashScreen;
|
||||
|
||||
namespace EV2WD_MCU_PM
|
||||
{
|
||||
public partial class SplashScreenSystemX : SplashScreen
|
||||
{
|
||||
List<PictureBox> PicCont;
|
||||
bool Stop = false;
|
||||
public SplashScreenSystemX()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.labelCopyright.Text = "Copyright © 1998-" + DateTime.Now.Year.ToString();
|
||||
}
|
||||
|
||||
#region Overrides
|
||||
|
||||
public override void ProcessCommand(Enum cmd, object arg)
|
||||
{
|
||||
base.ProcessCommand(cmd, arg);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public enum SplashScreenCommand
|
||||
{
|
||||
}
|
||||
|
||||
private void SplashScreenSystemX_Shown(object sender, EventArgs e)
|
||||
{
|
||||
List<PictureBox> vPic = new List<PictureBox>();
|
||||
|
||||
vPic.Add(pictureBoxF);
|
||||
vPic.Add(pictureBoxR);
|
||||
|
||||
PicCont = vPic;
|
||||
|
||||
Task tsk = new Task(() => ExeUpdater());
|
||||
|
||||
tsk.Start();
|
||||
}
|
||||
|
||||
void ExeUpdater()
|
||||
{
|
||||
int nIdx = 0;
|
||||
|
||||
while(!Stop)
|
||||
{
|
||||
nIdx++;
|
||||
|
||||
LogoViewUpdate(nIdx%2);
|
||||
|
||||
Thread.Sleep(100);
|
||||
}
|
||||
}
|
||||
|
||||
delegate void UpdateViewThread(int nIdx);
|
||||
public void LogoViewUpdate(int nIdx)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (InvokeRequired)
|
||||
{
|
||||
UpdateViewThread del = new UpdateViewThread(LogoViewUpdate);
|
||||
Invoke(del, nIdx);
|
||||
}
|
||||
else
|
||||
{
|
||||
for(int i=0; i<PicCont.Count; i++)
|
||||
{
|
||||
if(nIdx == i)
|
||||
PicCont[i].Visible = true;
|
||||
else
|
||||
PicCont[i].Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
private void SplashScreenSystemX_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
Stop = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
108630
CPXV2 PTS/SystemX.Product.CP.PTS/UI/SplashScreenSystemX.resx
Normal file
108630
CPXV2 PTS/SystemX.Product.CP.PTS/UI/SplashScreenSystemX.resx
Normal file
File diff suppressed because it is too large
Load Diff
284
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/Commons.cs
Normal file
284
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/Commons.cs
Normal file
@ -0,0 +1,284 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using SystemX.Net.Platform.Common.ExtensionMethods;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public class AccessLevelAlarm : EventArgs
|
||||
{
|
||||
public AccessLevelAlarm(LoginAccessLevel CurrentAccessLevel, bool bLoginState)
|
||||
{
|
||||
this.CurrentLevel = CurrentAccessLevel;
|
||||
|
||||
this.GetLoginState = bLoginState;
|
||||
}
|
||||
|
||||
public LoginAccessLevel CurrentLevel { get; private set; }
|
||||
|
||||
public bool GetLoginState { get; private set; }
|
||||
}
|
||||
|
||||
public static class Commons
|
||||
{
|
||||
static public bool DEBUG_MODE = false;
|
||||
|
||||
public enum eLookUpOption
|
||||
{
|
||||
CompareToSame = 0,
|
||||
StartWith,
|
||||
EndWith,
|
||||
ContainWith
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum LoginAccessLevel
|
||||
{
|
||||
None = 0x01,
|
||||
Basic = 0x02,
|
||||
Admin = 0x04
|
||||
}
|
||||
|
||||
public static bool IsValidEmail(string email)
|
||||
{
|
||||
bool valid = Regex.IsMatch(email, @"[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?");
|
||||
|
||||
return valid;
|
||||
}
|
||||
|
||||
public static bool CheckGateLetter(char letter)
|
||||
{
|
||||
Regex engRegex = new Regex(@"[A-Z]");
|
||||
|
||||
return engRegex.IsMatch(letter.ToString());
|
||||
}
|
||||
|
||||
public static byte[] ConvertHexStringToByte(string convertString)
|
||||
{
|
||||
byte[] convertArr = new byte[convertString.Length / 2];
|
||||
|
||||
for (int i = 0; i < convertArr.Length; i++)
|
||||
{
|
||||
convertArr[i] = Convert.ToByte(convertString.Substring(i * 2, 2), 16);
|
||||
}
|
||||
|
||||
return convertArr;
|
||||
}
|
||||
|
||||
[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
static extern int memcmp(byte[] b1, byte[] b2, long count);
|
||||
|
||||
public static bool ByteArrayCompare(byte[] b1, byte[] b2)
|
||||
{
|
||||
if (b1 == null || b2 == null)
|
||||
return false;
|
||||
|
||||
// Validate buffers are the same length.
|
||||
// This also ensures that the count does not exceed the length of either buffer.
|
||||
return b1.Length == b2.Length && memcmp(b1, b2, b1.Length) == 0;
|
||||
}
|
||||
|
||||
public static T ConvertTextToTryValue<T>(string strText, object objFailValue)
|
||||
{
|
||||
object obj;
|
||||
obj = typeof(T);
|
||||
|
||||
int iGetValue = 0;
|
||||
uint uiGetValue = 0;
|
||||
double dGetValue = 0;
|
||||
|
||||
if (obj.ToString().IndexOf("Int") >= 0)
|
||||
{
|
||||
if (!int.TryParse(strText, out iGetValue))
|
||||
obj = objFailValue;
|
||||
else
|
||||
obj = iGetValue;
|
||||
}
|
||||
if (obj.ToString().IndexOf("UInt") >= 0)
|
||||
{
|
||||
if (!uint.TryParse(strText, out uiGetValue))
|
||||
obj = objFailValue;
|
||||
else
|
||||
obj = uiGetValue;
|
||||
}
|
||||
else if (obj.ToString().IndexOf("Double") >= 0)
|
||||
{
|
||||
if (!double.TryParse(strText, out dGetValue))
|
||||
obj = objFailValue;
|
||||
else
|
||||
obj = dGetValue;
|
||||
}
|
||||
|
||||
return (T)Convert.ChangeType(obj, typeof(T));
|
||||
}
|
||||
|
||||
public class INICtrl
|
||||
{
|
||||
public static int MAX_INFORMATION = 10;
|
||||
|
||||
protected static int FILE_ATTRIBUTE_HIDDEN = 2;
|
||||
|
||||
[DllImport("kernel32")]
|
||||
protected static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
|
||||
[DllImport("kernel32")]
|
||||
protected static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
|
||||
[DllImport("kernel32")]
|
||||
protected static extern int SetFileAttributes(string lpFileName, int dwFileAttributes);
|
||||
|
||||
public virtual void SetValue(string Section, string Key, string Value, string path = "")
|
||||
{
|
||||
WritePrivateProfileString(Section, Key, Value, path);
|
||||
}
|
||||
|
||||
public virtual string GetValue(string Section, string Key, string Default, string path = "")
|
||||
{
|
||||
StringBuilder temp = new StringBuilder(255);
|
||||
int i = GetPrivateProfileString(Section, Key, Default, temp, 255, path);
|
||||
if (temp != null && temp.Length > 0) return temp.ToString();
|
||||
else return Default;
|
||||
}
|
||||
}
|
||||
|
||||
public class ConnectInfoINICtrl : INICtrl
|
||||
{
|
||||
private static string ConnectHistoryINIPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\ConnectConfig_PTS.ini"; //@"C:\ConnectConfig_PTS.ini"; //Application.StartupPath + @"\ConnectConfig_PTS.ini";
|
||||
|
||||
public ConnectInfoINICtrl()
|
||||
{
|
||||
if (File.Exists(ConnectHistoryINIPath) == false)
|
||||
{
|
||||
using (File.Create(ConnectHistoryINIPath)) { }
|
||||
|
||||
SetFileAttributes(ConnectHistoryINIPath, FILE_ATTRIBUTE_HIDDEN);
|
||||
|
||||
SetValue("LastestConnect", "Info", "");
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLastestConnectInfo(string strSuccessInfo)
|
||||
{
|
||||
string strSetUpperText = strSuccessInfo.ToUpper();
|
||||
|
||||
if (strSuccessInfo.CompareTo("") == 0 ||
|
||||
strSuccessInfo.CompareTo("127.0.0.1") == 0 ||
|
||||
strSetUpperText.CompareTo("LOCALHOST") == 0 ||
|
||||
strSuccessInfo.IndexOf("If you do not enter the ip, will be connected to the local area.") >= 0)
|
||||
return;
|
||||
|
||||
SetValue("LastestConnect", "Info", strSuccessInfo);
|
||||
|
||||
string[] strInfoSet = new string[MAX_INFORMATION];
|
||||
|
||||
for (int i = 0; i < MAX_INFORMATION; i++)
|
||||
strInfoSet[i] = GetValue("HistoryConnect" + i.ToString(), "Info", "");
|
||||
|
||||
int? findIdx = strInfoSet.FindIndex(x => x == strSuccessInfo);
|
||||
|
||||
if (findIdx == null)
|
||||
{
|
||||
for (int i = MAX_INFORMATION - 1; i > 0; i--)
|
||||
{
|
||||
if (i > 0)
|
||||
strInfoSet[i] = strInfoSet[i - 1];
|
||||
}
|
||||
|
||||
strInfoSet[0] = strSuccessInfo;
|
||||
|
||||
for (int i = 0; i < MAX_INFORMATION; i++)
|
||||
SetValue("HistoryConnect" + i.ToString(), "Info", strInfoSet[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetValue(string Section, string Key, string Value, string path = "")
|
||||
{
|
||||
if (path.Length <= 0)
|
||||
path = ConnectHistoryINIPath;
|
||||
|
||||
WritePrivateProfileString(Section, Key, Value, path);
|
||||
}
|
||||
|
||||
public override string GetValue(string Section, string Key, string Default, string path = "")
|
||||
{
|
||||
if (path.Length <= 0)
|
||||
path = ConnectHistoryINIPath;
|
||||
|
||||
StringBuilder temp = new StringBuilder(255);
|
||||
int i = GetPrivateProfileString(Section, Key, Default, temp, 255, path);
|
||||
if (temp != null && temp.Length > 0) return temp.ToString();
|
||||
else return Default;
|
||||
}
|
||||
}
|
||||
|
||||
public class LoginInfoINICtrl : INICtrl
|
||||
{
|
||||
private static string LoginHistoryINIPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\LoginConfig.ini";
|
||||
|
||||
public LoginInfoINICtrl()
|
||||
{
|
||||
if (File.Exists(LoginHistoryINIPath) == false)
|
||||
{
|
||||
using (File.Create(LoginHistoryINIPath)) { }
|
||||
|
||||
SetFileAttributes(LoginHistoryINIPath, FILE_ATTRIBUTE_HIDDEN);
|
||||
|
||||
SetValue("LastestLogin", "Info", "");
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLastestLoginInfo(string strSuccessInfo)
|
||||
{
|
||||
SetValue("LastestLogin", "Info", strSuccessInfo);
|
||||
|
||||
string[] strInfoSet = new string[MAX_INFORMATION];
|
||||
|
||||
for (int i = 0; i < MAX_INFORMATION; i++)
|
||||
strInfoSet[i] = GetValue("HistoryLogin" + i.ToString(), "Info", "");
|
||||
|
||||
int? findIdx = strInfoSet.FindIndex(x => x == strSuccessInfo);
|
||||
|
||||
if (findIdx == null)
|
||||
{
|
||||
for (int i = MAX_INFORMATION - 1; i > 0; i--)
|
||||
{
|
||||
if (i > 0)
|
||||
strInfoSet[i] = strInfoSet[i - 1];
|
||||
}
|
||||
|
||||
strInfoSet[0] = strSuccessInfo;
|
||||
|
||||
for (int i = 0; i < MAX_INFORMATION; i++)
|
||||
SetValue("HistoryLogin" + i.ToString(), "Info", strInfoSet[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetValue(string Section, string Key, string Value, string path = "")
|
||||
{
|
||||
if (path.Length <= 0)
|
||||
path = LoginHistoryINIPath;
|
||||
|
||||
WritePrivateProfileString(Section, Key, Value, path);
|
||||
}
|
||||
|
||||
public override string GetValue(string Section, string Key, string Default, string path = "")
|
||||
{
|
||||
if (path.Length <= 0)
|
||||
path = LoginHistoryINIPath;
|
||||
|
||||
StringBuilder temp = new StringBuilder(255);
|
||||
int i = GetPrivateProfileString(Section, Key, Default, temp, 255, path);
|
||||
if (temp != null && temp.Length > 0) return temp.ToString();
|
||||
else return Default;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
245
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/ConnectForm.Designer.cs
generated
Normal file
245
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/ConnectForm.Designer.cs
generated
Normal file
@ -0,0 +1,245 @@
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
partial class ConnectForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectForm));
|
||||
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.simpleButtonOK = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.simpleButtonAdvanced = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panelAdvanced = new System.Windows.Forms.Panel();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.maskedTextBoxPW = new System.Windows.Forms.MaskedTextBox();
|
||||
this.maskedTextBoxUID = new System.Windows.Forms.MaskedTextBox();
|
||||
this.maskedTextBoxCN = new System.Windows.Forms.MaskedTextBox();
|
||||
this.maskedComboIP = new DevExpress.XtraEditors.ComboBoxEdit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panelAdvanced.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.maskedComboIP.Properties)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelControl1
|
||||
//
|
||||
this.labelControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.labelControl1.Appearance.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Black;
|
||||
this.labelControl1.Appearance.Options.UseBackColor = true;
|
||||
this.labelControl1.Appearance.Options.UseFont = true;
|
||||
this.labelControl1.Appearance.Options.UseForeColor = true;
|
||||
this.labelControl1.AutoEllipsis = true;
|
||||
this.labelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.labelControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelControl1.Name = "labelControl1";
|
||||
this.labelControl1.Size = new System.Drawing.Size(156, 23);
|
||||
this.labelControl1.TabIndex = 2;
|
||||
this.labelControl1.Text = "Input - IP Address";
|
||||
//
|
||||
// simpleButtonOK
|
||||
//
|
||||
this.simpleButtonOK.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.simpleButtonOK.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonOK.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.simpleButtonOK.Location = new System.Drawing.Point(323, 0);
|
||||
this.simpleButtonOK.Name = "simpleButtonOK";
|
||||
this.simpleButtonOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.simpleButtonOK.TabIndex = 2;
|
||||
this.simpleButtonOK.Text = "OK";
|
||||
this.simpleButtonOK.Click += new System.EventHandler(this.simpleButtonOK_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Controls.Add(this.simpleButtonAdvanced);
|
||||
this.panel1.Controls.Add(this.simpleButtonOK);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 245);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(398, 23);
|
||||
this.panel1.TabIndex = 5;
|
||||
//
|
||||
// simpleButtonAdvanced
|
||||
//
|
||||
this.simpleButtonAdvanced.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.simpleButtonAdvanced.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonAdvanced.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.simpleButtonAdvanced.Location = new System.Drawing.Point(0, 0);
|
||||
this.simpleButtonAdvanced.Name = "simpleButtonAdvanced";
|
||||
this.simpleButtonAdvanced.Size = new System.Drawing.Size(75, 23);
|
||||
this.simpleButtonAdvanced.TabIndex = 3;
|
||||
this.simpleButtonAdvanced.Text = "Advanced";
|
||||
this.simpleButtonAdvanced.Click += new System.EventHandler(this.simpleButtonAdvanced_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 23);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(398, 15);
|
||||
this.panel2.TabIndex = 6;
|
||||
//
|
||||
// panelAdvanced
|
||||
//
|
||||
this.panelAdvanced.BackColor = System.Drawing.Color.Silver;
|
||||
this.panelAdvanced.Controls.Add(this.label3);
|
||||
this.panelAdvanced.Controls.Add(this.label2);
|
||||
this.panelAdvanced.Controls.Add(this.label1);
|
||||
this.panelAdvanced.Controls.Add(this.maskedTextBoxPW);
|
||||
this.panelAdvanced.Controls.Add(this.maskedTextBoxUID);
|
||||
this.panelAdvanced.Controls.Add(this.maskedTextBoxCN);
|
||||
this.panelAdvanced.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panelAdvanced.Location = new System.Drawing.Point(0, 159);
|
||||
this.panelAdvanced.Name = "panelAdvanced";
|
||||
this.panelAdvanced.Size = new System.Drawing.Size(398, 86);
|
||||
this.panelAdvanced.TabIndex = 7;
|
||||
this.panelAdvanced.Visible = false;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(88, 60);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(68, 16);
|
||||
this.label3.TabIndex = 9;
|
||||
this.label3.Text = "Password";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(103, 33);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 16);
|
||||
this.label2.TabIndex = 8;
|
||||
this.label2.Text = "User ID";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(61, 6);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(95, 16);
|
||||
this.label1.TabIndex = 7;
|
||||
this.label1.Text = "Catalog Name";
|
||||
//
|
||||
// maskedTextBoxPW
|
||||
//
|
||||
this.maskedTextBoxPW.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.maskedTextBoxPW.Location = new System.Drawing.Point(186, 57);
|
||||
this.maskedTextBoxPW.Name = "maskedTextBoxPW";
|
||||
this.maskedTextBoxPW.PasswordChar = '*';
|
||||
this.maskedTextBoxPW.Size = new System.Drawing.Size(209, 21);
|
||||
this.maskedTextBoxPW.TabIndex = 6;
|
||||
this.maskedTextBoxPW.Text = "Kefico!@34";
|
||||
this.maskedTextBoxPW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.maskedTextBoxPW.UseSystemPasswordChar = true;
|
||||
//
|
||||
// maskedTextBoxUID
|
||||
//
|
||||
this.maskedTextBoxUID.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.maskedTextBoxUID.Location = new System.Drawing.Point(186, 30);
|
||||
this.maskedTextBoxUID.Name = "maskedTextBoxUID";
|
||||
this.maskedTextBoxUID.Size = new System.Drawing.Size(209, 21);
|
||||
this.maskedTextBoxUID.TabIndex = 5;
|
||||
this.maskedTextBoxUID.Text = "Alis";
|
||||
this.maskedTextBoxUID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// maskedTextBoxCN
|
||||
//
|
||||
this.maskedTextBoxCN.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.maskedTextBoxCN.Location = new System.Drawing.Point(186, 3);
|
||||
this.maskedTextBoxCN.Name = "maskedTextBoxCN";
|
||||
this.maskedTextBoxCN.Size = new System.Drawing.Size(209, 21);
|
||||
this.maskedTextBoxCN.TabIndex = 4;
|
||||
this.maskedTextBoxCN.Text = "CPX";
|
||||
this.maskedTextBoxCN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// maskedComboIP
|
||||
//
|
||||
this.maskedComboIP.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.maskedComboIP.EditValue = "If you do not enter the ip, will be connected to the local area.";
|
||||
this.maskedComboIP.Location = new System.Drawing.Point(0, 38);
|
||||
this.maskedComboIP.Name = "maskedComboIP";
|
||||
this.maskedComboIP.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.maskedComboIP.Size = new System.Drawing.Size(398, 22);
|
||||
this.maskedComboIP.TabIndex = 9;
|
||||
this.maskedComboIP.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.maskedComboIP_PreviewKeyDown);
|
||||
//
|
||||
// ConnectForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.BackgroundImageStore = global::SystemX.Product.PTS.Properties.Resources.IpAddress;
|
||||
this.ClientSize = new System.Drawing.Size(398, 268);
|
||||
this.Controls.Add(this.maskedComboIP);
|
||||
this.Controls.Add(this.panelAdvanced);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.labelControl1);
|
||||
this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("ConnectForm.IconOptions.Icon")));
|
||||
this.IconOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("ConnectForm.IconOptions.SvgImage")));
|
||||
this.MaximumSize = new System.Drawing.Size(400, 300);
|
||||
this.MinimumSize = new System.Drawing.Size(400, 300);
|
||||
this.Name = "ConnectForm";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Connect CP-ALIS";
|
||||
this.TopMost = true;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ConnectForm_FormClosing);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panelAdvanced.ResumeLayout(false);
|
||||
this.panelAdvanced.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.maskedComboIP.Properties)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DevExpress.XtraEditors.LabelControl labelControl1;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonOK;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panelAdvanced;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.MaskedTextBox maskedTextBoxPW;
|
||||
private System.Windows.Forms.MaskedTextBox maskedTextBoxUID;
|
||||
private System.Windows.Forms.MaskedTextBox maskedTextBoxCN;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonAdvanced;
|
||||
private DevExpress.XtraEditors.ComboBoxEdit maskedComboIP;
|
||||
}
|
||||
}
|
||||
202
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/ConnectForm.cs
Normal file
202
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/ConnectForm.cs
Normal file
@ -0,0 +1,202 @@
|
||||
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.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using DataBaseConnection.Control;
|
||||
|
||||
using DevExpress.XtraBars.Docking;
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
public partial class ConnectForm : DevExpress.XtraEditors.XtraForm
|
||||
{
|
||||
private IDataController ctrlDB;
|
||||
|
||||
public string strInputText;
|
||||
|
||||
private string strSetConnIPAddress;
|
||||
public string strGetConnIPAddress { get { return strSetConnIPAddress; } private set { strSetConnIPAddress = value; } }
|
||||
|
||||
private int nSetConnPort;
|
||||
public int nGetConnPort { get { return nSetConnPort; } private set { nSetConnPort = value; } }
|
||||
//
|
||||
private string strSetConnCN;
|
||||
public string strGetConnCN { get { return strSetConnCN; } private set { strSetConnCN = value; } }
|
||||
|
||||
private string strSetConnUID;
|
||||
public string strGetConnUID { get { return strSetConnUID; } private set { strSetConnUID = value; } }
|
||||
|
||||
private string strSetConnPW;
|
||||
public string strGetConnPW { get { return strSetConnPW; } private set { strSetConnPW = value; } }
|
||||
|
||||
public ConnectForm(IDataController ctrlDB)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.MinimumSize = new Size(400, 120);
|
||||
this.MaximumSize = new Size(400, 120);
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
maskedTextBoxCN.Text = DatabaseConnControl.CatalogName;
|
||||
maskedTextBoxUID.Text = DatabaseConnControl.CatalogConnUID;
|
||||
maskedTextBoxPW.Text = DatabaseConnControl.CatalogConnPW;
|
||||
|
||||
//maskedTextBoxIP.Mask = "###.###.###.###";
|
||||
//maskedTextBoxIP.ValidatingType = typeof(System.Net.IPAddress);
|
||||
|
||||
this.BringToFront();
|
||||
this.Focus();
|
||||
|
||||
DialogResult = DialogResult.None;
|
||||
|
||||
ConnectInfoINICtrl CCtrl = new ConnectInfoINICtrl();
|
||||
string strGetConnectInfo = CCtrl.GetValue("LastestConnect", "Info", "");
|
||||
|
||||
if (strGetConnectInfo.Length > 0)
|
||||
maskedComboIP.Text = strGetConnectInfo;
|
||||
|
||||
for (int i = 0; i < INICtrl.MAX_INFORMATION; i++)
|
||||
{
|
||||
string strGetInfo = CCtrl.GetValue("HistoryConnect" + i.ToString(), "Info", "");
|
||||
|
||||
if(strGetInfo.Length > 0)
|
||||
maskedComboIP.Properties.Items.Add(strGetInfo);
|
||||
}
|
||||
}
|
||||
|
||||
private void InvaildIPAlarm()
|
||||
{
|
||||
MessageBox.Show("Invalid IP. Enter it in the normal format. (An empty string or [localhost] will attempt to connect to the local server.)", "[SystemX.Product.ALIS.UI]", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
|
||||
private void simpleButtonOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
IPAddress getIPAddress = null;
|
||||
|
||||
string strGetText = maskedComboIP.Text;
|
||||
string[] strGetSplitCommaText = strGetText.Split(',');
|
||||
string[] strGetSplitDotText = strGetText.Split('.');
|
||||
|
||||
strGetConnIPAddress = string.Empty;
|
||||
|
||||
nGetConnPort = DatabaseConnControl.CatalogConnPort;
|
||||
|
||||
strGetConnCN = maskedTextBoxCN.Text;
|
||||
strGetConnUID = maskedTextBoxUID.Text;
|
||||
strGetConnPW = maskedTextBoxPW.Text;
|
||||
|
||||
strInputText = maskedComboIP.Text;
|
||||
|
||||
if (IPAddress.TryParse(maskedComboIP.Text, out getIPAddress) == false)
|
||||
{
|
||||
if (strGetSplitCommaText.Length == 2)
|
||||
{
|
||||
string strGetIP = strGetSplitCommaText[0];
|
||||
string strGetPort = strGetSplitCommaText[1];
|
||||
|
||||
int nGetPort = int.MaxValue;
|
||||
|
||||
if (IPAddress.TryParse(strGetIP, out getIPAddress) &&
|
||||
int.TryParse(strGetPort, out nGetPort))
|
||||
{
|
||||
strGetConnIPAddress = strGetIP;
|
||||
|
||||
nGetConnPort = nGetPort;
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
string strGetUpperText = maskedComboIP.Text.ToUpper();
|
||||
|
||||
if (maskedComboIP.Text.Length == 0)
|
||||
DialogResult = DialogResult.Ignore;
|
||||
else if (strGetUpperText.CompareTo("LOCALHOST") == 0)
|
||||
DialogResult = DialogResult.Ignore;
|
||||
else if (maskedComboIP.Text.CompareTo("If you do not enter the ip, will be connected to the local area.") == 0)
|
||||
DialogResult = DialogResult.Ignore;
|
||||
else
|
||||
{
|
||||
maskedComboIP.Text = "";
|
||||
|
||||
InvaildIPAlarm();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strGetSplitDotText.Length == 4)
|
||||
{
|
||||
strGetConnIPAddress = maskedComboIP.Text;
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
maskedComboIP.Text = "";
|
||||
|
||||
InvaildIPAlarm();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ConnectForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (DialogResult == DialogResult.None)
|
||||
DialogResult = DialogResult.Abort;
|
||||
|
||||
/*if (maskedTextBoxIP.Text.Length == 0)
|
||||
DialogResult = DialogResult.Cancel;
|
||||
else if (maskedTextBoxIP.Text.CompareTo("localhost") == 0)
|
||||
DialogResult = DialogResult.Cancel;
|
||||
else if (maskedTextBoxIP.Text.CompareTo("If you do not enter the ip, will be connected to the local area.") == 0)
|
||||
DialogResult = DialogResult.Cancel;
|
||||
else
|
||||
{
|
||||
e.Cancel = true;
|
||||
|
||||
if (IPAddress.TryParse(maskedTextBoxIP.Text, out IPAddress))
|
||||
e.Cancel = false;
|
||||
}*/
|
||||
}
|
||||
|
||||
private void simpleButtonAdvanced_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (panelAdvanced.Visible == false)
|
||||
{
|
||||
this.MinimumSize = new Size(400, 200);
|
||||
this.MaximumSize = new Size(400, 200);
|
||||
|
||||
panelAdvanced.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
panelAdvanced.Visible = false;
|
||||
|
||||
this.MaximumSize = new Size(400, 120);
|
||||
this.MinimumSize = new Size(400, 120);
|
||||
}
|
||||
}
|
||||
|
||||
private void maskedComboIP_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
|
||||
{
|
||||
if (maskedComboIP.Text.CompareTo("If you do not enter the ip, will be connected to the local area.") == 0)
|
||||
maskedComboIP.Text = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
1804
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/ConnectForm.resx
Normal file
1804
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/ConnectForm.resx
Normal file
File diff suppressed because it is too large
Load Diff
214
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/InputCopyReleaseNoForm.Designer.cs
generated
Normal file
214
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/InputCopyReleaseNoForm.Designer.cs
generated
Normal file
@ -0,0 +1,214 @@
|
||||
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
partial class InputCopyReleaseNoForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputCopyReleaseNoForm));
|
||||
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.simpleButtonOK = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.textBoxProductNo = new System.Windows.Forms.TextBox();
|
||||
this.labelControlInfo2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo3 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo4 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo5 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelControl1
|
||||
//
|
||||
this.labelControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.labelControl1.Appearance.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl1.Appearance.ForeColor = System.Drawing.Color.White;
|
||||
this.labelControl1.Appearance.Options.UseBackColor = true;
|
||||
this.labelControl1.Appearance.Options.UseFont = true;
|
||||
this.labelControl1.Appearance.Options.UseForeColor = true;
|
||||
this.labelControl1.AutoEllipsis = true;
|
||||
this.labelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.labelControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelControl1.Name = "labelControl1";
|
||||
this.labelControl1.Size = new System.Drawing.Size(149, 19);
|
||||
this.labelControl1.TabIndex = 2;
|
||||
this.labelControl1.Text = "Input Product Number";
|
||||
//
|
||||
// simpleButtonOK
|
||||
//
|
||||
this.simpleButtonOK.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.simpleButtonOK.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonOK.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.simpleButtonOK.Location = new System.Drawing.Point(332, 0);
|
||||
this.simpleButtonOK.Name = "simpleButtonOK";
|
||||
this.simpleButtonOK.Size = new System.Drawing.Size(66, 22);
|
||||
this.simpleButtonOK.TabIndex = 2;
|
||||
this.simpleButtonOK.Text = "OK";
|
||||
this.simpleButtonOK.Click += new System.EventHandler(this.simpleButtonOK_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Controls.Add(this.simpleButtonOK);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 146);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(398, 22);
|
||||
this.panel1.TabIndex = 5;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 19);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(398, 14);
|
||||
this.panel2.TabIndex = 6;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel3.Controls.Add(this.textBoxProductNo);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 33);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(398, 22);
|
||||
this.panel3.TabIndex = 9;
|
||||
//
|
||||
// textBoxProductNo
|
||||
//
|
||||
this.textBoxProductNo.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.textBoxProductNo.Location = new System.Drawing.Point(0, 0);
|
||||
this.textBoxProductNo.Name = "textBoxProductNo";
|
||||
this.textBoxProductNo.Size = new System.Drawing.Size(398, 22);
|
||||
this.textBoxProductNo.TabIndex = 0;
|
||||
//
|
||||
// labelControlInfo2
|
||||
//
|
||||
this.labelControlInfo2.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo2.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo2.Location = new System.Drawing.Point(0, 55);
|
||||
this.labelControlInfo2.Name = "labelControlInfo2";
|
||||
this.labelControlInfo2.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo2.TabIndex = 10;
|
||||
this.labelControlInfo2.Text = "-";
|
||||
//
|
||||
// labelControlInfo3
|
||||
//
|
||||
this.labelControlInfo3.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo3.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo3.Location = new System.Drawing.Point(0, 71);
|
||||
this.labelControlInfo3.Name = "labelControlInfo3";
|
||||
this.labelControlInfo3.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo3.TabIndex = 11;
|
||||
this.labelControlInfo3.Text = "-";
|
||||
//
|
||||
// labelControlInfo4
|
||||
//
|
||||
this.labelControlInfo4.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo4.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo4.Location = new System.Drawing.Point(0, 87);
|
||||
this.labelControlInfo4.Name = "labelControlInfo4";
|
||||
this.labelControlInfo4.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo4.TabIndex = 12;
|
||||
this.labelControlInfo4.Text = "-";
|
||||
//
|
||||
// labelControlInfo5
|
||||
//
|
||||
this.labelControlInfo5.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo5.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo5.Location = new System.Drawing.Point(0, 103);
|
||||
this.labelControlInfo5.Name = "labelControlInfo5";
|
||||
this.labelControlInfo5.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo5.TabIndex = 13;
|
||||
this.labelControlInfo5.Text = "-";
|
||||
//
|
||||
// InputCopyReleaseNoForm
|
||||
//
|
||||
this.Appearance.BackColor = System.Drawing.Color.Black;
|
||||
this.Appearance.ForeColor = System.Drawing.Color.White;
|
||||
this.Appearance.Options.UseBackColor = true;
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.Appearance.Options.UseForeColor = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(398, 168);
|
||||
this.Controls.Add(this.labelControlInfo5);
|
||||
this.Controls.Add(this.labelControlInfo4);
|
||||
this.Controls.Add(this.labelControlInfo3);
|
||||
this.Controls.Add(this.labelControlInfo2);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.labelControl1);
|
||||
this.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("InputCopyReleaseNoForm.IconOptions.Icon")));
|
||||
this.IconOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("InputCopyReleaseNoForm.IconOptions.SvgImage")));
|
||||
this.MaximumSize = new System.Drawing.Size(400, 200);
|
||||
this.MinimumSize = new System.Drawing.Size(400, 200);
|
||||
this.Name = "InputCopyReleaseNoForm";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Input ...";
|
||||
this.TopMost = true;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ConnectForm_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.SelectTestListForm_Shown);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.InputCopyReleaseNoForm_KeyDown);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DevExpress.XtraEditors.LabelControl labelControl1;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonOK;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private LabelControl labelControlInfo2;
|
||||
private LabelControl labelControlInfo3;
|
||||
private LabelControl labelControlInfo4;
|
||||
private LabelControl labelControlInfo5;
|
||||
private System.Windows.Forms.TextBox textBoxProductNo;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,75 @@
|
||||
using DevExpress.XtraBars.Docking;
|
||||
using DevExpress.XtraEditors;
|
||||
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.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
public partial class InputCopyReleaseNoForm : DevExpress.XtraEditors.XtraForm
|
||||
{
|
||||
private IDataController ctrlDB;
|
||||
|
||||
public string strProdNoP;
|
||||
public string strTestType;
|
||||
public string strVersion;
|
||||
public string strProdCode;
|
||||
|
||||
public string strInputProductNo;
|
||||
|
||||
public InputCopyReleaseNoForm(IDataController ctrlDB)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
this.BringToFront();
|
||||
this.Focus();
|
||||
|
||||
DialogResult = DialogResult.None;
|
||||
|
||||
this.KeyPreview = true;
|
||||
|
||||
this.ActiveControl = textBoxProductNo;
|
||||
|
||||
textBoxProductNo.Focus();
|
||||
}
|
||||
|
||||
private void simpleButtonOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
strInputProductNo = textBoxProductNo.Text;
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void ConnectForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (DialogResult == DialogResult.None)
|
||||
DialogResult = DialogResult.Abort;
|
||||
}
|
||||
|
||||
private void SelectTestListForm_Shown(object sender, EventArgs e)
|
||||
{
|
||||
labelControlInfo2.Text = "P_ProdNo(Variant) : " + strProdNoP;
|
||||
labelControlInfo3.Text = "Test Type : " + strTestType;
|
||||
labelControlInfo4.Text = "Version : " + strVersion;
|
||||
labelControlInfo5.Text = "Production Code : " + strProdCode;
|
||||
}
|
||||
|
||||
private void InputCopyReleaseNoForm_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape)
|
||||
DialogResult = DialogResult.Abort;
|
||||
}
|
||||
}
|
||||
}
|
||||
1841
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/InputCopyReleaseNoForm.resx
Normal file
1841
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/InputCopyReleaseNoForm.resx
Normal file
File diff suppressed because it is too large
Load Diff
190
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/LoginForm.Designer.cs
generated
Normal file
190
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/LoginForm.Designer.cs
generated
Normal file
@ -0,0 +1,190 @@
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
partial class LoginForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm));
|
||||
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.btnLogin = new System.Windows.Forms.Button();
|
||||
this.labelAlarm = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.txtUserId = new DevExpress.XtraEditors.ComboBoxEdit();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.txtPassword = new System.Windows.Forms.MaskedTextBox();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtUserId.Properties)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelControl1
|
||||
//
|
||||
this.labelControl1.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.labelControl1.Appearance.Font = new System.Drawing.Font("Arial Black", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl1.Appearance.ForeColor = System.Drawing.Color.MidnightBlue;
|
||||
this.labelControl1.Appearance.Options.UseBackColor = true;
|
||||
this.labelControl1.Appearance.Options.UseFont = true;
|
||||
this.labelControl1.Appearance.Options.UseForeColor = true;
|
||||
this.labelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
|
||||
this.labelControl1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.labelControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.labelControl1.Name = "labelControl1";
|
||||
this.labelControl1.Size = new System.Drawing.Size(52, 21);
|
||||
this.labelControl1.TabIndex = 2;
|
||||
this.labelControl1.Text = "User ID";
|
||||
//
|
||||
// labelControl2
|
||||
//
|
||||
this.labelControl2.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.labelControl2.Appearance.Font = new System.Drawing.Font("Arial Black", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl2.Appearance.ForeColor = System.Drawing.Color.MidnightBlue;
|
||||
this.labelControl2.Appearance.Options.UseBackColor = true;
|
||||
this.labelControl2.Appearance.Options.UseFont = true;
|
||||
this.labelControl2.Appearance.Options.UseForeColor = true;
|
||||
this.labelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
|
||||
this.labelControl2.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.labelControl2.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelControl2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.labelControl2.Name = "labelControl2";
|
||||
this.labelControl2.Size = new System.Drawing.Size(67, 21);
|
||||
this.labelControl2.TabIndex = 4;
|
||||
this.labelControl2.Text = "Password";
|
||||
//
|
||||
// btnLogin
|
||||
//
|
||||
this.btnLogin.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btnLogin.Font = new System.Drawing.Font("Arial Black", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnLogin.Location = new System.Drawing.Point(0, 86);
|
||||
this.btnLogin.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.btnLogin.Name = "btnLogin";
|
||||
this.btnLogin.Size = new System.Drawing.Size(298, 32);
|
||||
this.btnLogin.TabIndex = 3;
|
||||
this.btnLogin.Text = "Login";
|
||||
this.btnLogin.UseVisualStyleBackColor = true;
|
||||
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
||||
//
|
||||
// labelAlarm
|
||||
//
|
||||
this.labelAlarm.BackColor = System.Drawing.Color.LightGray;
|
||||
this.labelAlarm.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.labelAlarm.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelAlarm.Location = new System.Drawing.Point(0, 54);
|
||||
this.labelAlarm.Name = "labelAlarm";
|
||||
this.labelAlarm.Size = new System.Drawing.Size(298, 32);
|
||||
this.labelAlarm.TabIndex = 6;
|
||||
this.labelAlarm.Text = "-";
|
||||
this.labelAlarm.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.labelAlarm.Visible = false;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Controls.Add(this.txtUserId);
|
||||
this.panel1.Controls.Add(this.labelControl1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(298, 25);
|
||||
this.panel1.TabIndex = 7;
|
||||
//
|
||||
// txtUserId
|
||||
//
|
||||
this.txtUserId.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtUserId.Location = new System.Drawing.Point(52, 0);
|
||||
this.txtUserId.Name = "txtUserId";
|
||||
this.txtUserId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtUserId.Size = new System.Drawing.Size(246, 22);
|
||||
this.txtUserId.TabIndex = 3;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel2.Controls.Add(this.txtPassword);
|
||||
this.panel2.Controls.Add(this.labelControl2);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 25);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(298, 25);
|
||||
this.panel2.TabIndex = 8;
|
||||
//
|
||||
// txtPassword
|
||||
//
|
||||
this.txtPassword.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtPassword.Location = new System.Drawing.Point(67, 0);
|
||||
this.txtPassword.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.txtPassword.Name = "txtPassword";
|
||||
this.txtPassword.PasswordChar = '*';
|
||||
this.txtPassword.Size = new System.Drawing.Size(231, 21);
|
||||
this.txtPassword.TabIndex = 2;
|
||||
this.txtPassword.UseSystemPasswordChar = true;
|
||||
//
|
||||
// LoginForm
|
||||
//
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.BackgroundImageStore = global::SystemX.Product.PTS.Properties.Resources.Password;
|
||||
this.ClientSize = new System.Drawing.Size(298, 118);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.labelAlarm);
|
||||
this.Controls.Add(this.btnLogin);
|
||||
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("LoginForm.IconOptions.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.MaximumSize = new System.Drawing.Size(300, 150);
|
||||
this.MinimumSize = new System.Drawing.Size(300, 130);
|
||||
this.Name = "LoginForm";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Login";
|
||||
this.TopMost = true;
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtUserId.Properties)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DevExpress.XtraEditors.LabelControl labelControl1;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl2;
|
||||
private System.Windows.Forms.Button btnLogin;
|
||||
private System.Windows.Forms.Label labelAlarm;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.MaskedTextBox txtPassword;
|
||||
private DevExpress.XtraEditors.ComboBoxEdit txtUserId;
|
||||
}
|
||||
}
|
||||
116
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/LoginForm.cs
Normal file
116
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/LoginForm.cs
Normal file
@ -0,0 +1,116 @@
|
||||
using DevExpress.XtraEditors;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
public partial class LoginForm : DevExpress.XtraEditors.XtraForm
|
||||
{
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private DataSet ds = new DataSet();
|
||||
private DataTable dt = new DataTable();
|
||||
|
||||
public string UserID { internal set; get; }
|
||||
public string UserName { internal set; get; }
|
||||
public string UserDept { internal set; get; }
|
||||
public string UserEmail { internal set; get; }
|
||||
public string UserComment { internal set; get; }
|
||||
public string UserPassword { internal set; get; }
|
||||
|
||||
public LoginForm(IDataController ctrlDB)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
this.Focus();
|
||||
this.BringToFront();
|
||||
|
||||
this.ActiveControl = txtUserId;
|
||||
|
||||
txtUserId.Focus();
|
||||
|
||||
LoginInfoINICtrl LCtrl = new LoginInfoINICtrl();
|
||||
string strGetConnectInfo = LCtrl.GetValue("LastestLogin", "Info", "");
|
||||
|
||||
if (strGetConnectInfo.Length > 0)
|
||||
{
|
||||
txtUserId.Text = strGetConnectInfo;
|
||||
|
||||
this.ActiveControl = txtPassword;
|
||||
}
|
||||
|
||||
for (int i = 0; i < INICtrl.MAX_INFORMATION; i++)
|
||||
{
|
||||
string strGetInfo = LCtrl.GetValue("HistoryLogin" + i.ToString(), "Info", "");
|
||||
|
||||
if (strGetInfo.Length > 0)
|
||||
txtUserId.Properties.Items.Add(strGetInfo);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnLogin_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.None;
|
||||
|
||||
SqlDataReader dr = null;
|
||||
|
||||
try
|
||||
{
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM STAT_User WHERE UserID = '" + txtUserId.Text + "' AND Password = '" + txtPassword.Text + "';";
|
||||
dr = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
|
||||
if (dr != null)
|
||||
{
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
|
||||
int iFieldCnt = dr.FieldCount;
|
||||
int iRecordsAffectedCnt = dr.RecordsAffected;
|
||||
bool bHasRow = dr.HasRows;
|
||||
|
||||
dt.Load(dr);
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
UserID = dt.Rows[0]["UserID"].ToString();
|
||||
UserName = dt.Rows[0]["Name"].ToString();
|
||||
UserDept = dt.Rows[0]["Dept"].ToString();
|
||||
UserEmail = dt.Rows[0]["Email"].ToString();
|
||||
UserComment = dt.Rows[0]["Comment"].ToString();
|
||||
UserPassword = dt.Rows[0]["Password"].ToString();
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (dr != null)
|
||||
dr.Close();
|
||||
}
|
||||
|
||||
if (this.DialogResult == DialogResult.None)
|
||||
{
|
||||
this.MaximumSize = new Size(300, 180);
|
||||
this.MinimumSize = new Size(300, 180);
|
||||
this.Size = new Size(300, 180);
|
||||
|
||||
labelAlarm.Visible = true;
|
||||
labelAlarm.Text = "User information does not match or\r\n the password is incorrect.";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1787
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/LoginForm.resx
Normal file
1787
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/LoginForm.resx
Normal file
File diff suppressed because it is too large
Load Diff
237
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/SelectTestListForm.Designer.cs
generated
Normal file
237
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/SelectTestListForm.Designer.cs
generated
Normal file
@ -0,0 +1,237 @@
|
||||
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
partial class SelectTestListForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectTestListForm));
|
||||
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.simpleButtonOK = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.labelControlInfo1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.comboBoxEditVersionList = new DevExpress.XtraEditors.ComboBoxEdit();
|
||||
this.labelControlInfo2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo3 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo4 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo5 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditVersionList.Properties)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelControl1
|
||||
//
|
||||
this.labelControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.labelControl1.Appearance.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl1.Appearance.ForeColor = System.Drawing.Color.White;
|
||||
this.labelControl1.Appearance.Options.UseBackColor = true;
|
||||
this.labelControl1.Appearance.Options.UseFont = true;
|
||||
this.labelControl1.Appearance.Options.UseForeColor = true;
|
||||
this.labelControl1.AutoEllipsis = true;
|
||||
this.labelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.labelControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelControl1.Name = "labelControl1";
|
||||
this.labelControl1.Size = new System.Drawing.Size(162, 19);
|
||||
this.labelControl1.TabIndex = 2;
|
||||
this.labelControl1.Text = "Select Test-List Version";
|
||||
//
|
||||
// simpleButtonOK
|
||||
//
|
||||
this.simpleButtonOK.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.simpleButtonOK.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonOK.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.simpleButtonOK.Location = new System.Drawing.Point(332, 0);
|
||||
this.simpleButtonOK.Name = "simpleButtonOK";
|
||||
this.simpleButtonOK.Size = new System.Drawing.Size(66, 22);
|
||||
this.simpleButtonOK.TabIndex = 2;
|
||||
this.simpleButtonOK.Text = "OK";
|
||||
this.simpleButtonOK.Click += new System.EventHandler(this.simpleButtonOK_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Controls.Add(this.simpleButtonOK);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 146);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(398, 22);
|
||||
this.panel1.TabIndex = 5;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 19);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(398, 14);
|
||||
this.panel2.TabIndex = 6;
|
||||
//
|
||||
// labelControlInfo1
|
||||
//
|
||||
this.labelControlInfo1.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo1.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo1.Location = new System.Drawing.Point(0, 33);
|
||||
this.labelControlInfo1.Name = "labelControlInfo1";
|
||||
this.labelControlInfo1.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo1.TabIndex = 8;
|
||||
this.labelControlInfo1.Text = "-";
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel3.Controls.Add(this.comboBoxEditVersionList);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 49);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(398, 22);
|
||||
this.panel3.TabIndex = 9;
|
||||
//
|
||||
// comboBoxEditVersionList
|
||||
//
|
||||
this.comboBoxEditVersionList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.comboBoxEditVersionList.EditValue = "";
|
||||
this.comboBoxEditVersionList.Location = new System.Drawing.Point(0, 0);
|
||||
this.comboBoxEditVersionList.Name = "comboBoxEditVersionList";
|
||||
this.comboBoxEditVersionList.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
|
||||
this.comboBoxEditVersionList.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.comboBoxEditVersionList.Properties.ImmediatePopup = true;
|
||||
this.comboBoxEditVersionList.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
|
||||
this.comboBoxEditVersionList.Size = new System.Drawing.Size(398, 22);
|
||||
this.comboBoxEditVersionList.TabIndex = 1;
|
||||
//
|
||||
// labelControlInfo2
|
||||
//
|
||||
this.labelControlInfo2.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo2.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo2.Location = new System.Drawing.Point(0, 71);
|
||||
this.labelControlInfo2.Name = "labelControlInfo2";
|
||||
this.labelControlInfo2.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo2.TabIndex = 10;
|
||||
this.labelControlInfo2.Text = "-";
|
||||
//
|
||||
// labelControlInfo3
|
||||
//
|
||||
this.labelControlInfo3.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo3.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo3.Location = new System.Drawing.Point(0, 87);
|
||||
this.labelControlInfo3.Name = "labelControlInfo3";
|
||||
this.labelControlInfo3.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo3.TabIndex = 11;
|
||||
this.labelControlInfo3.Text = "-";
|
||||
//
|
||||
// labelControlInfo4
|
||||
//
|
||||
this.labelControlInfo4.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo4.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo4.Location = new System.Drawing.Point(0, 103);
|
||||
this.labelControlInfo4.Name = "labelControlInfo4";
|
||||
this.labelControlInfo4.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo4.TabIndex = 12;
|
||||
this.labelControlInfo4.Text = "-";
|
||||
//
|
||||
// labelControlInfo5
|
||||
//
|
||||
this.labelControlInfo5.Appearance.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo5.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
|
||||
this.labelControlInfo5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelControlInfo5.Location = new System.Drawing.Point(0, 119);
|
||||
this.labelControlInfo5.Name = "labelControlInfo5";
|
||||
this.labelControlInfo5.Size = new System.Drawing.Size(398, 16);
|
||||
this.labelControlInfo5.TabIndex = 13;
|
||||
this.labelControlInfo5.Text = "-";
|
||||
//
|
||||
// SelectTestListForm
|
||||
//
|
||||
this.Appearance.BackColor = System.Drawing.Color.Black;
|
||||
this.Appearance.ForeColor = System.Drawing.Color.White;
|
||||
this.Appearance.Options.UseBackColor = true;
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.Appearance.Options.UseForeColor = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(398, 168);
|
||||
this.Controls.Add(this.labelControlInfo5);
|
||||
this.Controls.Add(this.labelControlInfo4);
|
||||
this.Controls.Add(this.labelControlInfo3);
|
||||
this.Controls.Add(this.labelControlInfo2);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.labelControlInfo1);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.labelControl1);
|
||||
this.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("SelectTestListForm.IconOptions.Icon")));
|
||||
this.IconOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("SelectTestListForm.IconOptions.SvgImage")));
|
||||
this.MaximumSize = new System.Drawing.Size(400, 200);
|
||||
this.MinimumSize = new System.Drawing.Size(400, 200);
|
||||
this.Name = "SelectTestListForm";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Select ...";
|
||||
this.TopMost = true;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ConnectForm_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.SelectTestListForm_Shown);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SelectTestListForm_KeyDown);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditVersionList.Properties)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DevExpress.XtraEditors.LabelControl labelControl1;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonOK;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
|
||||
private ComboBoxEdit comboBoxEditVersionList;
|
||||
private LabelControl labelControlInfo1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private LabelControl labelControlInfo2;
|
||||
private LabelControl labelControlInfo3;
|
||||
private LabelControl labelControlInfo4;
|
||||
private LabelControl labelControlInfo5;
|
||||
}
|
||||
}
|
||||
119
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/SelectTestListForm.cs
Normal file
119
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/SelectTestListForm.cs
Normal file
@ -0,0 +1,119 @@
|
||||
using DevExpress.XtraBars.Docking;
|
||||
using DevExpress.XtraEditors;
|
||||
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.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
public partial class SelectTestListForm : DevExpress.XtraEditors.XtraForm
|
||||
{
|
||||
private eSelectType SelectOpenType;
|
||||
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private int nSelectedItem;
|
||||
|
||||
private string strSelectedItem;
|
||||
|
||||
public string strNo;
|
||||
public string strProdNo;
|
||||
public string strName;
|
||||
public string strTestType;
|
||||
public string strVersion;
|
||||
public string strProdCode;
|
||||
public string strFileName;
|
||||
|
||||
public int nSelectedIndex { get { return nSelectedItem; } private set { nSelectedItem = value; } }
|
||||
|
||||
public string nSelectedVersion { get { return strSelectedItem; } private set { strSelectedItem = value; } }
|
||||
|
||||
public SelectTestListForm(eSelectType eSelect, IDataController ctrlDB, int nMaxStepVersion, bool bLimitRelease = false)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
SelectOpenType = eSelect;
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
this.BringToFront();
|
||||
|
||||
this.Focus();
|
||||
|
||||
comboBoxEditVersionList.Properties.Items.Add("Select Version ...");
|
||||
|
||||
if (bLimitRelease == false)
|
||||
{
|
||||
for (int i = nMaxStepVersion; i >= nMaxStepVersion - 10 && i >= 0; i--)
|
||||
comboBoxEditVersionList.Properties.Items.Add(i.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
comboBoxEditVersionList.Properties.Items.Add("View VRFY Release");
|
||||
|
||||
for (int i = nMaxStepVersion; i >= 0; i--)
|
||||
comboBoxEditVersionList.Properties.Items.Add(i.ToString());
|
||||
}
|
||||
|
||||
comboBoxEditVersionList.SelectedIndex = 0;
|
||||
|
||||
DialogResult = DialogResult.None;
|
||||
|
||||
this.KeyPreview = true;
|
||||
}
|
||||
|
||||
private void simpleButtonOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxEditVersionList.SelectedIndex > 0)
|
||||
{
|
||||
nSelectedIndex = comboBoxEditVersionList.SelectedIndex;
|
||||
|
||||
nSelectedVersion = comboBoxEditVersionList.SelectedItem.ToString();
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
}
|
||||
|
||||
private void ConnectForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (DialogResult == DialogResult.None)
|
||||
DialogResult = DialogResult.Abort;
|
||||
}
|
||||
|
||||
private void SelectTestListForm_Shown(object sender, EventArgs e)
|
||||
{
|
||||
labelControlInfo1.Text = "No : " + strNo;
|
||||
|
||||
if (SelectOpenType == eSelectType.TestListFile)
|
||||
{
|
||||
//labelControl1.Text = "Select Test-List Version [" + strName + "]";
|
||||
labelControl1.Text = "Select Test-List Version [" + strFileName + "]";
|
||||
|
||||
labelControlInfo2.Text = "File Name : " + strFileName;
|
||||
}
|
||||
else if (SelectOpenType == eSelectType.TestListVariant)
|
||||
labelControlInfo2.Text = "P_ProdNo : " + strProdNo;
|
||||
|
||||
labelControlInfo3.Text = "Test Type : " + strTestType;
|
||||
labelControlInfo4.Text = "Version : " + strVersion;
|
||||
labelControlInfo5.Text = "Production Code : " + strProdCode;
|
||||
}
|
||||
|
||||
private void SelectTestListForm_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.Escape)
|
||||
DialogResult = DialogResult.Abort;
|
||||
}
|
||||
}
|
||||
}
|
||||
1841
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/SelectTestListForm.resx
Normal file
1841
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/SelectTestListForm.resx
Normal file
File diff suppressed because it is too large
Load Diff
124
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/WaitProgressForm.Designer.cs
generated
Normal file
124
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/WaitProgressForm.Designer.cs
generated
Normal file
@ -0,0 +1,124 @@
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
partial class WaitProgressForm
|
||||
{
|
||||
/// <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.progressPanel1 = new DevExpress.XtraWaitForm.ProgressPanel();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.progressBarWait = new System.Windows.Forms.ProgressBar();
|
||||
this.labelSub = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// progressPanel1
|
||||
//
|
||||
this.progressPanel1.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.progressPanel1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.progressPanel1.Appearance.Options.UseBackColor = true;
|
||||
this.progressPanel1.Appearance.Options.UseFont = true;
|
||||
this.progressPanel1.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.progressPanel1.AppearanceCaption.Options.UseFont = true;
|
||||
this.progressPanel1.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.progressPanel1.AppearanceDescription.Options.UseFont = true;
|
||||
this.progressPanel1.Description = "";
|
||||
this.progressPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.progressPanel1.ImageHorzOffset = 20;
|
||||
this.progressPanel1.Location = new System.Drawing.Point(0, 6);
|
||||
this.progressPanel1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.progressPanel1.Name = "progressPanel1";
|
||||
this.progressPanel1.Size = new System.Drawing.Size(287, 24);
|
||||
this.progressPanel1.TabIndex = 0;
|
||||
this.progressPanel1.Text = "progressPanel1";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.AutoSize = true;
|
||||
this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tableLayoutPanel1.ColumnCount = 1;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.progressPanel1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.progressBarWait, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelSub, 0, 2);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(287, 67);
|
||||
this.tableLayoutPanel1.TabIndex = 1;
|
||||
//
|
||||
// progressBarWait
|
||||
//
|
||||
this.progressBarWait.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.progressBarWait.Location = new System.Drawing.Point(3, 36);
|
||||
this.progressBarWait.Name = "progressBarWait";
|
||||
this.progressBarWait.Size = new System.Drawing.Size(281, 6);
|
||||
this.progressBarWait.TabIndex = 1;
|
||||
this.progressBarWait.Visible = false;
|
||||
//
|
||||
// labelSub
|
||||
//
|
||||
this.labelSub.AutoSize = true;
|
||||
this.labelSub.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelSub.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelSub.Location = new System.Drawing.Point(3, 45);
|
||||
this.labelSub.Name = "labelSub";
|
||||
this.labelSub.Size = new System.Drawing.Size(281, 19);
|
||||
this.labelSub.TabIndex = 2;
|
||||
this.labelSub.Text = "Processing ...";
|
||||
this.labelSub.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// WaitProgressForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ClientSize = new System.Drawing.Size(287, 67);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Name = "WaitProgressForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraWaitForm.ProgressPanel progressPanel1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.ProgressBar progressBarWait;
|
||||
private System.Windows.Forms.Label labelSub;
|
||||
}
|
||||
}
|
||||
66
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/WaitProgressForm.cs
Normal file
66
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/WaitProgressForm.cs
Normal file
@ -0,0 +1,66 @@
|
||||
using DevExpress.XtraWaitForm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.Subs
|
||||
{
|
||||
public partial class WaitProgressForm : WaitForm
|
||||
{
|
||||
public WaitProgressForm(bool bVisibleProgress = false)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.progressPanel1.AutoHeight = true;
|
||||
|
||||
if (bVisibleProgress)
|
||||
progressBarWait.Visible = true;
|
||||
}
|
||||
|
||||
#region Overrides
|
||||
|
||||
public override void SetCaption(string caption)
|
||||
{
|
||||
base.SetCaption(caption);
|
||||
|
||||
this.progressPanel1.Caption = caption;
|
||||
}
|
||||
public override void SetDescription(string description)
|
||||
{
|
||||
base.SetDescription(description);
|
||||
|
||||
this.progressPanel1.Description = description;
|
||||
}
|
||||
public override void ProcessCommand(Enum cmd, object arg)
|
||||
{
|
||||
base.ProcessCommand(cmd, arg);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public void setDescription(string sText)
|
||||
{
|
||||
//this.SetDescription(sText);
|
||||
|
||||
this.labelSub.Text = sText;
|
||||
}
|
||||
|
||||
public void SetProgressMax(int nValue)
|
||||
{
|
||||
progressBarWait.Maximum = nValue;
|
||||
}
|
||||
|
||||
public void SetProgressValue(int nValue)
|
||||
{
|
||||
progressBarWait.Value = nValue;
|
||||
}
|
||||
|
||||
public enum WaitFormCommand
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
120
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/WaitProgressForm.resx
Normal file
120
CPXV2 PTS/SystemX.Product.CP.PTS/UI/Subs/WaitProgressForm.resx
Normal 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>
|
||||
29
CPXV2 PTS/SystemX.Product.CP.PTS/UI/UI Events/Analysis.cs
Normal file
29
CPXV2 PTS/SystemX.Product.CP.PTS/UI/UI Events/Analysis.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using DevExpress.XtraBars;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public partial class FrmMain
|
||||
{
|
||||
private void barButtonItemASAPartID_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.A_AnalysisPartID, Commons.LoginAccessLevel.None);
|
||||
}
|
||||
|
||||
private void barButtonItemASAProcess_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.A_AnalysisProcessTrend, Commons.LoginAccessLevel.None);
|
||||
}
|
||||
|
||||
private void barButtonItemLogSearch_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.A_LogSearchTrend, Commons.LoginAccessLevel.None);
|
||||
}
|
||||
}
|
||||
}
|
||||
177
CPXV2 PTS/SystemX.Product.CP.PTS/UI/UI Events/Main.cs
Normal file
177
CPXV2 PTS/SystemX.Product.CP.PTS/UI/UI Events/Main.cs
Normal file
@ -0,0 +1,177 @@
|
||||
using DevExpress.XtraBars;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SystemX.Net.Platform.Common.ExtensionMethods;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Product.ALIS.UI.View;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public partial class FrmMain
|
||||
{
|
||||
public bool LoginCheck(LoginAccessLevel levelCheck)
|
||||
{
|
||||
if (Commons.DEBUG_MODE)
|
||||
return true;
|
||||
if (ACCESS_LEVEL == LoginAccessLevel.None)
|
||||
return false;
|
||||
|
||||
switch (levelCheck)
|
||||
{
|
||||
case LoginAccessLevel.Admin:
|
||||
return (ACCESS_LEVEL == LoginAccessLevel.Admin) ? true : false;
|
||||
case LoginAccessLevel.Basic:
|
||||
return ((ACCESS_LEVEL & LoginAccessLevel.Basic) == LoginAccessLevel.Basic) ? true : false;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private class OnOperationUserLoginMarker : IDisposable
|
||||
{
|
||||
private FrmMain _mainView;
|
||||
|
||||
public OnOperationUserLoginMarker(FrmMain mv)
|
||||
{
|
||||
_mainView = mv;
|
||||
|
||||
_mainView.Do(() =>
|
||||
{
|
||||
_mainView.barButtonItem_Login.Enabled = false;
|
||||
});
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_mainView.Do(() =>
|
||||
{
|
||||
_mainView.barButtonItem_Login.Enabled = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private class OnOperationDBConnMarker : IDisposable
|
||||
{
|
||||
private FrmMain _mainView;
|
||||
|
||||
private bool bConnBehavior = true;
|
||||
|
||||
public OnOperationDBConnMarker(FrmMain mv, bool bSetConnBehavior = true)
|
||||
{
|
||||
_mainView = mv;
|
||||
|
||||
bConnBehavior = bSetConnBehavior;
|
||||
|
||||
_mainView.Do(() =>
|
||||
{
|
||||
if (bConnBehavior)
|
||||
{
|
||||
_mainView.barButtonItemConnect.Enabled = false;
|
||||
_mainView.barButtonItemLogout.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
_mainView.barButtonItemConnect.Enabled = false;
|
||||
_mainView.barButtonItemLogout.Enabled = false;
|
||||
|
||||
_mainView.barStaticItemConn.Caption = "ConnectDB";
|
||||
_mainView.barStaticItemConn.Visibility = BarItemVisibility.Never;
|
||||
_mainView.barStaticItemConn.ShowImageInToolbar = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_mainView.Do(() =>
|
||||
{
|
||||
if (bConnBehavior)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
_mainView.barButtonItemConnect.Enabled = true;
|
||||
_mainView.barButtonItemLogout.Enabled = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public IDisposable GetOnOperationUserLoginMarker() { return new OnOperationUserLoginMarker(this); }
|
||||
|
||||
public IDisposable GetOnOperationDBConnMarker(bool bSetConnBehavior = true) { return new OnOperationDBConnMarker(this, bSetConnBehavior); }
|
||||
|
||||
|
||||
public void DispUserInfoText(bool bSetInfo)
|
||||
{
|
||||
if (bSetInfo)
|
||||
{
|
||||
string strSetUserInfolb = CurrentUser.UserID + "|" +
|
||||
CurrentUser.Name + "|" +
|
||||
CurrentUser.Dept + "|" +
|
||||
CurrentUser.Email + "|" +
|
||||
CurrentUser.Comment;
|
||||
|
||||
if (barStaticLabelLogin.Caption.IndexOf(strSetUserInfolb) < 0)
|
||||
barStaticLabelLogin.Caption = strSetUserInfolb;
|
||||
|
||||
if (this.Text.IndexOf(strTitleLabel + " @ " + strSetUserInfolb) < 0)
|
||||
this.Text = strTitleLabel + " @ " + strSetUserInfolb;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Text = strTitleLabel;
|
||||
|
||||
barStaticLabelLogin.Caption = "-";
|
||||
|
||||
if (barStaticItemLoginTime1.Caption.IndexOf("-") < 0)
|
||||
barStaticItemLoginTime1.Caption = "-";
|
||||
if (barStaticItemLoginTime2.Caption.IndexOf("-") < 0)
|
||||
barStaticItemLoginTime2.Caption = "-";
|
||||
}
|
||||
}
|
||||
|
||||
public void DispLoginTimeText()
|
||||
{
|
||||
if (barStaticItemLoginTime1.Caption.IndexOf(stCheckLoginTime.Elapsed.ToString("mm\\:ss")) < 0) //\\.ff")) < 0)
|
||||
barStaticItemLoginTime1.Caption = stCheckLoginTime.Elapsed.ToString("mm\\:ss"); //\\.ff");
|
||||
if (barStaticItemLoginTime2.Caption.IndexOf(stCheckLoginTime.Elapsed.ToString("mm\\:ss")) < 0) //\\.ff")) < 0)
|
||||
barStaticItemLoginTime2.Caption = stCheckLoginTime.Elapsed.ToString("mm\\:ss"); //\\.ff");
|
||||
}
|
||||
|
||||
public void SetOnOperationMarker(bool bLoginState)
|
||||
{
|
||||
if (bLoginState)
|
||||
{
|
||||
barButtonItem_Login.Caption = "Login(F1)\r\n" + CurrentUser.UserID;
|
||||
barButtonItemUserLogout.Enabled = true;
|
||||
|
||||
stCheckLoginTime.Restart();
|
||||
|
||||
DispUserInfoText(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
ACCESS_LEVEL = LoginAccessLevel.None;
|
||||
|
||||
barButtonItem_Login.Caption = "Login(F1)";
|
||||
|
||||
barButtonItemUserLogout.Enabled = false;
|
||||
|
||||
DispUserInfoText(false);
|
||||
}
|
||||
|
||||
//Child Notice loginState
|
||||
if (DocFrames != null)
|
||||
{
|
||||
foreach (FrmChild fc in DocFrames)
|
||||
((IChildSubscribe)fc).SetLoginStateNotice(ACCESS_LEVEL, bLoginState);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
55
CPXV2 PTS/SystemX.Product.CP.PTS/UI/UI Events/Management.cs
Normal file
55
CPXV2 PTS/SystemX.Product.CP.PTS/UI/UI Events/Management.cs
Normal file
@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using DevExpress.XtraBars;
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI
|
||||
{
|
||||
public partial class FrmMain
|
||||
{
|
||||
private void barButtonItem_HistoryList_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
//OpenViewModel(eAppFunctionType.M_ProductionHistory);
|
||||
}
|
||||
|
||||
private void btnHostInfo_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_HostList, LoginAccessLevel.Basic, eSelectType.HostList, LoginCheck(LoginAccessLevel.Basic));
|
||||
}
|
||||
|
||||
private void barButtonItemUser_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_UserList, LoginAccessLevel.Admin, eSelectType.UserList, LoginCheck(LoginAccessLevel.Admin));
|
||||
}
|
||||
|
||||
private void barButtonItemMgGroup_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_GroupList, LoginAccessLevel.Basic, eSelectType.GroupList, LoginCheck(LoginAccessLevel.Basic));
|
||||
}
|
||||
|
||||
private void barButtonItemMgTestCode_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_TestCodeList, LoginAccessLevel.Basic, eSelectType.TestCodeList, LoginCheck(LoginAccessLevel.Basic));
|
||||
}
|
||||
|
||||
private void barButtonItemTestListFile_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_TestListFile, LoginAccessLevel.Basic, eSelectType.TestListFile, LoginCheck(LoginAccessLevel.Basic));
|
||||
}
|
||||
|
||||
private void barButtonItemTestListVariant_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_TestListVariant, LoginAccessLevel.Basic, eSelectType.TestListVariant, LoginCheck(LoginAccessLevel.Basic));
|
||||
}
|
||||
|
||||
private void barButtonItemTestListRelease_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
OpenViewModel(eAppFunctionType.M_TestListRelease, LoginAccessLevel.Basic, eSelectType.TestListRelease, LoginCheck(LoginAccessLevel.Basic));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
752
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/UcInfoView.Designer.cs
generated
Normal file
752
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/UcInfoView.Designer.cs
generated
Normal 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;
|
||||
}
|
||||
}
|
||||
789
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/UcInfoView.cs
Normal file
789
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/UcInfoView.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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/VNRIAgiHiEeMRqiISCJBjlEEUQQEJBU1BCj8YrGxBjjwX0U8T4QTAmh
|
||||
cpYeuz22d3e7R7u7s/v6vtP5ptPd2aJOeDLJtp3n2d9837DbB4AvnuM0h9NzOOMUnOmDXte1uj1eqfti
|
||||
12Gk+sO+pD85x+FcMsDhPIfzHS5wGEgudLjIOev3zia6bpcrV774i2P6mZH3DTU0zlj+1Um8+k0XK74t
|
||||
x8qN5Vi1sQKrN5HNlVizpQpryevbAlhHirYHUbQziDd2VmP9rhq8KYpr8NbuWr07RepN5Qc4h+QaVb/q
|
||||
mrqZVgbW0i9PYG9ZGCWVEZQGozheF0dFQwLVLR1oCCfREk0h0pFGPGkhmeYfZLK8XP6hEF73UnKWPHyp
|
||||
O8A5XHlloHqWrkXAqaCkIoJDlB+jvNyR11PeTHk4kUas00JnKoO0lYX0fglFO4ISXUF0G/ICjLz/yYrA
|
||||
0ykLFq8HsejzI7b8aG0cJykPNncgRHkT5W2OvIO/mKJcbz5r4IUNOnR7eP1BRGuqO8A5FNC3jHJO0iIw
|
||||
LPzsMI5QXkZ5gPK6NsrbKY+nEe2wkKA8STn/2QFevDFruF7oGCyPfLkBevcD5nx0EOK5jw9hLpn3SSnm
|
||||
f1qKsvoEqpo6UEt5I+WtlLdLnqQ8TTknZUOTITfmNS5eOoYQ3wCtzIHPfnAAvx0PY395BAerojjMd37C
|
||||
kde0JtEQSaEllkYkYXHRZdBJudaJl9wYE6AdRMdQ0o/4Blw8+90S7KP8AOV/18RxPJRARSPlLUnUU95M
|
||||
eZjyWGeG9z1r3yKuF3utCN8YJ2T512WSXUV8A7Q1Lpn1zl+2vLQ6jmOUl1MepDwUTnHRpTl6i/c9w/ue
|
||||
Bdeeu04MhWIUou1MxzCih1qPAC1ABVw2Y8N+HKL8aF2CK74DAcrrKG9sT6OF8gjl8WQW3PY2ijAUCjEx
|
||||
S7id6RhOfAO0Ny9/8u0/cYTyMsqrmpOoobyB8uaYhTDlsc4suPNc3BBBaW9T0Xam4xpSMODK6ev34gTl
|
||||
lZK3pRCKpNFEeRvl7ZTHU3BJiJwQN0bkhGg70zGC6P+TvABtjUGPF/2OiqYkgq0p1FHeGLXQmshw9FlE
|
||||
k0CMUkOPGAoLxlAuFnA703EdKRgw+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
|
||||
bGUATW9kaWZ5VGFibGVTdHlsZTvvH3A0AAAIzklEQVRYR6WWCVBV5xXHLzGKgqBAJC5Vk9TGGE2MMzaj
|
||||
nbqkVYNxFMWiRmxiRy1GQEFBNMaVpRoFcUFkeSwPVMQFRUQFZZd9B0HAJ7JvghQp0lj995zvvft8NUwm
|
||||
ae7Mz+8Kl+93zvnO990r6Vx6P8EbvxJ5Hu0FQCBf/MsBxJvEIB30fwaDfwY8F8/NwYhLNwAht/dLnecc
|
||||
VpjrHF4MZ2UxtsmEFWErE1oEJyakEI5McCG2CAqwWaHGIYjJh32gGruAfGwKyMNGv+y8rw5e/5w8HISo
|
||||
xOsBDLT2SGlJKG/Hw65/QyXog+pJH47ffCBG5oEOx+KqUf3kGao7n6FKQyXhc71ajJUdr7hR0orlHkmt
|
||||
5OFqiCroBsA/GGztmYpyevjagyeIruzEZeISsfNcGS7dp/v7HbhYwXSK0fVMKS5UPMaFcjVR9x7jPLE9
|
||||
ooTGdnEfWdaOc0RabTesPVPYZkDwUv8ogCFUAZS09Wpkr4SuZ0pI1CGIImEUy8o7sJ0CkKWyjHGhJTxX
|
||||
2o6zWtqQWNNFFUhm21Ci/wCWUwBFrb1CxGJZyBkJEUnVMllUos5QR8Qj982ZkjZBBFPchoSHXbByFwEY
|
||||
ET8KgH9gwBF6XasmYamQCkjCsIybk7MT9yQRjRr2iq1adBqWcAwpgsflCqz1vvuTARhauSUjr7kHkTrl
|
||||
5OxYJGenzkw9soyzCy9uFaOyqFXAQnFf2IpQIqygFbdVnQiJr2bbcIK3pJ7K9ktJZbuKbtUBDF3mnoTc
|
||||
xh5NOQkhaleLNKUMJyJoch4dQwuFRCa0oIVkLWJr8n0Ik9+CM/R8WXM3bnudQpnNUuSttnQjn3wmiC3J
|
||||
ARgtO5CE7Ian6rVjkUboRKLwQsqQRSKzVyLOLpQksiw4vxkOdB4o8lqgyG1BBP0/o6YTBQFBqNllhxfN
|
||||
VVA5rUXK4nkcxEBCbEkRgOWBRGTUdwtJuKaEjBBpMhSQiEcWBec1k5TENCo02NNBFJjTBGVeE9JUtJSn
|
||||
L6Jy2wa8aKrEU4UnehMjkW1lgWuzZrqTlyshAjC23J8omkWcbDJ8ur2GvYJOOTrxWGTHp54Y89QnH412
|
||||
AblwURbifNpD7Pa5BQ/fRDTRwdQd5IlmRxu0h5xE2f7tCJrwLvcEH+UiimGW++8g9VE3lbJZXU7OTpOR
|
||||
IpeyI4JymCbKsBl2JORMA7IbiSb40+iX2Qjn0AKkVFJjhodjl/dNPOp6jtisWmSe9EOL1wFcmTgBynHj
|
||||
4DFixCHyckOKAIYv2XcHSXRgiFKyLLeJYFGeEKllMo34xj8P/iQ8zWQ14lRGPRRZDTiXXI2MK4fRdP1L
|
||||
/NDXhOg0FYJiihGXroL359YIHD0G242MD5PTUOMW/5gs3nObtssTtUgrIxG9TDg7/6wmIRJCYuPpXPhl
|
||||
NJC4ESfT6xGYWYc795pwK8INjTErgD4VXtzfhqx4L1xNroL1N0GYZemOOeZTvMnH5wE3odgFIoBFFEB8
|
||||
9RMh1YpoVIu4vGrZKZbebYCtXw580xtwIq0eARm1SLjXiOQoT9RHL8fL3iq8KHFAX+qf0VPyLXa57sCn
|
||||
Ft9h2JiFfuQyI3jt37DXEysgIjFdtDsBeyJLSZgDWxm/XCGS+fspwi+bRiYH630zsSUwG8qEcsQq9qL2
|
||||
vCXwrwo8L3dDX+JsdOe7IHv3e0h0fAdbtuzkpptAcOkHzDB+X9qkE4DZwu8ScJ1eQL60lr6Uoe/deipt
|
||||
g5CdpCxPUJmP03gsrY7GOqw7kYlTKTW4UVSL21T2mohFePm0DM8y16Endia6s5yQ5ToOCZvG4tIRF/hF
|
||||
53MAvyHEK1nfzEKabsjxqAN4a+GueMTQm47Xk8vKMmaDbzaOp9bDJ7VOTUodjibVwM4vE3GFj3ArbB8e
|
||||
hlrg5T+L0Zu0Bj0Xp6ErzQ7pTmMQt2E0zno6Iqn0Eb7+/g4HMIrg8uvpmy2Q/jTpQ7rVBGBBAUSXPsYx
|
||||
kjEs8kmtpUyzcDS5Dt7JtfBKegSvxBocT1JBEVeEG4o9qA6cjxedeeiJX4Xus1PQmWSLFLuRiF07EhEH
|
||||
HBCbr4IysxYLdt7kAEZqfHpzJ34gnfwj96KmCRfsiGs5eusBwmgbMqG0E0IIl7BCBNOooCZUUAOGZtQh
|
||||
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/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAldEVYdFRpdGxlAEdyaWQ7U3ByZWFkc2hlZXQ7Um93
|
||||
O0RlbGV0ZVJvdztOu1grAAACuklEQVQ4T33UW0iTYRgH8M1TmXbQwI6QXQwqSQK76iq60BS6KA1bllkW
|
||||
ohXmKQXpoKYDkzZxnndwE71wqaksT1lm6ZxubWpOuzCiG8VTOl2uLfj3vJsuDOmBH9/zbu/z/8Y7vo9D
|
||||
5UG8yLb/2L6O9Z6EC4DDcKQNxj5FswmKpnHUbGj8DPmGl2OQMaoxSFWjqKgf/sBCXAFixSBd/1bb2y/r
|
||||
nbPaejavRbIBmuJ4U+sMKKlxBqxZf8NCZCo9LGt2rJIVImvQw/zTDrPF5tjzQuII8HEFZNUakUkeKg3I
|
||||
UBiQXvMJaXI9UmV6pEh1eCAZRnLVEO5XanGvfBBJZZrNAXHPe/F6ctEljQbUkwtQTzilVg+5eoaf18UC
|
||||
fF0B1wU9aDUtQDo0A6l2Gil0tyrNNBqMcxiY+oHm/q/on1pE48gsmomi3cQC/Ik74XKuPusGn6HkK7md
|
||||
pAvROZ2o655AS2UDdPHxaBeIUdc1jrrOcahzhdBERi20hJ2/7AjJF/fRLwEWzFbML1tRqtRgbsmKxWUL
|
||||
tDExsGnf4LuoECPiMhiFxfhWJMCvjx14Fxo+TwFenJziXkeA2WLH8qoNyiYDlui6YrGiLzcfusgw2Kvy
|
||||
oL8bD13iLdhKH0Nz4RwK9x8qoABPTsrTV+8zCjqQkd+B9Px2pOepkUbEigG0do1AEpsETcRZWIVZWCvK
|
||||
RH/oGWT7BxTTsLfjDKh2kN1kzz/8yAFJUIjSdCMaK0mXsJpwEeP8KEh4weX0nQ/hOv6KrVB5yXmnSkbv
|
||||
3ITlUSJUp09AFXIcK9m3YbjGR9nhY0K2Z8thhsq7/shJ81xyHGqDeYhw8xCRCkXQUcwkREO+j7fE9mw5
|
||||
zFB5FuwNjJUF8GbDue4CWvuSnWFcd1G1X+DMk10H+WzPlsMMFTsg9uiyM2KPsds61rPP6BXA4f4Ba3pO
|
||||
faKtBbEAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<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
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
|
||||
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
|
||||
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
|
||||
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
|
||||
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
|
||||
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
|
||||
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
|
||||
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</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
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
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/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
|
||||
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
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/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
|
||||
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
|
||||
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
|
||||
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
|
||||
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
|
||||
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
|
||||
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
|
||||
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
|
||||
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonModify1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAL4DAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iQ3VzdG9taXplTWVyZ2VGaWVsZCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3Jv
|
||||
dW5kOm5ldyAwIDAgMzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6
|
||||
IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3RDc7fQoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQo8L3N0
|
||||
eWxlPg0KICA8cmVjdCB4PSI2IiB5PSIxMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjIiIHJ4PSIwIiByeT0i
|
||||
MCIgY2xhc3M9IlllbGxvdyIgLz4NCiAgPHBhdGggZD0iTTMxLjUsMjguOWwtNi4xLTYuMUMyNS44LDIx
|
||||
LjksMjYsMjEsMjYsMjBjMC0zLjMtMi43LTYtNi02Yy0xLDAtMS45LDAuMi0yLjcsMC43bDQuMiw0LjIg
|
||||
IGMwLjcsMC43LDAuNywxLjksMCwyLjZjLTAuNywwLjctMS45LDAuNy0yLjYsMGwtNC4yLTQuMkMxNC4y
|
||||
LDE4LjEsMTQsMTksMTQsMjBjMCwzLjMsMi43LDYsNiw2YzEsMCwxLjktMC4yLDIuNy0wLjdsNi4xLDYu
|
||||
MSAgYzAuNywwLjcsMS45LDAuNywyLjYsMEMzMi4yLDMwLjgsMzIuMiwyOS42LDMxLjUsMjguOXoiIGNs
|
||||
YXNzPSJCbHVlIiAvPg0KICA8cGF0aCBkPSJNMjQuNiwzMEgxYy0wLjUsMC0xLTAuNS0xLTFWMWMwLTAu
|
||||
NSwwLjUtMSwxLTFoMjRjMC41LDAsMSwwLjUsMSwxdjEzLjdjLTAuNi0wLjctMS4yLTEuMi0yLTEuNlYy
|
||||
SDJ2MjZoMjAuNiAgTDI0LjYsMzB6IE0yMCw2SDZ2MmgxNFY2eiBNMTYsMTRINnYyaDEwVjE0eiBNMTIs
|
||||
MjJINnYyaDZWMjJ6IE0xMiwxOEg2djJoNlYxOHoiIGNsYXNzPSJCbGFjayIgLz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonRegister1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
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>
|
||||
266
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/GroupInfoEdit.Designer.cs
generated
Normal file
266
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/GroupInfoEdit.Designer.cs
generated
Normal 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;
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
372
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/HostInfoEdit.Designer.cs
generated
Normal file
372
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/HostInfoEdit.Designer.cs
generated
Normal 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;
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
319
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/TestCodeInfoEdit.Designer.cs
generated
Normal file
319
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/TestCodeInfoEdit.Designer.cs
generated
Normal 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;
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
452
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/UserInfoEdit.Designer.cs
generated
Normal file
452
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Info List/Wizard/UserInfoEdit.Designer.cs
generated
Normal 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;
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
@ -0,0 +1,176 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml.Linq;
|
||||
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
|
||||
using static PsCommon.PsCommon;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using SystemX.Common.Archive;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
|
||||
using System.Threading;
|
||||
|
||||
namespace SystemX.Product.PTS.UI.View.Test_List.Infos
|
||||
{
|
||||
public class CpTestlistLoad
|
||||
{
|
||||
private PsCCSGaudiFile getTestList;
|
||||
|
||||
private byte[] ucTestListByte;
|
||||
|
||||
private psGaudiImformation m_psGaudiInfo = new psGaudiImformation();
|
||||
|
||||
public event EventHandler TestListLoadResultEvent;
|
||||
|
||||
public PsCCSGaudiFile GetPsCCSTestList()
|
||||
{
|
||||
return getTestList;
|
||||
}
|
||||
|
||||
public byte[] GetTestListRawBytes()
|
||||
{
|
||||
return ucTestListByte;
|
||||
}
|
||||
|
||||
public string GetTestListDescription()
|
||||
{
|
||||
return getTestList.ListTestStep[0].Comment;
|
||||
}
|
||||
|
||||
public bool GetTestListLoadState()
|
||||
{
|
||||
return m_psGaudiInfo.bInfoNormalLoaded;
|
||||
}
|
||||
|
||||
public psGaudiImformation psGaudiInfo
|
||||
{
|
||||
get { return m_psGaudiInfo; }
|
||||
}
|
||||
|
||||
public void ExcuteTestListLoad(CVariantInformation ParentInfo)
|
||||
{
|
||||
m_psGaudiInfo = new psGaudiImformation();
|
||||
|
||||
string strGetCurrentDir = Directory.GetCurrentDirectory();
|
||||
Guid uguid = Guid.NewGuid();
|
||||
string strTempFileName = @strGetCurrentDir + @"\TempTestList\";
|
||||
|
||||
if (Directory.Exists(strTempFileName) == false)
|
||||
Directory.CreateDirectory(strTempFileName);
|
||||
|
||||
strTempFileName += uguid.ToString("B") + ".CpXv" + ParentInfo.Version + ParentInfo.ProdCode;
|
||||
//ParentInfo.TestListSelectForCopyRawData = XDataArchive.DecompressGZipByteToByte(ParentInfo.TestListSelectForCopyRawData);
|
||||
//File.WriteAllBytes(strTempFileName, (byte[])ParentInfo.TestListSelectForCopyRawData);
|
||||
|
||||
Thread.Sleep(100);
|
||||
|
||||
LoadTestList(strTempFileName, true);
|
||||
}
|
||||
|
||||
public bool CheckTestListLoad()
|
||||
{
|
||||
if (m_psGaudiInfo.bInfoLoading)
|
||||
{
|
||||
MessageBox.Show("You cannot close the information modification wizard while loading the test list.", "CP-Test List Load", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private async Task<bool> LoadTestList(string strFileName, bool bDeleteFile = false)
|
||||
{
|
||||
m_psGaudiInfo.bInfoNormalLoaded = false;
|
||||
m_psGaudiInfo.bInfoLoading = true;
|
||||
|
||||
try
|
||||
{
|
||||
if (PsCpDef.CheckCPFileExtension(strFileName) && getCPxmlInfo(strFileName))
|
||||
{
|
||||
if (m_psGaudiInfo.psVariantTable.GetStrVariantTable.Count > 0)
|
||||
{
|
||||
m_psGaudiInfo.psFileInfo = new PsCCSFileInfo(strFileName);
|
||||
|
||||
await Task.Delay(100);
|
||||
|
||||
string getTTNR = ((KeyValuePair<string, string>)m_psGaudiInfo.psVariantTable.GetStrVariantTable[0]).Key;
|
||||
getTestList = await LoadTestListFile(@strFileName, getTTNR);
|
||||
|
||||
if (getTestList != null)
|
||||
{
|
||||
ucTestListByte = File.ReadAllBytes(strFileName);
|
||||
|
||||
m_psGaudiInfo.bInfoNormalLoaded = true;
|
||||
|
||||
TestListLoadResultEvent?.BeginInvoke(true, null, null, null);
|
||||
}
|
||||
else
|
||||
throw new Exception($"Failed to load test list file.");
|
||||
}
|
||||
else
|
||||
throw new Exception($"There is no TTNR information registered in the test list.");
|
||||
}
|
||||
else
|
||||
throw new Exception($"Not a normal CP TestList.");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show(e.Message, "CP-Test List Load", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
TestListLoadResultEvent?.BeginInvoke(false, null, null, null);
|
||||
}
|
||||
|
||||
await Task.Delay(1);
|
||||
|
||||
if (bDeleteFile)
|
||||
File.Delete(strFileName);
|
||||
|
||||
m_psGaudiInfo.bInfoLoading = false;
|
||||
|
||||
return m_psGaudiInfo.bInfoNormalLoaded;
|
||||
}
|
||||
|
||||
private async Task<PsCCSGaudiFile> LoadTestListFile(string strFileName, string strTTNR)
|
||||
{
|
||||
return await Task.Run(async () =>
|
||||
{
|
||||
await Task.Delay(10);
|
||||
|
||||
return PsCCSGaudiFile.PsCCSPaseDataApi(strFileName, strTTNR);
|
||||
});
|
||||
}
|
||||
|
||||
private bool getCPxmlInfo(string strfilename)
|
||||
{
|
||||
try
|
||||
{
|
||||
XDocument xDoc = XDocument.Load(strfilename);
|
||||
|
||||
PsCCSAreaBasicInfo psBasicInfo = PsCCSAreaBasicInfo.LoadXmlData(xDoc.Root);
|
||||
PsCCSAreaTestListInfo psTestListInfo = PsCCSAreaTestListInfo.LoadXmlData(xDoc.Root);
|
||||
PsCCSAreaVariantTable psVariantTable = PsCCSAreaVariantTable.LoadXmlData(xDoc.Root);
|
||||
PsCCSFileInfo psFileInfo = new PsCCSFileInfo(strfilename);
|
||||
|
||||
m_psGaudiInfo.psBasicInfo = psBasicInfo;
|
||||
m_psGaudiInfo.psTestListInfo = psTestListInfo;
|
||||
m_psGaudiInfo.psVariantTable = psVariantTable;
|
||||
m_psGaudiInfo.psFileInfo = psFileInfo;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,409 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using CpTesterPlatform;
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
using System.Xml.Linq;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using System.IO;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public partial class UcTestListView : UserControl
|
||||
{
|
||||
public struct psGaudiImformation
|
||||
{
|
||||
public bool bInfoLoading;
|
||||
public bool bInfoNormalLoaded;
|
||||
public PsCCSAreaTestListInfo psTestListInfo;
|
||||
public PsCCSAreaBasicInfo psBasicInfo;
|
||||
public PsCCSAreaVariantTable psVariantTable;
|
||||
public PsCCSFileInfo psFileInfo;
|
||||
}
|
||||
|
||||
public enum eVRFYControlMode
|
||||
{
|
||||
New = 0,
|
||||
Insert,
|
||||
Change,
|
||||
Delete
|
||||
}
|
||||
|
||||
public enum eSetViewMode
|
||||
{
|
||||
None = -1,
|
||||
MainView = 0,
|
||||
SubView
|
||||
}
|
||||
|
||||
|
||||
private int GetProdTestListFileNoFind(CTestListFileInformation item)
|
||||
{
|
||||
string strQueryText = "SELECT No FROM [" + strSelectTable + "] WHERE " + //Name = '" + item.Name + "' AND " +
|
||||
"TestType = '" + item.TestType + "' AND " +
|
||||
"Version = '" + item.Version + "' AND " +
|
||||
"ProdCode = '" + item.ProdCode + "' AND " +
|
||||
"FileName = '" + item.FileName + "';";
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = strQueryText;
|
||||
|
||||
return Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 등록 날짜, 업데이트 날짜 이상의 DateTime 조건 에서 Parent-TestType-Version-ProdCode [GroupNo] 로 찾는다.
|
||||
/// 2022/11/08 : 날짜 조건 검색 삭제 -> 검색할 조합 정보가 Unique
|
||||
/// </summary>
|
||||
/// <param name="strSetRegDT"></param>
|
||||
/// <param name="strSetUpdateDT"></param>
|
||||
/// <returns></returns>
|
||||
private int GetProdTestListVariantNoFind(CVariantInformation item)
|
||||
{
|
||||
/*
|
||||
string strQueryText = "SELECT No FROM [" + strSelectTable + "] WHERE ProdNo_P = '" + item.ProdNo_P + "' AND " +
|
||||
"TestType = '" + item.TestType + "' AND " +
|
||||
"Version = '" + item.Version + "' AND " +
|
||||
"ProdCode = '" + item.ProdCode + "' AND " +
|
||||
"FileName = '" + item.FileName + "' AND " +
|
||||
//"RegDT >= '" + strSetRegDT + "' AND " +
|
||||
//"RegUser = '" + item.RegUser + "' AND " +
|
||||
//"UpdateDT >= '" + strSetUpdateDT + "' AND " +
|
||||
//"UpdateUser = '" + item.UpdateUser + "' AND " +
|
||||
"GroupNo = " + item.GroupNo + ";";
|
||||
*/
|
||||
string strQueryText = "SELECT No FROM [" + strSelectTable + "] WHERE ProdNo_P = '" + item.ProdNo_P + "' AND " +
|
||||
"TestListFileNo = " + item.TestListFileNo + " AND " +
|
||||
"GroupNo = " + item.GroupNo + ";";
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = strQueryText;
|
||||
|
||||
return Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
|
||||
}
|
||||
|
||||
private bool getCPxmlInfo(string strfilename, ref psGaudiImformation info)
|
||||
{
|
||||
info = new psGaudiImformation();
|
||||
|
||||
try
|
||||
{
|
||||
XDocument xDoc = XDocument.Load(strfilename);
|
||||
|
||||
PsCCSAreaBasicInfo psBasicInfo = PsCCSAreaBasicInfo.LoadXmlData(xDoc.Root);
|
||||
PsCCSAreaTestListInfo psTestListInfo = PsCCSAreaTestListInfo.LoadXmlData(xDoc.Root);
|
||||
PsCCSAreaVariantTable psVariantTable = PsCCSAreaVariantTable.LoadXmlData(xDoc.Root);
|
||||
PsCCSFileInfo psFileInfo = new PsCCSFileInfo(strfilename);
|
||||
|
||||
info.psBasicInfo = psBasicInfo;
|
||||
info.psTestListInfo = psTestListInfo;
|
||||
info.psVariantTable = psVariantTable;
|
||||
info.psFileInfo = psFileInfo;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public PsCCSGaudiFile TemporaryTestListLoad(byte[] testListrawData)
|
||||
{
|
||||
PsCCSGaudiFile readGaudiFile = null;
|
||||
|
||||
string strGetCurrentDir = Directory.GetCurrentDirectory();
|
||||
Guid uguid = Guid.NewGuid();
|
||||
string strTempFileName = @strGetCurrentDir + @"\TempTestList\";
|
||||
|
||||
if (Directory.Exists(strTempFileName) == false)
|
||||
Directory.CreateDirectory(strTempFileName);
|
||||
|
||||
strTempFileName += uguid.ToString("B") + ".CpXv___";
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
File.WriteAllBytes(strTempFileName, (byte[])testListrawData);
|
||||
|
||||
psGaudiImformation psGaudiInfo = new psGaudiImformation();
|
||||
|
||||
if (getCPxmlInfo(strTempFileName, ref psGaudiInfo))
|
||||
{
|
||||
if (psGaudiInfo.psVariantTable.GetStrVariantTable.Count > 0)
|
||||
{
|
||||
psGaudiInfo.psFileInfo = new PsCCSFileInfo(strTempFileName);
|
||||
|
||||
string getTTNR = ((KeyValuePair<string, string>)psGaudiInfo.psVariantTable.GetStrVariantTable[0]).Key;
|
||||
|
||||
readGaudiFile = PsCCSGaudiFile.PsCCSPaseDataApi(strTempFileName, getTTNR);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
;//
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (File.Exists(strTempFileName))
|
||||
File.Delete(strTempFileName);
|
||||
}
|
||||
|
||||
return readGaudiFile;
|
||||
}
|
||||
|
||||
public class PsCCSStdFnBaseDataCompare : IEqualityComparer<PsCCSStdFnBase>
|
||||
{
|
||||
bool bEqualSelect;
|
||||
|
||||
public PsCCSStdFnBaseDataCompare(bool bSelectEqual = true)
|
||||
{
|
||||
bEqualSelect = bSelectEqual;
|
||||
}
|
||||
|
||||
public bool Equals(PsCCSStdFnBase x, PsCCSStdFnBase y)
|
||||
{
|
||||
x.GetTestStepSummary();
|
||||
y.GetTestStepSummary();
|
||||
|
||||
string MO1 = (x.GetMO() != null) ? x.GetMO() : "";
|
||||
string FuncName1 = (x.GetSTDFnNameAsEnum().ToString() != null) ? x.GetSTDFnNameAsEnum().ToString() : "";
|
||||
string Dim1 = (x.GetDimension().ToString() != null) ? x.GetDimension().ToString() : "";
|
||||
|
||||
string[] strSummaryTestSteps1 = x.SummaryTestStep;
|
||||
string MacroParm1 = (strSummaryTestSteps1[6] != null) ? strSummaryTestSteps1[6] : "";
|
||||
string Parm1 = (strSummaryTestSteps1[8] != null) ? strSummaryTestSteps1[8] : "";
|
||||
|
||||
string GetMin1 = (x.PairedParmsMinMax.Min != null) ? x.PairedParmsMinMax.Min : "";
|
||||
string GetMax1 = (x.PairedParmsMinMax.Max != null) ? x.PairedParmsMinMax.Max : "";
|
||||
|
||||
string StepNum1 = x.StepNum.ToString();
|
||||
string Variant1 = (x.Variant != null) ? x.Variant : "";
|
||||
string Gate1 = (x.Gate != null) ? x.Gate : "";
|
||||
string Activate1 = (x.Activate.ToString() != null) ? x.Activate.ToString() : "";
|
||||
string Position1 = x.Position.ToString();
|
||||
//
|
||||
string MO2 = (y.GetMO() != null) ? y.GetMO() : "";
|
||||
string FuncName2 = (y.GetSTDFnNameAsEnum().ToString() != null) ? y.GetSTDFnNameAsEnum().ToString() : "";
|
||||
string Dim2 = (y.GetDimension().ToString() != null) ? y.GetDimension().ToString() : "";
|
||||
|
||||
string[] strSummaryTestSteps2 = y.SummaryTestStep;
|
||||
string MacroParm2 = (strSummaryTestSteps2[6] != null) ? strSummaryTestSteps2[6] : "";
|
||||
string Parm2 = (strSummaryTestSteps2[8] != null) ? strSummaryTestSteps2[8] : "";
|
||||
|
||||
string GetMin2 = (y.PairedParmsMinMax.Min != null) ? y.PairedParmsMinMax.Min : "";
|
||||
string GetMax2 = (y.PairedParmsMinMax.Max != null) ? y.PairedParmsMinMax.Max : "";
|
||||
|
||||
string StepNum2 = y.StepNum.ToString();
|
||||
string Variant2 = (y.Variant != null) ? y.Variant : "";
|
||||
string Gate2 = (y.Gate != null) ? y.Gate : "";
|
||||
string Activate2 = (y.Activate.ToString() != null) ? y.Activate.ToString() : "";
|
||||
string Position2 = y.Position.ToString();
|
||||
|
||||
if (string.Equals(MO1, MO2, StringComparison.Ordinal) &&
|
||||
string.Equals(FuncName1, FuncName2, StringComparison.Ordinal) &&
|
||||
string.Equals(Dim1, Dim2, StringComparison.Ordinal) &&
|
||||
string.Equals(MacroParm1, MacroParm2, StringComparison.Ordinal) &&
|
||||
string.Equals(Parm1, Parm2, StringComparison.Ordinal) &&
|
||||
string.Equals(GetMin1, GetMin2, StringComparison.Ordinal) &&
|
||||
string.Equals(GetMax1, GetMax2, StringComparison.Ordinal) &&
|
||||
string.Equals(StepNum1, StepNum2, StringComparison.Ordinal) &&
|
||||
string.Equals(Variant1, Variant2, StringComparison.Ordinal) &&
|
||||
string.Equals(Gate1, Gate2, StringComparison.Ordinal) &&
|
||||
string.Equals(Activate1, Activate2, StringComparison.Ordinal) &&
|
||||
string.Equals(Position1, Position2, StringComparison.Ordinal))
|
||||
return bEqualSelect;
|
||||
|
||||
return !bEqualSelect;
|
||||
}
|
||||
|
||||
public int GetHashCode(PsCCSStdFnBase obj)
|
||||
{
|
||||
return obj.StepNum.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
||||
public class CTestListFileInformation : ICloneable
|
||||
{
|
||||
public int TestListFileNo { set; get; }
|
||||
//public string Name { set; get; }
|
||||
public string TestType { set; get; }
|
||||
public string Version { set; get; }
|
||||
public string ProdCode { set; get; }
|
||||
public string FileName { set; get; }
|
||||
public DateTime RegDT { set; get; }
|
||||
public string RegUser { set; get; }
|
||||
public DateTime UpdateDT { set; get; }
|
||||
public string UpdateUser { set; get; }
|
||||
public string Comment { set; get; }
|
||||
public string Description { set; get; }
|
||||
public List<string> VariantList { set; get; }
|
||||
|
||||
public byte[] TestListFileLoadRawData { set; get; }
|
||||
|
||||
public byte[] TestListFileSelectRawData { set; get; }
|
||||
|
||||
public int? SelectTestListFileNo { set; get; }
|
||||
|
||||
public PsCCSGaudiFile TestListFileLoadGaudiData { set; get; }
|
||||
|
||||
public PsCCSGaudiFile TestListFileSelectGaudiData { set; get; }
|
||||
|
||||
public bool bHasSelectedData { set; get; }
|
||||
|
||||
public CTestListFileInformation()
|
||||
{
|
||||
TestListFileNo = int.MaxValue;
|
||||
//Name = "";
|
||||
TestType = "";
|
||||
Version = "";
|
||||
ProdCode = "";
|
||||
FileName = "";
|
||||
RegDT = new DateTime();
|
||||
RegDT = DateTime.Now;
|
||||
RegUser = "";
|
||||
UpdateDT = new DateTime();
|
||||
UpdateDT = DateTime.Now;
|
||||
UpdateUser = "";
|
||||
Comment = "";
|
||||
Description = "";
|
||||
VariantList = new List<string>();
|
||||
|
||||
TestListFileLoadRawData = new byte[1];
|
||||
|
||||
TestListFileSelectRawData = new byte[1];
|
||||
|
||||
SelectTestListFileNo = null;
|
||||
|
||||
TestListFileLoadGaudiData = null;
|
||||
|
||||
TestListFileSelectGaudiData = null;
|
||||
|
||||
bHasSelectedData = false;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return new CTestListFileInformation()
|
||||
{
|
||||
TestListFileNo = this.TestListFileNo,
|
||||
//Name = this.Name,
|
||||
TestType = this.TestType,
|
||||
Version = this.Version,
|
||||
ProdCode = this.ProdCode,
|
||||
FileName = this.FileName,
|
||||
RegDT = this.RegDT,
|
||||
RegUser = this.RegUser,
|
||||
UpdateDT = this.UpdateDT,
|
||||
UpdateUser = this.UpdateUser,
|
||||
Comment = this.Comment,
|
||||
Description = this.Description,
|
||||
VariantList = this.VariantList,
|
||||
|
||||
TestListFileLoadRawData = this.TestListFileLoadRawData,
|
||||
|
||||
TestListFileSelectRawData = this.TestListFileSelectRawData,
|
||||
|
||||
SelectTestListFileNo = this.SelectTestListFileNo,
|
||||
|
||||
TestListFileLoadGaudiData = this.TestListFileLoadGaudiData,
|
||||
|
||||
TestListFileSelectGaudiData = this.TestListFileSelectGaudiData,
|
||||
|
||||
bHasSelectedData = this.bHasSelectedData
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public class CVariantInformation : ICloneable
|
||||
{
|
||||
public int VariantNo { set; get; }
|
||||
public string ProdNo_P { set; get; }
|
||||
public string TestType { set; get; }
|
||||
public string Version { set; get; }
|
||||
public string ProdCode { set; get; }
|
||||
public string FileName { set; get; }
|
||||
public DateTime RegDT { set; get; }
|
||||
public string RegUser { set; get; }
|
||||
public DateTime UpdateDT { set; get; }
|
||||
public string UpdateUser { set; get; }
|
||||
public int GroupNo { set; get; }
|
||||
public string Comment { set; get; }
|
||||
public string Description { set; get; }
|
||||
public int TestListFileNo { set; get; }
|
||||
public string TestListName { set; get; }
|
||||
|
||||
public int? SelectVariantNo { set; get; }
|
||||
|
||||
public bool bHasSelectedData { set; get; }
|
||||
|
||||
public CVariantInformation()
|
||||
{
|
||||
VariantNo = int.MaxValue;
|
||||
ProdNo_P = "";
|
||||
TestType = "";
|
||||
Version = "";
|
||||
ProdCode = "";
|
||||
FileName = "";
|
||||
RegDT = new DateTime();
|
||||
RegDT = DateTime.Now;
|
||||
RegUser = "";
|
||||
UpdateDT = new DateTime();
|
||||
UpdateDT = DateTime.Now;
|
||||
UpdateUser = "";
|
||||
GroupNo = -1;
|
||||
Comment = "";
|
||||
Description = "";
|
||||
TestListFileNo = int.MaxValue;
|
||||
TestListName = string.Empty;
|
||||
|
||||
SelectVariantNo = null;
|
||||
|
||||
bHasSelectedData = false;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return new CVariantInformation()
|
||||
{
|
||||
VariantNo = this.VariantNo,
|
||||
ProdNo_P = this.ProdNo_P,
|
||||
TestType = this.TestType,
|
||||
Version = this.Version,
|
||||
ProdCode = this.ProdCode,
|
||||
FileName = this.FileName,
|
||||
RegDT = this.RegDT,
|
||||
RegUser = this.RegUser,
|
||||
UpdateDT = this.UpdateDT,
|
||||
UpdateUser = this.UpdateUser,
|
||||
GroupNo = this.GroupNo,
|
||||
Comment = this.Comment,
|
||||
Description = this.Description,
|
||||
TestListFileNo = this.TestListFileNo,
|
||||
TestListName = this.TestListName,
|
||||
|
||||
SelectVariantNo = this.SelectVariantNo,
|
||||
|
||||
bHasSelectedData = this.bHasSelectedData
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public class CReleaseInformation : ICloneable
|
||||
{
|
||||
public string ProdNo_C { set; get; }
|
||||
public int TestCodeNo { set; get; }
|
||||
public string TestCode { set; get; }
|
||||
public int VariantNo { set; get; }
|
||||
public string ProdNo_P { set; get; }
|
||||
public string TestType { set; get; }
|
||||
public string FileVersion { set; get; }
|
||||
public string ProdCode { set; get; }
|
||||
public string Config { set; get; }
|
||||
public DateTime RegDT { set; get; }
|
||||
public string RegUser { set; get; }
|
||||
public string RegUserComment { set; get; }
|
||||
|
||||
public bool bHasSelectedData { set; get; }
|
||||
|
||||
public CReleaseInformation()
|
||||
{
|
||||
ProdNo_C = "";
|
||||
TestCodeNo = -1;
|
||||
TestCode = "";
|
||||
VariantNo = -1;
|
||||
ProdNo_P = "";
|
||||
TestType = "";
|
||||
FileVersion = "";
|
||||
ProdCode = "";
|
||||
Config = "";
|
||||
RegDT = new DateTime();
|
||||
RegDT = DateTime.Now;
|
||||
RegUser = "";
|
||||
RegUserComment = "";
|
||||
|
||||
bHasSelectedData = false;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return new CReleaseInformation()
|
||||
{
|
||||
ProdNo_C = this.ProdNo_C,
|
||||
|
||||
TestCodeNo = this.TestCodeNo,
|
||||
TestCode = this.TestCode,
|
||||
|
||||
VariantNo = this.VariantNo,
|
||||
ProdNo_P = this.ProdNo_P,
|
||||
TestType = this.TestType,
|
||||
FileVersion = this.FileVersion,
|
||||
ProdCode = this.ProdCode,
|
||||
|
||||
Config = "",
|
||||
|
||||
RegDT = this.RegDT,
|
||||
RegUser = this.RegUser,
|
||||
RegUserComment = this.RegUserComment,
|
||||
|
||||
bHasSelectedData = this.bHasSelectedData
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,627 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.XtraGrid.Views.Grid;
|
||||
using SystemX.Product.ALIS.UI.View.InfoList;
|
||||
using System.Data.SqlClient;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using DevExpress.XtraGrid.Columns;
|
||||
using System.Reflection;
|
||||
using SystemX.Product.ALIS.UI.Subs;
|
||||
using System.Threading;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
using System.Xml.Linq;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using DevExpress.XtraGrid.Views.Base;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using System.IO;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
using System.Diagnostics;
|
||||
using SystemX.Common;
|
||||
using SystemX.Common.Archive;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public class UcTestListViewFileBasicWorker
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public partial class UcTestListView
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void RunAsyncFileInsertUpdateWorker()
|
||||
{
|
||||
workerTestListFile.RunWorkerAsync(eEdtType);
|
||||
|
||||
loadForm = new WaitProgressForm();
|
||||
loadForm.setDescription("Proceeding ...");
|
||||
loadForm.Location = new Point(this.Parent.Width / 2, this.Parent.Height / 2);
|
||||
|
||||
stLoadFormWait.Restart();
|
||||
loadForm.ShowDialog();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="strSetTableName"></param>
|
||||
/// <returns></returns>
|
||||
private int PerformNewVRFYTestListFileRelease(string strSetTableName)
|
||||
{
|
||||
int iItemNum = SelectTestListFileInfo.TestListFileSelectGaudiData.ListTestStep.Count;
|
||||
int iPos = 0;
|
||||
|
||||
int isetVersion = 0;
|
||||
int isetEnable = 1;
|
||||
|
||||
SqlBulkCopy sbc = new SqlBulkCopy(ctrlDB.GetConnSqlCmd().Connection);
|
||||
sbc.BatchSize = 5000;
|
||||
sbc.DestinationTableName = strSetTableName; // "dbo.VRFY_TestListFileRelease";
|
||||
sbc.BulkCopyTimeout = 300;
|
||||
|
||||
DataTable SetVRFYReleaseTable;
|
||||
SetVRFYReleaseTable = MakeVRFYTestListReleaseTable();
|
||||
|
||||
DataRow[] SetMakeVRFYReleaseRows = new DataRow[iItemNum];
|
||||
DateTime dtNewTime = ctrlDB.GetServerDateTime();
|
||||
|
||||
PsCCSStdFnBase fbdsd = null;
|
||||
foreach (PsCCSStdFnBase fb in SelectTestListFileInfo.TestListFileSelectGaudiData.ListTestStep)
|
||||
{
|
||||
try
|
||||
{
|
||||
fb.GetTestStepSummary();
|
||||
|
||||
fbdsd = fb;
|
||||
|
||||
string strMO = (fb.GetMO() != null) ? fb.GetMO() : "";
|
||||
string strFuncName = (fb.GetSTDFnNameAsEnum().ToString() != null) ? fb.GetSTDFnNameAsEnum().ToString() : "";
|
||||
string strDim = (fb.GetDimension().ToString() != null) ? fb.GetDimension().ToString() : "";
|
||||
|
||||
string[] strSummaryTestSteps = fb.SummaryTestStep;
|
||||
string strMacroParm = (strSummaryTestSteps[6] != null) ? strSummaryTestSteps[6] : "";
|
||||
string strParm = (strSummaryTestSteps[8] != null) ? strSummaryTestSteps[8] : "";
|
||||
|
||||
string strGetMin = (fb.PairedParmsMinMax.Min != null) ? fb.PairedParmsMinMax.Min : "";
|
||||
string strGetMax = (fb.PairedParmsMinMax.Max != null) ? fb.PairedParmsMinMax.Max : "";
|
||||
|
||||
SetMakeVRFYReleaseRows[iPos] = SetVRFYReleaseTable.NewRow();
|
||||
SetMakeVRFYReleaseRows[iPos]["TestlistNo"] = SelectTestListFileInfo.SelectTestListFileNo.Value;
|
||||
SetMakeVRFYReleaseRows[iPos]["StepID"] = fb.StepNum;
|
||||
SetMakeVRFYReleaseRows[iPos]["Variant"] = fb.Variant;
|
||||
SetMakeVRFYReleaseRows[iPos]["Gate"] = fb.Gate;
|
||||
|
||||
PsKGaudi.Parser.PsCCSDefineEnumTraceability getTracebility = fb.Traceability;
|
||||
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateState = fb.IsActivate();
|
||||
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateProperty = fb.Activate;
|
||||
|
||||
if (getActivateProperty == PsKGaudi.Parser.PsCCSDefineEnumActivate.ACTIVATE)
|
||||
SetMakeVRFYReleaseRows[iPos]["Activate"] = 1;
|
||||
else
|
||||
SetMakeVRFYReleaseRows[iPos]["Activate"] = 0;
|
||||
|
||||
SetMakeVRFYReleaseRows[iPos]["StepVersion"] = isetVersion;
|
||||
SetMakeVRFYReleaseRows[iPos]["Enable"] = isetEnable;
|
||||
SetMakeVRFYReleaseRows[iPos]["Position"] = fb.Position;
|
||||
SetMakeVRFYReleaseRows[iPos]["StepDesc"] = strMO;
|
||||
SetMakeVRFYReleaseRows[iPos]["UseFunction"] = strFuncName;
|
||||
SetMakeVRFYReleaseRows[iPos]["MacroParm"] = strMacroParm;
|
||||
SetMakeVRFYReleaseRows[iPos]["Parm"] = strParm;
|
||||
SetMakeVRFYReleaseRows[iPos]["SpecMin"] = strGetMin;
|
||||
SetMakeVRFYReleaseRows[iPos]["SpecMax"] = strGetMax;
|
||||
|
||||
if (fb.PairedParmsMinMax.Min.IndexOf("&") >= 0 || fb.PairedParmsMinMax.Max.IndexOf("&") >= 0)
|
||||
SetMakeVRFYReleaseRows[iPos]["IsGlobal"] = 1;
|
||||
else
|
||||
SetMakeVRFYReleaseRows[iPos]["IsGlobal"] = 0;
|
||||
|
||||
SetMakeVRFYReleaseRows[iPos]["Dim"] = strDim;
|
||||
SetMakeVRFYReleaseRows[iPos]["UpdateDT"] = dtNewTime;
|
||||
|
||||
iPos += 1;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @"PerformTestListReading [New] - Read Step fail. [SystemX.Product.ALIS.UI.View.InfoList : UcTestListView.PerformTestListReading]\r\n" + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
}
|
||||
//
|
||||
try
|
||||
{
|
||||
// Write from the source to the destination.
|
||||
sbc.WriteToServer(SetMakeVRFYReleaseRows);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @"PerformTestListReading [New] DB-Update fail. [SystemX.Product.ALIS.UI.View.InfoList : UcTestListView.PerformTestListReading]\r\n" + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
finally
|
||||
{
|
||||
// Close the SqlDataReader. The SqlBulkCopy
|
||||
// object is automatically closed at the end
|
||||
// of the using block.
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="args"></param>
|
||||
private void PerformTestListFileReading(object sender, DoWorkEventArgs args)
|
||||
{
|
||||
if (SelectOpenType != eSelectType.TestListFile)
|
||||
return;
|
||||
|
||||
Thread.Sleep(10);
|
||||
|
||||
bool bBinaryCompareResult = false;
|
||||
bool bProcessResult = true;
|
||||
|
||||
eEditType eSeledtType = (eEditType)((System.ComponentModel.DoWorkEventArgs)args).Argument;
|
||||
|
||||
Stopwatch stMeasTime = new Stopwatch();
|
||||
stMeasTime.Start();
|
||||
|
||||
string strSetVRFYReleaseTableName = "VRFY_TestListFileRelease";
|
||||
string strSetMaxStepVersionTableName = "HIST_TestListFileLatestStepVersion";
|
||||
string strSetTestLIstFileVariantList = "HIST_TestListFileVariantList";
|
||||
|
||||
int nGetMaxStepVersion = int.MaxValue;
|
||||
|
||||
try
|
||||
{
|
||||
switch (eSeledtType)
|
||||
{
|
||||
case eEditType.Insert:
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Insert", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
|
||||
PerformNewVRFYTestListFileRelease(strSetVRFYReleaseTableName);
|
||||
break;
|
||||
case eEditType.Modify:
|
||||
if (SelectTestListFileInfo.TestListFileLoadRawData.Length == 0)
|
||||
throw new Exception();
|
||||
|
||||
//Binary 상태 비교
|
||||
//동일한 파일(변경점이 없을시) 미진행
|
||||
if (Commons.ByteArrayCompare(SelectTestListFileInfo.TestListFileLoadRawData, SelectTestListFileInfo.TestListFileSelectRawData) == true)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() ByteArrayCompare Result = true", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
|
||||
bBinaryCompareResult = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
//Stopwatch stLoadTimeCheck = new Stopwatch();
|
||||
//stLoadTimeCheck.Start();
|
||||
|
||||
//기존 정보
|
||||
PsCCSGaudiFile orgFile = SelectTestListFileInfo.TestListFileLoadGaudiData; //TemporaryTestListLoad(SelectTestListFileInfo.TestListFileLoadRawData);
|
||||
|
||||
//새로운 정보
|
||||
PsCCSGaudiFile newFile = SelectTestListFileInfo.TestListFileSelectGaudiData; //TemporaryTestListLoad(SelectTestListFileInfo.TestListFileSelectRawData);
|
||||
|
||||
//long lTimeChk = stLoadTimeCheck.ElapsedMilliseconds;
|
||||
|
||||
//새 정보에서의 차집합
|
||||
List<PsCCSStdFnBase> fbaseNewChg = newFile.ListTestStep.Except(orgFile.ListTestStep, new PsCCSStdFnBaseDataCompare()).ToList();
|
||||
|
||||
//기존 정보에서의 차집합
|
||||
List<PsCCSStdFnBase> fbaseOldChg = orgFile.ListTestStep.Except(newFile.ListTestStep, new PsCCSStdFnBaseDataCompare()).ToList();
|
||||
|
||||
//전체 변경 항목(추가/삭제 항목 포함)
|
||||
List<PsCCSStdFnBase> changeAllItem = fbaseNewChg.Except(fbaseOldChg, new PsCCSStdFnBaseDataCompare()).ToList();
|
||||
|
||||
//삭제된 항목
|
||||
List<PsCCSStdFnBase> deleteItem = fbaseOldChg.Except(fbaseNewChg, new PsCCSStdFnBaseDataCompare(false)).ToList();
|
||||
|
||||
//추가된 항목
|
||||
List<PsCCSStdFnBase> newItem = fbaseNewChg.Except(fbaseOldChg, new PsCCSStdFnBaseDataCompare(false)).ToList();
|
||||
|
||||
//변경된 항목
|
||||
List<PsCCSStdFnBase> setChgItem = changeAllItem.Except(newItem, new PsCCSStdFnBaseDataCompare()).ToList();
|
||||
setChgItem = setChgItem.Except(deleteItem, new PsCCSStdFnBaseDataCompare()).ToList();
|
||||
|
||||
DateTime dtsetTime = DateTime.Now;
|
||||
|
||||
//수정 -> 삭제 -> 추가
|
||||
//현재 마지막 버전 확인
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Get SelectTestListFileNo", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
|
||||
int nTestListdFileNo = SelectTestListFileInfo.SelectTestListFileNo.Value;
|
||||
int nLastVersion = -1;
|
||||
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() SelectTestListFileNo = " + nTestListdFileNo, ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT MAX(StepVersion) AS 'Latest Version' FROM [" + strSetVRFYReleaseTableName + "] WHERE TestListFileNo = " + nTestListdFileNo + ";";
|
||||
nLastVersion = Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
|
||||
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Current Last StepVersion = " + nLastVersion, ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
|
||||
SetVRFYReleaseTableControl(eVRFYControlMode.Change, nTestListdFileNo, dtsetTime, setChgItem, nLastVersion);
|
||||
SetVRFYReleaseTableControl(eVRFYControlMode.Delete, nTestListdFileNo, dtsetTime, deleteItem, nLastVersion);
|
||||
SetVRFYReleaseTableControl(eVRFYControlMode.Insert, nTestListdFileNo, dtsetTime, newItem, nLastVersion);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT MAX(StepVersion) AS 'Latest Version' FROM [" + strSetVRFYReleaseTableName + "] WHERE TestListFileNo = " + SelectTestListFileInfo.SelectTestListFileNo.Value + ";";
|
||||
|
||||
nGetMaxStepVersion = Convert.ToInt32(ctrlDB.GetConnSqlCmd().ExecuteScalar());
|
||||
|
||||
switch (eSeledtType)
|
||||
{
|
||||
case eEditType.Insert:
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO [" + strSetMaxStepVersionTableName + "] (TestListFileNo, LatestStepVersion) VALUES" +
|
||||
"(" + SelectTestListFileInfo.SelectTestListFileNo.Value + ", " + nGetMaxStepVersion + ");";
|
||||
break;
|
||||
case eEditType.Modify:
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE [" + strSetMaxStepVersionTableName + "] SET LatestStepVersion = " + nGetMaxStepVersion +
|
||||
" WHERE TestListFileNo = " + SelectTestListFileInfo.SelectTestListFileNo.Value + ";";
|
||||
break;
|
||||
}
|
||||
//
|
||||
try
|
||||
{
|
||||
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() - LatestStepVersion SqlCommand Update Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
|
||||
throw;
|
||||
}
|
||||
//
|
||||
switch (eSeledtType)
|
||||
{
|
||||
case eEditType.Insert:
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "INSERT INTO [" + strSetTestLIstFileVariantList + "] (TestListFileNo, VariantList) VALUES" +
|
||||
"(" + SelectTestListFileInfo.SelectTestListFileNo.Value + ", '" + string.Join(";", SelectTestListFileInfo.VariantList.ToArray()) + "');";
|
||||
break;
|
||||
case eEditType.Modify:
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "UPDATE [" + strSetTestLIstFileVariantList + "] SET VariantList = '" + string.Join(";", SelectTestListFileInfo.VariantList.ToArray()) + "'" +
|
||||
" WHERE TestListFileNo = " + SelectTestListFileInfo.SelectTestListFileNo.Value + ";";
|
||||
break;
|
||||
}
|
||||
//
|
||||
try
|
||||
{
|
||||
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() - VariantList SqlCommand Update Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
|
||||
throw;
|
||||
}
|
||||
}
|
||||
catch (Exception error)
|
||||
{
|
||||
bProcessResult = false;
|
||||
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListFileReading() Common Error. " + error.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
finally
|
||||
{
|
||||
var setResult = new Tuple<eEditType, bool, bool, int>(eSeledtType, bBinaryCompareResult, bProcessResult, nGetMaxStepVersion);
|
||||
|
||||
args.Result = setResult;
|
||||
}
|
||||
|
||||
long lMeasTime = stMeasTime.ElapsedMilliseconds;
|
||||
}
|
||||
|
||||
private async void ReadingFileCompleted(object sender, RunWorkerCompletedEventArgs args)
|
||||
{
|
||||
// Error Check
|
||||
if (args.Error != null)
|
||||
{
|
||||
;//
|
||||
}
|
||||
// Worker Cancel
|
||||
else if (args.Cancelled)
|
||||
{
|
||||
;//
|
||||
}
|
||||
// Success
|
||||
else
|
||||
{
|
||||
var getResult = args.Result as Tuple<eEditType, bool, bool, int>;
|
||||
|
||||
eEditType getType = getResult.Item1;
|
||||
bool bGetCompareResult = getResult.Item2;
|
||||
bool bGetProcessResult = getResult.Item3;
|
||||
int iGetMaxStepVersion = getResult.Item4;
|
||||
|
||||
//정상 처리 상태 일때만.
|
||||
if (bGetProcessResult)
|
||||
{
|
||||
switch (getType)
|
||||
{
|
||||
case eEditType.Insert:
|
||||
;//
|
||||
break;
|
||||
case eEditType.Modify:
|
||||
{
|
||||
//테스트 리스트 데이터가 같고 그외 내용이 변경되었거나 그대로일 경우 우선 업데이트 진행.
|
||||
if (bGetCompareResult == true)
|
||||
SqlUpdateProdTestListFile(iGetMaxStepVersion);
|
||||
//테스트 리스트 데이터 까지 변경
|
||||
else
|
||||
SqlUpdateProdTestListFile(iGetMaxStepVersion, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (stLoadFormWait.ElapsedMilliseconds <= 1000)
|
||||
{
|
||||
int iremainTime = 1000 - (int)stLoadFormWait.ElapsedMilliseconds;
|
||||
|
||||
await Task.Delay(iremainTime); //Thread.Sleep(iremainTime);
|
||||
}
|
||||
|
||||
if (loadForm != null)
|
||||
{
|
||||
loadForm.Close();
|
||||
loadForm = null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="iMaxStepVersion"></param>
|
||||
/// <param name="bHistTestListFileDataShift"></param>
|
||||
private void SqlUpdateProdTestListFile(int nMaxStepVersion, bool bHistTestListFileDataShift = false)
|
||||
{
|
||||
bool bUpdatedResult = true;
|
||||
|
||||
string strSetRegDT, strSetUpdateDT;
|
||||
|
||||
strSetRegDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
strSetUpdateDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
|
||||
string columns = string.Empty;
|
||||
|
||||
columns = "Name,TestType,Version,ProdCode,FileName,RegDT,RegUser,UpdateDT,UpdateUser,Comment,Description,TestListData";
|
||||
|
||||
Type type = typeof(CTestListFileInformation);
|
||||
FieldInfo[] f = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("UPDATE [" + strSelectTable + "] SET ");
|
||||
|
||||
foreach (string str in columns.Split(','))
|
||||
{
|
||||
int idx = -1;
|
||||
idx = Array.FindIndex(f, x => x.Name.IndexOf(str) >= 0);
|
||||
|
||||
if (str == "TestListData")
|
||||
{
|
||||
byte[] ucWriteTestList = XDataArchive.CompressGZipByteToByte(SelectTestListFileInfo.TestListFileSelectRawData);
|
||||
|
||||
string strGetBytes = "0x" + string.Concat(Array.ConvertAll(ucWriteTestList, byt => byt.ToString("X2")));
|
||||
|
||||
sb.Append(str + " = " + strGetBytes + ", ");
|
||||
}
|
||||
else if (str == "RegDT" || str == "UpdateDT")
|
||||
{
|
||||
string strGetDateTime = ctrlDB.SetConvertDateTime(f[idx].GetValue(SelectTestListFileInfo).ToString());
|
||||
|
||||
sb.Append(str + " = '" + strGetDateTime + "', ");
|
||||
|
||||
if (str == "RegDT")
|
||||
strSetRegDT = strGetDateTime;
|
||||
else if (str == "UpdateDT")
|
||||
strSetUpdateDT = strGetDateTime;
|
||||
}
|
||||
else
|
||||
sb.Append(str + " = '" + f[idx].GetValue(SelectTestListFileInfo) + "', ");
|
||||
}
|
||||
sb = sb.Remove(sb.Length - 2, 1);
|
||||
sb.Append("WHERE No = " + AbsoluteUniqueNo + ";");
|
||||
|
||||
using (SqlCommand cmd = new SqlCommand(sb.ToString(), ctrlDB.GetConnSqlCmd().Connection))
|
||||
{
|
||||
try
|
||||
{
|
||||
int EffectRows = cmd.ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
bUpdatedResult = false;
|
||||
|
||||
MessageBox.Show(ex.Message, "SqlUpdateProdTestListFile [" + strSelectTable + "] - Error[1]", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
if (bUpdatedResult)
|
||||
{
|
||||
//테스트리스트 파일에 연결된 Variant TL-Position 0 으로 변경
|
||||
DataTable dtQueryResult = ctrlDB.GetTable($"SELECT No FROM [CPXV2].[dbo].[PROD_Variant] WITH(NOLOCK) WHERE TestListFileNo = {AbsoluteUniqueNo};");
|
||||
|
||||
if (XCommons.isHasRow(dtQueryResult))
|
||||
{
|
||||
foreach (DataRow dr in dtQueryResult.Rows)
|
||||
{
|
||||
int nRefVariantNo = int.Parse(dr["No"].ToString());
|
||||
|
||||
string strSetUpdateText = $"UPDATE [CPXV2].[dbo].[PROD_Variant] SET UseTLPosition = 0 WHERE No = {nRefVariantNo};";
|
||||
|
||||
using (SqlCommand cmd = new SqlCommand(strSetUpdateText, ctrlDB.GetConnSqlCmd().Connection))
|
||||
{
|
||||
try
|
||||
{
|
||||
int EffectRows = cmd.ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "SqlUpdateProdTestListFile [HIST_TestListFile] - Error[2]", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//업데이트 결과가 정상이고 두번 이상의 업데이트가 일어났을때 HIST_TestListFile 등록 및 데이터 업데이트(쉬프트 시작)
|
||||
if (bHistTestListFileDataShift == false)
|
||||
return;
|
||||
}
|
||||
if (bUpdatedResult && nMaxStepVersion > 0)
|
||||
{
|
||||
string strQueryText = $"SELECT No, TestListFileNo, Name FROM [HIST_TestListFile] WHERE TestListFileNo = {AbsoluteUniqueNo};"; // AND Name = '{SelectTestListFileInfo.Name}';";
|
||||
|
||||
DataTable dtQuery = ctrlDB.GetTable(strQueryText);
|
||||
|
||||
try
|
||||
{
|
||||
if (XCommons.isHasRow(dtQuery) == false)
|
||||
{
|
||||
strQueryText = $"INSERT INTO [HIST_TestListFile] (TestListFileNo, Name) VALUES({AbsoluteUniqueNo}, '-');"; //'{SelectTestListFileInfo.Name}');";
|
||||
|
||||
using (SqlCommand cmd = new SqlCommand(strQueryText, ctrlDB.GetConnSqlCmd().Connection))
|
||||
{
|
||||
int EffectRows = cmd.ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
bUpdatedResult = false;
|
||||
|
||||
MessageBox.Show(ex.Message, "SqlUpdateProdTestListFile [HIST_TestListFile] - Error[3]", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
|
||||
HistTestListFileDataUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private bool HistTestListFileDataUpdate()
|
||||
{
|
||||
int nHistTestListNum = 10;
|
||||
|
||||
bool bDataShiftResult = true;
|
||||
|
||||
string columns = string.Empty;
|
||||
|
||||
string strQueryText = $"SELECT * FROM [HIST_TestListFile] WHERE TestListFileNo = {AbsoluteUniqueNo};"; // AND Name = '{SelectTestListFileInfo.Name}';";
|
||||
|
||||
DataTable dtQuery = ctrlDB.GetTable(strQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtQuery) == false)
|
||||
return false;
|
||||
|
||||
int nAccessNo = Convert.ToInt32(dtQuery.Rows[0]["No"]);
|
||||
|
||||
bool[] bMoveData = new bool[nHistTestListNum];
|
||||
Array.Clear(bMoveData, 0, nHistTestListNum);
|
||||
|
||||
bMoveData[0] = true;
|
||||
|
||||
string[] strTestListDataName = { "TestListData1", "TestListData2", "TestListData3", "TestListData4", "TestListData5", "TestListData6", "TestListData7", "TestListData8", "TestListData9", "TestListData10" };
|
||||
|
||||
string[] strArrGetBytes = new string[nHistTestListNum];
|
||||
|
||||
//Data Check
|
||||
for (int i = 0; i < nHistTestListNum; i++)
|
||||
{
|
||||
if (dtQuery.Rows[0][strTestListDataName[i]] is byte[])
|
||||
{
|
||||
if (i + 1 < nHistTestListNum) bMoveData[i + 1] = true;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
|
||||
byte[] ucWriteTestList = dtQuery.Rows[0][strTestListDataName[i]] as byte[];
|
||||
strArrGetBytes[i] = "0x" + string.Concat(Array.ConvertAll(ucWriteTestList, byt => byt.ToString("X2")));
|
||||
}
|
||||
|
||||
//Data Ready&Move
|
||||
for (int i = nHistTestListNum - 1; i >= 0; i--)
|
||||
{
|
||||
if (bMoveData[i] == false)
|
||||
continue;
|
||||
|
||||
switch (i)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
byte[] ucWriteTestList = XDataArchive.CompressGZipByteToByte(SelectTestListFileInfo.TestListFileLoadRawData);
|
||||
|
||||
string strGetBytes = "0x" + string.Concat(Array.ConvertAll(ucWriteTestList, byt => byt.ToString("X2")));
|
||||
|
||||
strArrGetBytes[i] = strGetBytes;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
strArrGetBytes[i] = strArrGetBytes[i - 1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//Data Update
|
||||
columns = "TestListData1,TestListData2,TestListData3,TestListData4,TestListData5,TestListData6,TestListData7,TestListData8,TestListData9,TestListData10";
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.Append("UPDATE [HIST_TestListFile] SET ");
|
||||
|
||||
int nPos = 0;
|
||||
foreach (string str in columns.Split(','))
|
||||
{
|
||||
if (bMoveData[nPos] == false)
|
||||
continue;
|
||||
|
||||
sb.Append(str + " = " + strArrGetBytes[nPos] + ", ");
|
||||
|
||||
nPos++;
|
||||
}
|
||||
|
||||
sb = sb.Remove(sb.Length - 2, 1);
|
||||
sb.Append("WHERE No = " + nAccessNo + ";");
|
||||
|
||||
using (SqlCommand cmd = new SqlCommand(sb.ToString(), ctrlDB.GetConnSqlCmd().Connection))
|
||||
{
|
||||
try
|
||||
{
|
||||
int EffectRows = cmd.ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
bDataShiftResult = false;
|
||||
|
||||
MessageBox.Show(ex.Message, "HistTestListFileDataUpdate [HIST_TestListFile][Data Update] - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
return bDataShiftResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,225 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.XtraGrid.Views.Grid;
|
||||
using SystemX.Product.ALIS.UI.View.InfoList;
|
||||
using System.Data.SqlClient;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using DevExpress.XtraGrid.Columns;
|
||||
using System.Reflection;
|
||||
using SystemX.Product.ALIS.UI.Subs;
|
||||
using System.Threading;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
using System.Xml.Linq;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using DevExpress.XtraGrid.Views.Base;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using System.IO;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
using System.Diagnostics;
|
||||
using SystemX.Common;
|
||||
using SystemX.Common.Archive;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public class UcTestListViewVariantBasicWorker
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public partial class UcTestListView
|
||||
{
|
||||
private void RunAsyncVariantInsertUpdateWorker()
|
||||
{
|
||||
workerTestListVariant.RunWorkerAsync(eEdtType);
|
||||
|
||||
loadForm = new WaitProgressForm();
|
||||
loadForm.setDescription("Proceeding ...");
|
||||
loadForm.Location = new Point(this.Parent.Width / 2, this.Parent.Height / 2);
|
||||
|
||||
//loadForm.ShowOnTopMode = DevExpress.XtraWaitForm.ShowFormOnTopMode.AboveAll;
|
||||
//loadForm.TopLevel = true;
|
||||
//loadForm.BringToFront();
|
||||
|
||||
stLoadFormWait.Restart();
|
||||
loadForm.ShowDialog();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// [이전 테스트리스트 새 테스트 리스트 비교하여 처이점이 있을시 버전 업데이트 및 Release VRFY 반영]
|
||||
/// * 2022/11/08 추가 : 변경점이 있는 테스트리스트 업데이트시 HIST_TestList 반영 버전 선택 및 버전 선택 다운로드 반영
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void PerformTestListVariantReading(object sender, DoWorkEventArgs args)
|
||||
{
|
||||
if (SelectOpenType != eSelectType.TestListVariant)
|
||||
return;
|
||||
|
||||
Thread.Sleep(10);
|
||||
|
||||
bool bProcessResult = true;
|
||||
|
||||
eEditType eSeledtType = (eEditType)((System.ComponentModel.DoWorkEventArgs)args).Argument;
|
||||
|
||||
Stopwatch stMeasTime = new Stopwatch();
|
||||
stMeasTime.Start();
|
||||
|
||||
try
|
||||
{
|
||||
switch (eSeledtType)
|
||||
{
|
||||
case eEditType.Insert:
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListVariantReading() Insert", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
break;
|
||||
case eEditType.Modify:
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListVariantReading() Modify", ConsoleColor.Yellow, LogMessageLevel.DEBUG);
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception error)
|
||||
{
|
||||
bProcessResult = false;
|
||||
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" PerformTestListVariantReading() Common Error. " + error.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
finally
|
||||
{
|
||||
var setResult = new Tuple<eEditType, bool>(eSeledtType, bProcessResult);
|
||||
|
||||
args.Result = setResult;
|
||||
}
|
||||
|
||||
long lMeasTime = stMeasTime.ElapsedMilliseconds;
|
||||
}
|
||||
|
||||
private async void ReadingVariantCompleted(object sender, RunWorkerCompletedEventArgs args)
|
||||
{
|
||||
// Error Check
|
||||
if (args.Error != null)
|
||||
{
|
||||
;//
|
||||
}
|
||||
// Worker Cancel
|
||||
else if (args.Cancelled)
|
||||
{
|
||||
;//
|
||||
}
|
||||
// Success
|
||||
else
|
||||
{
|
||||
var getResult = args.Result as Tuple<eEditType, bool>;
|
||||
|
||||
eEditType getType = getResult.Item1;
|
||||
bool bGetProcessResult = getResult.Item2;
|
||||
|
||||
//정상 처리 상태 일때만.
|
||||
if (bGetProcessResult)
|
||||
{
|
||||
switch (getType)
|
||||
{
|
||||
case eEditType.Insert:
|
||||
break;
|
||||
case eEditType.Modify:
|
||||
SqlUpdateProdVariant();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (stLoadFormWait.ElapsedMilliseconds <= 100)
|
||||
{
|
||||
int iremainTime = 1000 - (int)stLoadFormWait.ElapsedMilliseconds;
|
||||
|
||||
await Task.Delay(iremainTime); //Thread.Sleep(iremainTime);
|
||||
}
|
||||
|
||||
if (loadForm != null)
|
||||
{
|
||||
loadForm.Close();
|
||||
loadForm = null;
|
||||
}
|
||||
}
|
||||
|
||||
private bool SqlUpdateProdVariant()
|
||||
{
|
||||
bool bUpdatedResult = true;
|
||||
|
||||
string strSetRegDT, strSetUpdateDT;
|
||||
|
||||
strSetRegDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
strSetUpdateDT = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
|
||||
SqlCommand cmd = new SqlCommand();
|
||||
|
||||
string columns = string.Empty;
|
||||
|
||||
columns = "ProdNo_P,RegDT,RegUser,UpdateDT,UpdateUser,GroupNo,Comment,Description,TestListFileNo";//,UseTLPosition";
|
||||
|
||||
Type type = typeof(CVariantInformation);
|
||||
FieldInfo[] f = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("UPDATE [PROD_Variant] SET ");
|
||||
|
||||
foreach (string str in columns.Split(','))
|
||||
{
|
||||
int idx = -1;
|
||||
idx = Array.FindIndex(f, x => x.Name.IndexOf(str) >= 0);
|
||||
|
||||
if (str == "RegDT" || str == "UpdateDT")
|
||||
{
|
||||
string strGetDateTime = ctrlDB.SetConvertDateTime(f[idx].GetValue(SelectTestListVariantInfo).ToString());
|
||||
|
||||
sb.Append(str + " = '" + strGetDateTime + "', ");
|
||||
|
||||
if (str == "RegDT")
|
||||
strSetRegDT = strGetDateTime;
|
||||
else if (str == "UpdateDT")
|
||||
strSetUpdateDT = strGetDateTime;
|
||||
}
|
||||
/*
|
||||
else if(str == "UseTLPosition")
|
||||
sb.Append(str + " = 0, ");
|
||||
*/
|
||||
else
|
||||
sb.Append(str + " = '" + f[idx].GetValue(SelectTestListVariantInfo) + "', ");
|
||||
}
|
||||
sb = sb.Remove(sb.Length - 2, 1);
|
||||
sb.Append("WHERE No = " + AbsoluteUniqueNo + ";");
|
||||
|
||||
cmd = new SqlCommand(sb.ToString(), ctrlDB.GetConnSqlCmd().Connection);
|
||||
|
||||
try
|
||||
{
|
||||
int EffectRows = cmd.ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
bUpdatedResult = false;
|
||||
|
||||
MessageBox.Show(ex.Message, "SqlUpdateProdVariant [PROD_Variant] - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
|
||||
return bUpdatedResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
1439
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Test List/UcTestListView.Designer.cs
generated
Normal file
1439
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Test List/UcTestListView.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
1672
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Test List/UcTestListView.cs
Normal file
1672
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Test List/UcTestListView.cs
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,819 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>31, 25</value>
|
||||
</metadata>
|
||||
<metadata name="defaultToolTipController.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>503, 27</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="ToolStripMenuItemGoToTestListFile.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABZ0RVh0VGl0
|
||||
bGUATGF5b3V0O1BhbmVsT2ZmOyIFuz4AAABYSURBVDhPrZNBCsBACAN9vB/zZVk8tBRJ2IAdGPA0ORkA
|
||||
VkZmYuM/gYfv7SADVXW1kQEXGWCL00YGXGSALU4bGXCRAbY4bWTARQbY4rSRAZc3sJG+qC/iAH19RtvR
|
||||
uMQeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ToolStripMenuItemGoToVariant.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABF0RVh0VGl0
|
||||
bGUAR29Ub0hlYWRlcjswp0O1AAAHW0lEQVRYR72W6VOUVxbGX3bULBozk8kkU5NUTKpmMjUzVfMXzOep
|
||||
qdTUVE3Nh9TETMZgEkzKJBJXBBEbQWURZBFZJAIKxA0lihKixoXuhu6mm94XmkU2oelGdubJOfftN3Qb
|
||||
sfpDKrfqV/3e8+Gc57nn3ttXAvAjIhhRQaKJGCKWiCPiiQQikVhNrCGeJp4hng3OY8JqhU5E4AljULWm
|
||||
bVC1GgNEf+Yq9GUkojc9EZ69CXDviYdzVzzs2+Ng/TwO5q2xMH0Sg+7kGOg+iEbn+9FoeztKQ2nWhtUL
|
||||
nYjA8gh1ycQNZq0G+moATwXgLgUcReHY8gBrDtCjAozpgGEPoNsBdKYA2q3QvBvFBV4Oqxc2WR5Rec2O
|
||||
tvxmJ+gXeRcdyPnKBHaP3kr0pknw7JHg2iXBsUOCPUWC5XMJPVslmD6WYEiWoP9AQleShM5NEjTvUfr2
|
||||
v6NDFvBaWM2wyfKIzqfCoSMQCNDSryLn5YApFejeDug/C0e7BVAnAXffJd4Gbv0LuPlPKv4W0PY3dLwj
|
||||
cZHXKd0TBfCyx+RetFMIWFwCFpb+D58/AFfZX9G/PxF9+xLgTU+g3sfDvTsOzp1xsH8RC8u2WFqFGBi3
|
||||
xMDwUTR0m6n3m6JoBaKg3iih6R+SkXK/pNRjVhRw5BEB0/MLGBmfgLd/AK5eLxxuD2wuF2x2J8w2O3os
|
||||
NnSbrTCYzNAZTejqNkKjM+K2Wo+krEZO/hfit0SCUo9ZSUDsoQs2CsnF54m5xVCWMLuwhBlmfplp4uEc
|
||||
syiYou+xwDx2nezi5OIIcgGlHhM+kQcLiMs5Z6UQC1hCzbdenGz3ovqbXlS1eVDBXHejvNWNslYXSq44
|
||||
UdziQNFlG45esiK/2Yq8CxYhYJQE7Kjq5ORPERELiM8+a6EQyP0S5hhyPUeOf3AedD8tHMtMBV0HBIuC
|
||||
kcAcvqjQcnK+kCISwGc+IavJTCGIwlXkvFK49uDENTeOk+vSq06Ufu3AsRY7ChXnFy3IPW/B4XM9yDlr
|
||||
gn92EcO+WWw7oeHkfBvyjRleM2wiDyFA1SgLYMeK62kmxLXsmJilb8GiKOqfWcTkzILgvm8Gn5V3cHK+
|
||||
iiMWkJjZYKKQLED0m51fJefU7xLF+SUbCrjf5PzIeTMOnyXndGEdbDRC1dAN3/QCBh7MYGvpPU6+lohY
|
||||
wKqM08sChHvFtdjpQefca+F6QYadU1EfORc8XED/2Aw+KbnLydcREQtYnV7XTSGIjVZGzkuuOFAsnNuE
|
||||
c2Wn55LzQ9TvnCYjOe/GgQYDMk8bkFGvxwQJ8I5NY8uxO5z8OYL/McNrhk3kwTt1zd5aA4UQ3OGyWwH1
|
||||
WrgmtwLxTW6F80VM8C8V5uIPCPfoNJKLbnPy9UTEAp5KPaWnEETRYup30WW77Jx3Ojnnnc7Os5tMyKJ+
|
||||
y871yKjTI61Oh71fduLB1Dycww/x4dFbnPx5ggVEKfWYHz7ERB4s4OndNYoApd/yuZZ7Htzl7DYEdj0+
|
||||
tYAxKqzgHJrC5nwh4BdE5AJ2VndRSBbwozNOOz2beq6inmeeoX6T833kOr22C6nkfE+NFrtPasU17Bic
|
||||
wqa8G5z8lwS/mCIS8Mz2Si2FSECw35PBnstu6Vf0eZ4cM7JzXvIxuvnY+ahgDtbBAN7LFQJeICISwEfl
|
||||
2RS6PnnwcvNO5zOezWecnVPPhfN6nXCeVtspes7Od1VrsbNKTfe/GiMkwDLox38PfcvJf0VELGAtX588
|
||||
2LlwHNJnxblwHAK75hUY9c9hOEhPvx8bc77h5C8SEQtY9+nxDgpBFBU7nfqtCu50pd9ppzpFz3fXaMi5
|
||||
Bjuq1dheqUZKRQdSTtzD0OQcjF4//nOwjZP/muAXc0QC1vP1ySPU+TjBrkfZZWAWI/5ZDNFdP+Sbxv2J
|
||||
KQyOBeAd9cMzMgnX0AScA+O4a+rHv9MucPLfEXwZxSr1mMcJ4KOy/uPiuxQiAWLJ5U3WeE2DwtPXUFB3
|
||||
Ffm1V5D75dc4XNOCQ9WXkF3VjIOVF5F14jxU5eeQefws9pc1IaOkCenFDUg/dgbbssu1lHudUo9ZScDz
|
||||
yUV3KATZNTE8OYvC+mvkcBKeYR9c9ydgH3gAa98oenqH0e2+D71jEFpbP9TmPtwzefCdwY0bOgfatTZc
|
||||
V1uRWljPRX6j1GMeFSCeY8T6jwpvU4he4XSVukcewtI3joL6VvSO+FBQSytwilegBUdOBleA3B+suCDc
|
||||
HyD3mWVfYV9po3CfRu4b2+iOkAVsUOoxjwrgIe6B/+W0ticV3EJS/k28n3sTG1VXRGH3kA+m3hEYXEPQ
|
||||
kWMNOb5n9uI7owc39C60ae1oJbctd8xovmXEuRsGNLV3oeE6HdOjdVxk5We5CMirwMeFXzB8ffL55SO0
|
||||
YV9RfYfc98vhrqnvB8pl1/tLqe/FQedFZ7C36LRwzsWTU/Oe/CwXAXnwXzK3gvcDi+Hjw69avk5fIV4l
|
||||
XiM2EG8QvMN/T7xJ/IH4I/En4s8hcPxlYuVneSjBwavxUyDGY+s8LvjzAel7sqMHZJ+jruQAAAAASUVO
|
||||
RK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACV0RVh0VGl0
|
||||
bGUAQ29weTtCYXJzO1JpYmJvbjtTdGFuZGFyZDtDbG9uZW0O31sAAAdbSURBVFhHnZf7U1XXHcV5CZSq
|
||||
iTFpkzQznf4J/Xf6S5ImTZq2TjQqGlvRBjGhmAjER5OMUQQxNUYIakqIYErAWE1JtNQhoLy5cF9c7vsJ
|
||||
q2vtc871wuVmOj0zi30Hzt2f9f3u7/7uTRGAdbVx40ZHJW2d3/a1ffodOFLW2Go+axxCa8cQzl4aQgvH
|
||||
lkv/Mmo+0/8Gv1um71PFx9tuFh1vvVF0jLLnNVoXLtkvFFOlghd6ksk0orEkgqEYPP4wpmYD+HZ4Dl8P
|
||||
TeHt97+o5fc3UMbE8PeuosYP+/MNFHr0JapM0erJLC8jnVkxSmWWjeIJy8BSOA63P4KJmUX8tf2fWFkB
|
||||
em88QF1z9yHOUU4ZE3852fc/GyguLy8vqaqqKldKVzhjMp2xlFqmMkjYisWTiEST8AeiNOBHU8uAMRCJ
|
||||
pdEzMIaaI111hFVQpZSCKmig2FYJVcqnrKKiorL3xigymQziyZSBRSkzMvJILGEZ4OdFLsM4M9Dw3nVj
|
||||
IJZcNia6r49gb93FwwRWUqtMrDVQ0nRmsK+p5QaaTg+i+bQ1NlLWOIDGDwdw9NQA3uH4zqmvjHq+GkE4
|
||||
moA/GMX9SR9qmz83BlLpFZqWiQyu9N7Djpr2PBO5BhR5qeCFHhWcIl0KxuD2hTDJaG/fnUHv4BiuXh+G
|
||||
LxDG/Qkf/tRwxbwvEywT1oqMZNDV82/8ft9ZmXBqIs9AmaLVk2bBKQIpmeaaU7F4mpEy1cE45r2ETfnR
|
||||
8ME/DKjr2j10dt/Bgxkv6k/0oPpQB3ZJtR3Y+YZ0CR38exOzSHAVpSzkGdhwlKnV40CTKRpg0SVsab1D
|
||||
kSS8/igeTHlx6Pg1YyDMte7oGcb5rtsYHXfj7sgcvhmexu0702ZL9t8ex+A3446BTQUNaE2zBmyoGbmW
|
||||
cS5Bwl4G31IMY1M+7D/yWbbgZOLi1Ts413ETcwuLmPWEMDMfxNTcEs36MTHtR+OpfhnYTKlJ5RkoP/KB
|
||||
ZUBAwVVEDlyKSdz7ftbB2IQXu+o6VxVcmAX3URe748VB9oUgvEsReAIRLlkE3sUIi/ZLGXhkPQPaehUN
|
||||
73NN+UtNFk9ZUAMm1FEkkUIgFMcoC25bzcfG8NqCa++4hTN/6zeF6ePu8DJjalZH3jMGHi1koLKeL1gp
|
||||
VbRccwPl/jdgKp6i0jSQwIQrwIq/jJf2nMOLu9vw4q42vLBTasWFy0OoOdqNeU/AZMtPw2pW7IQysKWg
|
||||
gTdP2k0kJ1oBHbDGECcKUu5F7vvpRXw34sKtu1Mstkn03xpH39dj6L95n/Xxd8wueFkvUQTCCTawFOpP
|
||||
XpOBxwoZ+NHhE32WAQNMIZyrGOFUmEWoUVnwBtgTuCNcnjCmVWw09P24l0Xnw776q5h2efhOhF0yYZbm
|
||||
zWNfyMBWSodUnoGqQ+/20sDKOmALKgUlbsUlRqVR0QmgdV7ggTTnDrFRhbG3/jImZ93wsPj8xkAade/2
|
||||
yMDjtoHiXAOl1I9rm69hmQYMjPAsNGJDqWDYGpc0UgFHhHhoYp4ZWeS6V9dd5tmwwAypEHlmcElrm7pl
|
||||
4IlCBjb+ufFz2wBBghloygLa0IdAnoAc/RoJEERyc1lCkQS7YCeXZJ5ZsQxEaeBg4w8b2HSQlbu8vJKN
|
||||
2ESbC5UYqeAalVoH7GOL9i5Z0rLtrL2E0UkXMxKCl3+LsogPcH6Cf0LpPMgzsLnm7c+4n2kgCxbMBtqf
|
||||
c6OVvI5suCcQZ7oz2HHwExbkLObYEZWVCE2pcxL80/UMlFGPqHJlwIlUEToSzILHLbBgOVBHbkrpfvXA
|
||||
RYzcn2FLDmKBWzYSTeGPDVdl4MmCBva+dYVXruVV4NyIrUhVbJSANtzNUWC3XzuBTYfp3rb/Au6NTRsD
|
||||
KswwDezjziD4qUIGHt1z+FNz1/PZEVuyo+RnAxbMkekDkmVgwTHAg+l3+y7gP6PTmHHTgC9iGtjrb2UN
|
||||
6IqWZ2DLblauDFjrSrADt8HZNBOyQLiRDXVxdLEPaAwx2lde/wgPJmfNebDEXRHk7xQgwesuwQbqMV0e
|
||||
UjyKlWZnjbMRC2yATqSWXD6BY5hjlHPeGGZ58qlVv1zdjmOnunkx+YQ9oRPVhzuxveZ8P8HOWZBnYKsq
|
||||
V3eBbHqVVgN+mF5XNlpBbbBGggWX1DN+s/sceLP+JW/WvyDsGUqpF1z3wrwrmQw8/uqBj809wIrWgmcj
|
||||
dUSgorYifgh1NOOJmF2kU7GkpOTnNLGJJgTVuity8z9CrgFzG5KBbftpgIeGWeNVUCdaplhaA1wld9ic
|
||||
Db9+rVWTP00Tlfofw4au+3+BY2DrH1i5OrXUSNS7tZ/VwbStnIPJORVVaM75kG1a9sEkPbe9RZM/SZWL
|
||||
IdZa5RownfCF105/+du95/Ey9VI1taeda9nOzxp58eClI/fioSif3yGdxfMEPrejBc9yfHb7afzqlRP9
|
||||
nHMLpR32gwb0mCsZtZl6gpLzp9bo6TX62Ro9Y0uf9b7glZTmzoMbtvlhPcqCXpRbpSxXMvb/SHNpTs2d
|
||||
BwdQ9F/AOGC3chKJ6AAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="pasteToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACF0RVh0VGl0
|
||||
bGUAUGFzdGU7QmFycztSaWJib247U3RhbmRhcmQ7JZsHnQAACTZJREFUWEeNlwlUVOcVx10q7ppoU5M2
|
||||
SU8Sqx5TTY7WtOJSTzzp6WmPtWo1GEUFEQVUEBEEWZRFkSgoIkUWJbii4IiyCbKDCMMiKkoUXEBxmGEY
|
||||
mBkGZgD/vfe9YREl9Tvnx/dmzpvv/7/3+959l0EABPqNwQMwZNOOo5/vCZCkeB66ZrBxjU5babH3C/6+
|
||||
33396Rndej26PRfi4Jt5saFGTIjRxDgjE5x9Y3OLKmrxUqlBtrQaVjvDi+j7ScREI+8TI4hhxK+IbnPC
|
||||
6Csu6PZciGNI2Vnzbx/EWRZXxVuirjQWPkFx2H3gClz8JXD2i8cu33j8/EyJW5XPkXv7Kax2nYQl4xQF
|
||||
i50RsHE+geKUSBScMMOtCLPSjODl39G6HIxgoq+4oNtzId4w9MElC5nmeTq6dFVoVj6BvXsU7j6sh1yl
|
||||
pai1eK5Q425NA9KKapBc8Aj5FXW4/VCG4vsvILlRgWXm3si6cRWPKhJRWxYDaeT3MlqXs/FOBoZVxW0Q
|
||||
xA3yOGjqM5EUF44tO4LgcViCsAt5iLlWgriMe5BkP8DZ5HKEnM+D33+TYO0cQeIeCPT3QmpsECrS/dD4
|
||||
OBXS8JW8+HCCt+I1cUG350I0YPIg1hyd2kq0PwtF69NwNNYkISfxBHw8PLDRxhNmVnuxdK0v/rmaMPPC
|
||||
v39ww+p1znBydMFPIT5IOnsA+bFOuJe8E03V11ActoIX5zPxfw3wDSaV59egU1OBtppg6KqPQF0ViMYH
|
||||
4bh9IxBJ0Z6IC3PD+eMeOBPijjPH3HEhdA8uR3khJcYDuRecIY3fivtJDqjN2glVjQRFIUt58ZHi+ntZ
|
||||
5/XRz8Dwe2d+QGdLOXSPAolD0Fb9CE1lAJrvHEBNlitKSUB6yQ7FsXaQXrRFSZwdyog7V1h4Ox6lOqAu
|
||||
0xEvsx3RUh2PgiNLMGni78ZPnvFXk/nzbYYuWmQ7ZPZsa+E8CKOfgRF3Y8zQoZJCVxWA1qqDaL3vD23l
|
||||
fmju+qL1yUUoKmPwXBqFOmkkaot5jkBdSQR9F4EXJeGoL42ArIyJRNPTHJTHeWPKFNOPZs1aMdHU1HL8
|
||||
3LkbRy9YYDGsx0R/AxXRq9DRVCiIau/5QXvHl/CG5vZeaB6ew0/nUuEfmo0DoVnYT4hzJvYfz4RfSCZ8
|
||||
afYNyRA5JuITnAFvI16BqflzF64bQ5mgR5N0+xkYeTtqBQzKfGju+EBTsQ/aci9oyj3QXOoO1YPTguC7
|
||||
jFd95lf0pxuvI2kwXbh+Am0HFam9g/sbGFUWvhz6hiyoyz2hLnOHunQPWkpdoSreDWXlKfhRhDwMHa+g
|
||||
7+gSMYhzO82voe9Am74Lbe0d0BFd5MAj6DrmLVz/weLFdlQbXjfA1WpUSdhS6GXpUJe4QS3djZZiFzQX
|
||||
70LTTScoKqKElPLQG8hAHzG9ocMoSoKCsIiOPrO4lg10vYL74RTMXbDhw0WLrKnMv2lgdPHxJWivT0Fz
|
||||
kTNabjmhudAJqpuOUOY5QF4eDh+jAVG0V1CMtlvUSLtBENa2iQY6yYDbwWQ28NFABsYUBf8DbXUJaCZR
|
||||
VYEDVPn2aMrbBkX2VryUhtJBShcMcGr7RisK9tIrTCbaDNDoDIIBV/9ENvBbMkDV8S0GCoP+jrZn8VDl
|
||||
bUdT7lbCDk3ZtpBnbMHLohDso0MkGjAKk1B4rBRh54sReq4IIWeLEHy6EMExhQiKLoCGxNUMGeggAy77
|
||||
r7KBjwcyMLbgx79B9/gCmnJsSdgGTVlboMywhjx9E+oLj8KTDhGfbDFSgzA3trShsVlHiLOcUbUKsLBa
|
||||
q0eLlgx0dmGXXwIb+IQMUHl+08C4PP/FaK0+DWWmNQlvgjLdCo3plmhItUBdfpBwiPhxElPLaTbg2JlC
|
||||
HI25iSPRNxF4Mg+HI3MREJ4L/xM5aNGxuIiBDDj5SNjA799mgJuH8Tl+36L15yhBtDGNuL4ejanrIEsy
|
||||
R23OIewJEA1wartRqDhiMeqGJqJRCxnxkuDImzV6AQM9qo7el9nAZwMayPJeSLU/TBBtTDWHInkNGhLX
|
||||
4OW11XiaFQDXg0m9Bji9FOHhyDwEROTgIEW8PywLflQZfakqetMToyJhkXahVth7xrOBz8kAvaDeNPBe
|
||||
hud8qvvHICdhedJqyBPNILtqhheSVXiS6U/dUSIZeCXuLcERypStQrQyhRh1Pc31ci1eyDWiuLodSqLd
|
||||
0Ilt7rFsYPJABt5P22NKdT8Q8mtmaLi6CvKElZAl/AfP41agJn0/tWUJggHe02ZOL81+VJ59KWofqv/7
|
||||
gm9g79F0Oqzp8AhMg7KlnQ6pCBuw3XOBDfxhIAMTUl3+jJYSfzSQaMOVFZBJlkN2eRnqLi5DdaovnHyv
|
||||
iAaM+8oRChETHPELjrxBjTqiVqY2irdBQU9Im74TW1zPs4GpZGDUWzOQvHMOlV9vyCntLCyLX4r6S0tQ
|
||||
e+FfeJjsDcd9EqGm855yalVqPbw44iNixO6B1+F2KAVudFh3U9VTkAEWZ3TtndjsfJYNTBvIwPgE+1my
|
||||
xxIbKNKs6QnYBEWqJeQpFqi/tgGPbhyCg1e8UNN5T7vhKMVUUx0wCsqNonJVL61kwGrXGTYwnQxQu/+6
|
||||
AeF1fMRs2mqJ3VfyBNuZuEJIbGYgfvMMXLKeieRD27HdI67XgCAqIkbaTsIECxrFG2hu4FmpQyvVjY07
|
||||
T7OBL99mgDsUzgKlZtB7xK+JD0RMfjNhwsefTJ664E+2brFCTe+7t3K6FoRZrBuqCyzaoBQNyOiaC5eF
|
||||
QwwbmDGQAYYzwUa4l2forTVh+JQpC8bN/mbFVBu384IBRbe4Ubg7zSwoI3EBEpXR53qa6+l/Co2uA+vs
|
||||
o7kfmEH9wBsGuke3kT4sGjJnjvnIv8xf+9lml3OCAX6kmDaGTjfDh4zfDZxqRkuCGpqFgtXagZZWPdZu
|
||||
O8Ud0XTqiF4/hL8E927Uw5lQLzfJcsepm3yQrJxOYyNDe2rpGAMLYj2ld709Ew3z7cwpQXDttpMCa+wi
|
||||
8b11aDGt8ymtR6UY72pg0CDqYodQNzvK1HTTh/Pmbfhi3jzLaaYLLKbzgTLyR95bIzONfEV8Tfd9TfcT
|
||||
G76k339K64yl9fjl19uU/hLGMZh/xJmg9I38ZvG6UXyQ+kHd7lsZS/ePod/RPbYjjOK0tYMG/Q/jow/o
|
||||
uQypvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="newToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAABcFJREFUWEed
|
||||
l3lsFGUchvEEFBVvJRAUFDm8/VNRIAgiHiEeMRqiISCJBjlEEUQQEJBU1BCj8YrGxBjjwX0U8T4QTAmh
|
||||
cpYeuz22d3e7R7u7s/v6vtP5ptPd2aJOeDLJtp3n2d9837DbB4AvnuM0h9NzOOMUnOmDXte1uj1eqfti
|
||||
12Gk+sO+pD85x+FcMsDhPIfzHS5wGEgudLjIOev3zia6bpcrV774i2P6mZH3DTU0zlj+1Um8+k0XK74t
|
||||
x8qN5Vi1sQKrN5HNlVizpQpryevbAlhHirYHUbQziDd2VmP9rhq8KYpr8NbuWr07RepN5Qc4h+QaVb/q
|
||||
mrqZVgbW0i9PYG9ZGCWVEZQGozheF0dFQwLVLR1oCCfREk0h0pFGPGkhmeYfZLK8XP6hEF73UnKWPHyp
|
||||
O8A5XHlloHqWrkXAqaCkIoJDlB+jvNyR11PeTHk4kUas00JnKoO0lYX0fglFO4ISXUF0G/ICjLz/yYrA
|
||||
0ykLFq8HsejzI7b8aG0cJykPNncgRHkT5W2OvIO/mKJcbz5r4IUNOnR7eP1BRGuqO8A5FNC3jHJO0iIw
|
||||
LPzsMI5QXkZ5gPK6NsrbKY+nEe2wkKA8STn/2QFevDFruF7oGCyPfLkBevcD5nx0EOK5jw9hLpn3SSnm
|
||||
f1qKsvoEqpo6UEt5I+WtlLdLnqQ8TTknZUOTITfmNS5eOoYQ3wCtzIHPfnAAvx0PY395BAerojjMd37C
|
||||
kde0JtEQSaEllkYkYXHRZdBJudaJl9wYE6AdRMdQ0o/4Blw8+90S7KP8AOV/18RxPJRARSPlLUnUU95M
|
||||
eZjyWGeG9z1r3yKuF3utCN8YJ2T512WSXUV8A7Q1Lpn1zl+2vLQ6jmOUl1MepDwUTnHRpTl6i/c9w/ue
|
||||
Bdeeu04MhWIUou1MxzCih1qPAC1ABVw2Y8N+HKL8aF2CK74DAcrrKG9sT6OF8gjl8WQW3PY2ijAUCjEx
|
||||
S7id6RhOfAO0Ny9/8u0/cYTyMsqrmpOoobyB8uaYhTDlsc4suPNc3BBBaW9T0Xam4xpSMODK6ev34gTl
|
||||
lZK3pRCKpNFEeRvl7ZTHU3BJiJwQN0bkhGg70zGC6P+TvABtjUGPF/2OiqYkgq0p1FHeGLXQmshw9FlE
|
||||
k0CMUkOPGAoLxlAuFnA703EdKRgw+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="editToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABd0RVh0VGl0
|
||||
bGUATW9kaWZ5VGFibGVTdHlsZTvvH3A0AAAIzklEQVRYR6WWCVBV5xXHLzGKgqBAJC5Vk9TGGE2MMzaj
|
||||
nbqkVYNxFMWiRmxiRy1GQEFBNMaVpRoFcUFkeSwPVMQFRUQFZZd9B0HAJ7JvghQp0lj995zvvft8NUwm
|
||||
ae7Mz+8Kl+93zvnO990r6Vx6P8EbvxJ5Hu0FQCBf/MsBxJvEIB30fwaDfwY8F8/NwYhLNwAht/dLnecc
|
||||
VpjrHF4MZ2UxtsmEFWErE1oEJyakEI5McCG2CAqwWaHGIYjJh32gGruAfGwKyMNGv+y8rw5e/5w8HISo
|
||||
xOsBDLT2SGlJKG/Hw65/QyXog+pJH47ffCBG5oEOx+KqUf3kGao7n6FKQyXhc71ajJUdr7hR0orlHkmt
|
||||
5OFqiCroBsA/GGztmYpyevjagyeIruzEZeISsfNcGS7dp/v7HbhYwXSK0fVMKS5UPMaFcjVR9x7jPLE9
|
||||
ooTGdnEfWdaOc0RabTesPVPYZkDwUv8ogCFUAZS09Wpkr4SuZ0pI1CGIImEUy8o7sJ0CkKWyjHGhJTxX
|
||||
2o6zWtqQWNNFFUhm21Ci/wCWUwBFrb1CxGJZyBkJEUnVMllUos5QR8Qj982ZkjZBBFPchoSHXbByFwEY
|
||||
ET8KgH9gwBF6XasmYamQCkjCsIybk7MT9yQRjRr2iq1adBqWcAwpgsflCqz1vvuTARhauSUjr7kHkTrl
|
||||
5OxYJGenzkw9soyzCy9uFaOyqFXAQnFf2IpQIqygFbdVnQiJr2bbcIK3pJ7K9ktJZbuKbtUBDF3mnoTc
|
||||
xh5NOQkhaleLNKUMJyJoch4dQwuFRCa0oIVkLWJr8n0Ik9+CM/R8WXM3bnudQpnNUuSttnQjn3wmiC3J
|
||||
ARgtO5CE7Ian6rVjkUboRKLwQsqQRSKzVyLOLpQksiw4vxkOdB4o8lqgyG1BBP0/o6YTBQFBqNllhxfN
|
||||
VVA5rUXK4nkcxEBCbEkRgOWBRGTUdwtJuKaEjBBpMhSQiEcWBec1k5TENCo02NNBFJjTBGVeE9JUtJSn
|
||||
L6Jy2wa8aKrEU4UnehMjkW1lgWuzZrqTlyshAjC23J8omkWcbDJ8ur2GvYJOOTrxWGTHp54Y89QnH412
|
||||
AblwURbifNpD7Pa5BQ/fRDTRwdQd5IlmRxu0h5xE2f7tCJrwLvcEH+UiimGW++8g9VE3lbJZXU7OTpOR
|
||||
IpeyI4JymCbKsBl2JORMA7IbiSb40+iX2Qjn0AKkVFJjhodjl/dNPOp6jtisWmSe9EOL1wFcmTgBynHj
|
||||
4DFixCHyckOKAIYv2XcHSXRgiFKyLLeJYFGeEKllMo34xj8P/iQ8zWQ14lRGPRRZDTiXXI2MK4fRdP1L
|
||||
/NDXhOg0FYJiihGXroL359YIHD0G242MD5PTUOMW/5gs3nObtssTtUgrIxG9TDg7/6wmIRJCYuPpXPhl
|
||||
NJC4ESfT6xGYWYc795pwK8INjTErgD4VXtzfhqx4L1xNroL1N0GYZemOOeZTvMnH5wE3odgFIoBFFEB8
|
||||
9RMh1YpoVIu4vGrZKZbebYCtXw580xtwIq0eARm1SLjXiOQoT9RHL8fL3iq8KHFAX+qf0VPyLXa57sCn
|
||||
Ft9h2JiFfuQyI3jt37DXEysgIjFdtDsBeyJLSZgDWxm/XCGS+fspwi+bRiYH630zsSUwG8qEcsQq9qL2
|
||||
vCXwrwo8L3dDX+JsdOe7IHv3e0h0fAdbtuzkpptAcOkHzDB+X9qkE4DZwu8ScJ1eQL60lr6Uoe/deipt
|
||||
g5CdpCxPUJmP03gsrY7GOqw7kYlTKTW4UVSL21T2mohFePm0DM8y16Endia6s5yQ5ToOCZvG4tIRF/hF
|
||||
53MAvyHEK1nfzEKabsjxqAN4a+GueMTQm47Xk8vKMmaDbzaOp9bDJ7VOTUodjibVwM4vE3GFj3ArbB8e
|
||||
hlrg5T+L0Zu0Bj0Xp6ErzQ7pTmMQt2E0zno6Iqn0Eb7+/g4HMIrg8uvpmy2Q/jTpQ7rVBGBBAUSXPsYx
|
||||
kjEs8kmtpUyzcDS5Dt7JtfBKegSvxBocT1JBEVeEG4o9qA6cjxedeeiJX4Xus1PQmWSLFLuRiF07EhEH
|
||||
HBCbr4IysxYLdt7kAEZqfHpzJ34gnfwj96KmCRfsiGs5eusBwmgbMqG0E0IIl7BCBNOooCZUUAOGZtQh
|
||||
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="viewerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABV0RVh0VGl0
|
||||
bGUAVmlld01lcmdlZERhdGE7shxIswAAAkJJREFUOE+lkl9Ik2EUxjdnYg4Z6IUX0Y1dBEUQdrOQpEYy
|
||||
K9LEQpTFxD+oTXMbXkT7xoKyzaitVrJkW0RXQbJagU5rG5ulEYEXgUIkmNYHBl4krWB/ejrv15avK696
|
||||
4Afn/TjPc97348gA/BcbxYbkREEWBVFIbMvCavmWASZfJGLyR2H0RTDgDeP86Av03X2Oc54p9IyE0OkK
|
||||
xqmtaKuAAqM/QuXfymQySKfTaHcGWaOK9RLSTfgABZuaL2acDMdhc9zE6bZ+1Ld2xk6caeulfvYkOR9Q
|
||||
2E9XZroXFeENf4YntIQLtwIwX3LiYWgWn9a+IxyfgUmwJ2sbWvqYhw8oYm/llUwmYR0i88QsyCvp7eJX
|
||||
3A9Oo/aUbpo8JXxAMftRTJ6pFdweX8K1sXk06Q3SZKYv335iZHIZLz+sU8DZH+RR8QHbu9zjUmNOiUQC
|
||||
g8JlhGOvsErmOTEN98RH3HkUQc2xptf5Acp21zPJ6Hy6CPvYAmzeKIbMvTBevAL/4xhi79dhdgWgM1hS
|
||||
VdVHLWwoH1Cqv/5ECkilUlgVVxBymREUmmGs16KjZwCaBh0Oak6+268+bKP+MkLBB6h0w4GseZnMJgSt
|
||||
zXAcV+NNLApRFHHE4GKNVYSSmSUfF6BsFPwzLVbfn8l2MtfpLdAOjhJ+HOoanqO+ipwnP4DtffmNDu3V
|
||||
B911EKp3r+0rL22lb3uIXUQlUUH8e5Wlw+8VVXXv3enQ7CirobqEkFsOVMp4Nnn4g7tRnQspJqRVzTdv
|
||||
DoDsF67YQEGpdtFTAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="allUpdateToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACJ0RVh0VGl0
|
||||
bGUAVXBkYXRlVGFibGVPZkNvbnRlbnRzO1RhYmxlO++l4NgAAAK4SURBVDhPhZE7TFNhGIbb0ir3tiAg
|
||||
A5FBE2SRRMVBJ8OijDAYE+Mgm1ArWLm0eKAFwUhQEkNUQkRBKloQF6KLKCDGRYsXyqWAUgQCLQV6gxby
|
||||
+n1HG2NC4ps8Jycn//Nd/iPh1PVOva57MY3rz6dQ22OHqXsSRsskqp9NQOgaR+WTMRg6bShtsw7QcQUA
|
||||
SRiOtK53mt7/n9L2b2xE0es/BWS11JkTCG4TW/BvbsFLeDaIwBbW/CEsujege/iFjZiwzHAiarrt7JO4
|
||||
jSrLDATLNCqJtUAI+i473FTgpzuAkgef2YgNywxHzvtyvNRxYTWAebcfcy4/Vkl0+4JY8YbgcAWgbR1h
|
||||
Iz4sMxxFFV0Wh0fWP51CBXUtM09ghWTd4zE4PUF8d/pQdP8TG8qwzHB2XaNb5qzTyNzZ4fJh1umHyxvE
|
||||
MrHk2cTMkg/mIQcb6rDMcCINZhv74shXO8fFrsXtNljnJmF6VYOcO8eRaojFkfpsxJ+PyFXrZEp1iSw7
|
||||
XCCqomNULLDiC8FFYzu9m6Jc2F2ArJtpyLqRhgJLLhrfa3GsYT9IbiK4q1gguvTRV7GAODLtu0Q09t+G
|
||||
0CdgyG7FAKHrMeCcOQemd/moHyyA8rKUFbFADP9fzizd9I9lv7jvrf67sC96MU6MLRDzHpxuOouqN2cg
|
||||
DJ6CUvu3QGRh8/BbbasVmhYriu59pMuaRbJ+N5L0u5BUrkCG6QAutjdgX3lqQEWdWVZq+Q5/F5AR0YSK
|
||||
SCASiT0sv3Q0o3XEgAStooO+7f1zRm4eNUqo0AWxAD92IqlCgRarHjUf8pDfcXhdfUUmqEpkmepiWSbt
|
||||
L9AUGj63o8wklitsiWXypkMNqdD0nURe21EcNKYgozoZmcaU3rhL0nQ+t6PMkJydoJMrqfMJ+mXDqmLp
|
||||
Bo09TJ31tH96nIZdSH4By/+MUJlLXfMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="exportToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABF0RVh0VGl0
|
||||
bGUARXhwb3J0O1NhdmVG1J4xAAAJf0lEQVRYR7WWB1CVZxaGrxuTNUqKrjGayRqjZldndmxgoYmIAqL0
|
||||
eul46b13pAoIijQrqLFgRbEba4wNEcVFQUQFLFRpShV09t1zfsoisnF2dvebeeb2+7znfOX/RQD+YwYO
|
||||
1w3T+6ExjPjEJW36nkWm40fzc+IP/L5ZxGTRYEzDJ4uGFHyMgcM1fZqo/V2pqO1tKb/kAJ+6pE3Dyti/
|
||||
VWi7/1meXn9GcJBhrW+LRUxV61nRi5aTInH4jz0B/pvhnDZN1NpdIkCDqx3hlPpXlNVeQOBm1W59/0lh
|
||||
9N7nxKe9nw+reJ0jqnh9WGQSNumDAFwBw1/8PXjwI1fGDO+Fq/3CYf1f8Lq7EFWtx7D9lAcMAn+4OE9z
|
||||
LPVbNIIQuvG4aa/IMPiH9wKwuO9P/jgI/uFguKqRxFcEz/efiG+I72zX/oTmrjsoaV6Lp6278FtRGlau
|
||||
ntGwVDLBkD6XIvq70RdAkLtHb4/2jt/9zjtuN7wIVV03zF9oBn3zQCSmH0BC2n7Ep+xF7PosRK3dhdPn
|
||||
cxG4SQuSxKmQJEzFSmbNVNgQjZ03cb8xVqCkOQV5z9bCd6MSNFy/Sx83acQ48nERnwwM8JlX3K53Ry4U
|
||||
IOfSXRy/XCjIFy8zhLldBCqa36Gi6S3Km7pR3tiNxy87UVXfAuv4KSTLRX3ndeJaL1cECl5G4nZdGI6V
|
||||
ipFVuAK/PHZC8lFDaPtMLJReMWYOOUf2BeB2jPCI+RnZ5wuQtPMs1mSexnxFMyirG8DUdhWJSU7issYu
|
||||
lDW8wcOadjyva4bF6smo6/gV+STKrw0RuFUbjLyaIJwrtyexBrbfUcG228rIyFfCvkJd7M21hmn4tA4V
|
||||
u/GO7wVwi9yGQ7/cRmR6DuIzTmKeohiL1PRhZB3cI2/owpP6N1T9G5RUt6GiugHiyB9R2XoG16v8cOmp
|
||||
iyA9WmKM3XfVSLoIGbeUsDVPEZtuKmDjDTnsvKOBTRdXQNNzYsdc/dHOAwN87hK+FfvO5CEiNRvxW49j
|
||||
roIYSmp60Lfwx5N+eSce1XbgQWWLEMBo1Q8oqEnFhTI3nH3ijDOPHHC61B4nSyXYfFMeG3JlkX5jAdKv
|
||||
y1IoTQRkzoec+djiKXJScuSUei+AU+hm7DlxA2EpBxG78RhkFEywUFUP2mIfoepHdZ0oJTm3v5gClFU2
|
||||
wH+DAdTdJ0DNfTzU3CZA1Y0fx+NwsRlSr81DylUZbLghj4zr6jAKnYrZOqO3SY0d/r0g590wIMBIh6AN
|
||||
2JlzDcHr9iEm/Qhk5IyxcIkuVhh6kLgTD0leUt2OouctKHhUj4LSGjwsr0Xxo0rce/gMBUVluJp3DyrO
|
||||
3+LsY3ckXZmNzbmKiDkih6UOk/CTopQTeb4leAvzlu/fhnw4jJL4p2Bb9m8ISqBtlpYNaXkjKKhoQ13X
|
||||
mSpuw9/Lm5Ff+hJ5D2pxs6gWN+5V4/q9F7h69xkuF7zAhfwy5Bc+grLjOBwrkWDjdSXYJU2HlrMsIuIS
|
||||
WTSR4LNDOIykjb7uP4iEADY+Sdhy4CL843chKvUApGUpwGItLNG0R15xHUFipqgauRQglx6v3asSuFpY
|
||||
hV/zn+IOdUHJ/htkXtGBhsf3sA0wR8qmLKhpO7CIDyo+hIZtu6UqmmPwfgApS48EbNx7Dj4xOxCxfj/U
|
||||
dF0xW9YQCksssUjdBkrq1lioZgVFVUsoLrWg9y0gr2IOORVTyC42xQIlEySn7YCi7VgoW09BZGIs/Fcl
|
||||
w8Y5hn5nwyI+MYdn5KmIttxUFs0yoEN0YABz13ik7TwDz8hMBK3ZjZDELIQk7KHnuxAU9zMCCH8K5xu9
|
||||
Dd5RmfCKyIST73pYOUUTUbCgAyvr4GlYBi5DypadcPSKg46ZH6ydOIB1fwAW9zEwwBcmDjFYl3kCbqu2
|
||||
wC1sM1xDN8GFCd4AR1qgToHpcAhIg71/Kux8U2Drsx5GNqEwtAqBgWWQQFJaFpLS90C8MgS6Zv5EICwc
|
||||
o6Cw1IpFYzgAC/vHwABGkggkbD4Kl5CNcCYpCx0FaSrs/UjqlwI7n2RISCzxXgdz59UkDYY+ifUtgqBn
|
||||
EQg9um6wWMeUMAuANmFuHylMFTk4AK+Bf40BAb7UswpFbNohOFKVPVIS+iWTlIVJkHitg43XWth4JsLK
|
||||
PYEqJzkLCT2qlKvVJSHLtRmxP7TEfjCRhENusRmL+Io5ZABuy1da5kGIosVn55sstNeaFqWlezwsaW1Y
|
||||
uMQKFZs5rYapYzSM7cKhb0VVW5KUKtcxJzFVzmKWapkSJr7QNPajaQrDgkWm7wVgr+AeGGAF/TAscTdW
|
||||
ClWuhTlJO7vfouNND+1EW2c3WjvforWjCy3tXXjNtHXhVdsbNLd0opF53Yn6V51YbuRN+MCA1si8hWIW
|
||||
jSWEbThUgK+XGXohKHYHrNyocrc1EDtEC+KW9m5BxJJXrSQimlreCKIGEjW86iBhB142t6OuqQO1TW2o
|
||||
aWzHMn0PLDf0prURhLmKJizqPweGDKCq6w7fqIyedjvFwtg2XKi6v0oWC/RU2SAEYHEH6pimdpITjW2o
|
||||
bmiDqo4rNPS9hDUho2D80QCjF2s5w4suSKa0HcV20dC3DhVa/orkza1Mb+X9be6R91TOYqKhHdUcoL4N
|
||||
KppOUNfzpLXgB2k5QxbxnRDf8g0ZYMwiDXu4BqbCWBIJ3pI6tLp5rl+xfIC44XVPy5mBldewuLd6DqCs
|
||||
4UCnqQc0jXwxR9aARXwhGjIAt2WMopoEjnSyGdisourDaDX7oqWjW2h7IwVooAA854JcqLxXTpXznNf0
|
||||
iquYl610+kloGtxpHXhh9gL9jweQX2INW49E2lp0ilmEQMPQE8mXKhB+ohRhxx4i5FgJgnJK4H/4Afyy
|
||||
H8D74AN47i+G+94iuGQVwWn3fTjsug/7nffhcrCcrhU2WKrtTovRGzPn6/1uAGERLlC2eGftHEenVyDt
|
||||
50Co6rnRnUwtVl+oRPS5SkSefYFVZ54j9NRzBJ18hoDjT+F39Cm8cyrgmV0OD8L1YBlcDjwRkFtsiSXa
|
||||
rlDX8cDMebpvyfFvtyHfkIyaJauXOFdR/E6G7gVlaNssUDaHJPUmDGIuQzfyIjTDzmN58FmoB5zBEt9T
|
||||
UPY6AUW3o5BzycF8x2zMtTsEackBzLLe1wNVPWOeLmbM1fnHtJmqa8jxJcGn7gcB+Lack40i+IrF24Xh
|
||||
VTsYbuNgxg/BhF74Of8Xy4X2E4J3cACG0/F0cBj+8v8K/j+h8l4+CNA3+r7w/6J/9ASA6J980cTGNX7R
|
||||
GQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAldEVYdFRpdGxlAEdyaWQ7U3ByZWFkc2hlZXQ7Um93
|
||||
O0RlbGV0ZVJvdztOu1grAAACuklEQVQ4T33UW0iTYRgH8M1TmXbQwI6QXQwqSQK76iq60BS6KA1bllkW
|
||||
ohXmKQXpoKYDkzZxnndwE71wqaksT1lm6ZxubWpOuzCiG8VTOl2uLfj3vJsuDOmBH9/zbu/z/8Y7vo9D
|
||||
5UG8yLb/2L6O9Z6EC4DDcKQNxj5FswmKpnHUbGj8DPmGl2OQMaoxSFWjqKgf/sBCXAFixSBd/1bb2y/r
|
||||
nbPaejavRbIBmuJ4U+sMKKlxBqxZf8NCZCo9LGt2rJIVImvQw/zTDrPF5tjzQuII8HEFZNUakUkeKg3I
|
||||
UBiQXvMJaXI9UmV6pEh1eCAZRnLVEO5XanGvfBBJZZrNAXHPe/F6ctEljQbUkwtQTzilVg+5eoaf18UC
|
||||
fF0B1wU9aDUtQDo0A6l2Gil0tyrNNBqMcxiY+oHm/q/on1pE48gsmomi3cQC/Ik74XKuPusGn6HkK7md
|
||||
pAvROZ2o655AS2UDdPHxaBeIUdc1jrrOcahzhdBERi20hJ2/7AjJF/fRLwEWzFbML1tRqtRgbsmKxWUL
|
||||
tDExsGnf4LuoECPiMhiFxfhWJMCvjx14Fxo+TwFenJziXkeA2WLH8qoNyiYDlui6YrGiLzcfusgw2Kvy
|
||||
oL8bD13iLdhKH0Nz4RwK9x8qoABPTsrTV+8zCjqQkd+B9Px2pOepkUbEigG0do1AEpsETcRZWIVZWCvK
|
||||
RH/oGWT7BxTTsLfjDKh2kN1kzz/8yAFJUIjSdCMaK0mXsJpwEeP8KEh4weX0nQ/hOv6KrVB5yXmnSkbv
|
||||
3ITlUSJUp09AFXIcK9m3YbjGR9nhY0K2Z8thhsq7/shJ81xyHGqDeYhw8xCRCkXQUcwkREO+j7fE9mw5
|
||||
zFB5FuwNjJUF8GbDue4CWvuSnWFcd1G1X+DMk10H+WzPlsMMFTsg9uiyM2KPsds61rPP6BXA4f4Ba3pO
|
||||
faKtBbEAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="filterToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAACFJJREFUWEe9
|
||||
V2lUU2cazrTVnk5nPKc9nTOni1Ztq1K3MqJVARWDUBUsoBAIgYDgAsYoYYnIGoMIKAwKKKgBkSAQdmUR
|
||||
WUQWDYxlk2LdHZSqoLjhgpU88917TYrpzfzsc85D7n2/777P8373vd+9cADQTEov4SQqijkE7xCOIfyr
|
||||
wFsyZ4OfzG2j/07ZRkl0pk/Arur1kuhOr61RvZ5i+aCnSPaMvzHsOW/ttkcO7v59tjxRj7X9ukaujVu+
|
||||
2TLHeBMzGx+jWabmJNdHVL43ef+ycKmTTpf5w4ASft/Xf8eCwIjEUKk8pSp679HBuJTsFwlpecPJGQWv
|
||||
0rJLf0vPKxvJKqzU5JScQu7xaprKoipk5JVpDhwt0iSkKkfk8QdHAsITXq8Th484uoufmy5zVBsvWJ4w
|
||||
deZ8a6IxjvA9SnC0gXcE3n4TpPKkyKT0wuslJxtftndffj0w+Ai9d/px4ZcbqGnugLKkDslHSxGdkoOQ
|
||||
uHQExSiwY282UrNKiZFalFY1obK+BXXNbag/14aapv+g5FQDdqcc1WwJ3qWxc/EdmDWXu//zL42mUyZG
|
||||
Gxi7fef+PZWnW4YePxkaudnXjxRlBRw2x8FmQxScJfEQbtsHn8g0hCZmY7eiCImZx3G4sBbZZQ042XAe
|
||||
9ep21Ld0kt8uqNsuor37ClraL6Kt+zLOd/2C6sZWJGeosHZTiGbGHK6SaI4bbeDDyD3plx4+evqanGPT
|
||||
jkMwF4SB6xUF+62J2CDPgF+cEoH/zoE8tQgpxypwuKCGGKjBsfJGVDX+hIbWTpptPddw684Ang49x6On
|
||||
Q+i9O4Abt+/i3v1BHMmvwN5DuRrjhbaDRPPT0QbGpWadQHmtGo8eD5EL+pF4tAwu2w7ASXoAayMUEMdk
|
||||
ISA+B+HJBaT6MqTlVdEGlMfraQOnz3Wg6fwF9Fy7hQcPn9AGBh4+Rt+9++i+fB2nyAokKVQQ+m7H3EX2
|
||||
lOiE0Qb+XnqyafjMuU6UVDShubULt37tx4uXw+jrf4jOy72oa72IwupWHC46Taqvg4KIK8gq5FU2ob71
|
||||
Ajp6ruJ676+kgKd4Tq57/PQZEb6B4qoziE0+ApE0GvbufrARBmIhl6chmuNHG/jgWGFFTXv3Vfx86SZq
|
||||
m9qQW1KD3OJqlFc3o1Hdgc6fr+Dazdu4c/c+qfAxnj1/geHhV7TJJ0+G0EeW+uKVG6isO4v9GfmQyhLh
|
||||
TqpdxRdhif1GWAkCYb8hEiv4W7HERniVaH4y2sC7rm4eE5Sq8tbymrOv1G096LnSi7v9D2jR8x09qK5X
|
||||
o/BELQ5lFiFItg8eYhmcN4RitWcQ7NwlsBH4YTnfD9ZEwNJZgqXO/ljsEgRLYRishMGwdBLD/AeBZvFK
|
||||
4b3PJ00zIZpjdQa0Jgg/lobFpp+sPfeysOz0b2fOtmnauy6h59J1XL/Zhz7ySN4mDVZc3YJYRSlkKSoE
|
||||
xSshkh+GZ3ASnLbGYdV6GazcpLBYI4KZjTdMrfhYtNIDDkJ/GJvZniUaXxG+r9PVHoi3J1AmqM3oo8XW
|
||||
ThEFpVWDHWQvqKlXvy6rahgpKavT5JPN50jOCYTFpGGd/y64+kbA0SsYPwokWOmyGdaOvrB08AHX3gcW
|
||||
q0Xg8iRwEe2El68Uk6fNVZHcEwjHzDG3+71w7QHPM4DjKPTXmTBdahemKqocvE2asYs0mPqnbtIbrVCV
|
||||
1SE8IRvSmAwI/BLBE+2Gg08MuO4yWLiGYwk/DAsdQ2DmHAqebxQEXlvw1bS5+STneML3ps9ZxqH4BwOU
|
||||
+Go3PybImPh4nvnK8LyCsgfUE0F2RjS1dOEU6YWY/SpIYzPgJkmEoygWK9ZGgSuIoMXNeZR4CBGXw42I
|
||||
k8p14lRugwYocXu++PcBpic+mT2PG3ZMdfx+b989tJDmrGlowcGcCgTHHYG7/16s2RSLZUI5Xf1iImxO
|
||||
iftQ4mIiblJAclDLTotTNGjAwXUL50cXke6cHmRM/GO68aIwZW7JQC/Z0RrVZK+oakDoHiWEAftI00Xr
|
||||
ql/sQlUug8BjMyZPNSnUF6do0AAlbsvz1Z1r+cbEP6dM/z4i61hR/39v3cVp8rKJSy2kDVh5ymlxrmso
|
||||
+ESc77FJK/6lvjhFgwYo8RVrNurOR/ONiU8nTzGOzFTm37t56w4UuVVwleyjq7cUhIDvEwG+0BeTpppQ
|
||||
HxUTCcew5TJogBJf7rBed65PAuodPn7i17P3xSYcQkl5HbxD0vAD2WgchH6wd16Pr7+dr33OWcUpGjRA
|
||||
iVvZeXEsV3lyLFYKOUuWu3EWWfM5ZsucOaZcJ878JaspE9QXjfHegyqkpGWC5x1MtlkxrAWhcCHHZGwB
|
||||
4VityP/jHwyw0QCmpJE3Z/O5FuxIKYZLiAqO0hx4bN5BXTCDmcKALac+WYNaGsDUFEUxbSAiqRC8YBVW
|
||||
B2aDvy6EumAmM4UBW059sga1NACjhNQc2oCMNpBHG1jjHkBdMJuZwoAtpz5Zg1oawLexSVl6K6AEeYz/
|
||||
NAMz5LsVaDqrfmOArIB/JqxXeQ6TsVnMFAZsOfXJGtTSAGaGRh146xasCciExQpXysCf0gOzgyIS37oF
|
||||
DuL9+H6RbR8Z+4aZwoAtpz5Zg1oawHd+22J0Bpy3q7DKOwrTZ5udImOfMVMYsOXUJ2tQSwMw9pHImVuQ
|
||||
TFYgIB0WtmuHvphotJmMfchMYcCWU5+sQS0N4F/eolDShGQF4jOxXBg5Ql5U1D8aXxBS3xE6sOXUJ2tQ
|
||||
SwP4zt07EAlJh7HCSTRkNGtBNonR+z89OgpsOfXJGtTSACbZ2HtenWdqVT3pm5nUslOV0995+mDLqU/W
|
||||
oJYG8AEhJUo13N8I31r20WDL+TbB+R+8KX/u3bpeNgAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="groupToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAfdEVYdFRpdGxlAEdyb3VwO0JveDtHcm91cGluZztI
|
||||
aWVyYXLo02v3AAAAPElEQVQ4T2P4//8/RRirICmYwbdpx38SMUgPHI8aADGAIoxNEJutOPGoAUADsKVv
|
||||
UjBWQVIwVkHi8X8GAEI/c4deVxHuAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolTipController.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>357, 27</value>
|
||||
</metadata>
|
||||
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<data name="simpleButtonTestListFile.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
|
||||
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
|
||||
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
|
||||
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
|
||||
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
|
||||
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
|
||||
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
|
||||
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
|
||||
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<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="simpleButtonTestListRelease.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
|
||||
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
|
||||
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
|
||||
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
|
||||
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
|
||||
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
|
||||
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
|
||||
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
|
||||
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonTestListVariant.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
|
||||
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
|
||||
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
|
||||
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
|
||||
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
|
||||
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
|
||||
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
|
||||
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
|
||||
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonGroup.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAfdEVYdFRpdGxlAEdyb3VwO0JveDtHcm91cGluZztI
|
||||
aWVyYXLo02v3AAAAYklEQVRYR+3QwQmAMABD0S7oUk7ldhEPitpIQW16+YcHkhb9WCQNZcckOybZMel4
|
||||
mOZFHWzvrRBAAAEEEPAUcDn4w/3Du/Od5uUe3gS43/sJAQQQQAABVcAodkyyY5Idc1RWirMbP4kjfNQA
|
||||
AAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonSelVRFYVersion.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABV0RVh0VGl0
|
||||
bGUAR2V0dGluZ1N0YXJ0ZWQ76lu8zQAAAV5JREFUWEfFlM1Nw1AQhANUQAu0kBZy5ZgWaCF3TrRAC1SA
|
||||
RAtw4oZEC7TwmLE81uZ5bCU5TA6fbM/uezv7frxprV0VKyaxYhIrJrFiEismsWISKyaxYhIrJpleHp/f
|
||||
K5+ggb2JkT34AMwhfN8Cl/sClEcOYIgtGagDnAEWqhOKP/AAau4rcLnUZwbuQe2KOANvgDGuEsew6O+o
|
||||
Td2N0BT1oSBQc9RnBrTsfGogl5qxiismU3zW3J5qfmaA3WvSNQOOpRUQXCnGVXzYqt5ApTfwBb7B7fhd
|
||||
0T5zjM5An09dBsgTONnADeBkP+AO1Lx6YNX9Wj4LK397qgF+s5O14nyvMZcvNPfhHAM97HapuOCyax5t
|
||||
DTnPgIntgIrreh0xjqn7rttRje8uNaDr6uiv4dKPaMi7xEB/mnvcf4Bdaz4yXdUjA9fCikmsmMSKSayY
|
||||
xIpJrJjEikmsmMSKOdrmH65Cj4Hyp+TCAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonPrint.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAAgDAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iUHJpbnRfVGl0bGVzIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3
|
||||
IDAgMCAzMiAzMiI+DQogIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+CgkuQmxhY2t7ZmlsbDojNzI3Mjcy
|
||||
O30KCS5HcmVlbntmaWxsOiMwMzlDMjM7fQoJLnN0MHtvcGFjaXR5OjAuNTt9Cjwvc3R5bGU+DQogIDxn
|
||||
IGNsYXNzPSJzdDAiPg0KICAgIDxwYXRoIGQ9Ik0wLDEwaDh2NkgwVjEweiBNMCwyNGg4di02SDBWMjR6
|
||||
IE0xNCwxMGgtNHY0aDRWMTB6IiBjbGFzcz0iQmxhY2siIC8+DQogIDwvZz4NCiAgPHBhdGggZD0iTTE4
|
||||
LDhoLThWMmg4Vjh6IE0wLDhoOFYySDBWOHogTTIwLDJ2Nmg4VjJIMjB6IiBjbGFzcz0iR3JlZW4iIC8+
|
||||
DQogIDxwYXRoIGQ9Ik0xOCwxOGgtMnYtOGgxMHY4aC0ydi02aC02VjE4eiBNMzIsMTh2MTBjMCwxLjEt
|
||||
MC45LDItMiwyaC00djJIMTZ2LTJoLTRjLTEuMSwwLTItMC45LTItMlYxOCAgYzAtMS4xLDAuOS0yLDIt
|
||||
MmgydjNjMCwwLjYsMC40LDEsMSwxaDEyYzAuNiwwLDEtMC40LDEtMXYtM2gyQzMxLjEsMTYsMzIsMTYu
|
||||
OSwzMiwxOHogTTI0LDMwdi00aC02djRIMjR6IiBjbGFzcz0iQmxhY2siIC8+DQo8L3N2Zz4L
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonViewVRFY.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAEgDAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkdyZWVue2ZpbGw6IzAzOUMyMzt9Cgku
|
||||
QmxhY2t7ZmlsbDojNzI3MjcyO30KCS5SZWR7ZmlsbDojRDExQzFDO30KCS5ZZWxsb3d7ZmlsbDojRkZC
|
||||
MTE1O30KCS5CbHVle2ZpbGw6IzExNzdENzt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iVmFsdWVzUG9z
|
||||
aXRpb24iPg0KICAgIDxwYXRoIGQ9Ik02LDE2SDB2LTRoNlYxNnogTTYsMThIMHY0aDZWMTh6IE02LDI0
|
||||
SDB2NGg2VjI0eiIgY2xhc3M9IkJsdWUiIC8+DQogICAgPGcgY2xhc3M9InN0MCI+DQogICAgICA8cGF0
|
||||
aCBkPSJNMjIsMTZIOHYtNGgxNFYxNnogTTIyLDE4SDh2NGgxNFYxOHogTTIyLDI0SDh2NGgxNFYyNHog
|
||||
TTMwLDZoLTZ2MjJoNlY2eiBNMTQsMTBIOFY2aDZWMTB6IE0yMiwxMGgtNlY2aDYgICAgVjEweiIgY2xh
|
||||
c3M9IkJsYWNrIiAvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBkPSJNMTQsNEg4VjBoNlY0eiBNMjIsMGgt
|
||||
NnY0aDZWMHogTTMwLDBoLTZ2NGg2VjB6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9nPg0KPC9zdmc+Cw==
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonExportTestList.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAMICAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ
|
||||
LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjc1O30KPC9zdHlsZT4NCiAgPGcgaWQ9IkltcG9ydCI+DQogICAgPHBhdGggZD0iTTEyLDEy
|
||||
SDhWNmg0VjEyeiBNMjQsMTd2MXY5YzAsMC42LTAuNCwxLTEsMUgzYy0wLjYsMC0xLTAuNC0xLTFWN2Mw
|
||||
LTAuNiwwLjQtMSwxLTFoM3Y4aDE0TDI0LDE3eiBNMjAsMThINiAgIHY2aDE0VjE4eiIgY2xhc3M9IkJs
|
||||
YWNrIiAvPg0KICAgIDxwb2x5Z29uIHBvaW50cz0iMzIsNiAyNCw2IDI0LDIgMTYsOCAyNCwxNCAyNCwx
|
||||
MCAzMiwxMCAgIiBjbGFzcz0iR3JlZW4iIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonFilter.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJkDAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ
|
||||
LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3
|
||||
RDc7fQoJLldoaXRle2ZpbGw6I0ZGRkZGRjt9CgkuR3JlZW57ZmlsbDojMDM5QzIzO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjc1O30KCS5zdDF7b3BhY2l0eTowLjU7fQoJLnN0MntvcGFjaXR5OjAuMjU7fQoJLnN0M3tm
|
||||
aWxsOiNGRkIxMTU7fQo8L3N0eWxlPg0KICA8ZyAvPg0KICA8ZyBpZD0iRmlsdGVyUXVlcnkiPg0KICAg
|
||||
IDxwYXRoIGQ9Ik04LDEwSDB2Nmg4VjEweiBNOCwySDB2Nmg4VjJ6IE0xOCwyaC04djZoOFYyeiBNMTgs
|
||||
MTBoLTh2Nmg4VjEweiIgY2xhc3M9IkdyZWVuIiAvPg0KICAgIDxnIGNsYXNzPSJzdDEiPg0KICAgICAg
|
||||
PHBhdGggZD0iTTI4LDE2aC04di02aDhWMTZ6IE0yOCwyaC04djZoOFYyeiBNMCwyNGg4di02SDBWMjR6
|
||||
IE0xNC4zLDIxLjFjLTAuMi0wLjItMC4zLTAuNC0wLjMtMC43VjE4aC00djZoNy4yICAgIEwxNC4zLDIx
|
||||
LjF6IiBjbGFzcz0iQmxhY2siIC8+DQogICAgPC9nPg0KICAgIDxwb2x5Z29uIHBvaW50cz0iMTYsMTgg
|
||||
MzIsMTggMzIsMjAgMjYsMjYgMjYsMzIgMjIsMzIgMjIsMjYgMTYsMjAgICIgY2xhc3M9IlllbGxvdyIg
|
||||
Lz4NCiAgPC9nPg0KPC9zdmc+Cw==
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonModify1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAL4DAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iQ3VzdG9taXplTWVyZ2VGaWVsZCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3Jv
|
||||
dW5kOm5ldyAwIDAgMzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6
|
||||
IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3RDc7fQoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQo8L3N0
|
||||
eWxlPg0KICA8cmVjdCB4PSI2IiB5PSIxMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjIiIHJ4PSIwIiByeT0i
|
||||
MCIgY2xhc3M9IlllbGxvdyIgLz4NCiAgPHBhdGggZD0iTTMxLjUsMjguOWwtNi4xLTYuMUMyNS44LDIx
|
||||
LjksMjYsMjEsMjYsMjBjMC0zLjMtMi43LTYtNi02Yy0xLDAtMS45LDAuMi0yLjcsMC43bDQuMiw0LjIg
|
||||
IGMwLjcsMC43LDAuNywxLjksMCwyLjZjLTAuNywwLjctMS45LDAuNy0yLjYsMGwtNC4yLTQuMkMxNC4y
|
||||
LDE4LjEsMTQsMTksMTQsMjBjMCwzLjMsMi43LDYsNiw2YzEsMCwxLjktMC4yLDIuNy0wLjdsNi4xLDYu
|
||||
MSAgYzAuNywwLjcsMS45LDAuNywyLjYsMEMzMi4yLDMwLjgsMzIuMiwyOS42LDMxLjUsMjguOXoiIGNs
|
||||
YXNzPSJCbHVlIiAvPg0KICA8cGF0aCBkPSJNMjQuNiwzMEgxYy0wLjUsMC0xLTAuNS0xLTFWMWMwLTAu
|
||||
NSwwLjUtMSwxLTFoMjRjMC41LDAsMSwwLjUsMSwxdjEzLjdjLTAuNi0wLjctMS4yLTEuMi0yLTEuNlYy
|
||||
SDJ2MjZoMjAuNiAgTDI0LjYsMzB6IE0yMCw2SDZ2MmgxNFY2eiBNMTYsMTRINnYyaDEwVjE0eiBNMTIs
|
||||
MjJINnYyaDZWMjJ6IE0xMiwxOEg2djJoNlYxOHoiIGNsYXNzPSJCbGFjayIgLz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonRegister1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
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>
|
||||
<data name="simpleButtonSelectTL.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABZ0RVh0VGl0
|
||||
bGUAU29ydDtSZXZlcnNTb3J0O0sjVgMAAAFfSURBVFhH7c47bsJAGARg7ofSUdNSUUADHVLkC9BwAS6R
|
||||
kyHx3MxY/6L1eBQTYW2aIH2yPfYyM0kp/Skb1mTDmmxYkw1rsmFNNlQfn19rSNDou6ZpVCp03ulZsmEJ
|
||||
pQt4xADale+1BMYbgLK5lGfb/I2WwDgDUDKDWxSWI3K24ndaAu8PwJ9P4RxFl7iWOIKjlloCoww4RRHL
|
||||
93GfbeLajtASGGUAC65wKJ5b8ZxHXLQERhlwh2Px3BkQWTtCS+D9AcoNyLQE/gfUHUBSZAe4c2RD9dMA
|
||||
/PkdjkWZG7Dhs56lXuAMDGDRFQ7gBrTlcNGz1AucgQGnXAD7uM9y+Q0eepZ6gTMwYArnKOKIcsCzHJZ6
|
||||
lnqBMzCAZlHEQpaV5byuoHMus6F6YQDNoSzPttB+o2fJhurFAbSAcsQOnu/1LNlQ/WIArYHl/HXe6Vmy
|
||||
YU02rMmGNdmwJhvWZMN60uQbiYnc3xJewKcAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonSelectParentFullUpdate.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAI8DAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iUmVmcmVzaCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5C
|
||||
bGFja3tmaWxsOiM3MjcyNzI7fQoJLkdyZWVue2ZpbGw6IzAzOUMyMzt9Cgkuc3Qwe29wYWNpdHk6MC41
|
||||
O30KPC9zdHlsZT4NCiAgPGcgY2xhc3M9InN0MCI+DQogICAgPHBhdGggZD0iTTEwLDEwSDZWNmg0VjEw
|
||||
eiBNMjQsNkgxMnY0aDEyVjZ6IE0xMCwxMkg2djEyaDRWMTJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9n
|
||||
Pg0KICA8cGF0aCBkPSJNMzAsMTZ2NmgtMC4xaC0ySDI0bDIuNS0yLjVDMjUuNiwxOC42LDI0LjQsMTgs
|
||||
MjMsMThjLTIuNCwwLTQuNCwxLjctNC45LDRoLTJjMC41LTMuNCwzLjQtNiw2LjktNiAgYzEuOSwwLDMu
|
||||
NywwLjgsNC45LDIuMUwzMCwxNnogTTIzLDI4Yy0xLjQsMC0yLjYtMC42LTMuNS0xLjVMMjIsMjRoLTMu
|
||||
OWgtMkgxNnY2bDIuMS0yLjFjMS4zLDEuMywzLDIuMSw0LjksMi4xICBjMy41LDAsNi40LTIuNiw2Ljkt
|
||||
NmgtMkMyNy40LDI2LjMsMjUuNCwyOCwyMywyOHoiIGNsYXNzPSJHcmVlbiIgLz4NCiAgPHBhdGggZD0i
|
||||
TTI3LDJIM0MyLjQsMiwyLDIuNCwyLDN2MjRjMCwwLjYsMC40LDEsMSwxaDExdi0ySDRWNGgyMnYxMC41
|
||||
YzAuNywwLjMsMS40LDAuNiwyLDFWM0MyOCwyLjQsMjcuNiwyLDI3LDJ6IiBjbGFzcz0iQmxhY2siIC8+
|
||||
DQo8L3N2Zz4L
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>192, 27</value>
|
||||
</metadata>
|
||||
<metadata name="timerUI.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>690, 27</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>54</value>
|
||||
</metadata>
|
||||
</root>
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,514 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.XtraGrid.Views.Grid;
|
||||
using SystemX.Product.ALIS.UI.View.InfoList;
|
||||
using System.Data.SqlClient;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using DevExpress.XtraGrid.Columns;
|
||||
using System.Reflection;
|
||||
using SystemX.Product.ALIS.UI.Subs;
|
||||
using System.Threading;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
using System.Xml.Linq;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using DevExpress.XtraGrid.Views.Base;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using System.IO;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
using System.Diagnostics;
|
||||
using SystemX.Common;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public class UcTestListViewSub
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public partial class UcTestListView
|
||||
{
|
||||
public bool CreateInfo(eSelectType SelType, long lChkTime = long.MaxValue)
|
||||
{
|
||||
bool bCreateInfoResult = true;
|
||||
switch (SelType)
|
||||
{
|
||||
case eSelectType.TestListFile:
|
||||
try
|
||||
{
|
||||
AbsoluteHostName = gridHistView.GetFocusedRowCellValue("Name").ToString();
|
||||
|
||||
SelectTestListFileInfo.SelectTestListFileNo = nVRFYParameter;
|
||||
|
||||
//SelectTestListFileInfo.Name = AbsoluteHostName;
|
||||
|
||||
SelectTestListFileInfo.TestType = gridHistView.GetFocusedRowCellValue("TestType").ToString();
|
||||
SelectTestListFileInfo.Version = gridHistView.GetFocusedRowCellValue("FileVersion").ToString();
|
||||
SelectTestListFileInfo.ProdCode = gridHistView.GetFocusedRowCellValue("ProdCode").ToString();
|
||||
SelectTestListFileInfo.FileName = gridHistView.GetFocusedRowCellValue("FileName").ToString();
|
||||
SelectTestListFileInfo.RegDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("RegDT").ToString());
|
||||
SelectTestListFileInfo.RegUser = gridHistView.GetFocusedRowCellValue("RegUser").ToString();
|
||||
SelectTestListFileInfo.UpdateDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("UpdateDT"));
|
||||
SelectTestListFileInfo.UpdateUser = gridHistView.GetFocusedRowCellValue("UpdateUser").ToString();
|
||||
SelectTestListFileInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
|
||||
SelectTestListFileInfo.Description = gridHistView.GetFocusedRowCellValue("Description").ToString();
|
||||
|
||||
string strQueryText = $"SELECT X.No, " +
|
||||
$"X.Name, " +
|
||||
$"X.TestType, " +
|
||||
$"X.Version, " +
|
||||
$"X.ProdCode, " +
|
||||
$"X.FileName, " +
|
||||
$"X.TestListData " +
|
||||
$"FROM [dbo].[STOR_TestListFile] AS X " +
|
||||
$"WHERE " +
|
||||
$"No = " + SelectTestListFileInfo.SelectTestListFileNo.Value;
|
||||
|
||||
DataTable dtQuery = ctrlDB.GetTable(strQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtQuery) == false)
|
||||
throw new Exception();
|
||||
|
||||
SelectTestListFileInfo.TestListFileLoadRawData = new byte[((byte[])dtQuery.Rows[0]["TestListData"]).Length];
|
||||
((byte[])dtQuery.Rows[0]["TestListData"]).CopyTo(SelectTestListFileInfo.TestListFileLoadRawData, 0);
|
||||
}
|
||||
catch { bCreateInfoResult = false; }
|
||||
finally
|
||||
{
|
||||
if (bCreateInfoResult)
|
||||
{
|
||||
SelectTestListFileInfo.bHasSelectedData = true;
|
||||
|
||||
if (lChkTime <= 180)
|
||||
{
|
||||
textEditQueryText1.Text = AbsoluteHostName;
|
||||
textEditQueryText2.Text = SelectTestListFileInfo.TestType;
|
||||
textEditQueryText3.Text = SelectTestListFileInfo.Version;
|
||||
textEditQueryText4.Text = SelectTestListFileInfo.ProdCode;
|
||||
textEditQueryText5.Text = SelectTestListFileInfo.FileName;
|
||||
|
||||
ModifyItem();
|
||||
}
|
||||
}
|
||||
else
|
||||
SelectTestListFileInfo.bHasSelectedData = false;
|
||||
}
|
||||
break;
|
||||
case eSelectType.TestListVariant:
|
||||
try
|
||||
{
|
||||
AbsoluteHostName = gridHistView.GetFocusedRowCellValue("P_ProdNo").ToString();
|
||||
|
||||
SelectTestListVariantInfo.SelectVariantNo = nVRFYParameter;
|
||||
|
||||
SelectTestListVariantInfo.ProdNo_P = AbsoluteHostName;
|
||||
SelectTestListVariantInfo.TestType = gridHistView.GetFocusedRowCellValue("TestType").ToString();
|
||||
SelectTestListVariantInfo.Version = gridHistView.GetFocusedRowCellValue("FileVersion").ToString();
|
||||
SelectTestListVariantInfo.ProdCode = gridHistView.GetFocusedRowCellValue("ProdCode").ToString();
|
||||
SelectTestListVariantInfo.FileName = gridHistView.GetFocusedRowCellValue("FileName").ToString();
|
||||
SelectTestListVariantInfo.RegDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("RegDT").ToString());
|
||||
SelectTestListVariantInfo.RegUser = gridHistView.GetFocusedRowCellValue("RegUser").ToString();
|
||||
SelectTestListVariantInfo.UpdateDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("UpdateDT"));
|
||||
SelectTestListVariantInfo.UpdateUser = gridHistView.GetFocusedRowCellValue("UpdateUser").ToString();
|
||||
SelectTestListVariantInfo.GroupNo = Convert.ToInt32(gridHistView.GetFocusedRowCellValue("GroupNo"));
|
||||
SelectTestListVariantInfo.Comment = gridHistView.GetFocusedRowCellValue("Comment").ToString();
|
||||
SelectTestListVariantInfo.Description = gridHistView.GetFocusedRowCellValue("Description").ToString();
|
||||
|
||||
SelectTestListVariantInfo.TestListFileNo = Convert.ToInt32(gridHistView.GetFocusedRowCellValue("TestListFileNo"));
|
||||
SelectTestListVariantInfo.TestListName = gridHistView.GetFocusedRowCellValue("TestListName").ToString();
|
||||
}
|
||||
catch { bCreateInfoResult = false; }
|
||||
finally
|
||||
{
|
||||
if (bCreateInfoResult)
|
||||
{
|
||||
SelectTestListVariantInfo.bHasSelectedData = true;
|
||||
|
||||
if (lChkTime <= 180)
|
||||
{
|
||||
textEditQueryText1.Text = AbsoluteHostName;
|
||||
textEditQueryText2.Text = SelectTestListVariantInfo.TestType;
|
||||
textEditQueryText3.Text = SelectTestListVariantInfo.Version;
|
||||
textEditQueryText4.Text = SelectTestListVariantInfo.ProdCode;
|
||||
|
||||
ModifyItem();
|
||||
}
|
||||
}
|
||||
else
|
||||
SelectTestListVariantInfo.bHasSelectedData = false;
|
||||
}
|
||||
break;
|
||||
case eSelectType.TestListRelease:
|
||||
try
|
||||
{
|
||||
AbsoluteHostName = gridHistView.GetFocusedRowCellValue("C_ProdNo").ToString();
|
||||
|
||||
SelectTestListReleaseInfo.ProdNo_C = AbsoluteHostName;
|
||||
SelectTestListReleaseInfo.TestCodeNo = Commons.ConvertTextToTryValue<int>(gridHistView.GetFocusedRowCellValue("TestCodeNo").ToString(), -1);
|
||||
SelectTestListReleaseInfo.VariantNo = Commons.ConvertTextToTryValue<int>(gridHistView.GetFocusedRowCellValue("VariantNo").ToString(), -1);
|
||||
SelectTestListReleaseInfo.Config = gridHistView.GetFocusedRowCellValue("Config").ToString();
|
||||
SelectTestListReleaseInfo.RegDT = Convert.ToDateTime(gridHistView.GetFocusedRowCellValue("RegDT").ToString());
|
||||
SelectTestListReleaseInfo.RegUser = gridHistView.GetFocusedRowCellValue("RegUser").ToString();
|
||||
SelectTestListReleaseInfo.RegUserComment = gridHistView.GetFocusedRowCellValue("RegUserComment").ToString();
|
||||
|
||||
SelectTestListReleaseInfo.TestCode = gridHistView.GetFocusedRowCellValue("TestCode").ToString();
|
||||
SelectTestListReleaseInfo.ProdNo_P = gridHistView.GetFocusedRowCellValue("P_ProdNo").ToString();
|
||||
SelectTestListReleaseInfo.TestType = gridHistView.GetFocusedRowCellValue("TestType").ToString();
|
||||
SelectTestListReleaseInfo.FileVersion = gridHistView.GetFocusedRowCellValue("FileVersion").ToString();
|
||||
SelectTestListReleaseInfo.ProdCode = gridHistView.GetFocusedRowCellValue("ProdCode").ToString();
|
||||
|
||||
if (SelectTestListReleaseInfo.VariantNo == -1)
|
||||
throw new Exception();
|
||||
}
|
||||
catch { bCreateInfoResult = false; }
|
||||
finally
|
||||
{
|
||||
if (bCreateInfoResult)
|
||||
{
|
||||
SelectTestListReleaseInfo.bHasSelectedData = true;
|
||||
|
||||
if (lChkTime <= 180)
|
||||
{
|
||||
textEditQueryText1.Text = AbsoluteHostName;
|
||||
textEditQueryText2.Text = SelectTestListReleaseInfo.TestCode;
|
||||
textEditQueryText3.Text = SelectTestListReleaseInfo.TestType;
|
||||
textEditQueryText4.Text = SelectTestListReleaseInfo.FileVersion;
|
||||
textEditQueryText5.Text = SelectTestListReleaseInfo.ProdCode;
|
||||
textEditQueryText6.Text = SelectTestListReleaseInfo.ProdNo_P;
|
||||
|
||||
ModifyItem();
|
||||
}
|
||||
}
|
||||
else
|
||||
SelectTestListReleaseInfo.bHasSelectedData = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return bCreateInfoResult;
|
||||
}
|
||||
|
||||
public void SetTestListFileFieldInfo()
|
||||
{
|
||||
dicTestListFileField = new Dictionary<string, Tuple<SqlDbType, int>>();
|
||||
|
||||
dicTestListFileField.Clear();
|
||||
dicTestListFileField.Add("Name", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
|
||||
dicTestListFileField.Add("TestType", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 8));
|
||||
dicTestListFileField.Add("Version", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
|
||||
dicTestListFileField.Add("ProdCode", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
|
||||
dicTestListFileField.Add("FileName", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
|
||||
dicTestListFileField.Add("RegDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
|
||||
dicTestListFileField.Add("RegUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicTestListFileField.Add("UpdateDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
|
||||
dicTestListFileField.Add("UpdateUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicTestListFileField.Add("Comment", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
|
||||
dicTestListFileField.Add("Description", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
|
||||
dicTestListFileField.Add("TestListData", new Tuple<SqlDbType, int>(SqlDbType.Binary, -1));
|
||||
}
|
||||
|
||||
public void SetTestListVariantFieldInfo()
|
||||
{
|
||||
dicTestListVariantField = new Dictionary<string, Tuple<SqlDbType, int>>();
|
||||
|
||||
dicTestListVariantField.Clear();
|
||||
dicTestListVariantField.Add("ProdNo_P", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 16));
|
||||
/*
|
||||
dicTestListVariantField.Add("TestType", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 8));
|
||||
dicTestListVariantField.Add("Version", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
|
||||
dicTestListVariantField.Add("ProdCode", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 4));
|
||||
dicTestListVariantField.Add("FileName", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
|
||||
*/
|
||||
dicTestListVariantField.Add("RegDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
|
||||
dicTestListVariantField.Add("RegUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicTestListVariantField.Add("UpdateDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
|
||||
dicTestListVariantField.Add("UpdateUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicTestListVariantField.Add("GroupNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
|
||||
dicTestListVariantField.Add("Comment", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
|
||||
dicTestListVariantField.Add("Description", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
|
||||
dicTestListVariantField.Add("TestListFileNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
|
||||
}
|
||||
|
||||
public void SetTestListRelFieldInfo()
|
||||
{
|
||||
dicTestListReleaseField = new Dictionary<string, Tuple<SqlDbType, int>>();
|
||||
|
||||
dicTestListReleaseField.Clear();
|
||||
dicTestListReleaseField.Add("ProdNo_C", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 16));
|
||||
dicTestListReleaseField.Add("TestCodeNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
|
||||
dicTestListReleaseField.Add("VariantNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
|
||||
dicTestListReleaseField.Add("Config", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicTestListReleaseField.Add("RegDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
|
||||
dicTestListReleaseField.Add("RegUser", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicTestListReleaseField.Add("RegUserComment", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
|
||||
}
|
||||
|
||||
public void SetVRFYReleaseFieldInfo()
|
||||
{
|
||||
dicVRFYReleaseField = new Dictionary<string, Tuple<SqlDbType, int>>();
|
||||
|
||||
dicVRFYReleaseField.Clear();
|
||||
dicVRFYReleaseField.Add("TestlistFileNo", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
|
||||
dicVRFYReleaseField.Add("StepID", new Tuple<SqlDbType, int>(SqlDbType.BigInt, 0));
|
||||
dicVRFYReleaseField.Add("Variant", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 32));
|
||||
dicVRFYReleaseField.Add("Gate", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
|
||||
dicVRFYReleaseField.Add("Activate", new Tuple<SqlDbType, int>(SqlDbType.Bit, 0));
|
||||
dicVRFYReleaseField.Add("StepVersion", new Tuple<SqlDbType, int>(SqlDbType.Int, 0));
|
||||
dicVRFYReleaseField.Add("Enable", new Tuple<SqlDbType, int>(SqlDbType.Bit, 0));
|
||||
dicVRFYReleaseField.Add("Position", new Tuple<SqlDbType, int>(SqlDbType.BigInt, 0));
|
||||
dicVRFYReleaseField.Add("StepDesc", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 256));
|
||||
dicVRFYReleaseField.Add("UseFunction", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
|
||||
dicVRFYReleaseField.Add("MacroParm", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
|
||||
dicVRFYReleaseField.Add("Parm", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
|
||||
dicVRFYReleaseField.Add("SpecMin", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
|
||||
dicVRFYReleaseField.Add("SpecMax", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 128));
|
||||
dicVRFYReleaseField.Add("IsGlobal", new Tuple<SqlDbType, int>(SqlDbType.Bit, 0));
|
||||
dicVRFYReleaseField.Add("Dim", new Tuple<SqlDbType, int>(SqlDbType.NVarChar, 64));
|
||||
dicVRFYReleaseField.Add("UpdateDT", new Tuple<SqlDbType, int>(SqlDbType.DateTime2, 7));
|
||||
}
|
||||
|
||||
private SqlParameter GetMakeSqlParameterInfo(Dictionary<string, Tuple<SqlDbType, int>> refField, string strSetName, object objValue)
|
||||
{
|
||||
if (refField.ContainsKey(strSetName))
|
||||
{
|
||||
SqlParameter param = null;
|
||||
|
||||
if (refField[strSetName].Item2 != 0)
|
||||
param = new SqlParameter("@" + strSetName, refField[strSetName].Item1, refField[strSetName].Item2);
|
||||
else
|
||||
param = new SqlParameter("@" + strSetName, refField[strSetName].Item1);
|
||||
|
||||
param.Value = objValue;
|
||||
return param;
|
||||
}
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
private void SetVRFYReleaseTableControl(eVRFYControlMode setMode, int setTestListNo, DateTime ctrlDt, List<PsCCSStdFnBase> lstFb, int nLastVersion = -1)
|
||||
{
|
||||
if (lstFb.Count <= 0)
|
||||
return;
|
||||
|
||||
Int64 nStepNum = Int64.MaxValue;
|
||||
|
||||
try
|
||||
{
|
||||
int iItemNum = lstFb.Count;
|
||||
int iPos = 0;
|
||||
|
||||
SqlCommand[] cmds = new SqlCommand[iItemNum];
|
||||
|
||||
string columns = "TestlistFileNo,StepID,Variant,Gate,Activate,StepVersion,Enable,Position,StepDesc,UseFunction,MacroParm,Parm,SpecMin,SpecMax,IsGlobal,Dim,UpdateDT";
|
||||
string values = string.Join(",", columns.Split(',').Select(c => string.Format("@{0}", c)));
|
||||
string sqlCommandInsert = string.Format("INSERT INTO [VRFY_TestListFileRelease] ({0}) VALUES ({1})", columns, values);
|
||||
|
||||
SetVRFYReleaseFieldInfo();
|
||||
|
||||
int isetVersion = 0;
|
||||
int isetEnable = 1;
|
||||
|
||||
foreach (PsCCSStdFnBase fb in lstFb)
|
||||
{
|
||||
fb.GetTestStepSummary();
|
||||
|
||||
isetVersion = 0;
|
||||
isetEnable = 1;
|
||||
|
||||
//삭제시 Enable -> 0 변경
|
||||
if (setMode == eVRFYControlMode.Delete)
|
||||
isetEnable = 0;
|
||||
|
||||
if (setMode != eVRFYControlMode.New)
|
||||
{
|
||||
//직전 마지막 스텝 버전 기준 + 1
|
||||
isetVersion = nLastVersion + 1;
|
||||
}
|
||||
|
||||
cmds[iPos] = new SqlCommand(sqlCommandInsert, ctrlDB.GetConnSqlCmd().Connection);
|
||||
|
||||
string strMO = (fb.GetMO() != null) ? fb.GetMO() : "";
|
||||
string strFuncName = (fb.GetSTDFnNameAsEnum().ToString() != null) ? fb.GetSTDFnNameAsEnum().ToString() : "";
|
||||
string strDim = (fb.GetDimension().ToString() != null) ? fb.GetDimension().ToString() : "";
|
||||
|
||||
string[] strSummaryTestSteps = fb.SummaryTestStep;
|
||||
string strMacroParm = (strSummaryTestSteps[6] != null) ? strSummaryTestSteps[6] : "";
|
||||
string strParm = (strSummaryTestSteps[8] != null) ? strSummaryTestSteps[8] : "";
|
||||
|
||||
string strGetMin = (fb.PairedParmsMinMax.Min != null) ? fb.PairedParmsMinMax.Min : "";
|
||||
string strGetMax = (fb.PairedParmsMinMax.Max != null) ? fb.PairedParmsMinMax.Max : "";
|
||||
|
||||
nStepNum = fb.StepNum;
|
||||
|
||||
SqlParameter[] setParams = new SqlParameter[columns.Split(',').Count()];
|
||||
setParams[0] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "TestlistFileNo", setTestListNo);
|
||||
setParams[1] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "StepID", (Int64)fb.StepNum);
|
||||
setParams[2] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Variant", fb.Variant);
|
||||
setParams[3] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Gate", fb.Gate);
|
||||
|
||||
PsKGaudi.Parser.PsCCSDefineEnumTraceability getTracebility = fb.Traceability;
|
||||
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateState = fb.IsActivate();
|
||||
PsKGaudi.Parser.PsCCSDefineEnumActivate getActivateProperty = fb.Activate;
|
||||
|
||||
if (getActivateProperty == PsKGaudi.Parser.PsCCSDefineEnumActivate.ACTIVATE)
|
||||
setParams[4] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Activate", 1);
|
||||
else
|
||||
setParams[4] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Activate", 0);
|
||||
|
||||
setParams[5] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "StepVersion", isetVersion);
|
||||
setParams[6] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Enable", isetEnable);
|
||||
setParams[7] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Position", (Int64)fb.Position);
|
||||
setParams[8] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "StepDesc", strMO);
|
||||
setParams[9] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "UseFunction", strFuncName);
|
||||
setParams[10] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "MacroParm", strMacroParm);
|
||||
setParams[11] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Parm", strParm);
|
||||
setParams[12] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "SpecMin", strGetMin);
|
||||
setParams[13] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "SpecMax", strGetMax);
|
||||
|
||||
if (fb.PairedParmsMinMax.Min.IndexOf("&") >= 0 || fb.PairedParmsMinMax.Max.IndexOf("&") >= 0)
|
||||
setParams[14] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "IsGlobal", 1);
|
||||
else
|
||||
setParams[14] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "IsGlobal", 0);
|
||||
|
||||
setParams[15] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "Dim", strDim);
|
||||
setParams[16] = GetMakeSqlParameterInfo(dicVRFYReleaseField, "UpdateDT", ctrlDt);
|
||||
|
||||
cmds[iPos++].Parameters.AddRange(setParams);
|
||||
}
|
||||
|
||||
cmds.ToList().ForEach(x => x.ExecuteNonQuery());
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" setVRFYReleaseTableControl() Error. "+ setTestListNo + " " + nStepNum + " " + e.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
private DataTable MakeVRFYTestListReleaseTable()
|
||||
{
|
||||
// Create a new DataTable titled 'Names.'
|
||||
DataTable vrfyTable = new DataTable("VRFY");
|
||||
|
||||
// Add three column objects to the table.
|
||||
DataColumn Column0 = new DataColumn();
|
||||
Column0.DataType = System.Type.GetType("System.Int64");
|
||||
Column0.ColumnName = "No";
|
||||
Column0.AutoIncrement = true;
|
||||
Column0.AllowDBNull = false;
|
||||
vrfyTable.Columns.Add(Column0);
|
||||
|
||||
DataColumn Column1 = new DataColumn();
|
||||
Column1.DataType = System.Type.GetType("System.Int32");
|
||||
Column1.ColumnName = "TestlistNo";
|
||||
vrfyTable.Columns.Add(Column1);
|
||||
|
||||
DataColumn Column2 = new DataColumn();
|
||||
Column2.DataType = System.Type.GetType("System.Int64");
|
||||
Column2.ColumnName = "StepID";
|
||||
vrfyTable.Columns.Add(Column2);
|
||||
|
||||
DataColumn Column3 = new DataColumn();
|
||||
Column3.DataType = System.Type.GetType("System.String");
|
||||
Column3.ColumnName = "Variant";
|
||||
vrfyTable.Columns.Add(Column3);
|
||||
|
||||
DataColumn Column4 = new DataColumn();
|
||||
Column4.DataType = System.Type.GetType("System.String");
|
||||
Column4.ColumnName = "Gate";
|
||||
vrfyTable.Columns.Add(Column4);
|
||||
|
||||
DataColumn Column5 = new DataColumn();
|
||||
Column5.DataType = System.Type.GetType("System.Boolean");
|
||||
Column5.ColumnName = "Activate";
|
||||
vrfyTable.Columns.Add(Column5);
|
||||
|
||||
DataColumn Column6 = new DataColumn();
|
||||
Column6.DataType = System.Type.GetType("System.Int32");
|
||||
Column6.ColumnName = "StepVersion";
|
||||
vrfyTable.Columns.Add(Column6);
|
||||
|
||||
DataColumn Column7 = new DataColumn();
|
||||
Column7.DataType = System.Type.GetType("System.Boolean");
|
||||
Column7.ColumnName = "Enable";
|
||||
vrfyTable.Columns.Add(Column7);
|
||||
|
||||
DataColumn Column8 = new DataColumn();
|
||||
Column8.DataType = System.Type.GetType("System.Int64");
|
||||
Column8.ColumnName = "Position";
|
||||
vrfyTable.Columns.Add(Column8);
|
||||
|
||||
DataColumn Column9 = new DataColumn();
|
||||
Column9.DataType = System.Type.GetType("System.String");
|
||||
Column9.ColumnName = "StepDesc";
|
||||
vrfyTable.Columns.Add(Column9);
|
||||
|
||||
DataColumn Column10 = new DataColumn();
|
||||
Column10.DataType = System.Type.GetType("System.String");
|
||||
Column10.ColumnName = "UseFunction";
|
||||
vrfyTable.Columns.Add(Column10);
|
||||
|
||||
DataColumn Column11 = new DataColumn();
|
||||
Column11.DataType = System.Type.GetType("System.String");
|
||||
Column11.ColumnName = "MacroParm";
|
||||
vrfyTable.Columns.Add(Column11);
|
||||
|
||||
DataColumn Column12 = new DataColumn();
|
||||
Column12.DataType = System.Type.GetType("System.String");
|
||||
Column12.ColumnName = "Parm";
|
||||
vrfyTable.Columns.Add(Column12);
|
||||
|
||||
DataColumn Column13 = new DataColumn();
|
||||
Column13.DataType = System.Type.GetType("System.String");
|
||||
Column13.ColumnName = "SpecMin";
|
||||
vrfyTable.Columns.Add(Column13);
|
||||
|
||||
DataColumn Column14 = new DataColumn();
|
||||
Column14.DataType = System.Type.GetType("System.String");
|
||||
Column14.ColumnName = "SpecMax";
|
||||
vrfyTable.Columns.Add(Column14);
|
||||
|
||||
DataColumn Column15 = new DataColumn();
|
||||
Column15.DataType = System.Type.GetType("System.Boolean");
|
||||
Column15.ColumnName = "IsGlobal";
|
||||
vrfyTable.Columns.Add(Column15);
|
||||
|
||||
DataColumn Column16 = new DataColumn();
|
||||
Column16.DataType = System.Type.GetType("System.String");
|
||||
Column16.ColumnName = "Dim";
|
||||
vrfyTable.Columns.Add(Column16);
|
||||
|
||||
DataColumn Column17 = new DataColumn();
|
||||
Column17.DataType = System.Type.GetType("System.DateTime");
|
||||
Column17.ColumnName = "UpdateDT";
|
||||
vrfyTable.Columns.Add(Column17);
|
||||
|
||||
// Create an array for DataColumn objects.
|
||||
DataColumn[] keys = new DataColumn[1];
|
||||
keys[0] = Column0;
|
||||
vrfyTable.PrimaryKey = keys;
|
||||
|
||||
// Return the new DataTable.
|
||||
return vrfyTable;
|
||||
}
|
||||
}
|
||||
}
|
||||
1067
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Test List/Wizard/TestList File/TestListFileInfoEdit.Designer.cs
generated
Normal file
1067
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/Test List/Wizard/TestList File/TestListFileInfoEdit.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,591 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.ComboBox;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Common.Archive;
|
||||
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
|
||||
using SystemX.Common;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public partial class TestListFileInfoEdit : Form
|
||||
{
|
||||
private enum eTestListLoadType
|
||||
{
|
||||
Load = 0,
|
||||
Select
|
||||
}
|
||||
|
||||
public eSelectMode CurrentWizardMode { internal set; get; }
|
||||
|
||||
private CTestListFileInformation SelTestListFileInfo;
|
||||
|
||||
private PsCCSGaudiFile GetTestListGaudiData;
|
||||
|
||||
private byte[] ucTestListByte;
|
||||
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private static object objInfoControlNextLock = new object();
|
||||
|
||||
private string strGetModifyName;
|
||||
private string strGetModifyTestType;
|
||||
private string strGetModifyFileVersion;
|
||||
private string strGetModifyFileName;
|
||||
|
||||
public enum eSelectMode
|
||||
{
|
||||
Insert = 0,
|
||||
Modify
|
||||
}
|
||||
|
||||
private psGaudiImformation m_psGaudiInfo = new psGaudiImformation();
|
||||
|
||||
public psGaudiImformation psGaudiInfo
|
||||
{
|
||||
get { return m_psGaudiInfo; }
|
||||
set { m_psGaudiInfo = value; }
|
||||
}
|
||||
|
||||
private string strTitle = "PROD TestList-File";
|
||||
private string strWizardControl = "PROD TestList-File";
|
||||
private string strWelcomeWizard = "Welcome to the PROD TestList-File wizard!";
|
||||
private string strWizardPage = "PROD TestList Information";
|
||||
|
||||
private bool bModifyFirstLoad;
|
||||
private string strTempTestListFilePos;
|
||||
|
||||
public void WizardCancelEvent(object sender, EventArgs e)
|
||||
{
|
||||
if (((bool)sender) == false)
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
public TestListFileInfoEdit(IDataController ctrlDB, eSelectMode setMode, CTestListFileInformation getSelTestListFileInfo)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.Text = strTitle;
|
||||
wizardControl.Text = strWizardControl;
|
||||
welcomeWizardPage.Text = strWelcomeWizard;
|
||||
wizardPage.Text = strWizardPage;
|
||||
//
|
||||
CurrentWizardMode = setMode;
|
||||
|
||||
SelTestListFileInfo = getSelTestListFileInfo;
|
||||
SelTestListFileInfo.TestListFileSelectRawData = null;
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
|
||||
wizardControl.Text = strTitle + " - Insert";
|
||||
this.Text = strTitle + " - Insert";
|
||||
|
||||
textBoxItem6_Picker.Value = SelTestListFileInfo.RegDT;
|
||||
textBoxItem7.Text = SelTestListFileInfo.RegUser;
|
||||
textBoxItem8_Picker.Value = SelTestListFileInfo.UpdateDT;
|
||||
textBoxItem9.Text = SelTestListFileInfo.UpdateUser;
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
|
||||
wizardControl.Text = strTitle + " - Modify";
|
||||
this.Text = strTitle + " - Modify";
|
||||
|
||||
string strGetCurrentDir = Directory.GetCurrentDirectory();
|
||||
Guid uguid = Guid.NewGuid();
|
||||
strTempTestListFilePos = @strGetCurrentDir + @"\TempTestList\";
|
||||
|
||||
if (Directory.Exists(strTempTestListFilePos) == false)
|
||||
Directory.CreateDirectory(strTempTestListFilePos);
|
||||
|
||||
strTempTestListFilePos += uguid.ToString("B") + ".CpXv" + SelTestListFileInfo.Version + SelTestListFileInfo.ProdCode;
|
||||
SelTestListFileInfo.TestListFileLoadRawData = XDataArchive.DecompressGZipByteToByte(SelTestListFileInfo.TestListFileLoadRawData);
|
||||
File.WriteAllBytes(strTempTestListFilePos, (byte[])SelTestListFileInfo.TestListFileLoadRawData);
|
||||
|
||||
bModifyFirstLoad = false;
|
||||
|
||||
//textBoxItem1.Text = SelTestListFileInfo.Name;
|
||||
textBoxItem2.Text = SelTestListFileInfo.TestType;
|
||||
textBoxItem3.Text = SelTestListFileInfo.Version;
|
||||
textBoxItem4.Text = SelTestListFileInfo.ProdCode;
|
||||
textBoxItem5.Text = SelTestListFileInfo.FileName;
|
||||
|
||||
textBoxItem6_Picker.Value = SelTestListFileInfo.RegDT;
|
||||
textBoxItem7.Text = SelTestListFileInfo.RegUser;
|
||||
textBoxItem8_Picker.Value = SelTestListFileInfo.UpdateDT;
|
||||
textBoxItem9.Text = SelTestListFileInfo.UpdateUser;
|
||||
|
||||
//strGetModifyName = SelTestListFileInfo.Name;
|
||||
strGetModifyTestType = SelTestListFileInfo.TestType;
|
||||
strGetModifyFileVersion = SelTestListFileInfo.Version;
|
||||
strGetModifyFileName = SelTestListFileInfo.FileName;
|
||||
|
||||
textBoxItem11.Text = SelTestListFileInfo.Comment;
|
||||
textBoxItem12.Text = SelTestListFileInfo.Description;
|
||||
|
||||
//View Modify SHow
|
||||
//textBoxModify1.Text = SelTestListFileInfo.Name;
|
||||
textBoxModify2.Text = SelTestListFileInfo.TestType;
|
||||
textBoxModify3.Text = SelTestListFileInfo.Version;
|
||||
textBoxModify4.Text = SelTestListFileInfo.ProdCode;
|
||||
textBoxModify5.Text = SelTestListFileInfo.FileName;
|
||||
textBoxModify8.Text = SelTestListFileInfo.Comment;
|
||||
textBoxModify9.Text = SelTestListFileInfo.Description;
|
||||
|
||||
panelModify.Visible = true;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
|
||||
{
|
||||
lock (objInfoControlNextLock)
|
||||
{
|
||||
if (wizardControl.SelectedPageIndex == 0)
|
||||
{
|
||||
if (CurrentWizardMode == eSelectMode.Modify && bModifyFirstLoad == false)
|
||||
{
|
||||
if (m_psGaudiInfo.bInfoLoading != false)
|
||||
return;
|
||||
|
||||
LoadTestList(eTestListLoadType.Load, strTempTestListFilePos, SelTestListFileInfo.FileName, true);
|
||||
|
||||
labelDispLoadResult.Text = "Loading ...";
|
||||
labelDispLoadResult.BackColor = Color.Yellow;
|
||||
|
||||
bModifyFirstLoad = true;
|
||||
}
|
||||
}
|
||||
else if (wizardControl.SelectedPageIndex == 1)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (m_psGaudiInfo.bInfoNormalLoaded == false)
|
||||
throw new Exception("The test list is loading or there is no information on the selected test list.");
|
||||
|
||||
string strItemName = "";
|
||||
//if (textBoxItem1.Text.Length <= 0) { strItemName = "Name"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
if (textBoxItem2.Text.Length <= 0) { strItemName = "Test Type"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
if (textBoxItem3.Text.Length <= 0) { strItemName = "Version"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
if (textBoxItem4.Text.Length <= 0) { strItemName = "Prod Code"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
if (textBoxItem5.Text.Length <= 0) { strItemName = "File Name"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
|
||||
string strGetName = textBoxItem1.Text;
|
||||
string strGetTestType = textBoxItem2.Text;
|
||||
string strGetFileVersion = textBoxItem3.Text;
|
||||
string strGetFileName = textBoxItem5.Text;
|
||||
|
||||
string strGetQueryText = "SELECT * FROM [STOR_TestListFile] WHERE No IN(SELECT No FROM [STOR_TestListFile] WHERE " + //[Name] = '" + strGetName + "' " +
|
||||
//"AND [TestType] = '" + strGetTestType + "' " +
|
||||
"[TestType] = '" + strGetTestType + "' " +
|
||||
"AND [Version] = '" + strGetFileVersion + "' " +
|
||||
"AND [FileName] = '" + strGetFileName + "' " +
|
||||
") ORDER BY No ASC;";
|
||||
|
||||
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtCheck))
|
||||
{
|
||||
bool bExistException = true;
|
||||
|
||||
if (CurrentWizardMode == eSelectMode.Modify)
|
||||
{
|
||||
if (//strGetName.CompareTo(strGetModifyName) == 0 &&
|
||||
strGetTestType.CompareTo(strGetModifyTestType) == 0 &&
|
||||
strGetFileVersion.CompareTo(strGetModifyFileVersion) == 0 &&
|
||||
strGetFileName.CompareTo(strGetModifyFileName) == 0)
|
||||
bExistException = false;
|
||||
}
|
||||
|
||||
if (bExistException)
|
||||
{
|
||||
/*throw new Exception($"Name - TestType - FileVersion - FileName Combine Key is information that already exists. : " +
|
||||
$"{strGetName}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");*/
|
||||
throw new Exception($"FileName - TestType - FileVersion Combine Key is information that already exists. : " +
|
||||
$"{strGetFileName}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//테스트리스트 파일 수정일때 기존 파일명 버전 타입과 동일한 파일인지 확인
|
||||
if (CurrentWizardMode == eSelectMode.Modify)
|
||||
{
|
||||
if (//strGetName.CompareTo(strGetModifyName) == 0 &&
|
||||
strGetTestType.CompareTo(strGetModifyTestType) != 0 ||
|
||||
strGetFileVersion.CompareTo(strGetModifyFileVersion) != 0 ||
|
||||
strGetFileName.CompareTo(strGetModifyFileName) != 0)
|
||||
{
|
||||
throw new Exception($"When update the test-list file, the update is possible only when the information is the same. If the information is different, find the information or register a new one. \r\n" +
|
||||
$"FileName - TestType - FileVersion : \r\n" +
|
||||
$"Existing information > {strGetModifyFileName}" + " " + $"{strGetModifyTestType}" + " " + $"{strGetModifyFileVersion} \r\n" +
|
||||
$"Selection information > {strGetFileName}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion} \r\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//if (bFindVariant == false) { strItemName = "ProdNo_P"; throw new Exception($"P_ProdNo that does not exist in the selected test list." + strItemName); }
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
e.Handled = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
labelControlInfo1.Text = textBoxItem1.Text;
|
||||
labelControlInfo2.Text = textBoxItem2.Text;
|
||||
labelControlInfo3.Text = textBoxItem3.Text;
|
||||
labelControlInfo4.Text = textBoxItem4.Text;
|
||||
labelControlInfo5.Text = textBoxItem5.Text;
|
||||
|
||||
labelControlInfo6.Text = textBoxItem6_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo7.Text = textBoxItem7.Text;
|
||||
|
||||
labelControlInfo8.Text = textBoxItem8_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo8Sub.Text = ctrlDB.GetServerDateTimeString(); //DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo9.Text = textBoxItem9.Text;
|
||||
labelControlInfo9Sub.Text = ctrlDB.GetLoginInfo().UserID;
|
||||
|
||||
labelControlInfo11.Text = textBoxItem11.Text;
|
||||
labelControlInfo12.Text = textBoxItem12.Text;
|
||||
|
||||
richTextBoxDisp.Text = richTextBoxTestList.Text;
|
||||
|
||||
|
||||
SelTestListFileInfo.VariantList.Clear();
|
||||
foreach (KeyValuePair<string, string> kvp in m_psGaudiInfo.psVariantTable.GetStrVariantTable)
|
||||
SelTestListFileInfo.VariantList.Add(kvp.Key);
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
SelTestListFileInfo.UpdateDT = textBoxItem8_Picker.Value;
|
||||
SelTestListFileInfo.UpdateUser = textBoxItem9.Text;
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
SelTestListFileInfo.UpdateDT = Convert.ToDateTime(labelControlInfo8Sub.Text);
|
||||
SelTestListFileInfo.UpdateUser = labelControlInfo9Sub.Text;
|
||||
|
||||
//기존 해당 테스트리스트 사용 Variant 확인
|
||||
string strGetQueryText = "SELECT No, ProdNo_P FROM [PROD_Variant] AS X WITH(NOLOCK) WHERE TestListFileNo = " + SelTestListFileInfo.SelectTestListFileNo.Value + ";";
|
||||
|
||||
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtCheck))
|
||||
{
|
||||
foreach(DataRow dr in dtCheck.Rows)
|
||||
{
|
||||
int nGetVariantNo = int.Parse(dr["No"].ToString());
|
||||
string strGetProdP = dr["ProdNo_P"].ToString();
|
||||
|
||||
string strGetResult = SelTestListFileInfo.VariantList.Find(x => x == strGetProdP);
|
||||
|
||||
if(strGetResult == null)
|
||||
{
|
||||
MessageBox.Show("TestListFile to be updated among previously registered Variants " +
|
||||
"is not resolved in the Variant list of. Please check.\r\n" +
|
||||
"> Variant Table No:" +
|
||||
nGetVariantNo + " [" + strGetProdP + "][" +
|
||||
SelTestListFileInfo.TestType + "][" +
|
||||
SelTestListFileInfo.FileName + "][" +
|
||||
SelTestListFileInfo.Version + "][" +
|
||||
SelTestListFileInfo.ProdCode + "]", strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
e.Handled = true;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
//SelTestListFileInfo.Name = textBoxItem1.Text;
|
||||
SelTestListFileInfo.TestType = textBoxItem2.Text;
|
||||
SelTestListFileInfo.Version = textBoxItem3.Text;
|
||||
SelTestListFileInfo.ProdCode = textBoxItem4.Text;
|
||||
SelTestListFileInfo.FileName = textBoxItem5.Text;
|
||||
SelTestListFileInfo.RegDT = textBoxItem6_Picker.Value;
|
||||
SelTestListFileInfo.RegUser = textBoxItem7.Text;
|
||||
|
||||
SelTestListFileInfo.Comment = textBoxItem11.Text;
|
||||
SelTestListFileInfo.Description = textBoxItem12.Text;
|
||||
|
||||
SelTestListFileInfo.TestListFileSelectRawData = new byte[ucTestListByte.Length];
|
||||
ucTestListByte.CopyTo(SelTestListFileInfo.TestListFileSelectRawData, 0);
|
||||
|
||||
//SelTestListFileInfo.TestListFileSelectGaudiData = GetTestListGaudiData;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async Task<bool> LoadTestList(eTestListLoadType eLoadType, string strLoadFileName, string strDBFileName = "", bool bDeleteFile = false)
|
||||
{
|
||||
m_psGaudiInfo.bInfoNormalLoaded = false;
|
||||
m_psGaudiInfo.bInfoLoading = true;
|
||||
|
||||
try
|
||||
{
|
||||
if (PsCpDef.CheckCPFileExtension(strLoadFileName) == false || getCPxmlInfo(strLoadFileName) == false)
|
||||
throw new Exception($"Not a normal CP TestList.");
|
||||
if (m_psGaudiInfo.psVariantTable.GetStrVariantTable.Count <= 0)
|
||||
throw new Exception($"There is no TTNR information registered in the test list.");
|
||||
|
||||
m_psGaudiInfo.psFileInfo = new PsCCSFileInfo(strLoadFileName);
|
||||
|
||||
//TODO:Insert/Modify
|
||||
//if (CurrentWizardMode == eSelectMode.Insert)
|
||||
Invoke((MethodInvoker)delegate ()
|
||||
{
|
||||
textBoxItem2.Text = m_psGaudiInfo.psTestListInfo.Type;
|
||||
textBoxItem3.Text = m_psGaudiInfo.psFileInfo.FileVersion;
|
||||
textBoxItem4.Text = m_psGaudiInfo.psFileInfo.FileType;
|
||||
|
||||
//if (CurrentWizardMode == eSelectMode.Insert)
|
||||
if (strDBFileName.Length > 0)
|
||||
textBoxItem5.Text = strDBFileName;
|
||||
else
|
||||
textBoxItem5.Text = m_psGaudiInfo.psFileInfo.FileName;
|
||||
|
||||
richTextBoxTestList.Clear();
|
||||
|
||||
richTextBoxTestList.Refresh();
|
||||
|
||||
richTextBoxTestList.AppendText("FileInfo: " + m_psGaudiInfo.psFileInfo.FileDirectory + "\r\n");
|
||||
richTextBoxTestList.AppendText("FileName: " + m_psGaudiInfo.psFileInfo.FileName + "\r\n");
|
||||
richTextBoxTestList.AppendText("FileExtention: " + m_psGaudiInfo.psFileInfo.FileExtention + "\r\n");
|
||||
richTextBoxTestList.AppendText("FileNameWithPath: " + m_psGaudiInfo.psFileInfo.FileNameWithPath + "\r\n");
|
||||
|
||||
richTextBoxTestList.AppendText("FileVersion: " + m_psGaudiInfo.psFileInfo.FileVersion + "\r\n");
|
||||
richTextBoxTestList.AppendText("FileType: " + m_psGaudiInfo.psFileInfo.FileType + "\r\n");
|
||||
|
||||
//richTextBoxTestList.AppendText("LockFileNameWithPath: " + m_psGaudiInfo.psFileInfo.LockFileNameWithPath + "\r\n");
|
||||
richTextBoxTestList.AppendText("\r\n");
|
||||
richTextBoxTestList.AppendText("CPEditorVer: " + m_psGaudiInfo.psTestListInfo.CPEditorVer + "\r\n");
|
||||
richTextBoxTestList.AppendText("PartNumber: " + m_psGaudiInfo.psTestListInfo.PartNum + "\r\n");
|
||||
richTextBoxTestList.AppendText("Type: " + m_psGaudiInfo.psTestListInfo.Type + "\r\n");
|
||||
richTextBoxTestList.AppendText("Variant: " + m_psGaudiInfo.psTestListInfo.Variant + "\r\n");
|
||||
richTextBoxTestList.AppendText("\r\n");
|
||||
|
||||
foreach (KeyValuePair<string, string> kvp in m_psGaudiInfo.psVariantTable.GetStrVariantTable)
|
||||
richTextBoxTestList.AppendText("Variant to have : " + kvp.Key + "-" + kvp.Value + "\r\n");
|
||||
});
|
||||
|
||||
await Task.Delay(100);
|
||||
|
||||
string getTTNR = ((KeyValuePair<string, string>)m_psGaudiInfo.psVariantTable.GetStrVariantTable[0]).Key;
|
||||
GetTestListGaudiData = await LoadTestListFile(@strLoadFileName, getTTNR);
|
||||
|
||||
if (GetTestListGaudiData != null)
|
||||
{
|
||||
if(eLoadType == eTestListLoadType.Load)
|
||||
{
|
||||
SelTestListFileInfo.TestListFileLoadGaudiData = GetTestListGaudiData;
|
||||
}
|
||||
else if(eLoadType == eTestListLoadType.Select)
|
||||
{
|
||||
SelTestListFileInfo.TestListFileSelectGaudiData = GetTestListGaudiData;
|
||||
|
||||
/*if (textBoxItem1.Text.Length <= 0)
|
||||
textBoxItem1.Text = getTTNR;*/
|
||||
}
|
||||
|
||||
ucTestListByte = File.ReadAllBytes(strLoadFileName);
|
||||
|
||||
Invoke((MethodInvoker)delegate ()
|
||||
{
|
||||
textBoxItem12.Text = GetTestListGaudiData.ListTestStep[0].Comment;
|
||||
|
||||
labelDispLoadResult.Text = "Test-list data verification completed.";
|
||||
labelDispLoadResult.BackColor = Color.LimeGreen;
|
||||
});
|
||||
|
||||
m_psGaudiInfo.bInfoNormalLoaded = true;
|
||||
}
|
||||
else
|
||||
throw new Exception($"Failed to load test list file.");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show(e.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
Invoke((MethodInvoker)delegate ()
|
||||
{
|
||||
labelDispLoadResult.Text = "Failed to check test-list data.";
|
||||
labelDispLoadResult.BackColor = Color.Red;
|
||||
});
|
||||
}
|
||||
|
||||
await Task.Delay(1);
|
||||
|
||||
if (bDeleteFile)
|
||||
File.Delete(strLoadFileName);
|
||||
|
||||
m_psGaudiInfo.bInfoLoading = false;
|
||||
|
||||
return m_psGaudiInfo.bInfoNormalLoaded;
|
||||
}
|
||||
|
||||
private async Task<PsCCSGaudiFile> LoadTestListFile(string strFileName, string strTTNR)
|
||||
{
|
||||
return await Task.Run(async () =>
|
||||
{
|
||||
await Task.Delay(10);
|
||||
|
||||
return PsCCSGaudiFile.PsCCSPaseDataApi(strFileName, strTTNR);
|
||||
});
|
||||
}
|
||||
|
||||
private async void buttonSelectFile_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (m_psGaudiInfo.bInfoLoading != false)
|
||||
return;
|
||||
|
||||
if (openFileDialogTestList.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
labelDispLoadResult.Text = "";
|
||||
labelDispLoadResult.BackColor = Color.Silver;
|
||||
|
||||
string strSelectFile = openFileDialogTestList.FileName;
|
||||
string strGetFileName = Path.GetFileNameWithoutExtension(strSelectFile);
|
||||
string strGetFileExtension = Path.GetExtension(strSelectFile);
|
||||
|
||||
labelDispLoadResult.Text = "Loading ...";
|
||||
labelDispLoadResult.BackColor = Color.Yellow;
|
||||
|
||||
await LoadTestList(eTestListLoadType.Select, strSelectFile, string.Empty);
|
||||
}
|
||||
|
||||
await Task.Delay(1);
|
||||
}
|
||||
|
||||
private bool getCPxmlInfo(string strfilename)
|
||||
{
|
||||
try
|
||||
{
|
||||
XDocument xDoc = XDocument.Load(strfilename);
|
||||
|
||||
PsCCSAreaBasicInfo psBasicInfo = PsCCSAreaBasicInfo.LoadXmlData(xDoc.Root);
|
||||
PsCCSAreaTestListInfo psTestListInfo = PsCCSAreaTestListInfo.LoadXmlData(xDoc.Root);
|
||||
PsCCSAreaVariantTable psVariantTable = PsCCSAreaVariantTable.LoadXmlData(xDoc.Root);
|
||||
PsCCSFileInfo psFileInfo = new PsCCSFileInfo(strfilename);
|
||||
|
||||
m_psGaudiInfo.psBasicInfo = psBasicInfo;
|
||||
m_psGaudiInfo.psTestListInfo = psTestListInfo;
|
||||
m_psGaudiInfo.psVariantTable = psVariantTable;
|
||||
m_psGaudiInfo.psFileInfo = psFileInfo;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void FromFilebutton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (m_psGaudiInfo.bInfoNormalLoaded == false)
|
||||
return;
|
||||
|
||||
int igetTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
switch (igetTag)
|
||||
{
|
||||
case 0:
|
||||
textBoxItem2.Text = m_psGaudiInfo.psTestListInfo.Type;
|
||||
break;
|
||||
case 1:
|
||||
textBoxItem3.Text = m_psGaudiInfo.psFileInfo.FileVersion;
|
||||
break;
|
||||
case 2:
|
||||
textBoxItem4.Text = m_psGaudiInfo.psFileInfo.FileType;
|
||||
break;
|
||||
case 3:
|
||||
if (CurrentWizardMode == eSelectMode.Insert)
|
||||
textBoxItem5.Text = m_psGaudiInfo.psFileInfo.FileName;
|
||||
break;
|
||||
case 4:
|
||||
textBoxItem12.Text = GetTestListGaudiData.ListTestStep[0].Comment;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckTestListLoad()
|
||||
{
|
||||
if (m_psGaudiInfo.bInfoLoading)
|
||||
{
|
||||
this.DialogResult = DialogResult.None;
|
||||
|
||||
MessageBox.Show("You cannot close the information modification wizard while loading the test list.", strTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void wizardControl_CancelClick(object sender, CancelEventArgs e)
|
||||
{
|
||||
if (CheckTestListLoad() == false)
|
||||
e.Cancel = true;
|
||||
}
|
||||
|
||||
private void TestListInfoEdit_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (CheckTestListLoad() == false)
|
||||
e.Cancel = true;
|
||||
}
|
||||
|
||||
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
|
||||
{
|
||||
if (e.Page == wizardPage)
|
||||
{
|
||||
this.ActiveControl = textBoxItem1;
|
||||
|
||||
textBoxItem1.Focus();
|
||||
}
|
||||
else if (e.Page == welcomeWizardPage)
|
||||
{
|
||||
this.ActiveControl = e.NextButton.Button;
|
||||
|
||||
e.NextButton.Button.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="openFileDialogTestList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@ -0,0 +1,959 @@
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
partial class TestListReleaseCopyWizard
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
|
||||
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
|
||||
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
|
||||
this.labelReadyViewInfo = new System.Windows.Forms.Label();
|
||||
this.buttonModify = new System.Windows.Forms.Button();
|
||||
this.richTextBoxErr = new System.Windows.Forms.RichTextBox();
|
||||
this.groupBoxTestList = new System.Windows.Forms.GroupBox();
|
||||
this.textBoxDispTestListComment = new System.Windows.Forms.TextBox();
|
||||
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.checkBoxAutoComplete = new System.Windows.Forms.CheckBox();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.textBoxDispInFileName = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispInProdCode = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispInVersion = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispInTestType = new System.Windows.Forms.TextBox();
|
||||
this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxDispTestListVariantNo = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispTestListDescription = new System.Windows.Forms.TextBox();
|
||||
this.textBoxPProdNoInput = new System.Windows.Forms.TextBox();
|
||||
this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.buttonTestListChk = new System.Windows.Forms.Button();
|
||||
this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.buttonDelete = new System.Windows.Forms.Button();
|
||||
this.groupBoxTestCode = new System.Windows.Forms.GroupBox();
|
||||
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.comboBoxTestCodeList = new System.Windows.Forms.ComboBox();
|
||||
this.textBoxTextCodeInput = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispComment = new System.Windows.Forms.TextBox();
|
||||
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxDispGate2 = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispTestCodeNo = new System.Windows.Forms.TextBox();
|
||||
this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.buttonTestCodeChk = new System.Windows.Forms.Button();
|
||||
this.textBoxDispGate1 = new System.Windows.Forms.TextBox();
|
||||
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxDispTestCode = new System.Windows.Forms.TextBox();
|
||||
this.textBoxItemConfig = new System.Windows.Forms.TextBox();
|
||||
this.buttonAdd = new System.Windows.Forms.Button();
|
||||
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxItemRegDT_Picker = new System.Windows.Forms.DateTimePicker();
|
||||
this.textBoxItemDescription = new System.Windows.Forms.TextBox();
|
||||
this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxItemRegUser = new System.Windows.Forms.TextBox();
|
||||
this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxItemProdC = new System.Windows.Forms.TextBox();
|
||||
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.dataGridViewReady = new System.Windows.Forms.DataGridView();
|
||||
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
|
||||
this.dataGridViewResult = new System.Windows.Forms.DataGridView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
|
||||
this.wizardControl.SuspendLayout();
|
||||
this.wizardPage.SuspendLayout();
|
||||
this.groupBoxTestList.SuspendLayout();
|
||||
this.groupBoxTestCode.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewReady)).BeginInit();
|
||||
this.completionWizardPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// wizardControl
|
||||
//
|
||||
this.wizardControl.Controls.Add(this.welcomeWizardPage);
|
||||
this.wizardControl.Controls.Add(this.wizardPage);
|
||||
this.wizardControl.Controls.Add(this.completionWizardPage1);
|
||||
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.wizardControl.Name = "wizardControl";
|
||||
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
|
||||
this.welcomeWizardPage,
|
||||
this.wizardPage,
|
||||
this.completionWizardPage1});
|
||||
this.wizardControl.Size = new System.Drawing.Size(1354, 800);
|
||||
this.wizardControl.Text = "STAT Host";
|
||||
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
|
||||
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
|
||||
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
|
||||
//
|
||||
// welcomeWizardPage
|
||||
//
|
||||
this.welcomeWizardPage.Name = "welcomeWizardPage";
|
||||
this.welcomeWizardPage.Size = new System.Drawing.Size(1294, 633);
|
||||
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
|
||||
//
|
||||
// wizardPage
|
||||
//
|
||||
this.wizardPage.Controls.Add(this.labelReadyViewInfo);
|
||||
this.wizardPage.Controls.Add(this.buttonModify);
|
||||
this.wizardPage.Controls.Add(this.richTextBoxErr);
|
||||
this.wizardPage.Controls.Add(this.groupBoxTestList);
|
||||
this.wizardPage.Controls.Add(this.buttonDelete);
|
||||
this.wizardPage.Controls.Add(this.groupBoxTestCode);
|
||||
this.wizardPage.Controls.Add(this.textBoxItemConfig);
|
||||
this.wizardPage.Controls.Add(this.buttonAdd);
|
||||
this.wizardPage.Controls.Add(this.labelControl6);
|
||||
this.wizardPage.Controls.Add(this.textBoxItemRegDT_Picker);
|
||||
this.wizardPage.Controls.Add(this.textBoxItemDescription);
|
||||
this.wizardPage.Controls.Add(this.labelControl14);
|
||||
this.wizardPage.Controls.Add(this.textBoxItemRegUser);
|
||||
this.wizardPage.Controls.Add(this.labelControl10);
|
||||
this.wizardPage.Controls.Add(this.labelControl9);
|
||||
this.wizardPage.Controls.Add(this.textBoxItemProdC);
|
||||
this.wizardPage.Controls.Add(this.labelControl1);
|
||||
this.wizardPage.Controls.Add(this.dataGridViewReady);
|
||||
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
|
||||
this.wizardPage.Name = "wizardPage";
|
||||
this.wizardPage.Size = new System.Drawing.Size(1294, 633);
|
||||
this.wizardPage.Text = "STAT Host Information";
|
||||
//
|
||||
// labelReadyViewInfo
|
||||
//
|
||||
this.labelReadyViewInfo.AutoSize = true;
|
||||
this.labelReadyViewInfo.Location = new System.Drawing.Point(631, 397);
|
||||
this.labelReadyViewInfo.Name = "labelReadyViewInfo";
|
||||
this.labelReadyViewInfo.Size = new System.Drawing.Size(11, 12);
|
||||
this.labelReadyViewInfo.TabIndex = 3;
|
||||
this.labelReadyViewInfo.Text = "-";
|
||||
//
|
||||
// buttonModify
|
||||
//
|
||||
this.buttonModify.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
|
||||
this.buttonModify.FlatAppearance.BorderSize = 2;
|
||||
this.buttonModify.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Snow;
|
||||
this.buttonModify.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Honeydew;
|
||||
this.buttonModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.buttonModify.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonModify.Location = new System.Drawing.Point(394, 389);
|
||||
this.buttonModify.Name = "buttonModify";
|
||||
this.buttonModify.Size = new System.Drawing.Size(188, 27);
|
||||
this.buttonModify.TabIndex = 113;
|
||||
this.buttonModify.TabStop = false;
|
||||
this.buttonModify.Text = "Modify";
|
||||
this.buttonModify.UseVisualStyleBackColor = true;
|
||||
this.buttonModify.Click += new System.EventHandler(this.buttonModify_Click);
|
||||
//
|
||||
// richTextBoxErr
|
||||
//
|
||||
this.richTextBoxErr.BackColor = System.Drawing.SystemColors.ButtonFace;
|
||||
this.richTextBoxErr.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBoxErr.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.richTextBoxErr.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.richTextBoxErr.ForeColor = System.Drawing.Color.Red;
|
||||
this.richTextBoxErr.Location = new System.Drawing.Point(938, 0);
|
||||
this.richTextBoxErr.Name = "richTextBoxErr";
|
||||
this.richTextBoxErr.ReadOnly = true;
|
||||
this.richTextBoxErr.Size = new System.Drawing.Size(356, 419);
|
||||
this.richTextBoxErr.TabIndex = 115;
|
||||
this.richTextBoxErr.TabStop = false;
|
||||
this.richTextBoxErr.Text = "";
|
||||
//
|
||||
// groupBoxTestList
|
||||
//
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListComment);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl8);
|
||||
this.groupBoxTestList.Controls.Add(this.checkBoxAutoComplete);
|
||||
this.groupBoxTestList.Controls.Add(this.button4);
|
||||
this.groupBoxTestList.Controls.Add(this.button3);
|
||||
this.groupBoxTestList.Controls.Add(this.button2);
|
||||
this.groupBoxTestList.Controls.Add(this.button1);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInFileName);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInProdCode);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInVersion);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInTestType);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl23);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListVariantNo);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListDescription);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxPProdNoInput);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl16);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl17);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl19);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl20);
|
||||
this.groupBoxTestList.Controls.Add(this.buttonTestListChk);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl21);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl22);
|
||||
this.groupBoxTestList.Location = new System.Drawing.Point(377, 146);
|
||||
this.groupBoxTestList.Name = "groupBoxTestList";
|
||||
this.groupBoxTestList.Size = new System.Drawing.Size(527, 239);
|
||||
this.groupBoxTestList.TabIndex = 7;
|
||||
this.groupBoxTestList.TabStop = false;
|
||||
this.groupBoxTestList.Text = "TestList-Variant Select";
|
||||
//
|
||||
// textBoxDispTestListComment
|
||||
//
|
||||
this.textBoxDispTestListComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestListComment.Location = new System.Drawing.Point(101, 185);
|
||||
this.textBoxDispTestListComment.MaxLength = 16;
|
||||
this.textBoxDispTestListComment.Name = "textBoxDispTestListComment";
|
||||
this.textBoxDispTestListComment.ReadOnly = true;
|
||||
this.textBoxDispTestListComment.Size = new System.Drawing.Size(420, 21);
|
||||
this.textBoxDispTestListComment.TabIndex = 110;
|
||||
this.textBoxDispTestListComment.TabStop = false;
|
||||
//
|
||||
// labelControl8
|
||||
//
|
||||
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl8.Appearance.Options.UseFont = true;
|
||||
this.labelControl8.Location = new System.Drawing.Point(6, 188);
|
||||
this.labelControl8.Name = "labelControl8";
|
||||
this.labelControl8.Size = new System.Drawing.Size(55, 15);
|
||||
this.labelControl8.TabIndex = 66;
|
||||
this.labelControl8.Text = "Comment";
|
||||
//
|
||||
// checkBoxAutoComplete
|
||||
//
|
||||
this.checkBoxAutoComplete.AutoSize = true;
|
||||
this.checkBoxAutoComplete.Location = new System.Drawing.Point(101, 17);
|
||||
this.checkBoxAutoComplete.Name = "checkBoxAutoComplete";
|
||||
this.checkBoxAutoComplete.Size = new System.Drawing.Size(307, 18);
|
||||
this.checkBoxAutoComplete.TabIndex = 108;
|
||||
this.checkBoxAutoComplete.TabStop = false;
|
||||
this.checkBoxAutoComplete.Text = "Autocomplete feature(It may affect performance)";
|
||||
this.checkBoxAutoComplete.UseCompatibleTextRendering = true;
|
||||
this.checkBoxAutoComplete.UseVisualStyleBackColor = true;
|
||||
this.checkBoxAutoComplete.CheckedChanged += new System.EventHandler(this.checkBoxAutoComplete_CheckedChanged);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button4.Location = new System.Drawing.Point(342, 124);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(16, 21);
|
||||
this.button4.TabIndex = 16;
|
||||
this.button4.Tag = "3";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button3.Location = new System.Drawing.Point(342, 102);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(16, 21);
|
||||
this.button3.TabIndex = 14;
|
||||
this.button3.Tag = "2";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button2.Location = new System.Drawing.Point(342, 80);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(16, 21);
|
||||
this.button2.TabIndex = 12;
|
||||
this.button2.Tag = "1";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.Location = new System.Drawing.Point(342, 58);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(16, 21);
|
||||
this.button1.TabIndex = 10;
|
||||
this.button1.Tag = "0";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
this.button1.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// textBoxDispInFileName
|
||||
//
|
||||
this.textBoxDispInFileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInFileName.Location = new System.Drawing.Point(101, 124);
|
||||
this.textBoxDispInFileName.MaxLength = 64;
|
||||
this.textBoxDispInFileName.Name = "textBoxDispInFileName";
|
||||
this.textBoxDispInFileName.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInFileName.TabIndex = 15;
|
||||
this.textBoxDispInFileName.Tag = "3";
|
||||
this.textBoxDispInFileName.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInFileName.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// textBoxDispInProdCode
|
||||
//
|
||||
this.textBoxDispInProdCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInProdCode.Location = new System.Drawing.Point(101, 102);
|
||||
this.textBoxDispInProdCode.MaxLength = 4;
|
||||
this.textBoxDispInProdCode.Name = "textBoxDispInProdCode";
|
||||
this.textBoxDispInProdCode.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInProdCode.TabIndex = 13;
|
||||
this.textBoxDispInProdCode.Tag = "2";
|
||||
this.textBoxDispInProdCode.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInProdCode.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// textBoxDispInVersion
|
||||
//
|
||||
this.textBoxDispInVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInVersion.Location = new System.Drawing.Point(101, 80);
|
||||
this.textBoxDispInVersion.MaxLength = 4;
|
||||
this.textBoxDispInVersion.Name = "textBoxDispInVersion";
|
||||
this.textBoxDispInVersion.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInVersion.TabIndex = 11;
|
||||
this.textBoxDispInVersion.Tag = "1";
|
||||
this.textBoxDispInVersion.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInVersion.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// textBoxDispInTestType
|
||||
//
|
||||
this.textBoxDispInTestType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInTestType.Location = new System.Drawing.Point(101, 58);
|
||||
this.textBoxDispInTestType.MaxLength = 8;
|
||||
this.textBoxDispInTestType.Name = "textBoxDispInTestType";
|
||||
this.textBoxDispInTestType.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInTestType.TabIndex = 9;
|
||||
this.textBoxDispInTestType.Tag = "0";
|
||||
this.textBoxDispInTestType.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInTestType.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// labelControl23
|
||||
//
|
||||
this.labelControl23.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl23.Appearance.Options.UseFont = true;
|
||||
this.labelControl23.Location = new System.Drawing.Point(6, 127);
|
||||
this.labelControl23.Name = "labelControl23";
|
||||
this.labelControl23.Size = new System.Drawing.Size(54, 15);
|
||||
this.labelControl23.TabIndex = 63;
|
||||
this.labelControl23.Text = "FileName";
|
||||
//
|
||||
// textBoxDispTestListVariantNo
|
||||
//
|
||||
this.textBoxDispTestListVariantNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestListVariantNo.Location = new System.Drawing.Point(190, 158);
|
||||
this.textBoxDispTestListVariantNo.MaxLength = 16;
|
||||
this.textBoxDispTestListVariantNo.Name = "textBoxDispTestListVariantNo";
|
||||
this.textBoxDispTestListVariantNo.ReadOnly = true;
|
||||
this.textBoxDispTestListVariantNo.Size = new System.Drawing.Size(215, 21);
|
||||
this.textBoxDispTestListVariantNo.TabIndex = 109;
|
||||
this.textBoxDispTestListVariantNo.TabStop = false;
|
||||
//
|
||||
// textBoxDispTestListDescription
|
||||
//
|
||||
this.textBoxDispTestListDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestListDescription.Location = new System.Drawing.Point(101, 212);
|
||||
this.textBoxDispTestListDescription.MaxLength = 16;
|
||||
this.textBoxDispTestListDescription.Name = "textBoxDispTestListDescription";
|
||||
this.textBoxDispTestListDescription.ReadOnly = true;
|
||||
this.textBoxDispTestListDescription.Size = new System.Drawing.Size(420, 21);
|
||||
this.textBoxDispTestListDescription.TabIndex = 111;
|
||||
this.textBoxDispTestListDescription.TabStop = false;
|
||||
//
|
||||
// textBoxPProdNoInput
|
||||
//
|
||||
this.textBoxPProdNoInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxPProdNoInput.Location = new System.Drawing.Point(101, 36);
|
||||
this.textBoxPProdNoInput.MaxLength = 16;
|
||||
this.textBoxPProdNoInput.Name = "textBoxPProdNoInput";
|
||||
this.textBoxPProdNoInput.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxPProdNoInput.TabIndex = 7;
|
||||
this.textBoxPProdNoInput.TextChanged += new System.EventHandler(this.textBoxPProdNoInput_TextChanged);
|
||||
//
|
||||
// labelControl16
|
||||
//
|
||||
this.labelControl16.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl16.Appearance.Options.UseFont = true;
|
||||
this.labelControl16.Location = new System.Drawing.Point(6, 39);
|
||||
this.labelControl16.Name = "labelControl16";
|
||||
this.labelControl16.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControl16.TabIndex = 41;
|
||||
this.labelControl16.Text = "P_ProdNo";
|
||||
//
|
||||
// labelControl17
|
||||
//
|
||||
this.labelControl17.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl17.Appearance.Options.UseFont = true;
|
||||
this.labelControl17.Location = new System.Drawing.Point(6, 215);
|
||||
this.labelControl17.Name = "labelControl17";
|
||||
this.labelControl17.Size = new System.Drawing.Size(62, 15);
|
||||
this.labelControl17.TabIndex = 60;
|
||||
this.labelControl17.Text = "Description";
|
||||
//
|
||||
// labelControl19
|
||||
//
|
||||
this.labelControl19.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl19.Appearance.Options.UseFont = true;
|
||||
this.labelControl19.Location = new System.Drawing.Point(6, 61);
|
||||
this.labelControl19.Name = "labelControl19";
|
||||
this.labelControl19.Size = new System.Drawing.Size(49, 15);
|
||||
this.labelControl19.TabIndex = 43;
|
||||
this.labelControl19.Text = "TestType";
|
||||
//
|
||||
// labelControl20
|
||||
//
|
||||
this.labelControl20.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl20.Appearance.Options.UseFont = true;
|
||||
this.labelControl20.Location = new System.Drawing.Point(6, 161);
|
||||
this.labelControl20.Name = "labelControl20";
|
||||
this.labelControl20.Size = new System.Drawing.Size(122, 15);
|
||||
this.labelControl20.TabIndex = 58;
|
||||
this.labelControl20.Text = "TestList Variant KeyNo";
|
||||
//
|
||||
// buttonTestListChk
|
||||
//
|
||||
this.buttonTestListChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonTestListChk.Location = new System.Drawing.Point(347, 36);
|
||||
this.buttonTestListChk.Name = "buttonTestListChk";
|
||||
this.buttonTestListChk.Size = new System.Drawing.Size(58, 21);
|
||||
this.buttonTestListChk.TabIndex = 8;
|
||||
this.buttonTestListChk.Tag = "4";
|
||||
this.buttonTestListChk.Text = "Check";
|
||||
this.buttonTestListChk.UseVisualStyleBackColor = true;
|
||||
this.buttonTestListChk.Click += new System.EventHandler(this.buttonTestListChk_Click);
|
||||
//
|
||||
// labelControl21
|
||||
//
|
||||
this.labelControl21.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl21.Appearance.Options.UseFont = true;
|
||||
this.labelControl21.Location = new System.Drawing.Point(6, 83);
|
||||
this.labelControl21.Name = "labelControl21";
|
||||
this.labelControl21.Size = new System.Drawing.Size(41, 15);
|
||||
this.labelControl21.TabIndex = 54;
|
||||
this.labelControl21.Text = "Version";
|
||||
//
|
||||
// labelControl22
|
||||
//
|
||||
this.labelControl22.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl22.Appearance.Options.UseFont = true;
|
||||
this.labelControl22.Location = new System.Drawing.Point(6, 105);
|
||||
this.labelControl22.Name = "labelControl22";
|
||||
this.labelControl22.Size = new System.Drawing.Size(55, 15);
|
||||
this.labelControl22.TabIndex = 56;
|
||||
this.labelControl22.Text = "ProdCode";
|
||||
//
|
||||
// buttonDelete
|
||||
//
|
||||
this.buttonDelete.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
|
||||
this.buttonDelete.FlatAppearance.BorderSize = 2;
|
||||
this.buttonDelete.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Snow;
|
||||
this.buttonDelete.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Honeydew;
|
||||
this.buttonDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.buttonDelete.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonDelete.Location = new System.Drawing.Point(206, 389);
|
||||
this.buttonDelete.Name = "buttonDelete";
|
||||
this.buttonDelete.Size = new System.Drawing.Size(188, 27);
|
||||
this.buttonDelete.TabIndex = 112;
|
||||
this.buttonDelete.TabStop = false;
|
||||
this.buttonDelete.Text = "Delete";
|
||||
this.buttonDelete.UseVisualStyleBackColor = true;
|
||||
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
|
||||
//
|
||||
// groupBoxTestCode
|
||||
//
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl7);
|
||||
this.groupBoxTestCode.Controls.Add(this.comboBoxTestCodeList);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxTextCodeInput);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispComment);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl2);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl15);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl3);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate2);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCodeNo);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl13);
|
||||
this.groupBoxTestCode.Controls.Add(this.buttonTestCodeChk);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate1);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl4);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl5);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCode);
|
||||
this.groupBoxTestCode.Location = new System.Drawing.Point(18, 146);
|
||||
this.groupBoxTestCode.Name = "groupBoxTestCode";
|
||||
this.groupBoxTestCode.Size = new System.Drawing.Size(353, 239);
|
||||
this.groupBoxTestCode.TabIndex = 5;
|
||||
this.groupBoxTestCode.TabStop = false;
|
||||
this.groupBoxTestCode.Text = "TestCode Select";
|
||||
//
|
||||
// labelControl7
|
||||
//
|
||||
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl7.Appearance.Options.UseFont = true;
|
||||
this.labelControl7.Location = new System.Drawing.Point(6, 18);
|
||||
this.labelControl7.Name = "labelControl7";
|
||||
this.labelControl7.Size = new System.Drawing.Size(77, 15);
|
||||
this.labelControl7.TabIndex = 103;
|
||||
this.labelControl7.Text = "TestCode List.";
|
||||
//
|
||||
// comboBoxTestCodeList
|
||||
//
|
||||
this.comboBoxTestCodeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxTestCodeList.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.comboBoxTestCodeList.FormattingEnabled = true;
|
||||
this.comboBoxTestCodeList.Location = new System.Drawing.Point(101, 17);
|
||||
this.comboBoxTestCodeList.Name = "comboBoxTestCodeList";
|
||||
this.comboBoxTestCodeList.Size = new System.Drawing.Size(176, 21);
|
||||
this.comboBoxTestCodeList.TabIndex = 102;
|
||||
this.comboBoxTestCodeList.TabStop = false;
|
||||
this.comboBoxTestCodeList.SelectedIndexChanged += new System.EventHandler(this.comboBoxTestCodeList_SelectedIndexChanged);
|
||||
//
|
||||
// textBoxTextCodeInput
|
||||
//
|
||||
this.textBoxTextCodeInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxTextCodeInput.Location = new System.Drawing.Point(101, 39);
|
||||
this.textBoxTextCodeInput.MaxLength = 16;
|
||||
this.textBoxTextCodeInput.Name = "textBoxTextCodeInput";
|
||||
this.textBoxTextCodeInput.Size = new System.Drawing.Size(176, 21);
|
||||
this.textBoxTextCodeInput.TabIndex = 5;
|
||||
this.textBoxTextCodeInput.TextChanged += new System.EventHandler(this.textBoxTextCodeInput_TextChanged);
|
||||
//
|
||||
// textBoxDispComment
|
||||
//
|
||||
this.textBoxDispComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispComment.Location = new System.Drawing.Point(101, 179);
|
||||
this.textBoxDispComment.MaxLength = 32;
|
||||
this.textBoxDispComment.Name = "textBoxDispComment";
|
||||
this.textBoxDispComment.ReadOnly = true;
|
||||
this.textBoxDispComment.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispComment.TabIndex = 107;
|
||||
this.textBoxDispComment.TabStop = false;
|
||||
//
|
||||
// labelControl2
|
||||
//
|
||||
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl2.Appearance.Options.UseFont = true;
|
||||
this.labelControl2.Location = new System.Drawing.Point(6, 42);
|
||||
this.labelControl2.Name = "labelControl2";
|
||||
this.labelControl2.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl2.TabIndex = 41;
|
||||
this.labelControl2.Text = "TestCode";
|
||||
//
|
||||
// labelControl15
|
||||
//
|
||||
this.labelControl15.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl15.Appearance.Options.UseFont = true;
|
||||
this.labelControl15.Location = new System.Drawing.Point(6, 182);
|
||||
this.labelControl15.Name = "labelControl15";
|
||||
this.labelControl15.Size = new System.Drawing.Size(55, 15);
|
||||
this.labelControl15.TabIndex = 60;
|
||||
this.labelControl15.Text = "Comment";
|
||||
//
|
||||
// labelControl3
|
||||
//
|
||||
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl3.Appearance.Options.UseFont = true;
|
||||
this.labelControl3.Location = new System.Drawing.Point(6, 74);
|
||||
this.labelControl3.Name = "labelControl3";
|
||||
this.labelControl3.Size = new System.Drawing.Size(71, 15);
|
||||
this.labelControl3.TabIndex = 43;
|
||||
this.labelControl3.Text = "TestCode No";
|
||||
//
|
||||
// textBoxDispGate2
|
||||
//
|
||||
this.textBoxDispGate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispGate2.Location = new System.Drawing.Point(101, 152);
|
||||
this.textBoxDispGate2.MaxLength = 32;
|
||||
this.textBoxDispGate2.Name = "textBoxDispGate2";
|
||||
this.textBoxDispGate2.ReadOnly = true;
|
||||
this.textBoxDispGate2.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispGate2.TabIndex = 106;
|
||||
this.textBoxDispGate2.TabStop = false;
|
||||
//
|
||||
// textBoxDispTestCodeNo
|
||||
//
|
||||
this.textBoxDispTestCodeNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestCodeNo.Location = new System.Drawing.Point(101, 71);
|
||||
this.textBoxDispTestCodeNo.MaxLength = 32;
|
||||
this.textBoxDispTestCodeNo.Name = "textBoxDispTestCodeNo";
|
||||
this.textBoxDispTestCodeNo.ReadOnly = true;
|
||||
this.textBoxDispTestCodeNo.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispTestCodeNo.TabIndex = 103;
|
||||
this.textBoxDispTestCodeNo.TabStop = false;
|
||||
//
|
||||
// labelControl13
|
||||
//
|
||||
this.labelControl13.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl13.Appearance.Options.UseFont = true;
|
||||
this.labelControl13.Location = new System.Drawing.Point(6, 155);
|
||||
this.labelControl13.Name = "labelControl13";
|
||||
this.labelControl13.Size = new System.Drawing.Size(33, 15);
|
||||
this.labelControl13.TabIndex = 58;
|
||||
this.labelControl13.Text = "Gate2";
|
||||
//
|
||||
// buttonTestCodeChk
|
||||
//
|
||||
this.buttonTestCodeChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonTestCodeChk.Location = new System.Drawing.Point(283, 39);
|
||||
this.buttonTestCodeChk.Name = "buttonTestCodeChk";
|
||||
this.buttonTestCodeChk.Size = new System.Drawing.Size(58, 21);
|
||||
this.buttonTestCodeChk.TabIndex = 6;
|
||||
this.buttonTestCodeChk.Tag = "4";
|
||||
this.buttonTestCodeChk.Text = "Check";
|
||||
this.buttonTestCodeChk.UseVisualStyleBackColor = true;
|
||||
this.buttonTestCodeChk.Click += new System.EventHandler(this.buttonTestCodeChk_Click);
|
||||
//
|
||||
// textBoxDispGate1
|
||||
//
|
||||
this.textBoxDispGate1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispGate1.Location = new System.Drawing.Point(101, 125);
|
||||
this.textBoxDispGate1.MaxLength = 32;
|
||||
this.textBoxDispGate1.Name = "textBoxDispGate1";
|
||||
this.textBoxDispGate1.ReadOnly = true;
|
||||
this.textBoxDispGate1.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispGate1.TabIndex = 105;
|
||||
this.textBoxDispGate1.TabStop = false;
|
||||
//
|
||||
// labelControl4
|
||||
//
|
||||
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl4.Appearance.Options.UseFont = true;
|
||||
this.labelControl4.Location = new System.Drawing.Point(6, 101);
|
||||
this.labelControl4.Name = "labelControl4";
|
||||
this.labelControl4.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl4.TabIndex = 54;
|
||||
this.labelControl4.Text = "TestCode";
|
||||
//
|
||||
// labelControl5
|
||||
//
|
||||
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl5.Appearance.Options.UseFont = true;
|
||||
this.labelControl5.Location = new System.Drawing.Point(6, 128);
|
||||
this.labelControl5.Name = "labelControl5";
|
||||
this.labelControl5.Size = new System.Drawing.Size(33, 15);
|
||||
this.labelControl5.TabIndex = 56;
|
||||
this.labelControl5.Text = "Gate1";
|
||||
//
|
||||
// textBoxDispTestCode
|
||||
//
|
||||
this.textBoxDispTestCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestCode.Location = new System.Drawing.Point(101, 98);
|
||||
this.textBoxDispTestCode.MaxLength = 32;
|
||||
this.textBoxDispTestCode.Name = "textBoxDispTestCode";
|
||||
this.textBoxDispTestCode.ReadOnly = true;
|
||||
this.textBoxDispTestCode.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispTestCode.TabIndex = 104;
|
||||
this.textBoxDispTestCode.TabStop = false;
|
||||
//
|
||||
// textBoxItemConfig
|
||||
//
|
||||
this.textBoxItemConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItemConfig.Location = new System.Drawing.Point(113, 38);
|
||||
this.textBoxItemConfig.MaxLength = 32;
|
||||
this.textBoxItemConfig.Name = "textBoxItemConfig";
|
||||
this.textBoxItemConfig.Size = new System.Drawing.Size(304, 21);
|
||||
this.textBoxItemConfig.TabIndex = 3;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
this.buttonAdd.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
|
||||
this.buttonAdd.FlatAppearance.BorderSize = 2;
|
||||
this.buttonAdd.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Snow;
|
||||
this.buttonAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Honeydew;
|
||||
this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.buttonAdd.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonAdd.Location = new System.Drawing.Point(18, 389);
|
||||
this.buttonAdd.Name = "buttonAdd";
|
||||
this.buttonAdd.Size = new System.Drawing.Size(188, 27);
|
||||
this.buttonAdd.TabIndex = 2;
|
||||
this.buttonAdd.Text = "Add";
|
||||
this.buttonAdd.UseVisualStyleBackColor = true;
|
||||
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
||||
//
|
||||
// labelControl6
|
||||
//
|
||||
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl6.Appearance.Options.UseFont = true;
|
||||
this.labelControl6.Location = new System.Drawing.Point(18, 41);
|
||||
this.labelControl6.Name = "labelControl6";
|
||||
this.labelControl6.Size = new System.Drawing.Size(35, 15);
|
||||
this.labelControl6.TabIndex = 53;
|
||||
this.labelControl6.Text = "Config";
|
||||
//
|
||||
// textBoxItemRegDT_Picker
|
||||
//
|
||||
this.textBoxItemRegDT_Picker.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.textBoxItemRegDT_Picker.Enabled = false;
|
||||
this.textBoxItemRegDT_Picker.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItemRegDT_Picker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.textBoxItemRegDT_Picker.Location = new System.Drawing.Point(113, 65);
|
||||
this.textBoxItemRegDT_Picker.Name = "textBoxItemRegDT_Picker";
|
||||
this.textBoxItemRegDT_Picker.Size = new System.Drawing.Size(200, 21);
|
||||
this.textBoxItemRegDT_Picker.TabIndex = 100;
|
||||
this.textBoxItemRegDT_Picker.TabStop = false;
|
||||
//
|
||||
// textBoxItemDescription
|
||||
//
|
||||
this.textBoxItemDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItemDescription.Location = new System.Drawing.Point(113, 119);
|
||||
this.textBoxItemDescription.MaxLength = 256;
|
||||
this.textBoxItemDescription.Name = "textBoxItemDescription";
|
||||
this.textBoxItemDescription.Size = new System.Drawing.Size(791, 21);
|
||||
this.textBoxItemDescription.TabIndex = 4;
|
||||
//
|
||||
// labelControl14
|
||||
//
|
||||
this.labelControl14.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl14.Appearance.Options.UseFont = true;
|
||||
this.labelControl14.Location = new System.Drawing.Point(18, 123);
|
||||
this.labelControl14.Name = "labelControl14";
|
||||
this.labelControl14.Size = new System.Drawing.Size(62, 15);
|
||||
this.labelControl14.TabIndex = 50;
|
||||
this.labelControl14.Text = "Description";
|
||||
//
|
||||
// textBoxItemRegUser
|
||||
//
|
||||
this.textBoxItemRegUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItemRegUser.Location = new System.Drawing.Point(113, 92);
|
||||
this.textBoxItemRegUser.MaxLength = 32;
|
||||
this.textBoxItemRegUser.Name = "textBoxItemRegUser";
|
||||
this.textBoxItemRegUser.ReadOnly = true;
|
||||
this.textBoxItemRegUser.Size = new System.Drawing.Size(258, 21);
|
||||
this.textBoxItemRegUser.TabIndex = 101;
|
||||
this.textBoxItemRegUser.TabStop = false;
|
||||
//
|
||||
// labelControl10
|
||||
//
|
||||
this.labelControl10.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl10.Appearance.Options.UseFont = true;
|
||||
this.labelControl10.Location = new System.Drawing.Point(18, 95);
|
||||
this.labelControl10.Name = "labelControl10";
|
||||
this.labelControl10.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl10.TabIndex = 48;
|
||||
this.labelControl10.Text = "Reg User";
|
||||
//
|
||||
// labelControl9
|
||||
//
|
||||
this.labelControl9.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl9.Appearance.Options.UseFont = true;
|
||||
this.labelControl9.Location = new System.Drawing.Point(18, 68);
|
||||
this.labelControl9.Name = "labelControl9";
|
||||
this.labelControl9.Size = new System.Drawing.Size(80, 15);
|
||||
this.labelControl9.TabIndex = 47;
|
||||
this.labelControl9.Text = "Reg DateTime";
|
||||
//
|
||||
// textBoxItemProdC
|
||||
//
|
||||
this.textBoxItemProdC.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItemProdC.Location = new System.Drawing.Point(113, 11);
|
||||
this.textBoxItemProdC.MaxLength = 16;
|
||||
this.textBoxItemProdC.Name = "textBoxItemProdC";
|
||||
this.textBoxItemProdC.Size = new System.Drawing.Size(304, 21);
|
||||
this.textBoxItemProdC.TabIndex = 1;
|
||||
//
|
||||
// labelControl1
|
||||
//
|
||||
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl1.Appearance.Options.UseFont = true;
|
||||
this.labelControl1.Location = new System.Drawing.Point(18, 14);
|
||||
this.labelControl1.Name = "labelControl1";
|
||||
this.labelControl1.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControl1.TabIndex = 45;
|
||||
this.labelControl1.Text = "ProdNo_C";
|
||||
//
|
||||
// dataGridViewReady
|
||||
//
|
||||
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle13.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewReady.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.dataGridViewReady.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle14.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridViewReady.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.dataGridViewReady.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.dataGridViewReady.Location = new System.Drawing.Point(0, 419);
|
||||
this.dataGridViewReady.MultiSelect = false;
|
||||
this.dataGridViewReady.Name = "dataGridViewReady";
|
||||
this.dataGridViewReady.ReadOnly = true;
|
||||
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle15.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewReady.RowHeadersDefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.dataGridViewReady.RowTemplate.Height = 23;
|
||||
this.dataGridViewReady.RowTemplate.ReadOnly = true;
|
||||
this.dataGridViewReady.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridViewReady.Size = new System.Drawing.Size(1294, 214);
|
||||
this.dataGridViewReady.TabIndex = 114;
|
||||
this.dataGridViewReady.TabStop = false;
|
||||
this.dataGridViewReady.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewReady_CellClick);
|
||||
this.dataGridViewReady.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewReady_CellDoubleClick);
|
||||
//
|
||||
// completionWizardPage1
|
||||
//
|
||||
this.completionWizardPage1.Controls.Add(this.dataGridViewResult);
|
||||
this.completionWizardPage1.Name = "completionWizardPage1";
|
||||
this.completionWizardPage1.Size = new System.Drawing.Size(1294, 633);
|
||||
//
|
||||
// dataGridViewResult
|
||||
//
|
||||
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle16.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewResult.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.dataGridViewResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle17.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridViewResult.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
this.dataGridViewResult.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridViewResult.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridViewResult.Name = "dataGridViewResult";
|
||||
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle18.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewResult.RowHeadersDefaultCellStyle = dataGridViewCellStyle18;
|
||||
this.dataGridViewResult.RowTemplate.Height = 23;
|
||||
this.dataGridViewResult.Size = new System.Drawing.Size(1294, 633);
|
||||
this.dataGridViewResult.TabIndex = 43;
|
||||
this.dataGridViewResult.TabStop = false;
|
||||
//
|
||||
// TestListReleaseCopyWizard
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1354, 800);
|
||||
this.Controls.Add(this.wizardControl);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "TestListReleaseCopyWizard";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
||||
this.Text = "STAT Host";
|
||||
this.TopMost = true;
|
||||
this.Load += new System.EventHandler(this.TestListReleaseCopyWizard_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
|
||||
this.wizardControl.ResumeLayout(false);
|
||||
this.wizardPage.ResumeLayout(false);
|
||||
this.wizardPage.PerformLayout();
|
||||
this.groupBoxTestList.ResumeLayout(false);
|
||||
this.groupBoxTestList.PerformLayout();
|
||||
this.groupBoxTestCode.ResumeLayout(false);
|
||||
this.groupBoxTestCode.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewReady)).EndInit();
|
||||
this.completionWizardPage1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewResult)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraWizard.WizardControl wizardControl;
|
||||
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
|
||||
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
|
||||
private DevExpress.XtraWizard.WizardPage wizardPage;
|
||||
private System.Windows.Forms.DataGridView dataGridViewResult;
|
||||
private System.Windows.Forms.DataGridView dataGridViewReady;
|
||||
private System.Windows.Forms.TextBox textBoxItemProdC;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl1;
|
||||
private System.Windows.Forms.TextBox textBoxItemConfig;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl6;
|
||||
private System.Windows.Forms.DateTimePicker textBoxItemRegDT_Picker;
|
||||
private System.Windows.Forms.TextBox textBoxItemDescription;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl14;
|
||||
private System.Windows.Forms.TextBox textBoxItemRegUser;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl10;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl9;
|
||||
private System.Windows.Forms.Button buttonModify;
|
||||
private System.Windows.Forms.Button buttonDelete;
|
||||
private System.Windows.Forms.Button buttonAdd;
|
||||
private System.Windows.Forms.GroupBox groupBoxTestList;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox textBoxDispInFileName;
|
||||
private System.Windows.Forms.TextBox textBoxDispInProdCode;
|
||||
private System.Windows.Forms.TextBox textBoxDispInVersion;
|
||||
private System.Windows.Forms.TextBox textBoxDispInTestType;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl23;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestListVariantNo;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestListDescription;
|
||||
private System.Windows.Forms.TextBox textBoxPProdNoInput;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl16;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl17;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl19;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl20;
|
||||
private System.Windows.Forms.Button buttonTestListChk;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl21;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl22;
|
||||
private System.Windows.Forms.GroupBox groupBoxTestCode;
|
||||
private System.Windows.Forms.TextBox textBoxTextCodeInput;
|
||||
private System.Windows.Forms.TextBox textBoxDispComment;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl2;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl15;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl3;
|
||||
private System.Windows.Forms.TextBox textBoxDispGate2;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestCodeNo;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl13;
|
||||
private System.Windows.Forms.Button buttonTestCodeChk;
|
||||
private System.Windows.Forms.TextBox textBoxDispGate1;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl4;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl5;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestCode;
|
||||
private System.Windows.Forms.Label labelReadyViewInfo;
|
||||
private System.Windows.Forms.RichTextBox richTextBoxErr;
|
||||
private System.Windows.Forms.ComboBox comboBoxTestCodeList;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl7;
|
||||
private System.Windows.Forms.CheckBox checkBoxAutoComplete;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestListComment;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl8;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,948 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.ComboBox;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using SystemX.Common;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public partial class TestListReleaseCopyWizard : Form
|
||||
{
|
||||
public eSelectMode CurrentWizardMode { internal set; get; }
|
||||
|
||||
private List<CReleaseInformation> lstCopyTestListRelease;
|
||||
|
||||
private List<CReleaseInformation> lstCopyInsertSetTestListRelease;
|
||||
|
||||
private CReleaseInformation MakeInformation;
|
||||
|
||||
private DataTable dtCurrentDataTable;
|
||||
|
||||
private string strCopyProductNoInput;
|
||||
|
||||
public int GetInsertSize()
|
||||
{
|
||||
return lstCopyInsertSetTestListRelease.Count;
|
||||
}
|
||||
|
||||
public IEnumerable<CReleaseInformation> GetInsertList()
|
||||
{
|
||||
foreach (CReleaseInformation info in lstCopyInsertSetTestListRelease)
|
||||
{
|
||||
yield return info;
|
||||
}
|
||||
}
|
||||
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private static object objInfoControlNextLock = new object();
|
||||
|
||||
public enum eSelectMode
|
||||
{
|
||||
Insert = 0,
|
||||
Modify
|
||||
}
|
||||
|
||||
private string strTitle = "PROD TestList-Release [Copy And Paste]";
|
||||
private string strWizardControl = "PROD TestList-Release";
|
||||
private string strWelcomeWizard = "Welcome to the PROD TestList-Release [Copy And Paste] wizard!";
|
||||
private string strWizardPage = "PROD TestList Release Information";
|
||||
|
||||
private int nReadyViewSelectRow { set; get; } = -1;
|
||||
|
||||
private bool TestCodeCheckResult { set; get; }
|
||||
private int nNowTestCodeNo { set; get; } = -1;
|
||||
|
||||
private bool TestListCheckResult { set; get; }
|
||||
|
||||
private int nNowTestListNo { set; get; } = -1;
|
||||
|
||||
public void WizardCancelEvent(object sender, EventArgs e)
|
||||
{
|
||||
if (((bool)sender) == false)
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
private void RefreshReadyGridView()
|
||||
{
|
||||
dataGridViewReady.DataSource = dtCurrentDataTable;
|
||||
|
||||
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
|
||||
dataGridViewReady.Refresh();
|
||||
|
||||
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
|
||||
}
|
||||
|
||||
private void RefreshResultGridView()
|
||||
{
|
||||
dataGridViewResult.DataSource = dtCurrentDataTable;
|
||||
|
||||
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
|
||||
dataGridViewResult.Refresh();
|
||||
|
||||
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
|
||||
}
|
||||
|
||||
private void AddResultList(DataRow dr)
|
||||
{
|
||||
CReleaseInformation InformationTemp = new CReleaseInformation();
|
||||
|
||||
InformationTemp.ProdNo_C = dr.Field<string>("ProdNo_C");
|
||||
InformationTemp.TestCodeNo = dr.Field<Int32>("TestCodeNo");
|
||||
InformationTemp.TestCode = dr.Field<string>("TestCode");
|
||||
InformationTemp.VariantNo = dr.Field<Int32>("VariantNo");
|
||||
InformationTemp.ProdNo_P = dr.Field<string>("ProdNo_P");
|
||||
InformationTemp.TestType = dr.Field<string>("TestType");
|
||||
InformationTemp.FileVersion = dr.Field<string>("FileVersion");
|
||||
InformationTemp.ProdCode = dr.Field<string>("ProdCode");
|
||||
InformationTemp.Config = dr.Field<string>("Config");
|
||||
InformationTemp.RegDT = DateTime.Now; //dr.Field<DateTime>("RegDT", DateTime.Now);
|
||||
InformationTemp.RegUser = ctrlDB.GetLoginInfo().UserID; //dr.Field<string>("RegUser");
|
||||
InformationTemp.RegUserComment = dr.Field<string>("RegUserComment");
|
||||
|
||||
lstCopyInsertSetTestListRelease.Add(InformationTemp);
|
||||
}
|
||||
|
||||
public TestListReleaseCopyWizard(IDataController ctrlDB, eSelectMode setMode, List<CReleaseInformation> getSelTestListRelInfo, string strGetCopyPorductNo = "")
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
strCopyProductNoInput = strGetCopyPorductNo;
|
||||
|
||||
this.Text = strTitle;
|
||||
|
||||
wizardControl.Text = strWizardControl;
|
||||
welcomeWizardPage.Text = strWelcomeWizard;
|
||||
wizardPage.Text = strWizardPage;
|
||||
|
||||
CurrentWizardMode = setMode;
|
||||
|
||||
lstCopyTestListRelease = getSelTestListRelInfo.ToList();
|
||||
|
||||
lstCopyInsertSetTestListRelease = new List<CReleaseInformation>();
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
GetTestCodeList();
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to copy and paste into the " + strWizardControl + " table.";
|
||||
wizardControl.Text = strTitle + " - Information";
|
||||
this.Text = strTitle + " - Information";
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
break;
|
||||
}
|
||||
|
||||
MakeInformation = new CReleaseInformation();
|
||||
|
||||
DataRow[] setMakeDataRows = new DataRow[lstCopyTestListRelease.Count];
|
||||
dtCurrentDataTable = MakeDataTable();
|
||||
|
||||
for (int i = 0; i < lstCopyTestListRelease.Count; i++)
|
||||
{
|
||||
setMakeDataRows[i] = dtCurrentDataTable.NewRow();
|
||||
setMakeDataRows[i]["No"] = i + 1;
|
||||
|
||||
if (strCopyProductNoInput.Length > 0)
|
||||
setMakeDataRows[i]["ProdNo_C"] = strCopyProductNoInput;
|
||||
else
|
||||
setMakeDataRows[i]["ProdNo_C"] = lstCopyTestListRelease[i].ProdNo_C;
|
||||
|
||||
setMakeDataRows[i]["TestCodeNo"] = lstCopyTestListRelease[i].TestCodeNo;
|
||||
setMakeDataRows[i]["TestCode"] = lstCopyTestListRelease[i].TestCode;
|
||||
setMakeDataRows[i]["VariantNo"] = lstCopyTestListRelease[i].VariantNo;
|
||||
setMakeDataRows[i]["ProdNo_P"] = lstCopyTestListRelease[i].ProdNo_P;
|
||||
setMakeDataRows[i]["TestType"] = lstCopyTestListRelease[i].TestType;
|
||||
setMakeDataRows[i]["FileVersion"] = lstCopyTestListRelease[i].FileVersion;
|
||||
setMakeDataRows[i]["ProdCode"] = lstCopyTestListRelease[i].ProdCode;
|
||||
setMakeDataRows[i]["Config"] = lstCopyTestListRelease[i].Config;
|
||||
setMakeDataRows[i]["RegDT"] = DateTime.Now;
|
||||
setMakeDataRows[i]["RegUser"] = ctrlDB.GetLoginInfo().UserID;
|
||||
setMakeDataRows[i]["RegUserComment"] = lstCopyTestListRelease[i].RegUserComment;
|
||||
|
||||
dtCurrentDataTable.Rows.Add(setMakeDataRows[i]);
|
||||
}
|
||||
|
||||
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE No = " + lstCopyTestListRelease[0].TestCodeNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestCodeInfo(dtTestCode);
|
||||
|
||||
/*
|
||||
DataTable dtTestList = ctrlDB.GetTable("SELECT No, ProdNo_P, TestType, Version, ProdCode, FileName, Comment, Description FROM [PROD_Variant] WHERE No = " + lstCopyTestListRelease[0].VariantNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestListInfo(dtTestList);
|
||||
*/
|
||||
|
||||
DataTable dtTestList = ctrlDB.GetTable($"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
|
||||
$"WHERE X.No = " + lstCopyTestListRelease[0].VariantNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestListInfo(dtTestList);
|
||||
}
|
||||
|
||||
private void TestListReleaseCopyWizard_Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshReadyGridView();
|
||||
|
||||
textBoxItemRegDT_Picker.Value = DateTime.Now;
|
||||
|
||||
textBoxItemProdC.Text = lstCopyTestListRelease[0].ProdNo_C;
|
||||
|
||||
textBoxItemRegUser.Text = ctrlDB.GetLoginInfo().UserID;
|
||||
}
|
||||
|
||||
private DataTable MakeDataTable()
|
||||
{
|
||||
// Create a new DataTable titled 'Names.'
|
||||
DataTable logTable = new DataTable("TempTable");
|
||||
|
||||
// Add three column objects to the table.
|
||||
DataColumn Column0 = new DataColumn();
|
||||
Column0.DataType = System.Type.GetType("System.Int64");
|
||||
Column0.ColumnName = "No";
|
||||
Column0.AutoIncrement = true;
|
||||
Column0.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column0);
|
||||
|
||||
DataColumn Column1 = new DataColumn();
|
||||
Column1.DataType = System.Type.GetType("System.String");
|
||||
Column1.ColumnName = "ProdNo_C";
|
||||
Column1.AutoIncrement = false;
|
||||
Column1.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column1);
|
||||
|
||||
DataColumn Column2 = new DataColumn();
|
||||
Column2.DataType = System.Type.GetType("System.Int32");
|
||||
Column2.ColumnName = "TestCodeNo";
|
||||
Column2.AutoIncrement = false;
|
||||
Column2.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column2);
|
||||
|
||||
DataColumn Column00 = new DataColumn();
|
||||
Column00.DataType = System.Type.GetType("System.String");
|
||||
Column00.ColumnName = "TestCode";
|
||||
Column00.AutoIncrement = false;
|
||||
Column00.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column00);
|
||||
|
||||
DataColumn Column3 = new DataColumn();
|
||||
Column3.DataType = System.Type.GetType("System.Int32");
|
||||
Column3.ColumnName = "VariantNo";
|
||||
Column3.AutoIncrement = false;
|
||||
Column3.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column3);
|
||||
|
||||
DataColumn Column01 = new DataColumn();
|
||||
Column01.DataType = System.Type.GetType("System.String");
|
||||
Column01.ColumnName = "ProdNo_P";
|
||||
Column01.AutoIncrement = false;
|
||||
Column01.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column01);
|
||||
|
||||
DataColumn Column02 = new DataColumn();
|
||||
Column02.DataType = System.Type.GetType("System.String");
|
||||
Column02.ColumnName = "TestType";
|
||||
Column02.AutoIncrement = false;
|
||||
Column02.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column02);
|
||||
|
||||
DataColumn Column03 = new DataColumn();
|
||||
Column03.DataType = System.Type.GetType("System.String");
|
||||
Column03.ColumnName = "FileVersion";
|
||||
Column03.AutoIncrement = false;
|
||||
Column03.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column03);
|
||||
|
||||
DataColumn Column04 = new DataColumn();
|
||||
Column04.DataType = System.Type.GetType("System.String");
|
||||
Column04.ColumnName = "ProdCode";
|
||||
Column04.AutoIncrement = false;
|
||||
Column04.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column04);
|
||||
|
||||
DataColumn Column4 = new DataColumn();
|
||||
Column4.DataType = System.Type.GetType("System.String");
|
||||
Column4.ColumnName = "Config";
|
||||
Column4.AutoIncrement = false;
|
||||
Column4.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column4);
|
||||
|
||||
DataColumn Column5 = new DataColumn();
|
||||
Column5.DataType = System.Type.GetType("System.DateTime");
|
||||
Column5.ColumnName = "RegDT";
|
||||
Column5.AutoIncrement = false;
|
||||
Column5.AllowDBNull = false;
|
||||
Column5.DefaultValue = DateTime.Now;
|
||||
logTable.Columns.Add(Column5);
|
||||
|
||||
DataColumn Column6 = new DataColumn();
|
||||
Column6.DataType = System.Type.GetType("System.String");
|
||||
Column6.ColumnName = "RegUser";
|
||||
Column6.AutoIncrement = false;
|
||||
Column6.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column6);
|
||||
|
||||
DataColumn Column7 = new DataColumn();
|
||||
Column7.DataType = System.Type.GetType("System.String");
|
||||
Column7.ColumnName = "RegUserComment";
|
||||
Column7.AutoIncrement = false;
|
||||
Column7.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column7);
|
||||
|
||||
// Create an array for DataColumn objects.
|
||||
DataColumn[] keys = new DataColumn[1];
|
||||
keys[0] = Column0;
|
||||
logTable.PrimaryKey = keys;
|
||||
|
||||
// Return the new DataTable.
|
||||
return logTable;
|
||||
}
|
||||
|
||||
private void GetTestCodeList()
|
||||
{
|
||||
SqlDataReader reader;
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM STAT_TestCode WITH(NOLOCK) ORDER BY No ASC;";
|
||||
|
||||
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(reader);
|
||||
ds.Tables.Add(dt);
|
||||
reader.Close();
|
||||
|
||||
comboBoxTestCodeList.Items.Clear();
|
||||
|
||||
if (XCommons.isHasRow(ds))
|
||||
{
|
||||
comboBoxTestCodeList.Items.Add("Select Test Code ...");
|
||||
comboBoxTestCodeList.SelectedIndex = 0;
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
comboBoxTestCodeList.Items.Add(dt.Rows[i]["TestCode"].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckTestCodeInfo(DataTable dt)
|
||||
{
|
||||
if (XCommons.isHasRow(dt) == false)
|
||||
{
|
||||
textBoxTextCodeInput.BackColor = Color.Red;
|
||||
|
||||
nNowTestCodeNo = -1;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
textBoxDispTestCodeNo.Text = dt.Rows[0][0].ToString();
|
||||
textBoxDispTestCode.Text = dt.Rows[0][1].ToString();
|
||||
textBoxDispGate1.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispGate2.Text = dt.Rows[0][3].ToString();
|
||||
textBoxDispComment.Text = dt.Rows[0][4].ToString();
|
||||
|
||||
textBoxTextCodeInput.Text = dt.Rows[0][1].ToString();
|
||||
|
||||
nNowTestCodeNo = Convert.ToInt32(textBoxDispTestCodeNo.Text);
|
||||
|
||||
TestCodeCheckResult = true;
|
||||
|
||||
textBoxTextCodeInput.BackColor = Color.LimeGreen;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool CheckTestListInfo(DataTable dt)
|
||||
{
|
||||
if (XCommons.isHasRow(dt) == false)
|
||||
{
|
||||
textBoxPProdNoInput.BackColor = Color.Red;
|
||||
textBoxDispInTestType.BackColor = Color.Red;
|
||||
textBoxDispInVersion.BackColor = Color.Red;
|
||||
textBoxDispInProdCode.BackColor = Color.Red;
|
||||
textBoxDispInFileName.BackColor = Color.Red;
|
||||
|
||||
textBoxDispInTestType.ReadOnly = false;
|
||||
textBoxDispInVersion.ReadOnly = false;
|
||||
textBoxDispInProdCode.ReadOnly = false;
|
||||
textBoxDispInFileName.ReadOnly = false;
|
||||
|
||||
nNowTestListNo = -1;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
textBoxDispTestListVariantNo.Text = dt.Rows[0][0].ToString();
|
||||
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
|
||||
textBoxDispInTestType.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispInVersion.Text = dt.Rows[0][3].ToString();
|
||||
textBoxDispInProdCode.Text = dt.Rows[0][4].ToString();
|
||||
textBoxDispInFileName.Text = dt.Rows[0][5].ToString();
|
||||
textBoxDispTestListComment.Text = dt.Rows[0][6].ToString();
|
||||
textBoxDispTestListDescription.Text = dt.Rows[0][7].ToString();
|
||||
|
||||
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
|
||||
|
||||
nNowTestListNo = Convert.ToInt32(textBoxDispTestListVariantNo.Text);
|
||||
|
||||
TestListCheckResult = true;
|
||||
|
||||
textBoxPProdNoInput.BackColor = Color.LimeGreen;
|
||||
textBoxDispInTestType.BackColor = Color.LimeGreen;
|
||||
textBoxDispInVersion.BackColor = Color.LimeGreen;
|
||||
textBoxDispInProdCode.BackColor = Color.LimeGreen;
|
||||
textBoxDispInFileName.BackColor = Color.LimeGreen;
|
||||
|
||||
textBoxDispInTestType.ReadOnly = true;
|
||||
textBoxDispInVersion.ReadOnly = true;
|
||||
textBoxDispInProdCode.ReadOnly = true;
|
||||
textBoxDispInFileName.ReadOnly = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
|
||||
{
|
||||
if (wizardControl.SelectedPageIndex == 1)
|
||||
{
|
||||
lock (objInfoControlNextLock)
|
||||
{
|
||||
richTextBoxErr.Clear();
|
||||
|
||||
bool bCheckInformationResult = true;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
lstCopyInsertSetTestListRelease = new List<CReleaseInformation>();
|
||||
lstCopyInsertSetTestListRelease.Clear();
|
||||
|
||||
try
|
||||
{
|
||||
/*
|
||||
string strItemName = "";
|
||||
|
||||
if (TestCodeCheckResult == false) { strItemName = "TestCode No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
|
||||
if (TestListCheckResult == false) { strItemName = "TestList No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
|
||||
*/
|
||||
|
||||
int nRowPos = 0;
|
||||
|
||||
foreach (DataRow dr in dtCurrentDataTable.Rows)
|
||||
{
|
||||
string strGetProdC = dr.Field<string>("ProdNo_C");
|
||||
int nGetTestCodeNo = dr.Field<int>("TestCodeNo");
|
||||
|
||||
string strGetTestCode = dr.Field<string>("TestCode");
|
||||
|
||||
string strGetTestType = dr.Field<string>("TestType");
|
||||
string strGetVersion = dr.Field<string>("FileVersion");
|
||||
string strGetProdCode = dr.Field<string>("ProdCode");
|
||||
|
||||
int nGetTestListNo = dr.Field<int>("VariantNo");
|
||||
|
||||
//"SELECT * FROM [PROD_Release] WHERE No IN(SELECT No FROM [PROD_Release] WHERE [ProdNo_C] = '" + strGetProdC + "' AND [TestCodeNo] = "+ strGetTestCodeNo + " AND [VariantNo] = "+ strGetTestListNo + " ) ORDER BY No ASC;";
|
||||
// 'C_ProdNo' // 'TestCodeNo' // 'VariantNo' // 'P_ProdNo' // 'FileVersion'
|
||||
string strGetQueryText =
|
||||
$"SELECT X.No, " +
|
||||
$"X.ProdNo_C AS 'C_ProdNo', " +
|
||||
$"Y.No AS 'TestCodeNo', " +
|
||||
$"Y.TestCode, " +
|
||||
$"Z.No AS 'VariantNo', " +
|
||||
$"Z.ProdNo_P AS 'P_ProdNo', " +
|
||||
$"J.TestType, " +
|
||||
$"J.Version AS 'FileVersion', " +
|
||||
$"J.ProdCode, " +
|
||||
$"X.Config, " +
|
||||
$"X.RegDT, " +
|
||||
$"X.RegUser, " +
|
||||
$"X.RegUserComment " +
|
||||
$"FROM [PROD_Release] AS X " +
|
||||
$"INNER JOIN [STAT_TestCode] AS Y WITH(NOLOCK) ON X.TestCodeNo = Y.No " +
|
||||
$"INNER JOIN [PROD_Variant] AS Z WITH(NOLOCK) ON X.VariantNo = Z.No " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS J WITH(NOLOCK) ON Z.TestListFileNo = J.No " +
|
||||
$"WHERE X.ProdNo_C = '" + strGetProdC + "' AND X.TestCodeNo = " + nGetTestCodeNo + " " +
|
||||
$"ORDER BY No ASC;";
|
||||
|
||||
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtCheck))
|
||||
{
|
||||
bool bExistException = false;
|
||||
|
||||
string strTableProdNoC = dtCheck.Rows[0]["C_ProdNo"].ToString();
|
||||
string strTableTestCode = dtCheck.Rows[0]["TestCode"].ToString();
|
||||
string strTableTestType = dtCheck.Rows[0]["TestType"].ToString();
|
||||
string strTableVersion = dtCheck.Rows[0]["FileVersion"].ToString();
|
||||
string strTableProductionCode = dtCheck.Rows[0]["ProdCode"].ToString();
|
||||
|
||||
if (strGetProdC.CompareTo(strTableProdNoC) == 0 &&
|
||||
strGetTestCode.CompareTo(strTableTestCode) == 0 &&
|
||||
strGetTestType.CompareTo(strTableTestType) == 0 &&
|
||||
strGetVersion.CompareTo(strTableVersion) == 0 &&
|
||||
strGetProdCode.CompareTo(strTableProductionCode) == 0)
|
||||
bExistException = true;
|
||||
|
||||
if (bExistException)
|
||||
{
|
||||
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_C]-[TestCode]-[TestType]-[Version]-[ProductionCode] Combine Key is information that already exists. : " +
|
||||
$"{strGetProdC}" + " " + $"{strGetTestCode}" + " " + $"{strGetTestType}" + " " + $"{strGetVersion}" + " " + $"{strGetProdCode}");
|
||||
|
||||
bCheckInformationResult = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string strScanInfo = strGetProdC + strGetTestCode + strGetTestType + strGetVersion + strGetProdCode;
|
||||
|
||||
for (int i = 0; i < dtCurrentDataTable.Rows.Count; i++)
|
||||
{
|
||||
if (i == nRowPos)
|
||||
continue;
|
||||
|
||||
string CompareProdNoC = dtCurrentDataTable.Rows[i].Field<string>("ProdNo_C");
|
||||
string CompareTestCode = dtCurrentDataTable.Rows[i].Field<string>("TestCode");
|
||||
string CompareTestType = dtCurrentDataTable.Rows[i].Field<string>("TestType");
|
||||
string CompareFileVersion = dtCurrentDataTable.Rows[i].Field<string>("FileVersion");
|
||||
string CompareProdCode = dtCurrentDataTable.Rows[i].Field<string>("ProdCode");
|
||||
|
||||
string strCompareInfo = CompareProdNoC + CompareTestCode + CompareTestType + CompareFileVersion + CompareProdCode;
|
||||
|
||||
if (strScanInfo.CompareTo(strCompareInfo) == 0)
|
||||
{
|
||||
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_C]-[TestCode]-[TestType]-[Version]-[ProductionCode] Combine Key is information that already exists. in registration waiting list. : " +
|
||||
$"{strGetProdC}" + " " + $"{strGetTestCode}" + " " + $"{strGetTestType}" + " " + $"{strGetVersion}" + " " + $"{strGetProdCode}");
|
||||
|
||||
bCheckInformationResult = false;
|
||||
|
||||
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AddResultList(dr);
|
||||
|
||||
nRowPos++;
|
||||
}
|
||||
|
||||
if (bCheckInformationResult == false)
|
||||
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
richTextBoxErr.AppendText(sb.ToString());
|
||||
|
||||
e.Handled = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
break;
|
||||
}
|
||||
|
||||
RefreshResultGridView();
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool CheckRowSelectInfo(int nIndex)
|
||||
{
|
||||
object objHandle = null;
|
||||
|
||||
bool bCheckResult = true;
|
||||
|
||||
if ((dataGridViewReady.Rows.Count - 1) == nIndex)
|
||||
return false;
|
||||
|
||||
try
|
||||
{
|
||||
objHandle = dataGridViewReady.Rows[nIndex].Cells["No"].Value.ToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
objHandle = null;
|
||||
|
||||
bCheckResult = false;
|
||||
}
|
||||
finally
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
return bCheckResult;
|
||||
}
|
||||
|
||||
private void ClearListSelect()
|
||||
{
|
||||
labelReadyViewInfo.Text = "-";
|
||||
|
||||
nReadyViewSelectRow = -1;
|
||||
}
|
||||
|
||||
private void dataGridViewReady_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
int n = e.RowIndex;
|
||||
|
||||
nReadyViewSelectRow = e.RowIndex;
|
||||
|
||||
labelReadyViewInfo.Text = "Select Row : " + (nReadyViewSelectRow + 1).ToString();
|
||||
|
||||
if (CheckRowSelectInfo(nReadyViewSelectRow))
|
||||
{
|
||||
;//
|
||||
}
|
||||
else
|
||||
ClearListSelect();
|
||||
}
|
||||
|
||||
private void dataGridViewReady_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (CheckRowSelectInfo(nReadyViewSelectRow))
|
||||
{
|
||||
MakeInformation.ProdNo_C = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["ProdNo_C"].Value.ToString();
|
||||
MakeInformation.TestCodeNo = Convert.ToInt32(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["TestCodeNo"].Value);
|
||||
MakeInformation.VariantNo = Convert.ToInt32(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["VariantNo"].Value);
|
||||
MakeInformation.Config = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Config"].Value.ToString();
|
||||
MakeInformation.RegDT = Convert.ToDateTime(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegDT"].Value);
|
||||
MakeInformation.RegUser = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegUser"].Value.ToString();
|
||||
MakeInformation.RegUserComment = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegUserComment"].Value.ToString();
|
||||
|
||||
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE No = " + MakeInformation.TestCodeNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestCodeInfo(dtTestCode);
|
||||
|
||||
/*
|
||||
DataTable dtTestList = ctrlDB.GetTable("SELECT No, ProdNo_P, TestType, Version, ProdCode, FileName, Comment, Description FROM [PROD_Variant] WHERE No = " + MakeInformation.VariantNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestListInfo(dtTestList);
|
||||
*/
|
||||
|
||||
DataTable dtTestList = ctrlDB.GetTable($"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
|
||||
$"WHERE X.No = " + lstCopyTestListRelease[0].VariantNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestListInfo(dtTestList);
|
||||
|
||||
textBoxItemProdC.Text = MakeInformation.ProdNo_C;
|
||||
textBoxItemConfig.Text = MakeInformation.Config;
|
||||
textBoxItemRegDT_Picker.Value = DateTime.Now;
|
||||
textBoxItemDescription.Text = MakeInformation.RegUserComment;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonTestCodeChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
TestCodeCheckResult = false;
|
||||
|
||||
textBoxDispTestCodeNo.Text = "";
|
||||
textBoxDispTestCode.Text = "";
|
||||
textBoxDispGate1.Text = "";
|
||||
textBoxDispGate2.Text = "";
|
||||
textBoxDispComment.Text = "";
|
||||
|
||||
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE TestCode = '" + textBoxTextCodeInput.Text + "' ORDER BY No ASC;");
|
||||
|
||||
CheckTestCodeInfo(dtTestCode);
|
||||
}
|
||||
|
||||
private void buttonTestListChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
TestListCheckResult = false;
|
||||
|
||||
textBoxDispTestListVariantNo.Text = "";
|
||||
textBoxDispTestListComment.Text = "";
|
||||
textBoxDispTestListDescription.Text = "";
|
||||
|
||||
/*
|
||||
string strSetQueryText = "SELECT No, ProdNo_P, TestType, Version, ProdCode, FileName, Comment, Description FROM [PROD_Variant] " +
|
||||
"WHERE ProdNo_P = '" + textBoxPProdNoInput.Text + "' ";
|
||||
*/
|
||||
|
||||
string strSetQueryText = $"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
|
||||
$"WHERE X.ProdNo_P = '" + textBoxPProdNoInput.Text + "' ";
|
||||
|
||||
string strSetQueryEndText = "ORDER BY No ASC;";
|
||||
|
||||
if (textBoxDispInTestType.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.TestType = '" + textBoxDispInTestType.Text + "' ";
|
||||
}
|
||||
if (textBoxDispInVersion.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.Version = '" + textBoxDispInVersion.Text + "' ";
|
||||
}
|
||||
if (textBoxDispInProdCode.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.ProdCode = '" + textBoxDispInProdCode.Text + "' ";
|
||||
}
|
||||
if (textBoxDispInFileName.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.FileName = '" + textBoxDispInFileName.Text + "' ";
|
||||
}
|
||||
|
||||
strSetQueryText += strSetQueryEndText;
|
||||
|
||||
DataTable dtTestList = ctrlDB.GetTable(strSetQueryText);
|
||||
|
||||
if (CheckTestListInfo(dtTestList))
|
||||
{
|
||||
wizardPage.ActiveControl = buttonAdd;
|
||||
|
||||
buttonAdd.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
private void button_Click(object sender, EventArgs e)
|
||||
{
|
||||
int nTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
switch (nTag)
|
||||
{
|
||||
case 0:
|
||||
if (textBoxDispInTestType.ReadOnly) textBoxDispInTestType.ReadOnly = false;
|
||||
else if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
|
||||
break;
|
||||
case 1:
|
||||
if (textBoxDispInVersion.ReadOnly) textBoxDispInVersion.ReadOnly = false;
|
||||
else if (textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
|
||||
break;
|
||||
case 2:
|
||||
if (textBoxDispInProdCode.ReadOnly) textBoxDispInProdCode.ReadOnly = false;
|
||||
else if (textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
|
||||
break;
|
||||
case 3:
|
||||
if (textBoxDispInFileName.ReadOnly) textBoxDispInFileName.ReadOnly = false;
|
||||
else if (textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBoxDispIn_ReadOnlyChanged(object sender, EventArgs e)
|
||||
{
|
||||
int nTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
bool bReadOnly = ((TextBox)sender).ReadOnly;
|
||||
|
||||
switch (nTag)
|
||||
{
|
||||
case 0:
|
||||
if (bReadOnly) button1.BackColor = Color.Transparent;
|
||||
else button1.BackColor = Color.Yellow; textBoxDispInTestType.Focus();
|
||||
break;
|
||||
case 1:
|
||||
if (bReadOnly) button2.BackColor = Color.Transparent;
|
||||
else button2.BackColor = Color.Yellow; textBoxDispInVersion.Focus();
|
||||
break;
|
||||
case 2:
|
||||
if (bReadOnly) button3.BackColor = Color.Transparent;
|
||||
else button3.BackColor = Color.Yellow; textBoxDispInProdCode.Focus();
|
||||
break;
|
||||
case 3:
|
||||
if (bReadOnly) button4.BackColor = Color.Transparent;
|
||||
else button4.BackColor = Color.Yellow; textBoxDispInFileName.Focus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBoxDispIn_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestListCheckResult = false;
|
||||
|
||||
textBoxPProdNoInput.BackColor = Color.Yellow;
|
||||
}
|
||||
private void checkBoxAutoComplete_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBoxAutoComplete.Checked == false)
|
||||
{
|
||||
textBoxPProdNoInput.AutoCompleteCustomSource = null;
|
||||
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.None;
|
||||
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.None;
|
||||
}
|
||||
else
|
||||
{
|
||||
/*if (checkBoxAutoComplete.Checked != true || textBoxPProdNoInput.Text.Length <= 0)
|
||||
return;*/
|
||||
|
||||
//WHERE ProdNo_P LIKE '%" + textBoxPProdNoInput.Text + "%'
|
||||
|
||||
DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, ProdNo_P FROM [PROD_Variant] ORDER BY No ASC;");
|
||||
|
||||
if (dtProdNoP == null)
|
||||
return;
|
||||
|
||||
string[] postSource = dtProdNoP
|
||||
.AsEnumerable()
|
||||
.Select<System.Data.DataRow, String>(x => x.Field<string>("ProdNo_P"))
|
||||
.ToArray();
|
||||
|
||||
var source = new AutoCompleteStringCollection();
|
||||
|
||||
source.AddRange(postSource);
|
||||
|
||||
textBoxPProdNoInput.AutoCompleteCustomSource = source;
|
||||
|
||||
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.Suggest;
|
||||
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.CustomSource;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBoxPProdNoInput_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestListCheckResult = false;
|
||||
|
||||
textBoxPProdNoInput.BackColor = Color.Yellow;
|
||||
|
||||
textBoxDispInTestType.Text = "";
|
||||
textBoxDispInVersion.Text = "";
|
||||
textBoxDispInProdCode.Text = "";
|
||||
textBoxDispInFileName.Text = "";
|
||||
}
|
||||
|
||||
private void textBoxTextCodeInput_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestCodeCheckResult = false;
|
||||
|
||||
textBoxTextCodeInput.BackColor = Color.Yellow;
|
||||
}
|
||||
|
||||
private void comboBoxTestCodeList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxTestCodeList.SelectedIndex > 0)
|
||||
{
|
||||
textBoxTextCodeInput.Text = comboBoxTestCodeList.Items[comboBoxTestCodeList.SelectedIndex].ToString();
|
||||
|
||||
TestCodeCheckResult = false;
|
||||
|
||||
textBoxTextCodeInput.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (TestCodeCheckResult == false || TestListCheckResult == false)
|
||||
return;
|
||||
|
||||
DataRow setMakeDataRows = null;
|
||||
|
||||
setMakeDataRows = dtCurrentDataTable.NewRow();
|
||||
|
||||
setMakeDataRows["No"] = dtCurrentDataTable.Rows.Count + 1;
|
||||
setMakeDataRows["ProdNo_C"] = textBoxItemProdC.Text;
|
||||
setMakeDataRows["TestCodeNo"] = nNowTestCodeNo;
|
||||
setMakeDataRows["TestCode"] = textBoxDispTestCode.Text;
|
||||
setMakeDataRows["VariantNo"] = nNowTestListNo;
|
||||
setMakeDataRows["ProdNo_P"] = textBoxPProdNoInput.Text;
|
||||
setMakeDataRows["TestType"] = textBoxDispInTestType.Text;
|
||||
setMakeDataRows["FileVersion"] = textBoxDispInVersion.Text;
|
||||
setMakeDataRows["ProdCode"] = textBoxDispInProdCode.Text;
|
||||
setMakeDataRows["Config"] = textBoxItemConfig.Text;
|
||||
setMakeDataRows["RegDT"] = DateTime.Now;
|
||||
setMakeDataRows["RegUser"] = textBoxItemRegUser.Text;
|
||||
setMakeDataRows["RegUserComment"] = textBoxItemDescription.Text;
|
||||
|
||||
dtCurrentDataTable.Rows.Add(setMakeDataRows);
|
||||
|
||||
RefreshReadyGridView();
|
||||
}
|
||||
|
||||
private void buttonDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
|
||||
return;
|
||||
|
||||
dtCurrentDataTable.Rows.RemoveAt(nReadyViewSelectRow);
|
||||
|
||||
RefreshReadyGridView();
|
||||
}
|
||||
|
||||
private void buttonModify_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
|
||||
return;
|
||||
|
||||
if (TestCodeCheckResult == false || TestListCheckResult == false)
|
||||
return;
|
||||
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdNo_C", textBoxItemProdC.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<Int32>("TestCodeNo", nNowTestCodeNo);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("TestCode", textBoxDispTestCode.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<Int32>("VariantNo", nNowTestListNo);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdNo_P", textBoxPProdNoInput.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("TestType", textBoxDispInTestType.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("FileVersion", textBoxDispInVersion.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdCode", textBoxDispInProdCode.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Config", textBoxItemConfig.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<DateTime>("RegDT", DateTime.Now);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("RegUser", ctrlDB.GetLoginInfo().UserID);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("RegUserComment", textBoxItemDescription.Text);
|
||||
|
||||
RefreshReadyGridView();
|
||||
}
|
||||
|
||||
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
|
||||
{
|
||||
if (e.Page == wizardPage)
|
||||
{
|
||||
this.ActiveControl = textBoxItemProdC;
|
||||
|
||||
textBoxItemProdC.Focus();
|
||||
}
|
||||
else if (e.Page == welcomeWizardPage)
|
||||
{
|
||||
this.ActiveControl = e.NextButton.Button;
|
||||
|
||||
e.NextButton.Button.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
@ -0,0 +1,965 @@
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
partial class TestListInfoReleaseEdit
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.wizardControl = new DevExpress.XtraWizard.WizardControl();
|
||||
this.welcomeWizardPage = new DevExpress.XtraWizard.WelcomeWizardPage();
|
||||
this.wizardPage = new DevExpress.XtraWizard.WizardPage();
|
||||
this.groupBoxTestList = new System.Windows.Forms.GroupBox();
|
||||
this.textBoxDispTestListComment = new System.Windows.Forms.TextBox();
|
||||
this.labelControl27 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.checkBoxAutoComplete = new System.Windows.Forms.CheckBox();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.textBoxDispInFileName = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispInProdCode = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispInVersion = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispInTestType = new System.Windows.Forms.TextBox();
|
||||
this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxDispTestListVariantNo = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispTestListDescription = new System.Windows.Forms.TextBox();
|
||||
this.textBoxPProdNoInput = new System.Windows.Forms.TextBox();
|
||||
this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.buttonTestListChk = new System.Windows.Forms.Button();
|
||||
this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.groupBoxTestCode = new System.Windows.Forms.GroupBox();
|
||||
this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.comboBoxTestCodeList = new System.Windows.Forms.ComboBox();
|
||||
this.textBoxTextCodeInput = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispComment = new System.Windows.Forms.TextBox();
|
||||
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxDispGate2 = new System.Windows.Forms.TextBox();
|
||||
this.textBoxDispTestCodeNo = new System.Windows.Forms.TextBox();
|
||||
this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.buttonTestCodeChk = new System.Windows.Forms.Button();
|
||||
this.textBoxDispGate1 = new System.Windows.Forms.TextBox();
|
||||
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxDispTestCode = new System.Windows.Forms.TextBox();
|
||||
this.textBoxItem4 = new System.Windows.Forms.TextBox();
|
||||
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxItem5_Picker = new System.Windows.Forms.DateTimePicker();
|
||||
this.textBoxItem7 = new System.Windows.Forms.TextBox();
|
||||
this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxItem6 = new System.Windows.Forms.TextBox();
|
||||
this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.textBoxItem1 = new System.Windows.Forms.TextBox();
|
||||
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage();
|
||||
this.dataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.labelControlInfo5 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl24 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl25 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo4 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl32 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo3 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControlInfo1 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
|
||||
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).BeginInit();
|
||||
this.wizardControl.SuspendLayout();
|
||||
this.wizardPage.SuspendLayout();
|
||||
this.groupBoxTestList.SuspendLayout();
|
||||
this.groupBoxTestCode.SuspendLayout();
|
||||
this.completionWizardPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// wizardControl
|
||||
//
|
||||
this.wizardControl.Controls.Add(this.welcomeWizardPage);
|
||||
this.wizardControl.Controls.Add(this.wizardPage);
|
||||
this.wizardControl.Controls.Add(this.completionWizardPage1);
|
||||
this.wizardControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.wizardControl.Name = "wizardControl";
|
||||
this.wizardControl.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] {
|
||||
this.welcomeWizardPage,
|
||||
this.wizardPage,
|
||||
this.completionWizardPage1});
|
||||
this.wizardControl.Size = new System.Drawing.Size(1148, 577);
|
||||
this.wizardControl.Text = "STAT Host";
|
||||
this.wizardControl.WizardStyle = DevExpress.XtraWizard.WizardStyle.WizardAero;
|
||||
this.wizardControl.NextClick += new DevExpress.XtraWizard.WizardCommandButtonClickEventHandler(this.wizardControl_NextClick);
|
||||
this.wizardControl.CustomizeCommandButtons += new DevExpress.XtraWizard.WizardCustomizeCommandButtonsEventHandler(this.wizardControl_CustomizeCommandButtons);
|
||||
//
|
||||
// welcomeWizardPage
|
||||
//
|
||||
this.welcomeWizardPage.Name = "welcomeWizardPage";
|
||||
this.welcomeWizardPage.Size = new System.Drawing.Size(1088, 410);
|
||||
this.welcomeWizardPage.Text = "Welcome to the STAT Host wizard!";
|
||||
//
|
||||
// wizardPage
|
||||
//
|
||||
this.wizardPage.Controls.Add(this.groupBoxTestList);
|
||||
this.wizardPage.Controls.Add(this.groupBoxTestCode);
|
||||
this.wizardPage.Controls.Add(this.textBoxItem4);
|
||||
this.wizardPage.Controls.Add(this.labelControl6);
|
||||
this.wizardPage.Controls.Add(this.textBoxItem5_Picker);
|
||||
this.wizardPage.Controls.Add(this.textBoxItem7);
|
||||
this.wizardPage.Controls.Add(this.labelControl14);
|
||||
this.wizardPage.Controls.Add(this.textBoxItem6);
|
||||
this.wizardPage.Controls.Add(this.labelControl10);
|
||||
this.wizardPage.Controls.Add(this.labelControl9);
|
||||
this.wizardPage.Controls.Add(this.textBoxItem1);
|
||||
this.wizardPage.Controls.Add(this.labelControl1);
|
||||
this.wizardPage.DescriptionText = "Display information about the selected column in the table.";
|
||||
this.wizardPage.Name = "wizardPage";
|
||||
this.wizardPage.Size = new System.Drawing.Size(1088, 410);
|
||||
this.wizardPage.Text = "STAT Host Information";
|
||||
//
|
||||
// groupBoxTestList
|
||||
//
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListComment);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl27);
|
||||
this.groupBoxTestList.Controls.Add(this.checkBoxAutoComplete);
|
||||
this.groupBoxTestList.Controls.Add(this.button4);
|
||||
this.groupBoxTestList.Controls.Add(this.button3);
|
||||
this.groupBoxTestList.Controls.Add(this.button2);
|
||||
this.groupBoxTestList.Controls.Add(this.button1);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInFileName);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInProdCode);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInVersion);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispInTestType);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl23);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListVariantNo);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxDispTestListDescription);
|
||||
this.groupBoxTestList.Controls.Add(this.textBoxPProdNoInput);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl16);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl17);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl19);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl20);
|
||||
this.groupBoxTestList.Controls.Add(this.buttonTestListChk);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl21);
|
||||
this.groupBoxTestList.Controls.Add(this.labelControl22);
|
||||
this.groupBoxTestList.Location = new System.Drawing.Point(435, 44);
|
||||
this.groupBoxTestList.Name = "groupBoxTestList";
|
||||
this.groupBoxTestList.Size = new System.Drawing.Size(632, 239);
|
||||
this.groupBoxTestList.TabIndex = 3;
|
||||
this.groupBoxTestList.TabStop = false;
|
||||
this.groupBoxTestList.Text = "TestList-Variant Select";
|
||||
//
|
||||
// textBoxDispTestListComment
|
||||
//
|
||||
this.textBoxDispTestListComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestListComment.Location = new System.Drawing.Point(101, 185);
|
||||
this.textBoxDispTestListComment.MaxLength = 16;
|
||||
this.textBoxDispTestListComment.Name = "textBoxDispTestListComment";
|
||||
this.textBoxDispTestListComment.ReadOnly = true;
|
||||
this.textBoxDispTestListComment.Size = new System.Drawing.Size(516, 21);
|
||||
this.textBoxDispTestListComment.TabIndex = 108;
|
||||
this.textBoxDispTestListComment.TabStop = false;
|
||||
//
|
||||
// labelControl27
|
||||
//
|
||||
this.labelControl27.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl27.Appearance.Options.UseFont = true;
|
||||
this.labelControl27.Location = new System.Drawing.Point(6, 188);
|
||||
this.labelControl27.Name = "labelControl27";
|
||||
this.labelControl27.Size = new System.Drawing.Size(55, 15);
|
||||
this.labelControl27.TabIndex = 67;
|
||||
this.labelControl27.Text = "Comment";
|
||||
//
|
||||
// checkBoxAutoComplete
|
||||
//
|
||||
this.checkBoxAutoComplete.AutoSize = true;
|
||||
this.checkBoxAutoComplete.Location = new System.Drawing.Point(101, 14);
|
||||
this.checkBoxAutoComplete.Name = "checkBoxAutoComplete";
|
||||
this.checkBoxAutoComplete.Size = new System.Drawing.Size(307, 18);
|
||||
this.checkBoxAutoComplete.TabIndex = 106;
|
||||
this.checkBoxAutoComplete.TabStop = false;
|
||||
this.checkBoxAutoComplete.Text = "Autocomplete feature(It may affect performance)";
|
||||
this.checkBoxAutoComplete.UseCompatibleTextRendering = true;
|
||||
this.checkBoxAutoComplete.UseVisualStyleBackColor = true;
|
||||
this.checkBoxAutoComplete.CheckedChanged += new System.EventHandler(this.checkBoxAutoComplete_CheckedChanged);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button4.Location = new System.Drawing.Point(342, 123);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(16, 21);
|
||||
this.button4.TabIndex = 12;
|
||||
this.button4.Tag = "3";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button3.Location = new System.Drawing.Point(342, 101);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(16, 21);
|
||||
this.button3.TabIndex = 10;
|
||||
this.button3.Tag = "2";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button2.Location = new System.Drawing.Point(342, 79);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(16, 21);
|
||||
this.button2.TabIndex = 8;
|
||||
this.button2.Tag = "1";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.Location = new System.Drawing.Point(342, 57);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(16, 21);
|
||||
this.button1.TabIndex = 6;
|
||||
this.button1.Tag = "0";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
this.button1.Click += new System.EventHandler(this.button_Click);
|
||||
//
|
||||
// textBoxDispInFileName
|
||||
//
|
||||
this.textBoxDispInFileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInFileName.Location = new System.Drawing.Point(101, 123);
|
||||
this.textBoxDispInFileName.MaxLength = 64;
|
||||
this.textBoxDispInFileName.Name = "textBoxDispInFileName";
|
||||
this.textBoxDispInFileName.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInFileName.TabIndex = 11;
|
||||
this.textBoxDispInFileName.Tag = "3";
|
||||
this.textBoxDispInFileName.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInFileName.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// textBoxDispInProdCode
|
||||
//
|
||||
this.textBoxDispInProdCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInProdCode.Location = new System.Drawing.Point(101, 101);
|
||||
this.textBoxDispInProdCode.MaxLength = 4;
|
||||
this.textBoxDispInProdCode.Name = "textBoxDispInProdCode";
|
||||
this.textBoxDispInProdCode.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInProdCode.TabIndex = 9;
|
||||
this.textBoxDispInProdCode.Tag = "2";
|
||||
this.textBoxDispInProdCode.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInProdCode.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// textBoxDispInVersion
|
||||
//
|
||||
this.textBoxDispInVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInVersion.Location = new System.Drawing.Point(101, 79);
|
||||
this.textBoxDispInVersion.MaxLength = 4;
|
||||
this.textBoxDispInVersion.Name = "textBoxDispInVersion";
|
||||
this.textBoxDispInVersion.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInVersion.TabIndex = 7;
|
||||
this.textBoxDispInVersion.Tag = "1";
|
||||
this.textBoxDispInVersion.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInVersion.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// textBoxDispInTestType
|
||||
//
|
||||
this.textBoxDispInTestType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispInTestType.Location = new System.Drawing.Point(101, 57);
|
||||
this.textBoxDispInTestType.MaxLength = 8;
|
||||
this.textBoxDispInTestType.Name = "textBoxDispInTestType";
|
||||
this.textBoxDispInTestType.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispInTestType.TabIndex = 5;
|
||||
this.textBoxDispInTestType.Tag = "0";
|
||||
this.textBoxDispInTestType.ReadOnlyChanged += new System.EventHandler(this.textBoxDispIn_ReadOnlyChanged);
|
||||
this.textBoxDispInTestType.TextChanged += new System.EventHandler(this.textBoxDispIn_TextChanged);
|
||||
//
|
||||
// labelControl23
|
||||
//
|
||||
this.labelControl23.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl23.Appearance.Options.UseFont = true;
|
||||
this.labelControl23.Location = new System.Drawing.Point(6, 126);
|
||||
this.labelControl23.Name = "labelControl23";
|
||||
this.labelControl23.Size = new System.Drawing.Size(54, 15);
|
||||
this.labelControl23.TabIndex = 63;
|
||||
this.labelControl23.Text = "FileName";
|
||||
//
|
||||
// textBoxDispTestListVariantNo
|
||||
//
|
||||
this.textBoxDispTestListVariantNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestListVariantNo.Location = new System.Drawing.Point(186, 158);
|
||||
this.textBoxDispTestListVariantNo.MaxLength = 16;
|
||||
this.textBoxDispTestListVariantNo.Name = "textBoxDispTestListVariantNo";
|
||||
this.textBoxDispTestListVariantNo.ReadOnly = true;
|
||||
this.textBoxDispTestListVariantNo.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispTestListVariantNo.TabIndex = 107;
|
||||
this.textBoxDispTestListVariantNo.TabStop = false;
|
||||
//
|
||||
// textBoxDispTestListDescription
|
||||
//
|
||||
this.textBoxDispTestListDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestListDescription.Location = new System.Drawing.Point(101, 212);
|
||||
this.textBoxDispTestListDescription.MaxLength = 16;
|
||||
this.textBoxDispTestListDescription.Name = "textBoxDispTestListDescription";
|
||||
this.textBoxDispTestListDescription.ReadOnly = true;
|
||||
this.textBoxDispTestListDescription.Size = new System.Drawing.Size(516, 21);
|
||||
this.textBoxDispTestListDescription.TabIndex = 109;
|
||||
this.textBoxDispTestListDescription.TabStop = false;
|
||||
//
|
||||
// textBoxPProdNoInput
|
||||
//
|
||||
this.textBoxPProdNoInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxPProdNoInput.Location = new System.Drawing.Point(101, 35);
|
||||
this.textBoxPProdNoInput.MaxLength = 16;
|
||||
this.textBoxPProdNoInput.Name = "textBoxPProdNoInput";
|
||||
this.textBoxPProdNoInput.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxPProdNoInput.TabIndex = 3;
|
||||
this.textBoxPProdNoInput.TextChanged += new System.EventHandler(this.textBoxPProdNoInput_TextChanged);
|
||||
//
|
||||
// labelControl16
|
||||
//
|
||||
this.labelControl16.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl16.Appearance.Options.UseFont = true;
|
||||
this.labelControl16.Location = new System.Drawing.Point(6, 38);
|
||||
this.labelControl16.Name = "labelControl16";
|
||||
this.labelControl16.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControl16.TabIndex = 41;
|
||||
this.labelControl16.Text = "P_ProdNo";
|
||||
//
|
||||
// labelControl17
|
||||
//
|
||||
this.labelControl17.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl17.Appearance.Options.UseFont = true;
|
||||
this.labelControl17.Location = new System.Drawing.Point(6, 215);
|
||||
this.labelControl17.Name = "labelControl17";
|
||||
this.labelControl17.Size = new System.Drawing.Size(62, 15);
|
||||
this.labelControl17.TabIndex = 60;
|
||||
this.labelControl17.Text = "Description";
|
||||
//
|
||||
// labelControl19
|
||||
//
|
||||
this.labelControl19.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl19.Appearance.Options.UseFont = true;
|
||||
this.labelControl19.Location = new System.Drawing.Point(6, 60);
|
||||
this.labelControl19.Name = "labelControl19";
|
||||
this.labelControl19.Size = new System.Drawing.Size(49, 15);
|
||||
this.labelControl19.TabIndex = 43;
|
||||
this.labelControl19.Text = "TestType";
|
||||
//
|
||||
// labelControl20
|
||||
//
|
||||
this.labelControl20.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl20.Appearance.Options.UseFont = true;
|
||||
this.labelControl20.Location = new System.Drawing.Point(6, 161);
|
||||
this.labelControl20.Name = "labelControl20";
|
||||
this.labelControl20.Size = new System.Drawing.Size(122, 15);
|
||||
this.labelControl20.TabIndex = 58;
|
||||
this.labelControl20.Text = "TestList Variant KeyNo";
|
||||
//
|
||||
// buttonTestListChk
|
||||
//
|
||||
this.buttonTestListChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonTestListChk.Location = new System.Drawing.Point(347, 35);
|
||||
this.buttonTestListChk.Name = "buttonTestListChk";
|
||||
this.buttonTestListChk.Size = new System.Drawing.Size(58, 21);
|
||||
this.buttonTestListChk.TabIndex = 4;
|
||||
this.buttonTestListChk.Tag = "4";
|
||||
this.buttonTestListChk.Text = "Check";
|
||||
this.buttonTestListChk.UseVisualStyleBackColor = true;
|
||||
this.buttonTestListChk.Click += new System.EventHandler(this.buttonTestListChk_Click);
|
||||
//
|
||||
// labelControl21
|
||||
//
|
||||
this.labelControl21.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl21.Appearance.Options.UseFont = true;
|
||||
this.labelControl21.Location = new System.Drawing.Point(6, 82);
|
||||
this.labelControl21.Name = "labelControl21";
|
||||
this.labelControl21.Size = new System.Drawing.Size(41, 15);
|
||||
this.labelControl21.TabIndex = 54;
|
||||
this.labelControl21.Text = "Version";
|
||||
//
|
||||
// labelControl22
|
||||
//
|
||||
this.labelControl22.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl22.Appearance.Options.UseFont = true;
|
||||
this.labelControl22.Location = new System.Drawing.Point(6, 104);
|
||||
this.labelControl22.Name = "labelControl22";
|
||||
this.labelControl22.Size = new System.Drawing.Size(55, 15);
|
||||
this.labelControl22.TabIndex = 56;
|
||||
this.labelControl22.Text = "ProdCode";
|
||||
//
|
||||
// groupBoxTestCode
|
||||
//
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl26);
|
||||
this.groupBoxTestCode.Controls.Add(this.comboBoxTestCodeList);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxTextCodeInput);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispComment);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl2);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl15);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl3);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate2);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCodeNo);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl13);
|
||||
this.groupBoxTestCode.Controls.Add(this.buttonTestCodeChk);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispGate1);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl4);
|
||||
this.groupBoxTestCode.Controls.Add(this.labelControl5);
|
||||
this.groupBoxTestCode.Controls.Add(this.textBoxDispTestCode);
|
||||
this.groupBoxTestCode.Location = new System.Drawing.Point(19, 44);
|
||||
this.groupBoxTestCode.Name = "groupBoxTestCode";
|
||||
this.groupBoxTestCode.Size = new System.Drawing.Size(410, 239);
|
||||
this.groupBoxTestCode.TabIndex = 2;
|
||||
this.groupBoxTestCode.TabStop = false;
|
||||
this.groupBoxTestCode.Text = "TestCode Select";
|
||||
//
|
||||
// labelControl26
|
||||
//
|
||||
this.labelControl26.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl26.Appearance.Options.UseFont = true;
|
||||
this.labelControl26.Location = new System.Drawing.Point(6, 17);
|
||||
this.labelControl26.Name = "labelControl26";
|
||||
this.labelControl26.Size = new System.Drawing.Size(77, 15);
|
||||
this.labelControl26.TabIndex = 105;
|
||||
this.labelControl26.Text = "TestCode List.";
|
||||
//
|
||||
// comboBoxTestCodeList
|
||||
//
|
||||
this.comboBoxTestCodeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxTestCodeList.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.comboBoxTestCodeList.FormattingEnabled = true;
|
||||
this.comboBoxTestCodeList.Location = new System.Drawing.Point(101, 16);
|
||||
this.comboBoxTestCodeList.Name = "comboBoxTestCodeList";
|
||||
this.comboBoxTestCodeList.Size = new System.Drawing.Size(240, 21);
|
||||
this.comboBoxTestCodeList.TabIndex = 100;
|
||||
this.comboBoxTestCodeList.TabStop = false;
|
||||
this.comboBoxTestCodeList.SelectedIndexChanged += new System.EventHandler(this.comboBoxTestCodeList_SelectedIndexChanged);
|
||||
//
|
||||
// textBoxTextCodeInput
|
||||
//
|
||||
this.textBoxTextCodeInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxTextCodeInput.Location = new System.Drawing.Point(101, 38);
|
||||
this.textBoxTextCodeInput.MaxLength = 16;
|
||||
this.textBoxTextCodeInput.Name = "textBoxTextCodeInput";
|
||||
this.textBoxTextCodeInput.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxTextCodeInput.TabIndex = 2;
|
||||
this.textBoxTextCodeInput.TextChanged += new System.EventHandler(this.textBoxTextCodeInput_TextChanged);
|
||||
//
|
||||
// textBoxDispComment
|
||||
//
|
||||
this.textBoxDispComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispComment.Location = new System.Drawing.Point(101, 179);
|
||||
this.textBoxDispComment.MaxLength = 32;
|
||||
this.textBoxDispComment.Name = "textBoxDispComment";
|
||||
this.textBoxDispComment.ReadOnly = true;
|
||||
this.textBoxDispComment.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispComment.TabIndex = 105;
|
||||
this.textBoxDispComment.TabStop = false;
|
||||
//
|
||||
// labelControl2
|
||||
//
|
||||
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl2.Appearance.Options.UseFont = true;
|
||||
this.labelControl2.Location = new System.Drawing.Point(6, 41);
|
||||
this.labelControl2.Name = "labelControl2";
|
||||
this.labelControl2.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl2.TabIndex = 41;
|
||||
this.labelControl2.Text = "TestCode";
|
||||
//
|
||||
// labelControl15
|
||||
//
|
||||
this.labelControl15.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl15.Appearance.Options.UseFont = true;
|
||||
this.labelControl15.Location = new System.Drawing.Point(6, 182);
|
||||
this.labelControl15.Name = "labelControl15";
|
||||
this.labelControl15.Size = new System.Drawing.Size(55, 15);
|
||||
this.labelControl15.TabIndex = 60;
|
||||
this.labelControl15.Text = "Comment";
|
||||
//
|
||||
// labelControl3
|
||||
//
|
||||
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl3.Appearance.Options.UseFont = true;
|
||||
this.labelControl3.Location = new System.Drawing.Point(6, 74);
|
||||
this.labelControl3.Name = "labelControl3";
|
||||
this.labelControl3.Size = new System.Drawing.Size(71, 15);
|
||||
this.labelControl3.TabIndex = 43;
|
||||
this.labelControl3.Text = "TestCode No";
|
||||
//
|
||||
// textBoxDispGate2
|
||||
//
|
||||
this.textBoxDispGate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispGate2.Location = new System.Drawing.Point(101, 152);
|
||||
this.textBoxDispGate2.MaxLength = 32;
|
||||
this.textBoxDispGate2.Name = "textBoxDispGate2";
|
||||
this.textBoxDispGate2.ReadOnly = true;
|
||||
this.textBoxDispGate2.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispGate2.TabIndex = 104;
|
||||
this.textBoxDispGate2.TabStop = false;
|
||||
//
|
||||
// textBoxDispTestCodeNo
|
||||
//
|
||||
this.textBoxDispTestCodeNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestCodeNo.Location = new System.Drawing.Point(101, 71);
|
||||
this.textBoxDispTestCodeNo.MaxLength = 32;
|
||||
this.textBoxDispTestCodeNo.Name = "textBoxDispTestCodeNo";
|
||||
this.textBoxDispTestCodeNo.ReadOnly = true;
|
||||
this.textBoxDispTestCodeNo.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispTestCodeNo.TabIndex = 101;
|
||||
this.textBoxDispTestCodeNo.TabStop = false;
|
||||
//
|
||||
// labelControl13
|
||||
//
|
||||
this.labelControl13.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl13.Appearance.Options.UseFont = true;
|
||||
this.labelControl13.Location = new System.Drawing.Point(6, 155);
|
||||
this.labelControl13.Name = "labelControl13";
|
||||
this.labelControl13.Size = new System.Drawing.Size(33, 15);
|
||||
this.labelControl13.TabIndex = 58;
|
||||
this.labelControl13.Text = "Gate2";
|
||||
//
|
||||
// buttonTestCodeChk
|
||||
//
|
||||
this.buttonTestCodeChk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.buttonTestCodeChk.Location = new System.Drawing.Point(347, 38);
|
||||
this.buttonTestCodeChk.Name = "buttonTestCodeChk";
|
||||
this.buttonTestCodeChk.Size = new System.Drawing.Size(58, 21);
|
||||
this.buttonTestCodeChk.TabIndex = 3;
|
||||
this.buttonTestCodeChk.Tag = "4";
|
||||
this.buttonTestCodeChk.Text = "Check";
|
||||
this.buttonTestCodeChk.UseVisualStyleBackColor = true;
|
||||
this.buttonTestCodeChk.Click += new System.EventHandler(this.buttonTestCodeChk_Click);
|
||||
//
|
||||
// textBoxDispGate1
|
||||
//
|
||||
this.textBoxDispGate1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispGate1.Location = new System.Drawing.Point(101, 125);
|
||||
this.textBoxDispGate1.MaxLength = 32;
|
||||
this.textBoxDispGate1.Name = "textBoxDispGate1";
|
||||
this.textBoxDispGate1.ReadOnly = true;
|
||||
this.textBoxDispGate1.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispGate1.TabIndex = 103;
|
||||
this.textBoxDispGate1.TabStop = false;
|
||||
//
|
||||
// labelControl4
|
||||
//
|
||||
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl4.Appearance.Options.UseFont = true;
|
||||
this.labelControl4.Location = new System.Drawing.Point(6, 101);
|
||||
this.labelControl4.Name = "labelControl4";
|
||||
this.labelControl4.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl4.TabIndex = 54;
|
||||
this.labelControl4.Text = "TestCode";
|
||||
//
|
||||
// labelControl5
|
||||
//
|
||||
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl5.Appearance.Options.UseFont = true;
|
||||
this.labelControl5.Location = new System.Drawing.Point(6, 128);
|
||||
this.labelControl5.Name = "labelControl5";
|
||||
this.labelControl5.Size = new System.Drawing.Size(33, 15);
|
||||
this.labelControl5.TabIndex = 56;
|
||||
this.labelControl5.Text = "Gate1";
|
||||
//
|
||||
// textBoxDispTestCode
|
||||
//
|
||||
this.textBoxDispTestCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDispTestCode.Location = new System.Drawing.Point(101, 98);
|
||||
this.textBoxDispTestCode.MaxLength = 32;
|
||||
this.textBoxDispTestCode.Name = "textBoxDispTestCode";
|
||||
this.textBoxDispTestCode.ReadOnly = true;
|
||||
this.textBoxDispTestCode.Size = new System.Drawing.Size(240, 21);
|
||||
this.textBoxDispTestCode.TabIndex = 102;
|
||||
this.textBoxDispTestCode.TabStop = false;
|
||||
//
|
||||
// textBoxItem4
|
||||
//
|
||||
this.textBoxItem4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItem4.Location = new System.Drawing.Point(114, 289);
|
||||
this.textBoxItem4.MaxLength = 32;
|
||||
this.textBoxItem4.Name = "textBoxItem4";
|
||||
this.textBoxItem4.Size = new System.Drawing.Size(304, 21);
|
||||
this.textBoxItem4.TabIndex = 13;
|
||||
this.textBoxItem4.Text = "-";
|
||||
//
|
||||
// labelControl6
|
||||
//
|
||||
this.labelControl6.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl6.Appearance.Options.UseFont = true;
|
||||
this.labelControl6.Location = new System.Drawing.Point(19, 292);
|
||||
this.labelControl6.Name = "labelControl6";
|
||||
this.labelControl6.Size = new System.Drawing.Size(35, 15);
|
||||
this.labelControl6.TabIndex = 35;
|
||||
this.labelControl6.Text = "Config";
|
||||
//
|
||||
// textBoxItem5_Picker
|
||||
//
|
||||
this.textBoxItem5_Picker.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.textBoxItem5_Picker.Enabled = false;
|
||||
this.textBoxItem5_Picker.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItem5_Picker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.textBoxItem5_Picker.Location = new System.Drawing.Point(114, 316);
|
||||
this.textBoxItem5_Picker.Name = "textBoxItem5_Picker";
|
||||
this.textBoxItem5_Picker.Size = new System.Drawing.Size(200, 21);
|
||||
this.textBoxItem5_Picker.TabIndex = 110;
|
||||
this.textBoxItem5_Picker.TabStop = false;
|
||||
//
|
||||
// textBoxItem7
|
||||
//
|
||||
this.textBoxItem7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItem7.Location = new System.Drawing.Point(114, 370);
|
||||
this.textBoxItem7.MaxLength = 256;
|
||||
this.textBoxItem7.Name = "textBoxItem7";
|
||||
this.textBoxItem7.Size = new System.Drawing.Size(938, 21);
|
||||
this.textBoxItem7.TabIndex = 14;
|
||||
//
|
||||
// labelControl14
|
||||
//
|
||||
this.labelControl14.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl14.Appearance.Options.UseFont = true;
|
||||
this.labelControl14.Location = new System.Drawing.Point(19, 374);
|
||||
this.labelControl14.Name = "labelControl14";
|
||||
this.labelControl14.Size = new System.Drawing.Size(62, 15);
|
||||
this.labelControl14.TabIndex = 30;
|
||||
this.labelControl14.Text = "Description";
|
||||
//
|
||||
// textBoxItem6
|
||||
//
|
||||
this.textBoxItem6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItem6.Location = new System.Drawing.Point(114, 343);
|
||||
this.textBoxItem6.MaxLength = 32;
|
||||
this.textBoxItem6.Name = "textBoxItem6";
|
||||
this.textBoxItem6.ReadOnly = true;
|
||||
this.textBoxItem6.Size = new System.Drawing.Size(258, 21);
|
||||
this.textBoxItem6.TabIndex = 111;
|
||||
this.textBoxItem6.TabStop = false;
|
||||
//
|
||||
// labelControl10
|
||||
//
|
||||
this.labelControl10.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl10.Appearance.Options.UseFont = true;
|
||||
this.labelControl10.Location = new System.Drawing.Point(19, 346);
|
||||
this.labelControl10.Name = "labelControl10";
|
||||
this.labelControl10.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl10.TabIndex = 22;
|
||||
this.labelControl10.Text = "Reg User";
|
||||
//
|
||||
// labelControl9
|
||||
//
|
||||
this.labelControl9.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl9.Appearance.Options.UseFont = true;
|
||||
this.labelControl9.Location = new System.Drawing.Point(19, 319);
|
||||
this.labelControl9.Name = "labelControl9";
|
||||
this.labelControl9.Size = new System.Drawing.Size(80, 15);
|
||||
this.labelControl9.TabIndex = 20;
|
||||
this.labelControl9.Text = "Reg DateTime";
|
||||
//
|
||||
// textBoxItem1
|
||||
//
|
||||
this.textBoxItem1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxItem1.Location = new System.Drawing.Point(114, 17);
|
||||
this.textBoxItem1.MaxLength = 16;
|
||||
this.textBoxItem1.Name = "textBoxItem1";
|
||||
this.textBoxItem1.Size = new System.Drawing.Size(304, 21);
|
||||
this.textBoxItem1.TabIndex = 1;
|
||||
//
|
||||
// labelControl1
|
||||
//
|
||||
this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl1.Appearance.Options.UseFont = true;
|
||||
this.labelControl1.Location = new System.Drawing.Point(19, 20);
|
||||
this.labelControl1.Name = "labelControl1";
|
||||
this.labelControl1.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControl1.TabIndex = 1;
|
||||
this.labelControl1.Text = "ProdNo_C";
|
||||
//
|
||||
// completionWizardPage1
|
||||
//
|
||||
this.completionWizardPage1.Controls.Add(this.dataGridView);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControlInfo5);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControl24);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControl25);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControlInfo4);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControl32);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControlInfo3);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControl18);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControlInfo2);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControlInfo1);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControl7);
|
||||
this.completionWizardPage1.Controls.Add(this.labelControl8);
|
||||
this.completionWizardPage1.Name = "completionWizardPage1";
|
||||
this.completionWizardPage1.Size = new System.Drawing.Size(1088, 410);
|
||||
//
|
||||
// dataGridView
|
||||
//
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridView.Location = new System.Drawing.Point(39, 152);
|
||||
this.dataGridView.Name = "dataGridView";
|
||||
this.dataGridView.ReadOnly = true;
|
||||
this.dataGridView.RowTemplate.Height = 23;
|
||||
this.dataGridView.Size = new System.Drawing.Size(1003, 214);
|
||||
this.dataGridView.TabIndex = 43;
|
||||
//
|
||||
// labelControlInfo5
|
||||
//
|
||||
this.labelControlInfo5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo5.Appearance.ForeColor = System.Drawing.Color.Blue;
|
||||
this.labelControlInfo5.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo5.Appearance.Options.UseForeColor = true;
|
||||
this.labelControlInfo5.Location = new System.Drawing.Point(114, 99);
|
||||
this.labelControlInfo5.Name = "labelControlInfo5";
|
||||
this.labelControlInfo5.Size = new System.Drawing.Size(62, 15);
|
||||
this.labelControlInfo5.TabIndex = 32;
|
||||
this.labelControlInfo5.Text = "Description";
|
||||
//
|
||||
// labelControl24
|
||||
//
|
||||
this.labelControl24.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl24.Appearance.Options.UseFont = true;
|
||||
this.labelControl24.Location = new System.Drawing.Point(16, 131);
|
||||
this.labelControl24.Name = "labelControl24";
|
||||
this.labelControl24.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControl24.TabIndex = 30;
|
||||
this.labelControl24.Text = "Select Info";
|
||||
//
|
||||
// labelControl25
|
||||
//
|
||||
this.labelControl25.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl25.Appearance.Options.UseFont = true;
|
||||
this.labelControl25.Location = new System.Drawing.Point(16, 99);
|
||||
this.labelControl25.Name = "labelControl25";
|
||||
this.labelControl25.Size = new System.Drawing.Size(62, 15);
|
||||
this.labelControl25.TabIndex = 29;
|
||||
this.labelControl25.Text = "Description";
|
||||
//
|
||||
// labelControlInfo4
|
||||
//
|
||||
this.labelControlInfo4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo4.Appearance.ForeColor = System.Drawing.Color.Blue;
|
||||
this.labelControlInfo4.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo4.Appearance.Options.UseForeColor = true;
|
||||
this.labelControlInfo4.Location = new System.Drawing.Point(334, 66);
|
||||
this.labelControlInfo4.Name = "labelControlInfo4";
|
||||
this.labelControlInfo4.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControlInfo4.TabIndex = 25;
|
||||
this.labelControlInfo4.Text = "Reg User";
|
||||
//
|
||||
// labelControl32
|
||||
//
|
||||
this.labelControl32.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl32.Appearance.Options.UseFont = true;
|
||||
this.labelControl32.Location = new System.Drawing.Point(255, 66);
|
||||
this.labelControl32.Name = "labelControl32";
|
||||
this.labelControl32.Size = new System.Drawing.Size(52, 15);
|
||||
this.labelControl32.TabIndex = 22;
|
||||
this.labelControl32.Text = "Reg User";
|
||||
//
|
||||
// labelControlInfo3
|
||||
//
|
||||
this.labelControlInfo3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo3.Appearance.ForeColor = System.Drawing.Color.Blue;
|
||||
this.labelControlInfo3.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo3.Appearance.Options.UseForeColor = true;
|
||||
this.labelControlInfo3.Location = new System.Drawing.Point(334, 38);
|
||||
this.labelControlInfo3.Name = "labelControlInfo3";
|
||||
this.labelControlInfo3.Size = new System.Drawing.Size(38, 13);
|
||||
this.labelControlInfo3.TabIndex = 21;
|
||||
this.labelControlInfo3.Text = "Reg DT";
|
||||
//
|
||||
// labelControl18
|
||||
//
|
||||
this.labelControl18.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl18.Appearance.Options.UseFont = true;
|
||||
this.labelControl18.Location = new System.Drawing.Point(255, 36);
|
||||
this.labelControl18.Name = "labelControl18";
|
||||
this.labelControl18.Size = new System.Drawing.Size(42, 15);
|
||||
this.labelControl18.TabIndex = 18;
|
||||
this.labelControl18.Text = "Reg DT";
|
||||
//
|
||||
// labelControlInfo2
|
||||
//
|
||||
this.labelControlInfo2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo2.Appearance.ForeColor = System.Drawing.Color.Blue;
|
||||
this.labelControlInfo2.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo2.Appearance.Options.UseForeColor = true;
|
||||
this.labelControlInfo2.Location = new System.Drawing.Point(114, 66);
|
||||
this.labelControlInfo2.Name = "labelControlInfo2";
|
||||
this.labelControlInfo2.Size = new System.Drawing.Size(35, 15);
|
||||
this.labelControlInfo2.TabIndex = 13;
|
||||
this.labelControlInfo2.Text = "Config";
|
||||
//
|
||||
// labelControlInfo1
|
||||
//
|
||||
this.labelControlInfo1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControlInfo1.Appearance.ForeColor = System.Drawing.Color.Blue;
|
||||
this.labelControlInfo1.Appearance.Options.UseFont = true;
|
||||
this.labelControlInfo1.Appearance.Options.UseForeColor = true;
|
||||
this.labelControlInfo1.Location = new System.Drawing.Point(114, 36);
|
||||
this.labelControlInfo1.Name = "labelControlInfo1";
|
||||
this.labelControlInfo1.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControlInfo1.TabIndex = 12;
|
||||
this.labelControlInfo1.Text = "ProdNo_C";
|
||||
//
|
||||
// labelControl7
|
||||
//
|
||||
this.labelControl7.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl7.Appearance.Options.UseFont = true;
|
||||
this.labelControl7.Location = new System.Drawing.Point(16, 66);
|
||||
this.labelControl7.Name = "labelControl7";
|
||||
this.labelControl7.Size = new System.Drawing.Size(35, 15);
|
||||
this.labelControl7.TabIndex = 9;
|
||||
this.labelControl7.Text = "Config";
|
||||
//
|
||||
// labelControl8
|
||||
//
|
||||
this.labelControl8.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl8.Appearance.Options.UseFont = true;
|
||||
this.labelControl8.Location = new System.Drawing.Point(16, 36);
|
||||
this.labelControl8.Name = "labelControl8";
|
||||
this.labelControl8.Size = new System.Drawing.Size(57, 15);
|
||||
this.labelControl8.TabIndex = 8;
|
||||
this.labelControl8.Text = "ProdNo_C";
|
||||
//
|
||||
// TestListInfoReleaseEdit
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1148, 577);
|
||||
this.Controls.Add(this.wizardControl);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "TestListInfoReleaseEdit";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
||||
this.Text = "STAT Host";
|
||||
this.TopMost = true;
|
||||
((System.ComponentModel.ISupportInitialize)(this.wizardControl)).EndInit();
|
||||
this.wizardControl.ResumeLayout(false);
|
||||
this.wizardPage.ResumeLayout(false);
|
||||
this.wizardPage.PerformLayout();
|
||||
this.groupBoxTestList.ResumeLayout(false);
|
||||
this.groupBoxTestList.PerformLayout();
|
||||
this.groupBoxTestCode.ResumeLayout(false);
|
||||
this.groupBoxTestCode.PerformLayout();
|
||||
this.completionWizardPage1.ResumeLayout(false);
|
||||
this.completionWizardPage1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraWizard.WizardControl wizardControl;
|
||||
private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage;
|
||||
private System.Windows.Forms.TextBox textBoxItem1;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl1;
|
||||
private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1;
|
||||
private DevExpress.XtraWizard.WizardPage wizardPage;
|
||||
private DevExpress.XtraEditors.LabelControl labelControlInfo2;
|
||||
private DevExpress.XtraEditors.LabelControl labelControlInfo1;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl7;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl8;
|
||||
private System.Windows.Forms.TextBox textBoxItem7;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl14;
|
||||
private System.Windows.Forms.TextBox textBoxItem6;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl10;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl9;
|
||||
private System.Windows.Forms.DateTimePicker textBoxItem5_Picker;
|
||||
private DevExpress.XtraEditors.LabelControl labelControlInfo5;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl24;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl25;
|
||||
private DevExpress.XtraEditors.LabelControl labelControlInfo4;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl32;
|
||||
private DevExpress.XtraEditors.LabelControl labelControlInfo3;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl18;
|
||||
private System.Windows.Forms.TextBox textBoxItem4;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl6;
|
||||
private System.Windows.Forms.DataGridView dataGridView;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestCodeNo;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl3;
|
||||
private System.Windows.Forms.TextBox textBoxTextCodeInput;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl2;
|
||||
private System.Windows.Forms.TextBox textBoxDispComment;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl15;
|
||||
private System.Windows.Forms.TextBox textBoxDispGate2;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl13;
|
||||
private System.Windows.Forms.TextBox textBoxDispGate1;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl5;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestCode;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl4;
|
||||
private System.Windows.Forms.Button buttonTestCodeChk;
|
||||
private System.Windows.Forms.GroupBox groupBoxTestList;
|
||||
private System.Windows.Forms.TextBox textBoxPProdNoInput;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl16;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl17;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl19;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl20;
|
||||
private System.Windows.Forms.Button buttonTestListChk;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl21;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl22;
|
||||
private System.Windows.Forms.GroupBox groupBoxTestCode;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestListVariantNo;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestListDescription;
|
||||
private System.Windows.Forms.TextBox textBoxDispInFileName;
|
||||
private System.Windows.Forms.TextBox textBoxDispInProdCode;
|
||||
private System.Windows.Forms.TextBox textBoxDispInVersion;
|
||||
private System.Windows.Forms.TextBox textBoxDispInTestType;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl23;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl26;
|
||||
private System.Windows.Forms.ComboBox comboBoxTestCodeList;
|
||||
private System.Windows.Forms.CheckBox checkBoxAutoComplete;
|
||||
private System.Windows.Forms.TextBox textBoxDispTestListComment;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl27;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,596 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.ComboBox;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using SystemX.Common;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public partial class TestListInfoReleaseEdit : Form
|
||||
{
|
||||
[Flags]
|
||||
private enum eDataFindMode
|
||||
{
|
||||
None = 0x00,
|
||||
P_ProdNo = 0x01,
|
||||
TestType = 0x02,
|
||||
Version = 0x03,
|
||||
FileName = 0x04
|
||||
}
|
||||
|
||||
public eSelectMode CurrentWizardMode { internal set; get; }
|
||||
|
||||
private CReleaseInformation ctrlTestListRelInformation;
|
||||
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private static object objInfoControlNextLock = new object();
|
||||
|
||||
private string strGetModifyProdCInfo;
|
||||
private string strGetModifyTestCodeInfo;
|
||||
private string strGetModifyTestListInfo;
|
||||
|
||||
public enum eSelectMode
|
||||
{
|
||||
Insert = 0,
|
||||
Modify
|
||||
}
|
||||
|
||||
private string strTitle = "PROD TestList-Release";
|
||||
private string strWizardControl = "PROD TestList-Release";
|
||||
private string strWelcomeWizard = "Welcome to the PROD TestList-Release wizard!";
|
||||
private string strWizardPage = "PROD TestList Release Information";
|
||||
|
||||
private bool TestCodeCheckResult { set; get; } = false;
|
||||
private bool TestListCheckResult { set; get; } = false;
|
||||
|
||||
public void WizardCancelEvent(object sender, EventArgs e)
|
||||
{
|
||||
if (((bool)sender) == false)
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
private bool CheckTestCodeInfo(DataTable dt)
|
||||
{
|
||||
if (XCommons.isHasRow(dt) == false)
|
||||
{
|
||||
textBoxTextCodeInput.BackColor = Color.Red;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
textBoxDispTestCodeNo.Text = dt.Rows[0][0].ToString();
|
||||
textBoxDispTestCode.Text = dt.Rows[0][1].ToString();
|
||||
textBoxDispGate1.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispGate2.Text = dt.Rows[0][3].ToString();
|
||||
textBoxDispComment.Text = dt.Rows[0][4].ToString();
|
||||
|
||||
textBoxTextCodeInput.Text = dt.Rows[0][1].ToString();
|
||||
|
||||
TestCodeCheckResult = true;
|
||||
|
||||
textBoxTextCodeInput.BackColor = Color.LimeGreen;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void GetTestCodeList()
|
||||
{
|
||||
SqlDataReader reader;
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM STAT_TestCode WITH(NOLOCK) ORDER BY No ASC;";
|
||||
|
||||
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(reader);
|
||||
ds.Tables.Add(dt);
|
||||
reader.Close();
|
||||
|
||||
comboBoxTestCodeList.Items.Clear();
|
||||
|
||||
if (XCommons.isHasRow(ds))
|
||||
{
|
||||
comboBoxTestCodeList.Items.Add("Select Test Code ...");
|
||||
comboBoxTestCodeList.SelectedIndex = 0;
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
comboBoxTestCodeList.Items.Add(dt.Rows[i]["TestCode"].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckTestListInfo(DataTable dt)
|
||||
{
|
||||
if (XCommons.isHasRow(dt) == false)
|
||||
{
|
||||
textBoxPProdNoInput.BackColor = Color.Red;
|
||||
textBoxDispInTestType.BackColor = Color.Red;
|
||||
textBoxDispInVersion.BackColor = Color.Red;
|
||||
textBoxDispInProdCode.BackColor = Color.Red;
|
||||
textBoxDispInFileName.BackColor = Color.Red;
|
||||
|
||||
textBoxDispInTestType.ReadOnly = false;
|
||||
textBoxDispInVersion.ReadOnly = false;
|
||||
textBoxDispInProdCode.ReadOnly = false;
|
||||
textBoxDispInFileName.ReadOnly = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
textBoxDispTestListVariantNo.Text = dt.Rows[0][0].ToString();
|
||||
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
|
||||
textBoxDispInTestType.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispInVersion.Text = dt.Rows[0][3].ToString();
|
||||
textBoxDispInProdCode.Text = dt.Rows[0][4].ToString();
|
||||
textBoxDispInFileName.Text = dt.Rows[0][5].ToString();
|
||||
textBoxDispTestListComment.Text = dt.Rows[0][6].ToString();
|
||||
textBoxDispTestListDescription.Text = dt.Rows[0][7].ToString();
|
||||
|
||||
textBoxPProdNoInput.Text = dt.Rows[0][1].ToString();
|
||||
|
||||
TestListCheckResult = true;
|
||||
|
||||
textBoxPProdNoInput.BackColor = Color.LimeGreen;
|
||||
textBoxDispInTestType.BackColor = Color.LimeGreen;
|
||||
textBoxDispInVersion.BackColor = Color.LimeGreen;
|
||||
textBoxDispInProdCode.BackColor = Color.LimeGreen;
|
||||
textBoxDispInFileName.BackColor = Color.LimeGreen;
|
||||
|
||||
textBoxDispInTestType.ReadOnly = true;
|
||||
textBoxDispInVersion.ReadOnly = true;
|
||||
textBoxDispInProdCode.ReadOnly = true;
|
||||
textBoxDispInFileName.ReadOnly = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public TestListInfoReleaseEdit(IDataController ctrlDB, eSelectMode setMode, CReleaseInformation getSelTestListRelInfo)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.Text = strTitle;
|
||||
wizardControl.Text = strWizardControl;
|
||||
welcomeWizardPage.Text = strWelcomeWizard;
|
||||
wizardPage.Text = strWizardPage;
|
||||
|
||||
CurrentWizardMode = setMode;
|
||||
ctrlTestListRelInformation = getSelTestListRelInfo;
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
GetTestCodeList();
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
|
||||
wizardControl.Text = strTitle + " - Insert";
|
||||
this.Text = strTitle + " - Insert";
|
||||
|
||||
textBoxItem5_Picker.Value = getSelTestListRelInfo.RegDT;
|
||||
textBoxItem6.Text = getSelTestListRelInfo.RegUser;
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
|
||||
wizardControl.Text = strTitle + " - Modify";
|
||||
this.Text = strTitle + " - Modify";
|
||||
|
||||
textBoxItem1.Text = getSelTestListRelInfo.ProdNo_C;
|
||||
|
||||
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE No = " + getSelTestListRelInfo.TestCodeNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestCodeInfo(dtTestCode);
|
||||
|
||||
DataTable dtTestList = ctrlDB.GetTable($"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
|
||||
$"WHERE X.No = " + getSelTestListRelInfo.VariantNo + " ORDER BY No ASC;");
|
||||
|
||||
CheckTestListInfo(dtTestList);
|
||||
|
||||
textBoxItem4.Text = getSelTestListRelInfo.Config;
|
||||
textBoxItem5_Picker.Value = getSelTestListRelInfo.RegDT;
|
||||
textBoxItem6.Text = getSelTestListRelInfo.RegUser;
|
||||
textBoxItem7.Text = getSelTestListRelInfo.RegUserComment;
|
||||
|
||||
strGetModifyProdCInfo = textBoxItem1.Text;
|
||||
strGetModifyTestCodeInfo = textBoxDispTestCodeNo.Text;
|
||||
strGetModifyTestListInfo = textBoxDispTestListVariantNo.Text;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
|
||||
{
|
||||
if (wizardControl.SelectedPageIndex == 1)
|
||||
{
|
||||
lock (objInfoControlNextLock)
|
||||
{
|
||||
try
|
||||
{
|
||||
string strItemName = "";
|
||||
if (textBoxItem1.Text.Length <= 0) { strItemName = "ProdNo_C"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
|
||||
if (TestCodeCheckResult == false) { strItemName = "TestCode No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
|
||||
if (TestListCheckResult == false) { strItemName = "TestList No"; throw new Exception($"The value must be select and check. [" + strItemName + "]"); }
|
||||
|
||||
if (textBoxItem4.Text.Length <= 0) { strItemName = "Config"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
|
||||
string strGetProdC = textBoxItem1.Text;
|
||||
string strGetTestCodeNo = textBoxDispTestCodeNo.Text;
|
||||
|
||||
string strGetTestCode = textBoxDispTestCode.Text;
|
||||
string strGetTestType = textBoxDispInTestType.Text;
|
||||
string strGetVersion = textBoxDispInVersion.Text;
|
||||
string strGetProdCode = textBoxDispInProdCode.Text;
|
||||
|
||||
string strGetTestListNo = textBoxDispTestListVariantNo.Text;
|
||||
|
||||
//"SELECT * FROM [PROD_Release] WHERE No IN(SELECT No FROM [PROD_Release] WHERE [ProdNo_C] = '" + strGetProdC + "' AND [TestCodeNo] = "+ strGetTestCodeNo + " AND [VariantNo] = "+ strGetTestListNo + " ) ORDER BY No ASC;";
|
||||
// 'C_ProdNo' // 'TestCodeNo' // 'VariantNo' // 'P_ProdNo' // 'FileVersion'
|
||||
string strGetQueryText =
|
||||
$"SELECT X.No, " +
|
||||
$"X.ProdNo_C AS 'C_ProdNo', " +
|
||||
$"Y.No AS 'TestCodeNo', " +
|
||||
$"Y.TestCode, " +
|
||||
$"Z.No AS 'VariantNo', " +
|
||||
$"Z.ProdNo_P AS 'P_ProdNo', " +
|
||||
$"J.TestType, " +
|
||||
$"J.Version AS 'FileVersion', " +
|
||||
$"J.ProdCode, " +
|
||||
$"X.Config, " +
|
||||
$"X.RegDT, " +
|
||||
$"X.RegUser, " +
|
||||
$"X.RegUserComment " +
|
||||
$"FROM [PROD_Release] AS X " +
|
||||
$"INNER JOIN [STAT_TestCode] AS Y WITH(NOLOCK) ON X.TestCodeNo = Y.No " +
|
||||
$"INNER JOIN [PROD_Variant] AS Z WITH(NOLOCK) ON X.VariantNo = Z.No " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS J WITH(NOLOCK) ON Z.TestListFileNo = J.No " +
|
||||
$"WHERE X.ProdNo_C = '" + strGetProdC + "' AND X.TestCodeNo = " + strGetTestCodeNo + " " +
|
||||
$"ORDER BY No ASC;";
|
||||
|
||||
DataTable dtCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtCheck))
|
||||
{
|
||||
bool bExistException = false;
|
||||
bool bDetailInforSame = false;
|
||||
|
||||
string strTableProdNoC = dtCheck.Rows[0]["C_ProdNo"].ToString();
|
||||
string strTableTestCode = dtCheck.Rows[0]["TestCode"].ToString();
|
||||
string strTableTestType = dtCheck.Rows[0]["TestType"].ToString();
|
||||
string strTableVersion = dtCheck.Rows[0]["FileVersion"].ToString();
|
||||
string strTableProductionCode = dtCheck.Rows[0]["ProdCode"].ToString();
|
||||
|
||||
if (strGetProdC.CompareTo(strTableProdNoC) == 0 &&
|
||||
strGetTestCode.CompareTo(strTableTestCode) == 0 &&
|
||||
strGetTestType.CompareTo(strTableTestType) == 0 &&
|
||||
strGetVersion.CompareTo(strTableVersion) == 0 &&
|
||||
strGetProdCode.CompareTo(strTableProductionCode) == 0)
|
||||
{
|
||||
bExistException = true;
|
||||
|
||||
bDetailInforSame = true;
|
||||
}
|
||||
|
||||
if(CurrentWizardMode == eSelectMode.Modify)
|
||||
{
|
||||
if (strGetProdC.CompareTo(strGetModifyProdCInfo) == 0 &&
|
||||
strGetTestCodeNo.CompareTo(strGetModifyTestCodeInfo) == 0)
|
||||
{
|
||||
if(strGetTestListNo.CompareTo(strGetModifyTestListInfo) != 0)
|
||||
{
|
||||
if(bDetailInforSame)
|
||||
bExistException = false;
|
||||
}
|
||||
else
|
||||
bExistException = false;
|
||||
}
|
||||
}
|
||||
|
||||
if(bExistException)
|
||||
throw new Exception($"ProdNo_C - TestCode - TestType - Version - ProductionCode Combine Key is information that already exists. : " +
|
||||
$"{textBoxItem1.Text}" + " " + $"{textBoxDispTestCode.Text}" + " " + $"{textBoxDispInTestType.Text}" + " " + $"{textBoxDispInVersion.Text}" + " " + $"{textBoxDispInProdCode.Text}");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
e.Handled = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
labelControlInfo1.Text = textBoxItem1.Text;
|
||||
labelControlInfo2.Text = textBoxItem4.Text;
|
||||
labelControlInfo3.Text = textBoxItem5_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo4.Text = textBoxItem6.Text;
|
||||
labelControlInfo5.Text = textBoxItem7.Text;
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
break;
|
||||
}
|
||||
|
||||
string strGetItemNum1 = textBoxDispTestCodeNo.Text;
|
||||
string strGetItemNum2 = textBoxDispTestListVariantNo.Text;
|
||||
|
||||
DataTable dtTestList =
|
||||
ctrlDB.GetTable($"SELECT X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, C.GroupName, C.ModelName, D.TestCode, D.Gate1, D.Gate2 FROM [PROD_Variant] AS X WITH(NOLOCK) " +
|
||||
$"INNER JOIN(SELECT * FROM [PROD_Group] AS Y) AS C ON C.No = X.GroupNo " +
|
||||
$"INNER JOIN(SELECT * FROM [STAT_TestCode] AS Z) AS D ON D.No = " + strGetItemNum1 + " " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
|
||||
$"WHERE X.No = " + strGetItemNum2 + ";");
|
||||
|
||||
dataGridView.DataSource = dtTestList;
|
||||
|
||||
ctrlTestListRelInformation.ProdNo_C = textBoxItem1.Text;
|
||||
ctrlTestListRelInformation.TestCodeNo = Commons.ConvertTextToTryValue<int>(strGetItemNum1, -1);
|
||||
ctrlTestListRelInformation.VariantNo = Commons.ConvertTextToTryValue<int>(strGetItemNum2, -1);
|
||||
ctrlTestListRelInformation.Config = textBoxItem4.Text;
|
||||
ctrlTestListRelInformation.RegDT = textBoxItem5_Picker.Value;
|
||||
ctrlTestListRelInformation.RegUser = textBoxItem6.Text;
|
||||
ctrlTestListRelInformation.RegUserComment = textBoxItem7.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonTestCodeChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
TestCodeCheckResult = false;
|
||||
|
||||
textBoxDispTestCodeNo.Text = "";
|
||||
textBoxDispTestCode.Text = "";
|
||||
textBoxDispGate1.Text = "";
|
||||
textBoxDispGate2.Text = "";
|
||||
textBoxDispComment.Text = "";
|
||||
|
||||
DataTable dtTestCode = ctrlDB.GetTable("SELECT * FROM STAT_TestCode WHERE TestCode = '" + textBoxTextCodeInput.Text + "' ORDER BY No ASC;");
|
||||
|
||||
if (XCommons.isHasRow(dtTestCode))
|
||||
CheckTestCodeInfo(dtTestCode);
|
||||
}
|
||||
|
||||
private void buttonTestListChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
TestListCheckResult = false;
|
||||
|
||||
textBoxDispTestListVariantNo.Text = "";
|
||||
textBoxDispTestListComment.Text = "";
|
||||
textBoxDispTestListDescription.Text = "";
|
||||
|
||||
string strSetQueryText = $"SELECT X.No, X.ProdNo_P, Y.TestType, Y.Version, Y.ProdCode, Y.FileName, X.Comment, X.Description FROM [PROD_Variant] AS X WITH(NOLOCK) " +
|
||||
$"INNER JOIN [STOR_TestListFile] AS Y WITH(NOLOCK) ON X.TestListFileNo = Y.No " +
|
||||
$"WHERE X.ProdNo_P = '" + textBoxPProdNoInput.Text + "' ";
|
||||
|
||||
string strSetQueryEndText = "ORDER BY No ASC;";
|
||||
|
||||
if (textBoxDispInTestType.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.TestType = '" + textBoxDispInTestType.Text + "' ";
|
||||
}
|
||||
if (textBoxDispInVersion.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.Version = '" + textBoxDispInVersion.Text + "' ";
|
||||
}
|
||||
if (textBoxDispInProdCode.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.ProdCode = '" + textBoxDispInProdCode.Text + "' ";
|
||||
}
|
||||
if (textBoxDispInFileName.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "Y.FileName = '" + textBoxDispInFileName.Text + "' ";
|
||||
}
|
||||
|
||||
strSetQueryText += strSetQueryEndText;
|
||||
|
||||
DataTable dtTestList = ctrlDB.GetTable(strSetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtTestList))
|
||||
{
|
||||
if (CheckTestListInfo(dtTestList))
|
||||
{
|
||||
wizardPage.ActiveControl = textBoxItem4;
|
||||
|
||||
textBoxItem4.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void button_Click(object sender, EventArgs e)
|
||||
{
|
||||
int nTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
switch(nTag)
|
||||
{
|
||||
case 0:
|
||||
if (textBoxDispInTestType.ReadOnly) textBoxDispInTestType.ReadOnly = false;
|
||||
else if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
|
||||
break;
|
||||
case 1:
|
||||
if (textBoxDispInVersion.ReadOnly) textBoxDispInVersion.ReadOnly = false;
|
||||
else if(textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
|
||||
break;
|
||||
case 2:
|
||||
if (textBoxDispInProdCode.ReadOnly) textBoxDispInProdCode.ReadOnly = false;
|
||||
else if(textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
|
||||
break;
|
||||
case 3:
|
||||
if (textBoxDispInFileName.ReadOnly) textBoxDispInFileName.ReadOnly = false;
|
||||
else if(textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBoxDispIn_ReadOnlyChanged(object sender, EventArgs e)
|
||||
{
|
||||
int nTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
bool bReadOnly = ((TextBox)sender).ReadOnly;
|
||||
|
||||
switch (nTag)
|
||||
{
|
||||
case 0:
|
||||
if (bReadOnly) button1.BackColor = Color.Transparent;
|
||||
else button1.BackColor = Color.Yellow; textBoxDispInTestType.Focus();
|
||||
break;
|
||||
case 1:
|
||||
if (bReadOnly) button2.BackColor = Color.Transparent;
|
||||
else button2.BackColor = Color.Yellow; textBoxDispInVersion.Focus();
|
||||
break;
|
||||
case 2:
|
||||
if (bReadOnly) button3.BackColor = Color.Transparent;
|
||||
else button3.BackColor = Color.Yellow; textBoxDispInProdCode.Focus();
|
||||
break;
|
||||
case 3:
|
||||
if (bReadOnly) button4.BackColor = Color.Transparent;
|
||||
else button4.BackColor = Color.Yellow; textBoxDispInFileName.Focus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBoxAutoComplete_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBoxAutoComplete.Checked == false)
|
||||
{
|
||||
textBoxPProdNoInput.AutoCompleteCustomSource = null;
|
||||
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.None;
|
||||
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.None;
|
||||
}
|
||||
else
|
||||
{
|
||||
/*if (checkBoxAutoComplete.Checked != true || textBoxPProdNoInput.Text.Length <= 0)
|
||||
return;*/
|
||||
|
||||
//WHERE ProdNo_P LIKE '%" + textBoxPProdNoInput.Text + "%'
|
||||
|
||||
DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, ProdNo_P FROM [PROD_Variant] ORDER BY No ASC;");
|
||||
|
||||
if (dtProdNoP == null)
|
||||
return;
|
||||
|
||||
/*
|
||||
int nDataPos = 0;
|
||||
|
||||
string[] strData = new string[dtProdNoP.Rows.Count];
|
||||
|
||||
foreach (DataRow dr in dtProdNoP.Rows)
|
||||
{
|
||||
strData[nDataPos] = dr["ProdNo_P"].ToString();
|
||||
|
||||
nDataPos++;
|
||||
}
|
||||
*/
|
||||
|
||||
string[] postSource = dtProdNoP
|
||||
.AsEnumerable()
|
||||
.Select<System.Data.DataRow, string>(x => x.Field<string>("ProdNo_P"))
|
||||
.ToArray();
|
||||
|
||||
var source = new AutoCompleteStringCollection();
|
||||
|
||||
source.AddRange(postSource);
|
||||
|
||||
textBoxPProdNoInput.AutoCompleteCustomSource = source;
|
||||
|
||||
textBoxPProdNoInput.AutoCompleteMode = AutoCompleteMode.Suggest;
|
||||
textBoxPProdNoInput.AutoCompleteSource = AutoCompleteSource.CustomSource;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBoxPProdNoInput_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestListCheckResult = false;
|
||||
|
||||
textBoxPProdNoInput.BackColor = Color.Yellow;
|
||||
|
||||
textBoxDispInTestType.Text = "";
|
||||
textBoxDispInVersion.Text = "";
|
||||
textBoxDispInProdCode.Text = "";
|
||||
textBoxDispInFileName.Text = "";
|
||||
}
|
||||
|
||||
private void textBoxDispIn_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestListCheckResult = false;
|
||||
|
||||
textBoxPProdNoInput.BackColor = Color.Yellow;
|
||||
}
|
||||
|
||||
private void textBoxTextCodeInput_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestCodeCheckResult = false;
|
||||
|
||||
textBoxTextCodeInput.BackColor = Color.Yellow;
|
||||
}
|
||||
|
||||
private void comboBoxTestCodeList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxTestCodeList.SelectedIndex > 0)
|
||||
{
|
||||
textBoxTextCodeInput.Text = comboBoxTestCodeList.Items[comboBoxTestCodeList.SelectedIndex].ToString();
|
||||
|
||||
TestCodeCheckResult = false;
|
||||
|
||||
textBoxTextCodeInput.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
|
||||
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
|
||||
{
|
||||
if (e.Page == wizardPage)
|
||||
{
|
||||
this.ActiveControl = textBoxItem1;
|
||||
|
||||
textBoxItem1.Focus();
|
||||
}
|
||||
else if (e.Page == welcomeWizardPage)
|
||||
{
|
||||
this.ActiveControl = e.NextButton.Button;
|
||||
|
||||
e.NextButton.Button.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,967 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.ComboBox;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
using SystemX.Common;
|
||||
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
|
||||
using SystemX.Common.Archive;
|
||||
using SystemX.Product.PTS.UI.View.Test_List.Infos;
|
||||
using DevExpress.XtraWizard;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public partial class TestListVariantCopyWizard : Form
|
||||
{
|
||||
public eSelectMode CurrentWizardMode { internal set; get; }
|
||||
|
||||
private CVariantInformation CopyTestListVariant;
|
||||
|
||||
private List<CVariantInformation> lstCopyInsertSetTestListVariant;
|
||||
|
||||
private CVariantInformation MakeInformation;
|
||||
|
||||
private DataTable dtCurrentDataTable;
|
||||
|
||||
//private CpTestlistLoad loadTestListProc;
|
||||
|
||||
//private bool bModifyFirstLoad;
|
||||
|
||||
private int nSelectedTestListFileNo;
|
||||
|
||||
private string[] strSelectedTestListFileVariantList;
|
||||
|
||||
public int GetInsertSize()
|
||||
{
|
||||
return lstCopyInsertSetTestListVariant.Count;
|
||||
}
|
||||
|
||||
public IEnumerable<CVariantInformation> GetInsertList()
|
||||
{
|
||||
foreach (CVariantInformation info in lstCopyInsertSetTestListVariant)
|
||||
{
|
||||
yield return info;
|
||||
}
|
||||
}
|
||||
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private static object objInfoControlNextLock = new object();
|
||||
|
||||
public enum eSelectMode
|
||||
{
|
||||
Insert = 0,
|
||||
Modify
|
||||
}
|
||||
|
||||
private string strTitle = "PROD TestList-Variant [Copy And Paste]";
|
||||
private string strWizardControl = "PROD TestList-Variant";
|
||||
private string strWelcomeWizard = "Welcome to the PROD TestList-Variant [Copy And Paste] wizard!";
|
||||
private string strWizardPage = "PROD TestList Information";
|
||||
|
||||
private int nReadyViewSelectRow { set; get; } = -1;
|
||||
|
||||
private bool GroupCheckResult { set; get; } = false;
|
||||
|
||||
private int nNowSelectGroupNo { set; get; } = -1;
|
||||
|
||||
public void WizardCancelEvent(object sender, EventArgs e)
|
||||
{
|
||||
if (((bool)sender) == false)
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
private void RefreshReadyGridView()
|
||||
{
|
||||
dataGridViewReady.DataSource = dtCurrentDataTable;
|
||||
|
||||
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
|
||||
dataGridViewReady.Refresh();
|
||||
|
||||
dataGridViewReady.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
|
||||
|
||||
this.ActiveControl = textBoxItem1;
|
||||
|
||||
textBoxItem1.Focus();
|
||||
|
||||
if (string.IsNullOrEmpty(textBoxItem1.Text) == false)
|
||||
{
|
||||
textBoxItem1.SelectionStart = textBoxItem1.Text.Length;
|
||||
textBoxItem1.SelectionLength = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private void RefreshResultGridView()
|
||||
{
|
||||
dataGridViewResult.DataSource = dtCurrentDataTable;
|
||||
|
||||
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
|
||||
dataGridViewResult.Refresh();
|
||||
|
||||
dataGridViewResult.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None;
|
||||
}
|
||||
|
||||
private void AddResultList(DataRow dr)
|
||||
{
|
||||
CVariantInformation InformationTemp = new CVariantInformation();
|
||||
|
||||
InformationTemp.ProdNo_P = dr.Field<string>("ProdNo_P");
|
||||
InformationTemp.TestType = dr.Field<string>("TestType");
|
||||
InformationTemp.Version = dr.Field<string>("Version");
|
||||
InformationTemp.ProdCode = dr.Field<string>("ProdCode");
|
||||
InformationTemp.FileName = dr.Field<string>("FileName");
|
||||
|
||||
InformationTemp.TestListFileNo = nSelectedTestListFileNo;
|
||||
|
||||
InformationTemp.RegDT = DateTime.Now;
|
||||
InformationTemp.RegUser = ctrlDB.GetLoginInfo().UserID;
|
||||
InformationTemp.UpdateDT = DateTime.Now;
|
||||
InformationTemp.UpdateUser = ctrlDB.GetLoginInfo().UserID;
|
||||
InformationTemp.GroupNo = dr.Field<int>("GroupNo");
|
||||
InformationTemp.Comment = dr.Field<string>("Comment");
|
||||
InformationTemp.Description = dr.Field<string>("Description");
|
||||
|
||||
lstCopyInsertSetTestListVariant.Add(InformationTemp);
|
||||
}
|
||||
|
||||
public TestListVariantCopyWizard(IDataController ctrlDB, eSelectMode setMode, CVariantInformation getSelTestListVariantInfo)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.Text = strTitle;
|
||||
|
||||
wizardControl.Text = strWizardControl;
|
||||
welcomeWizardPage.Text = strWelcomeWizard;
|
||||
wizardPage.Text = strWizardPage;
|
||||
|
||||
CurrentWizardMode = setMode;
|
||||
|
||||
CopyTestListVariant = getSelTestListVariantInfo.Clone() as CVariantInformation;
|
||||
|
||||
lstCopyInsertSetTestListVariant = new List<CVariantInformation>();
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to copy and paste into the " + strWizardControl + " table.";
|
||||
wizardControl.Text = strTitle + " - Information";
|
||||
this.Text = strTitle + " - Information";
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
break;
|
||||
}
|
||||
|
||||
GetGroupList();
|
||||
|
||||
CheckGroupInfo("SELECT * FROM PROD_Group WHERE No = " + CopyTestListVariant.GroupNo + " ORDER BY No ASC;");
|
||||
|
||||
MakeInformation = new CVariantInformation();
|
||||
|
||||
dtCurrentDataTable = MakeDataTable();
|
||||
|
||||
/*DataRow[] setMakeDataRows = new DataRow[1]; //DataRow[CopyTestListVariant.Count];
|
||||
dtCurrentDataTable = MakeDataTable();
|
||||
|
||||
for (int i = 0; i < 1; *//*CopyTestListVariant.Count;*//* i++)
|
||||
{
|
||||
setMakeDataRows[i] = dtCurrentDataTable.NewRow();
|
||||
setMakeDataRows[i]["No"] = i + 1;
|
||||
setMakeDataRows[i]["ProdNo_P"] = CopyTestListVariant.ProdNo_P;
|
||||
setMakeDataRows[i]["TestType"] = CopyTestListVariant.TestType;
|
||||
setMakeDataRows[i]["Version"] = CopyTestListVariant.Version;
|
||||
setMakeDataRows[i]["ProdCode"] = CopyTestListVariant.ProdCode;
|
||||
setMakeDataRows[i]["FileName"] = CopyTestListVariant.FileName;
|
||||
setMakeDataRows[i]["RegDT"] = DateTime.Now;
|
||||
setMakeDataRows[i]["RegUser"] = ctrlDB.GetLoginInfo().UserID;
|
||||
setMakeDataRows[i]["UpdateDT"] = DateTime.Now;
|
||||
setMakeDataRows[i]["UpdateUser"] = ctrlDB.GetLoginInfo().UserID;
|
||||
setMakeDataRows[i]["GroupNo"] = CopyTestListVariant.GroupNo;
|
||||
setMakeDataRows[i]["GroupName"] = textBoxDispGroupName.Text;
|
||||
setMakeDataRows[i]["ModelName"] = textBoxDispModelName.Text;
|
||||
setMakeDataRows[i]["Comment"] = CopyTestListVariant.Comment;
|
||||
setMakeDataRows[i]["Description"] = CopyTestListVariant.Description;
|
||||
|
||||
dtCurrentDataTable.Rows.Add(setMakeDataRows[i]);
|
||||
}*/
|
||||
|
||||
textBoxModify1.Text = CopyTestListVariant.ProdNo_P;
|
||||
textBoxModify2.Text = CopyTestListVariant.TestType;
|
||||
textBoxModify3.Text = CopyTestListVariant.Version;
|
||||
textBoxModify4.Text = CopyTestListVariant.ProdCode;
|
||||
textBoxModify5.Text = CopyTestListVariant.FileName;
|
||||
textBoxModify6.Text = textBoxDispGroupName.Text;
|
||||
textBoxModify7.Text = textBoxDispModelName.Text;
|
||||
textBoxModify8.Text = CopyTestListVariant.Comment;
|
||||
textBoxModify9.Text = CopyTestListVariant.Description;
|
||||
|
||||
//bModifyFirstLoad = false;
|
||||
|
||||
string strGetQueryText = $"SELECT No FROM [PROD_Variant] WHERE ProdNo_P = '" + CopyTestListVariant.ProdNo_P + "' AND " +
|
||||
$"TestListFileNo = " + CopyTestListVariant.TestListFileNo + " AND " +
|
||||
$"GroupNo = " + CopyTestListVariant.GroupNo + ";";
|
||||
|
||||
DataTable dtResult = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtResult))
|
||||
{
|
||||
strGetQueryText = "SELECT * FROM [HIST_TestListFileVariantList] AS X WHERE TestListFileNo = " + CopyTestListVariant.TestListFileNo + ";";
|
||||
|
||||
DataTable dtVariantList = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtVariantList))
|
||||
{
|
||||
nSelectedTestListFileNo = CopyTestListVariant.TestListFileNo;
|
||||
|
||||
comboBoxVariant.BeginUpdate();
|
||||
comboBoxVariant.Items.Clear();
|
||||
comboBoxVariant.Refresh();
|
||||
comboBoxVariant.Items.Add("Select Variant ...");
|
||||
|
||||
strSelectedTestListFileVariantList = dtVariantList.Rows[0]["VariantList"].ToString().Split(';');
|
||||
foreach (string strVariant in strSelectedTestListFileVariantList)
|
||||
comboBoxVariant.Items.Add(strVariant);
|
||||
|
||||
comboBoxVariant.SelectedIndex = 0;
|
||||
comboBoxVariant.EndUpdate();
|
||||
|
||||
labelDispLoadResult.Text = "Test-list data verification completed.";
|
||||
labelDispLoadResult.BackColor = Color.LimeGreen;
|
||||
|
||||
comboBoxVariant.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void TestListCopyWizard_Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshReadyGridView();
|
||||
|
||||
textBoxItem6_Picker.Value = DateTime.Now;
|
||||
|
||||
textBoxItem8_Picker.Value = DateTime.Now;
|
||||
|
||||
textBoxItem1.Text = CopyTestListVariant.ProdNo_P;
|
||||
textBoxItem2.Text = CopyTestListVariant.TestType;
|
||||
textBoxItem3.Text = CopyTestListVariant.Version;
|
||||
textBoxItem4.Text = CopyTestListVariant.ProdCode;
|
||||
textBoxItem5.Text = CopyTestListVariant.FileName;
|
||||
|
||||
textBoxItem11.Text = CopyTestListVariant.Comment;
|
||||
textBoxItem12.Text = CopyTestListVariant.Description;
|
||||
|
||||
textBoxItem7.Text = ctrlDB.GetLoginInfo().UserID;
|
||||
textBoxItem9.Text = ctrlDB.GetLoginInfo().UserID;
|
||||
}
|
||||
|
||||
/*
|
||||
public void CompleteTestListLoad(object sender, EventArgs e)
|
||||
{
|
||||
bool bLoadResult = (bool)sender;
|
||||
|
||||
if (bLoadResult)
|
||||
{
|
||||
Invoke((MethodInvoker)delegate ()
|
||||
{
|
||||
textBoxItem2.Text = loadTestListProc.psGaudiInfo.psTestListInfo.Type;
|
||||
textBoxItem3.Text = loadTestListProc.psGaudiInfo.psFileInfo.FileVersion;
|
||||
textBoxItem4.Text = loadTestListProc.psGaudiInfo.psFileInfo.FileType;
|
||||
textBoxItem5.Text = CopyTestList.FileName; //loadTestListProc.psGaudiInfo.psFileInfo.FileName;
|
||||
|
||||
comboBoxVariant.BeginUpdate();
|
||||
comboBoxVariant.Items.Clear();
|
||||
comboBoxVariant.Refresh();
|
||||
comboBoxVariant.Items.Add("Select Variant ...");
|
||||
|
||||
foreach (KeyValuePair<string, string> kvp in loadTestListProc.psGaudiInfo.psVariantTable.GetStrVariantTable)
|
||||
comboBoxVariant.Items.Add(kvp.Key);
|
||||
|
||||
comboBoxVariant.SelectedIndex = 0;
|
||||
comboBoxVariant.EndUpdate();
|
||||
|
||||
labelDispLoadResult.Text = "Test-list data verification completed.";
|
||||
labelDispLoadResult.BackColor = Color.LimeGreen;
|
||||
|
||||
textBoxItem11.Text = CopyTestList.Comment;
|
||||
textBoxItem12.Text = loadTestListProc.GetTestListDescription();
|
||||
|
||||
comboBoxVariant.Visible = true;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
Invoke((MethodInvoker)delegate ()
|
||||
{
|
||||
labelDispLoadResult.Text = "Failed to check test-list data.";
|
||||
labelDispLoadResult.BackColor = Color.Red;
|
||||
});
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
private DataTable MakeDataTable()
|
||||
{
|
||||
// Create a new DataTable titled 'Names.'
|
||||
DataTable logTable = new DataTable("TempTable");
|
||||
|
||||
// Add three column objects to the table.
|
||||
DataColumn Column0 = new DataColumn();
|
||||
Column0.DataType = System.Type.GetType("System.Int64");
|
||||
Column0.ColumnName = "No";
|
||||
Column0.AutoIncrement = true;
|
||||
Column0.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column0);
|
||||
|
||||
DataColumn Column1 = new DataColumn();
|
||||
Column1.DataType = System.Type.GetType("System.String");
|
||||
Column1.ColumnName = "ProdNo_P";
|
||||
Column1.AutoIncrement = false;
|
||||
Column1.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column1);
|
||||
|
||||
DataColumn Column2 = new DataColumn();
|
||||
Column2.DataType = System.Type.GetType("System.String");
|
||||
Column2.ColumnName = "TestType";
|
||||
Column2.AutoIncrement = false;
|
||||
Column2.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column2);
|
||||
|
||||
DataColumn Column00 = new DataColumn();
|
||||
Column00.DataType = System.Type.GetType("System.String");
|
||||
Column00.ColumnName = "Version";
|
||||
Column00.AutoIncrement = false;
|
||||
Column00.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column00);
|
||||
|
||||
DataColumn Column3 = new DataColumn();
|
||||
Column3.DataType = System.Type.GetType("System.String");
|
||||
Column3.ColumnName = "ProdCode";
|
||||
Column3.AutoIncrement = false;
|
||||
Column3.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column3);
|
||||
|
||||
DataColumn Column01 = new DataColumn();
|
||||
Column01.DataType = System.Type.GetType("System.String");
|
||||
Column01.ColumnName = "FileName";
|
||||
Column01.AutoIncrement = false;
|
||||
Column01.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column01);
|
||||
|
||||
DataColumn Column02 = new DataColumn();
|
||||
Column02.DataType = System.Type.GetType("System.DateTime");
|
||||
Column02.ColumnName = "RegDT";
|
||||
Column02.AutoIncrement = false;
|
||||
Column02.AllowDBNull = true;
|
||||
Column02.DefaultValue = DateTime.Now;
|
||||
logTable.Columns.Add(Column02);
|
||||
|
||||
DataColumn Column03 = new DataColumn();
|
||||
Column03.DataType = System.Type.GetType("System.String");
|
||||
Column03.ColumnName = "RegUser";
|
||||
Column03.AutoIncrement = false;
|
||||
Column03.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column03);
|
||||
|
||||
DataColumn Column04 = new DataColumn();
|
||||
Column04.DataType = System.Type.GetType("System.DateTime");
|
||||
Column04.ColumnName = "UpdateDT";
|
||||
Column04.AutoIncrement = false;
|
||||
Column04.AllowDBNull = true;
|
||||
Column04.DefaultValue = DateTime.Now;
|
||||
logTable.Columns.Add(Column04);
|
||||
|
||||
DataColumn Column4 = new DataColumn();
|
||||
Column4.DataType = System.Type.GetType("System.String");
|
||||
Column4.ColumnName = "UpdateUser";
|
||||
Column4.AutoIncrement = false;
|
||||
Column4.AllowDBNull = false;
|
||||
logTable.Columns.Add(Column4);
|
||||
|
||||
DataColumn Column5 = new DataColumn();
|
||||
Column5.DataType = System.Type.GetType("System.Int32");
|
||||
Column5.ColumnName = "GroupNo";
|
||||
Column5.AutoIncrement = false;
|
||||
Column5.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column5);
|
||||
|
||||
DataColumn Column6 = new DataColumn();
|
||||
Column6.DataType = System.Type.GetType("System.String");
|
||||
Column6.ColumnName = "GroupName";
|
||||
Column6.AutoIncrement = false;
|
||||
Column6.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column6);
|
||||
|
||||
DataColumn Column7 = new DataColumn();
|
||||
Column7.DataType = System.Type.GetType("System.String");
|
||||
Column7.ColumnName = "ModelName";
|
||||
Column7.AutoIncrement = false;
|
||||
Column7.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column7);
|
||||
|
||||
DataColumn Column8 = new DataColumn();
|
||||
Column8.DataType = System.Type.GetType("System.String");
|
||||
Column8.ColumnName = "Comment";
|
||||
Column8.AutoIncrement = false;
|
||||
Column8.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column8);
|
||||
|
||||
DataColumn Column9 = new DataColumn();
|
||||
Column9.DataType = System.Type.GetType("System.String");
|
||||
Column9.ColumnName = "Description";
|
||||
Column9.AutoIncrement = false;
|
||||
Column9.AllowDBNull = true;
|
||||
logTable.Columns.Add(Column9);
|
||||
|
||||
// Create an array for DataColumn objects.
|
||||
DataColumn[] keys = new DataColumn[1];
|
||||
keys[0] = Column0;
|
||||
logTable.PrimaryKey = keys;
|
||||
|
||||
// Return the new DataTable.
|
||||
return logTable;
|
||||
}
|
||||
|
||||
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
|
||||
{
|
||||
lock (objInfoControlNextLock)
|
||||
{
|
||||
if (wizardControl.SelectedPageIndex == 0)
|
||||
{
|
||||
/*
|
||||
if (bModifyFirstLoad == false)
|
||||
{
|
||||
labelDispLoadResult.Text = "Loading ...";
|
||||
labelDispLoadResult.BackColor = Color.Yellow;
|
||||
|
||||
loadTestListProc = new CpTestlistLoad();
|
||||
loadTestListProc.TestListLoadResultEvent += CompleteTestListLoad;
|
||||
loadTestListProc.ExcuteTestListLoad(CopyTestList);
|
||||
|
||||
bModifyFirstLoad = true;
|
||||
}
|
||||
*/
|
||||
}
|
||||
if (wizardControl.SelectedPageIndex == 1)
|
||||
{
|
||||
|
||||
richTextBoxErr.Clear();
|
||||
|
||||
bool bCheckInformationResult = true;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
lstCopyInsertSetTestListVariant = new List<CVariantInformation>();
|
||||
lstCopyInsertSetTestListVariant.Clear();
|
||||
|
||||
string strItemName = string.Empty;
|
||||
|
||||
try
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc.GetTestListLoadState() == false)
|
||||
throw new Exception("The test list is loading or there is no information on the selected test list.");
|
||||
*/
|
||||
|
||||
int nRowPos = 0;
|
||||
|
||||
foreach (DataRow dr in dtCurrentDataTable.Rows)
|
||||
{
|
||||
string strGetProdP = dr.Field<string>("ProdNo_P");
|
||||
string strGetTestType = dr.Field<string>("TestType");
|
||||
string strGetFileVersion = dr.Field<string>("Version");
|
||||
string strGetProdCode = dr.Field<string>("ProdCode");
|
||||
string strGetFileName = dr.Field<string>("FileName");
|
||||
|
||||
bool bFindVariant = false;
|
||||
|
||||
foreach (string strVariant in strSelectedTestListFileVariantList)
|
||||
{
|
||||
if (strVariant.CompareTo(strGetProdP) == 0)
|
||||
{
|
||||
bFindVariant = true;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (bFindVariant == false)
|
||||
{
|
||||
sb.AppendLine($"<Row : {nRowPos + 1}> P_ProdNo that does not exist in the test-list data(Variant). : {strGetProdP}");
|
||||
|
||||
bCheckInformationResult = false;
|
||||
}
|
||||
|
||||
/*
|
||||
string strGetQueryText = "SELECT * FROM [PROD_Variant] WHERE No IN(SELECT No FROM [PROD_Variant] WHERE [ProdNo_P] = '" + strGetProdP + "' " +
|
||||
"AND [TestType] = '" + strGetTestType + "' " +
|
||||
"AND [Version] = '" + strGetFileVersion + "' " +
|
||||
"AND [FileName] = '" + strGetFileName + "' " +
|
||||
") ORDER BY No ASC;";
|
||||
*/
|
||||
|
||||
//Variant Duplicate Check
|
||||
string strGetQueryText = "SELECT * FROM [PROD_Variant] WHERE No IN(SELECT No FROM [PROD_Variant] WHERE [ProdNo_P] = '" + strGetProdP + "' " +
|
||||
"AND [TestListFileNo] = " + nSelectedTestListFileNo +
|
||||
") ORDER BY No ASC;";
|
||||
|
||||
DataTable dtVariantCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
strGetQueryText = "SELECT No, Name, TestType, Version, ProdCode, FileName FROM [STOR_TestListFile] WHERE No = " + nSelectedTestListFileNo + ";";
|
||||
|
||||
DataTable dtTestListFIleCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtVariantCheck))
|
||||
{
|
||||
bool bExistException = false;
|
||||
|
||||
string strGetTableProdP = dtVariantCheck.Rows[0]["ProdNo_P"].ToString();
|
||||
string strGetTableTestType = dtTestListFIleCheck.Rows[0]["TestType"].ToString();
|
||||
string strGetTableFileVersion = dtTestListFIleCheck.Rows[0]["Version"].ToString();
|
||||
string strGetTableProdCode = dtTestListFIleCheck.Rows[0]["ProdCode"].ToString();
|
||||
string strGetTableFileName = dtTestListFIleCheck.Rows[0]["FileName"].ToString();
|
||||
|
||||
if (strGetProdP.CompareTo(strGetTableProdP) == 0 &&
|
||||
strGetTestType.CompareTo(strGetTableTestType) == 0 &&
|
||||
strGetFileVersion.CompareTo(strGetTableFileVersion) == 0 &&
|
||||
strGetFileName.CompareTo(strGetTableFileName) == 0)
|
||||
bExistException = true;
|
||||
|
||||
if (bExistException)
|
||||
{
|
||||
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_P]-[TestType]-[FileVersion]-[FileName] Combine Key is information that already exists. : " +
|
||||
$"{strGetProdP}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");
|
||||
|
||||
bCheckInformationResult = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string strScanInfo = strGetProdP + strGetTestType + strGetFileVersion + strGetFileName;
|
||||
|
||||
for (int i = 0; i < dtCurrentDataTable.Rows.Count; i++)
|
||||
{
|
||||
if (i == nRowPos)
|
||||
continue;
|
||||
|
||||
string CompareProdNoP = dtCurrentDataTable.Rows[i].Field<string>("ProdNo_P");
|
||||
string CompareTestType = dtCurrentDataTable.Rows[i].Field<string>("TestType");
|
||||
string CompareTestFileVer = dtCurrentDataTable.Rows[i].Field<string>("Version");
|
||||
string CompareFileName = dtCurrentDataTable.Rows[i].Field<string>("FileName");
|
||||
|
||||
string strCompareInfo = CompareProdNoP + CompareTestType + CompareTestFileVer + CompareFileName;
|
||||
|
||||
if (strScanInfo.CompareTo(strCompareInfo) == 0)
|
||||
{
|
||||
sb.AppendLine($"<Row : {nRowPos + 1}> [ProdNo_P]-[TestType]-[FileVersion]-[FileName] Combine Key is information that already exists. in registration waiting list. : " +
|
||||
$"{strGetProdP}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");
|
||||
|
||||
bCheckInformationResult = false;
|
||||
|
||||
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AddResultList(dr);
|
||||
|
||||
nRowPos++;
|
||||
}
|
||||
|
||||
if (bCheckInformationResult == false)
|
||||
throw new Exception("A problem occurred as a result of verification. After checking the details, correct the information and try again.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
richTextBoxErr.AppendText(sb.ToString());
|
||||
|
||||
e.Handled = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
break;
|
||||
}
|
||||
|
||||
RefreshResultGridView();
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool CheckRowSelectInfo(int nIndex)
|
||||
{
|
||||
object objHandle = null;
|
||||
|
||||
bool bCheckResult = true;
|
||||
|
||||
if ((dataGridViewReady.Rows.Count - 1) == nIndex)
|
||||
return false;
|
||||
|
||||
try
|
||||
{
|
||||
objHandle = dataGridViewReady.Rows[nIndex].Cells["No"].Value.ToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
objHandle = null;
|
||||
|
||||
bCheckResult = false;
|
||||
}
|
||||
finally
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
return bCheckResult;
|
||||
}
|
||||
|
||||
private void ClearListSelect()
|
||||
{
|
||||
labelReadyViewInfo.Text = "-";
|
||||
|
||||
nReadyViewSelectRow = -1;
|
||||
}
|
||||
|
||||
private void GetGroupList()
|
||||
{
|
||||
SqlDataReader reader;
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WITH(NOLOCK) ORDER BY No ASC;";
|
||||
|
||||
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(reader);
|
||||
ds.Tables.Add(dt);
|
||||
reader.Close();
|
||||
|
||||
comboBoxGroupList.Items.Clear();
|
||||
|
||||
if (XCommons.isHasRow(ds))
|
||||
{
|
||||
comboBoxGroupList.Items.Add("Select Model Name(Group) ...");
|
||||
comboBoxGroupList.SelectedIndex = 0;
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
comboBoxGroupList.Items.Add(dt.Rows[i]["ModelName"].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckGroupInfo(string strQueryText = "")
|
||||
{
|
||||
SqlDataReader reader;
|
||||
|
||||
if (strQueryText.Length > 0)
|
||||
ctrlDB.GetConnSqlCmd().CommandText = strQueryText;
|
||||
|
||||
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(reader);
|
||||
ds.Tables.Add(dt);
|
||||
reader.Close();
|
||||
|
||||
if (XCommons.isHasRow(ds))
|
||||
{
|
||||
textBoxDispGroupNo.Text = dt.Rows[0][0].ToString();
|
||||
|
||||
nNowSelectGroupNo = Convert.ToInt32(textBoxDispGroupNo.Text);
|
||||
|
||||
textBoxDispGroupName.Text = dt.Rows[0][1].ToString();
|
||||
textBoxDispModelName.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispComment.Text = dt.Rows[0][3].ToString();
|
||||
|
||||
textBoxInputModelName.Text = dt.Rows[0][2].ToString();
|
||||
|
||||
GroupCheckResult = true;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.LimeGreen;
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
nNowSelectGroupNo = -1;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.Red;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private void GridViewSelectedProc(int nRow)
|
||||
{
|
||||
nReadyViewSelectRow = nRow;
|
||||
|
||||
labelReadyViewInfo.Text = "Select Row : " + (nReadyViewSelectRow + 1).ToString();
|
||||
|
||||
if (CheckRowSelectInfo(nReadyViewSelectRow))
|
||||
{
|
||||
;//
|
||||
}
|
||||
else
|
||||
ClearListSelect();
|
||||
}
|
||||
|
||||
private void dataGridViewReady_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
GridViewSelectedProc(e.RowIndex);
|
||||
}
|
||||
|
||||
private void dataGridViewReady_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc.CheckTestListLoad() == false)
|
||||
return;
|
||||
*/
|
||||
|
||||
if (CheckRowSelectInfo(nReadyViewSelectRow))
|
||||
{
|
||||
MakeInformation.ProdNo_P = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["ProdNo_P"].Value.ToString();
|
||||
MakeInformation.TestType = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["TestType"].Value.ToString();
|
||||
MakeInformation.Version = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Version"].Value.ToString();
|
||||
MakeInformation.ProdCode = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["ProdCode"].Value.ToString();
|
||||
MakeInformation.FileName = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["FileName"].Value.ToString();
|
||||
MakeInformation.RegDT = Convert.ToDateTime(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegDT"].Value);
|
||||
MakeInformation.RegUser = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["RegUser"].Value.ToString();
|
||||
MakeInformation.UpdateDT = Convert.ToDateTime(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["UpdateDT"].Value);
|
||||
MakeInformation.UpdateUser = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["UpdateUser"].Value.ToString();
|
||||
MakeInformation.GroupNo = Convert.ToInt32(dataGridViewReady.Rows[nReadyViewSelectRow].Cells["GroupNo"].Value);
|
||||
MakeInformation.Comment = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Comment"].Value.ToString();
|
||||
MakeInformation.Description = dataGridViewReady.Rows[nReadyViewSelectRow].Cells["Description"].Value.ToString();
|
||||
|
||||
textBoxItem1.Text = MakeInformation.ProdNo_P;
|
||||
textBoxItem2.Text = MakeInformation.TestType;
|
||||
textBoxItem3.Text = MakeInformation.Version;
|
||||
textBoxItem4.Text = MakeInformation.ProdCode;
|
||||
|
||||
textBoxItem11.Text = MakeInformation.Comment;
|
||||
|
||||
CheckGroupInfo("SELECT * FROM PROD_Group WHERE No = " + MakeInformation.GroupNo + " ORDER BY No ASC;");
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc.CheckTestListLoad() == false)
|
||||
return;
|
||||
*/
|
||||
|
||||
if (GroupCheckResult == false)
|
||||
return;
|
||||
|
||||
DataRow setMakeDataRows = null;
|
||||
|
||||
setMakeDataRows = dtCurrentDataTable.NewRow();
|
||||
|
||||
setMakeDataRows["No"] = dtCurrentDataTable.Rows.Count + 1;
|
||||
setMakeDataRows["ProdNo_P"] = textBoxItem1.Text;
|
||||
setMakeDataRows["TestType"] = textBoxItem2.Text;
|
||||
setMakeDataRows["Version"] = textBoxItem3.Text;
|
||||
setMakeDataRows["ProdCode"] = textBoxItem4.Text;
|
||||
setMakeDataRows["FileName"] = textBoxItem5.Text;
|
||||
setMakeDataRows["RegDT"] = DateTime.Now;
|
||||
setMakeDataRows["RegUser"] = textBoxItem7.Text;
|
||||
setMakeDataRows["UpdateDT"] = DateTime.Now;
|
||||
setMakeDataRows["UpdateUser"] = textBoxItem9.Text;
|
||||
setMakeDataRows["GroupNo"] = nNowSelectGroupNo;
|
||||
setMakeDataRows["GroupName"] = textBoxDispGroupName.Text;
|
||||
setMakeDataRows["ModelName"] = textBoxDispModelName.Text;
|
||||
setMakeDataRows["Comment"] = textBoxItem11.Text;
|
||||
setMakeDataRows["Description"] = textBoxItem12.Text;
|
||||
|
||||
dtCurrentDataTable.Rows.Add(setMakeDataRows);
|
||||
|
||||
RefreshReadyGridView();
|
||||
}
|
||||
|
||||
private void buttonDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
|
||||
return;
|
||||
|
||||
dtCurrentDataTable.Rows.RemoveAt(nReadyViewSelectRow);
|
||||
|
||||
RefreshReadyGridView();
|
||||
}
|
||||
|
||||
private void buttonModify_Click(object sender, EventArgs e)
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc.CheckTestListLoad() == false)
|
||||
return;
|
||||
*/
|
||||
|
||||
if (nReadyViewSelectRow == -1 || dtCurrentDataTable.Rows.Count <= nReadyViewSelectRow)
|
||||
return;
|
||||
|
||||
if (GroupCheckResult == false)
|
||||
return;
|
||||
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdNo_P", textBoxItem1.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("TestType", textBoxItem2.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Version", textBoxItem3.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ProdCode", textBoxItem4.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("FileName", textBoxItem5.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<DateTime>("RegDT", DateTime.Now);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("RegUser", textBoxItem7.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<DateTime>("UpdateDT", DateTime.Now);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("UpdateUser", textBoxItem9.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<int>("GroupNo", nNowSelectGroupNo);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("GroupName", textBoxDispGroupName.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("ModelName", textBoxDispModelName.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Comment", textBoxItem11.Text);
|
||||
dtCurrentDataTable.Rows[nReadyViewSelectRow].SetField<string>("Description", textBoxItem12.Text);
|
||||
|
||||
RefreshReadyGridView();
|
||||
}
|
||||
|
||||
private void TestListCopyWizard_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc != null)
|
||||
{
|
||||
if (loadTestListProc.CheckTestListLoad() == false)
|
||||
{
|
||||
this.DialogResult = DialogResult.None;
|
||||
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
private void wizardControl_CancelClick(object sender, CancelEventArgs e)
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc != null)
|
||||
{
|
||||
if (loadTestListProc.CheckTestListLoad() == false)
|
||||
{
|
||||
this.DialogResult = DialogResult.None;
|
||||
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
private void buttonGroupChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
/*
|
||||
if (loadTestListProc.CheckTestListLoad() == false)
|
||||
return;
|
||||
*/
|
||||
|
||||
GroupCheckResult = false;
|
||||
|
||||
textBoxDispGroupNo.Text = "";
|
||||
textBoxDispGroupName.Text = "";
|
||||
textBoxDispModelName.Text = "";
|
||||
textBoxDispComment.Text = "";
|
||||
|
||||
CheckGroupInfo("SELECT * FROM PROD_Group WHERE ModelName = '" + textBoxInputModelName.Text + "' ORDER BY No ASC;");
|
||||
}
|
||||
|
||||
private void comboBoxVariant_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxVariant.SelectedIndex > 0)
|
||||
textBoxItem1.Text = comboBoxVariant.Items[comboBoxVariant.SelectedIndex].ToString();
|
||||
}
|
||||
|
||||
private void textBoxInputModelName_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GroupCheckResult = false;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.Yellow;
|
||||
}
|
||||
|
||||
private void comboBoxGroupList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxGroupList.SelectedIndex > 0)
|
||||
{
|
||||
textBoxInputModelName.Text = comboBoxGroupList.Items[comboBoxGroupList.SelectedIndex].ToString();
|
||||
|
||||
GroupCheckResult = false;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
|
||||
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
|
||||
{
|
||||
if (e.Page == wizardPage)
|
||||
{
|
||||
this.ActiveControl = textBoxItem1;
|
||||
|
||||
textBoxItem1.Focus();
|
||||
}
|
||||
else if (e.Page == welcomeWizardPage)
|
||||
{
|
||||
this.ActiveControl = e.NextButton.Button;
|
||||
|
||||
e.NextButton.Button.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
private void dataGridViewReady_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
byte ucGetChar = Convert.ToByte(e.KeyChar);
|
||||
|
||||
switch (ucGetChar)
|
||||
{
|
||||
case 32:
|
||||
if (dataGridViewReady.SelectedRows.Count > 0)
|
||||
{
|
||||
int nRow = dataGridViewReady.SelectedRows[0].Index;
|
||||
|
||||
GridViewSelectedProc(nRow);
|
||||
}
|
||||
break;
|
||||
case 27:
|
||||
this.ActiveControl = buttonDelete;
|
||||
|
||||
buttonDelete.Focus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,783 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.ComboBox;
|
||||
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using SystemX.Common.Archive;
|
||||
|
||||
using CpApplication;
|
||||
using CpApplication.Manager;
|
||||
using CpCommon;
|
||||
using CpTesterPlatform.CpLogUtil;
|
||||
using static PsCommon.PsCommon;
|
||||
|
||||
using PsKGaudi;
|
||||
using PsKGaudi.Parser.PsCCSArea;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn;
|
||||
using PsKGaudi.Parser.MacroModuleSkel;
|
||||
using PsKGaudi.Parser.PsCCSSTDFn.Parameters;
|
||||
using static PsKGaudi.Parser.PsCCS;
|
||||
|
||||
using static CpCommon.ExceptionHandler;
|
||||
|
||||
using static SystemX.Product.ALIS.UI.View.InfoList.UcTestListView;
|
||||
using SystemX.Common;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.InfoList
|
||||
{
|
||||
public partial class TestListVariantInfoEdit : Form
|
||||
{
|
||||
public eSelectMode CurrentWizardMode { internal set; get; }
|
||||
|
||||
private CVariantInformation SelTestListVariantInfo;
|
||||
|
||||
private IDataController ctrlDB;
|
||||
|
||||
private static object objInfoControlNextLock = new object();
|
||||
|
||||
private int nSelectedTestListFileNo;
|
||||
private string[] strSelectedTestListFileVariantList;
|
||||
|
||||
private string strGetModifyProdP;
|
||||
private string strGetModifyTestType;
|
||||
private string strGetModifyFileVersion;
|
||||
private string strGetModifyFileName;
|
||||
|
||||
public enum eSelectMode
|
||||
{
|
||||
Insert = 0,
|
||||
Modify
|
||||
}
|
||||
|
||||
private string strTitle = "PROD TestList-Variant";
|
||||
private string strWizardControl = "PROD TestList-Variant";
|
||||
private string strWelcomeWizard = "Welcome to the PROD TestList-Variant wizard!";
|
||||
private string strWizardPage = "PROD TestList Information";
|
||||
|
||||
public void WizardCancelEvent(object sender, EventArgs e)
|
||||
{
|
||||
if (((bool)sender) == false)
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
private bool TestListFileCheckResult { set; get; } = false;
|
||||
|
||||
private bool GroupCheckResult { set; get; } = false;
|
||||
|
||||
private void GetGroupList()
|
||||
{
|
||||
SqlDataReader reader;
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WITH(NOLOCK) ORDER BY No ASC;";
|
||||
|
||||
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(reader);
|
||||
ds.Tables.Add(dt);
|
||||
reader.Close();
|
||||
|
||||
comboBoxGroupList.Items.Clear();
|
||||
|
||||
if (XCommons.isHasRow(ds))
|
||||
{
|
||||
comboBoxGroupList.Items.Add("Select Model Name(Group) ...");
|
||||
comboBoxGroupList.SelectedIndex = 0;
|
||||
|
||||
for (int i = 0; i < dt.Rows.Count; i++)
|
||||
comboBoxGroupList.Items.Add(dt.Rows[i]["ModelName"].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckGroupInfo()
|
||||
{
|
||||
SqlDataReader reader;
|
||||
reader = ctrlDB.GetConnSqlCmd().ExecuteReader();
|
||||
DataSet ds = new DataSet();
|
||||
DataTable dt = new DataTable();
|
||||
dt.Load(reader);
|
||||
ds.Tables.Add(dt);
|
||||
reader.Close();
|
||||
|
||||
if (XCommons.isHasRow(ds))
|
||||
{
|
||||
textBoxDispGroupNo.Text = dt.Rows[0][0].ToString();
|
||||
textBoxDispGroupName.Text = dt.Rows[0][1].ToString();
|
||||
textBoxDispModelName.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispComment.Text = dt.Rows[0][3].ToString();
|
||||
|
||||
textBoxInputModelName.Text = dt.Rows[0][2].ToString();
|
||||
|
||||
GroupCheckResult = true;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.LimeGreen;
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
textBoxInputModelName.BackColor = Color.Red;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public TestListVariantInfoEdit(IDataController ctrlDB, eSelectMode setMode, CVariantInformation getSelTestListInfo)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.Text = strTitle;
|
||||
wizardControl.Text = strWizardControl;
|
||||
welcomeWizardPage.Text = strWelcomeWizard;
|
||||
wizardPage.Text = strWizardPage;
|
||||
//
|
||||
CurrentWizardMode = setMode;
|
||||
|
||||
SelTestListVariantInfo = getSelTestListInfo;
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
GetGroupList();
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to insert new information into the " + strTitle + " table.";
|
||||
wizardControl.Text = strTitle + " - Insert";
|
||||
this.Text = strTitle + " - Insert";
|
||||
|
||||
textBoxItem6_Picker.Value = SelTestListVariantInfo.RegDT;
|
||||
textBoxItem7.Text = SelTestListVariantInfo.RegUser;
|
||||
textBoxItem8_Picker.Value = SelTestListVariantInfo.UpdateDT;
|
||||
textBoxItem9.Text = SelTestListVariantInfo.UpdateUser;
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
welcomeWizardPage.IntroductionText = "This is the procedure to modify new information in the " + strTitle + " table.";
|
||||
wizardControl.Text = strTitle + " - Modify";
|
||||
this.Text = strTitle + " - Modify";
|
||||
|
||||
textBoxItem1.Text = SelTestListVariantInfo.ProdNo_P;
|
||||
|
||||
textBoxItem6_Picker.Value = SelTestListVariantInfo.RegDT;
|
||||
textBoxItem7.Text = SelTestListVariantInfo.RegUser;
|
||||
textBoxItem8_Picker.Value = SelTestListVariantInfo.UpdateDT;
|
||||
textBoxItem9.Text = SelTestListVariantInfo.UpdateUser;
|
||||
|
||||
strGetModifyProdP = SelTestListVariantInfo.ProdNo_P;
|
||||
strGetModifyTestType = SelTestListVariantInfo.TestType;
|
||||
strGetModifyFileVersion = SelTestListVariantInfo.Version;
|
||||
strGetModifyFileName = SelTestListVariantInfo.FileName;
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WHERE No = " + SelTestListVariantInfo.GroupNo + " ORDER BY No ASC;";
|
||||
|
||||
CheckGroupInfo();
|
||||
|
||||
textBoxItem11.Text = SelTestListVariantInfo.Comment;
|
||||
textBoxItem12.Text = SelTestListVariantInfo.Description;
|
||||
|
||||
//View Modify SHow
|
||||
textBoxModify1.Text = SelTestListVariantInfo.ProdNo_P;
|
||||
textBoxModify2.Text = SelTestListVariantInfo.TestType;
|
||||
textBoxModify3.Text = SelTestListVariantInfo.Version;
|
||||
textBoxModify4.Text = SelTestListVariantInfo.ProdCode;
|
||||
textBoxModify5.Text = SelTestListVariantInfo.FileName;
|
||||
textBoxModify6.Text = textBoxDispGroupName.Text;
|
||||
textBoxModify7.Text = textBoxDispModelName.Text;
|
||||
textBoxModify8.Text = SelTestListVariantInfo.Comment;
|
||||
textBoxModify9.Text = SelTestListVariantInfo.Description;
|
||||
|
||||
textBoxTestListFileNameInput.Text = SelTestListVariantInfo.FileName; //SelTestListVariantInfo.TestListName;
|
||||
textBoxDispInTestType.Text = SelTestListVariantInfo.TestType;
|
||||
textBoxDispInVersion.Text = SelTestListVariantInfo.Version;
|
||||
textBoxDispInProdCode.Text = SelTestListVariantInfo.ProdCode;
|
||||
textBoxDispInFileName.Text = SelTestListVariantInfo.FileName;
|
||||
|
||||
DataTable dtTestList = ScanTestListFileCheck();
|
||||
|
||||
if (XCommons.isHasRow(dtTestList))
|
||||
if (CheckTestListFileInfo(dtTestList))
|
||||
SetVariantList();
|
||||
|
||||
panelModify.Visible = true;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void wizardControl_NextClick(object sender, DevExpress.XtraWizard.WizardCommandButtonClickEventArgs e)
|
||||
{
|
||||
lock (objInfoControlNextLock)
|
||||
{
|
||||
if (wizardControl.SelectedPageIndex == 0)
|
||||
{
|
||||
if (CurrentWizardMode == eSelectMode.Modify)
|
||||
{
|
||||
;//
|
||||
}
|
||||
}
|
||||
else if (wizardControl.SelectedPageIndex == 1)
|
||||
{
|
||||
try
|
||||
{
|
||||
groupBoxTestList.Enabled = false;
|
||||
groupBoxGroup.Enabled = false;
|
||||
|
||||
string strItemName = "";
|
||||
if (textBoxItem1.Text.Length <= 0) { strItemName = "ProdNo_P"; throw new Exception($"The value cannot be null. [" + strItemName + "]"); }
|
||||
|
||||
if (TestListFileCheckResult == false) { strItemName = "TestList File"; throw new Exception($"The value must be input and check. [" + strItemName + "]"); }
|
||||
if (GroupCheckResult == false) { strItemName = "Group No"; throw new Exception($"The value must be input and check. [" + strItemName + "]"); }
|
||||
|
||||
bool bFindVariant = false;
|
||||
foreach (string strVariant in strSelectedTestListFileVariantList)
|
||||
{
|
||||
if (strVariant.CompareTo(textBoxItem1.Text) == 0)
|
||||
{
|
||||
bFindVariant = true;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
string strGetProdP = textBoxItem1.Text;
|
||||
string strGetTestType = textBoxDispInTestType.Text;
|
||||
string strGetFileVersion = textBoxDispInVersion.Text;
|
||||
string strGetFileName = textBoxDispInFileName.Text;
|
||||
|
||||
//Variant Duplicate Check
|
||||
string strGetQueryText = "SELECT * FROM [PROD_Variant] WHERE No IN(SELECT No FROM [PROD_Variant] WHERE [ProdNo_P] = '" + strGetProdP + "' " +
|
||||
"AND [TestListFileNo] = " + nSelectedTestListFileNo +
|
||||
") ORDER BY No ASC;";
|
||||
|
||||
DataTable dtVariantCheck = ctrlDB.GetTable(strGetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtVariantCheck))
|
||||
{
|
||||
bool bExistException = true;
|
||||
|
||||
if (CurrentWizardMode == eSelectMode.Modify)
|
||||
{
|
||||
if (strGetProdP.CompareTo(strGetModifyProdP) == 0 &&
|
||||
strGetTestType.CompareTo(strGetModifyTestType) == 0 &&
|
||||
strGetFileVersion.CompareTo(strGetModifyFileVersion) == 0 &&
|
||||
strGetFileName.CompareTo(strGetModifyFileName) == 0)
|
||||
bExistException = false;
|
||||
}
|
||||
|
||||
if (bExistException)
|
||||
throw new Exception($"ProdNo_P - TestType - FileVersion - FileName Combine Key is information that already exists. : " +
|
||||
$"{strGetProdP}" + " " + $"{strGetTestType}" + " " + $"{strGetFileVersion}" + " " + $"{strGetFileName}");
|
||||
}
|
||||
|
||||
if (bFindVariant == false) { strItemName = "ProdNo_P"; throw new Exception($"P_ProdNo that does not exist in the selected test list." + strItemName); }
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, strTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
e.Handled = true;
|
||||
|
||||
return;
|
||||
}
|
||||
finally
|
||||
{
|
||||
groupBoxTestList.Enabled = true;
|
||||
groupBoxGroup.Enabled = true;
|
||||
}
|
||||
|
||||
SelTestListVariantInfo.TestListFileNo = nSelectedTestListFileNo;
|
||||
SelTestListVariantInfo.TestType = textBoxDispInTestType.Text;
|
||||
SelTestListVariantInfo.Version = textBoxDispInVersion.Text;
|
||||
SelTestListVariantInfo.ProdCode = textBoxDispInProdCode.Text;
|
||||
SelTestListVariantInfo.FileName = textBoxDispInFileName.Text;
|
||||
|
||||
SelTestListVariantInfo.Description = textBoxDispTestListDescription.Text;
|
||||
textBoxItem12.Text = SelTestListVariantInfo.Description;
|
||||
|
||||
richTextBoxDisp.Clear();
|
||||
int nNumPos = 1;
|
||||
foreach (string strVariant in strSelectedTestListFileVariantList)
|
||||
{
|
||||
richTextBoxDisp.AppendText(nNumPos.ToString("D3") + ": " + strVariant + "\r\n");
|
||||
nNumPos++;
|
||||
}
|
||||
|
||||
labelControlInfo1.Text = textBoxItem1.Text;
|
||||
labelControlInfo2.Text = SelTestListVariantInfo.TestType;
|
||||
labelControlInfo3.Text = SelTestListVariantInfo.Version;
|
||||
labelControlInfo4.Text = SelTestListVariantInfo.ProdCode;
|
||||
labelControlInfo5.Text = SelTestListVariantInfo.FileName;
|
||||
|
||||
labelControlInfo6.Text = textBoxItem6_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo7.Text = textBoxItem7.Text;
|
||||
|
||||
labelControlInfo8.Text = textBoxItem8_Picker.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo8Sub.Text = ctrlDB.GetServerDateTimeString(); //DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
labelControlInfo9.Text = textBoxItem9.Text;
|
||||
labelControlInfo9Sub.Text = ctrlDB.GetLoginInfo().UserID;
|
||||
|
||||
string strGetItemNum = textBoxDispGroupNo.Text; //textBoxItem10_Combo.SelectedItem.ToString().Split('|')[0].Remove(0, 2);
|
||||
int igroupSetNum = Commons.ConvertTextToTryValue<int>(strGetItemNum, -1);
|
||||
|
||||
//textBoxItem10_Combo.SelectedItem.ToString();
|
||||
labelControlInfo10.Text = igroupSetNum.ToString() + " " +
|
||||
|
||||
textBoxDispGroupNo.Text + " " +
|
||||
textBoxDispGroupName.Text + " " +
|
||||
textBoxDispModelName.Text + " " +
|
||||
textBoxDispComment.Text;
|
||||
|
||||
labelControlInfo11.Text = textBoxItem11.Text;
|
||||
labelControlInfo12.Text = textBoxItem12.Text;
|
||||
|
||||
switch (CurrentWizardMode)
|
||||
{
|
||||
case eSelectMode.Insert:
|
||||
SelTestListVariantInfo.UpdateDT = textBoxItem8_Picker.Value;
|
||||
SelTestListVariantInfo.UpdateUser = textBoxItem9.Text;
|
||||
break;
|
||||
case eSelectMode.Modify:
|
||||
SelTestListVariantInfo.UpdateDT = Convert.ToDateTime(labelControlInfo8Sub.Text);
|
||||
SelTestListVariantInfo.UpdateUser = labelControlInfo9Sub.Text;
|
||||
break;
|
||||
}
|
||||
|
||||
SelTestListVariantInfo.ProdNo_P = textBoxItem1.Text;
|
||||
|
||||
SelTestListVariantInfo.RegDT = textBoxItem6_Picker.Value;
|
||||
SelTestListVariantInfo.RegUser = textBoxItem7.Text;
|
||||
SelTestListVariantInfo.GroupNo = igroupSetNum;
|
||||
SelTestListVariantInfo.Comment = textBoxItem11.Text;
|
||||
SelTestListVariantInfo.Description = textBoxItem12.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonGroupChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
GroupCheckResult = false;
|
||||
|
||||
textBoxDispGroupNo.Text = "";
|
||||
textBoxDispGroupName.Text = "";
|
||||
textBoxDispModelName.Text = "";
|
||||
textBoxDispComment.Text = "";
|
||||
|
||||
ctrlDB.GetConnSqlCmd().CommandText = "SELECT * FROM PROD_Group WHERE ModelName = '" + textBoxInputModelName.Text + "' ORDER BY No ASC;";
|
||||
|
||||
CheckGroupInfo();
|
||||
}
|
||||
|
||||
private void wizardControl_CancelClick(object sender, CancelEventArgs e)
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
private void TestListInfoEdit_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
private void comboBoxVariant_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxVariant.SelectedIndex > 0)
|
||||
textBoxItem1.Text = comboBoxVariant.Items[comboBoxVariant.SelectedIndex].ToString();
|
||||
}
|
||||
|
||||
private void textBoxInputModelName_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GroupCheckResult = false;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.Yellow;
|
||||
}
|
||||
|
||||
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBoxGroupList.SelectedIndex > 0)
|
||||
{
|
||||
textBoxInputModelName.Text = comboBoxGroupList.Items[comboBoxGroupList.SelectedIndex].ToString();
|
||||
|
||||
GroupCheckResult = false;
|
||||
|
||||
textBoxInputModelName.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
|
||||
private void wizardControl_CustomizeCommandButtons(object sender, DevExpress.XtraWizard.CustomizeCommandButtonsEventArgs e)
|
||||
{
|
||||
if (e.Page == wizardPage)
|
||||
{
|
||||
this.ActiveControl = textBoxItem1;
|
||||
|
||||
textBoxItem1.Focus();
|
||||
}
|
||||
else if (e.Page == welcomeWizardPage)
|
||||
{
|
||||
this.ActiveControl = e.NextButton.Button;
|
||||
|
||||
e.NextButton.Button.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckTestListFileInfo(DataTable dt)
|
||||
{
|
||||
if (XCommons.isHasRow(dt) == false)
|
||||
{
|
||||
textBoxTestListFileNameInput.BackColor = Color.Red;
|
||||
textBoxDispInTestType.BackColor = Color.Red;
|
||||
textBoxDispInVersion.BackColor = Color.Red;
|
||||
textBoxDispInProdCode.BackColor = Color.Red;
|
||||
textBoxDispInFileName.BackColor = Color.Red;
|
||||
|
||||
textBoxDispInTestType.ReadOnly = false;
|
||||
textBoxDispInVersion.ReadOnly = false;
|
||||
textBoxDispInProdCode.ReadOnly = false;
|
||||
textBoxDispInFileName.ReadOnly = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
textBoxDispTestListNo.Text = dt.Rows[0][0].ToString();
|
||||
|
||||
nSelectedTestListFileNo = int.MaxValue;
|
||||
int.TryParse(textBoxDispTestListNo.Text, out nSelectedTestListFileNo);
|
||||
|
||||
//textBoxTestListFileNameInput.Text = dt.Rows[0][5].ToString(); //dt.Rows[0][1].ToString();
|
||||
|
||||
textBoxDispInTestType.Text = dt.Rows[0][2].ToString();
|
||||
textBoxDispInVersion.Text = dt.Rows[0][3].ToString();
|
||||
textBoxDispInProdCode.Text = dt.Rows[0][4].ToString();
|
||||
textBoxDispInFileName.Text = dt.Rows[0][5].ToString();
|
||||
textBoxDispTestListComment.Text = dt.Rows[0][6].ToString();
|
||||
textBoxDispTestListDescription.Text = dt.Rows[0][7].ToString();
|
||||
|
||||
textBoxTestListFileNameInput.Text = dt.Rows[0][5].ToString(); //dt.Rows[0][1].ToString();
|
||||
|
||||
TestListFileCheckResult = true;
|
||||
|
||||
textBoxTestListFileNameInput.BackColor = Color.LimeGreen;
|
||||
textBoxDispInTestType.BackColor = Color.LimeGreen;
|
||||
textBoxDispInVersion.BackColor = Color.LimeGreen;
|
||||
textBoxDispInProdCode.BackColor = Color.LimeGreen;
|
||||
textBoxDispInFileName.BackColor = Color.LimeGreen;
|
||||
|
||||
textBoxDispInTestType.ReadOnly = true;
|
||||
textBoxDispInVersion.ReadOnly = true;
|
||||
textBoxDispInProdCode.ReadOnly = true;
|
||||
textBoxDispInFileName.ReadOnly = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void checkBoxAutoComplete_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBoxAutoComplete.Checked == false)
|
||||
{
|
||||
textBoxTestListFileNameInput.AutoCompleteCustomSource = null;
|
||||
textBoxTestListFileNameInput.AutoCompleteMode = AutoCompleteMode.None;
|
||||
textBoxTestListFileNameInput.AutoCompleteSource = AutoCompleteSource.None;
|
||||
}
|
||||
else
|
||||
{
|
||||
//DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, Name FROM [STOR_TestListFile] ORDER BY No ASC;");
|
||||
DataTable dtProdNoP = ctrlDB.GetTable("SELECT No, FileName FROM [STOR_TestListFile] ORDER BY No ASC;");
|
||||
|
||||
if (dtProdNoP == null)
|
||||
return;
|
||||
|
||||
/*
|
||||
int nDataPos = 0;
|
||||
|
||||
string[] strData = new string[dtProdNoP.Rows.Count];
|
||||
|
||||
foreach(DataRow dr in dtProdNoP.Rows)
|
||||
{
|
||||
strData[nDataPos] = dr["Name"].ToString();
|
||||
|
||||
nDataPos++;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
string[] postSource = dtProdNoP
|
||||
.AsEnumerable()
|
||||
.Select<System.Data.DataRow, string>(x => x.Field<string>("Name"))
|
||||
.ToArray();
|
||||
*/
|
||||
|
||||
string[] postSource = dtProdNoP
|
||||
.AsEnumerable()
|
||||
.Select<System.Data.DataRow, string>(x => x.Field<string>("FileName"))
|
||||
.ToArray();
|
||||
|
||||
var source = new AutoCompleteStringCollection();
|
||||
|
||||
source.AddRange(postSource);
|
||||
|
||||
textBoxTestListFileNameInput.AutoCompleteCustomSource = source;
|
||||
|
||||
textBoxTestListFileNameInput.AutoCompleteMode = AutoCompleteMode.Suggest;
|
||||
textBoxTestListFileNameInput.AutoCompleteSource = AutoCompleteSource.CustomSource;
|
||||
}
|
||||
}
|
||||
|
||||
private DataTable ScanTestListFileCheck()
|
||||
{
|
||||
string strSetQueryText = "SELECT No, Name, TestType, Version, ProdCode, FileName, Comment, Description FROM [STOR_TestListFile] " +
|
||||
"WHERE ";
|
||||
|
||||
string strSetQueryEndText = "ORDER BY No ASC;";
|
||||
|
||||
bool bFirstAdded = true;
|
||||
|
||||
if (textBoxTestListFileNameInput.Text.Length > 0)
|
||||
{
|
||||
//strSetQueryText += "AND ";
|
||||
strSetQueryText += "FileName = '" + textBoxTestListFileNameInput.Text + "' ";
|
||||
|
||||
bFirstAdded = false;
|
||||
}
|
||||
if (textBoxDispInTestType.Text.Length > 0)
|
||||
{
|
||||
if (bFirstAdded == false)
|
||||
strSetQueryText += "AND ";
|
||||
|
||||
strSetQueryText += "TestType = '" + textBoxDispInTestType.Text + "' ";
|
||||
|
||||
bFirstAdded = false;
|
||||
}
|
||||
if (textBoxDispInVersion.Text.Length > 0)
|
||||
{
|
||||
if (bFirstAdded == false)
|
||||
strSetQueryText += "AND ";
|
||||
|
||||
strSetQueryText += "Version = '" + textBoxDispInVersion.Text + "' ";
|
||||
|
||||
bFirstAdded = false;
|
||||
}
|
||||
if (textBoxDispInProdCode.Text.Length > 0)
|
||||
{
|
||||
if (bFirstAdded == false)
|
||||
strSetQueryText += "AND ";
|
||||
|
||||
strSetQueryText += "ProdCode = '" + textBoxDispInProdCode.Text + "' ";
|
||||
|
||||
bFirstAdded = false;
|
||||
}
|
||||
/*
|
||||
if (textBoxDispInFileName.Text.Length > 0)
|
||||
{
|
||||
strSetQueryText += "AND ";
|
||||
strSetQueryText += "FileName = '" + textBoxDispInFileName.Text + "' ";
|
||||
}
|
||||
*/
|
||||
if (textBoxDispTestListNo.ReadOnly == false)
|
||||
{
|
||||
if (textBoxDispTestListNo.Text.Length > 0)
|
||||
{
|
||||
if (bFirstAdded == false)
|
||||
strSetQueryText += "AND ";
|
||||
|
||||
strSetQueryText += "No = " + textBoxDispTestListNo.Text + " ";
|
||||
|
||||
bFirstAdded = false;
|
||||
}
|
||||
}
|
||||
|
||||
strSetQueryText += strSetQueryEndText;
|
||||
|
||||
DataTable dtTestList = ctrlDB.GetTable(strSetQueryText);
|
||||
|
||||
return dtTestList;
|
||||
}
|
||||
|
||||
private void SetVariantList()
|
||||
{
|
||||
comboBoxVariant.BeginUpdate();
|
||||
comboBoxVariant.Items.Clear();
|
||||
comboBoxVariant.Refresh();
|
||||
comboBoxVariant.Items.Add("Select Variant ...");
|
||||
|
||||
string strSetQueryText = "SELECT * FROM [HIST_TestListFileVariantList] AS X WHERE TestListFileNo = " + nSelectedTestListFileNo + ";";
|
||||
|
||||
DataTable dtVariantList = ctrlDB.GetTable(strSetQueryText);
|
||||
|
||||
if (XCommons.isHasRow(dtVariantList))
|
||||
{
|
||||
strSelectedTestListFileVariantList = dtVariantList.Rows[0]["VariantList"].ToString().Split(';');
|
||||
foreach (string strVariant in strSelectedTestListFileVariantList)
|
||||
comboBoxVariant.Items.Add(strVariant);
|
||||
|
||||
comboBoxVariant.SelectedIndex = 0;
|
||||
comboBoxVariant.EndUpdate();
|
||||
|
||||
comboBoxVariant.Visible = true;
|
||||
|
||||
textBoxItem12.Text = textBoxDispTestListDescription.Text;
|
||||
}
|
||||
else
|
||||
TestListFileCheckResult = false;
|
||||
}
|
||||
|
||||
private void buttonTestListFileChk_Click(object sender, EventArgs e)
|
||||
{
|
||||
TestListFileCheckResult = false;
|
||||
|
||||
if (textBoxDispTestListNo.ReadOnly == true)
|
||||
textBoxDispTestListNo.Text = "";
|
||||
|
||||
textBoxDispTestListComment.Text = "";
|
||||
textBoxDispTestListDescription.Text = "";
|
||||
|
||||
string strSetQueryText = string.Empty;
|
||||
|
||||
DataTable dtTestList = ScanTestListFileCheck();
|
||||
|
||||
if (XCommons.isHasRow(dtTestList))
|
||||
{
|
||||
if (CheckTestListFileInfo(dtTestList))
|
||||
{
|
||||
SetVariantList();
|
||||
|
||||
AllTextReadOnlyOn();
|
||||
}
|
||||
}
|
||||
|
||||
EnabledTestListFileSelect(TestListFileCheckResult);
|
||||
}
|
||||
|
||||
private void EnabledTestListFileSelect(bool bSetCheckResult)
|
||||
{
|
||||
if (bSetCheckResult)
|
||||
{
|
||||
this.ActiveControl = textBoxItem1;
|
||||
|
||||
textBoxItem1.Focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ActiveControl = textBoxTestListFileNameInput;
|
||||
|
||||
textBoxTestListFileNameInput.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
private void textBoxTestListFileNameInput_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestListFileCheckResult = false;
|
||||
|
||||
textBoxTestListFileNameInput.BackColor = Color.Yellow;
|
||||
|
||||
textBoxDispInTestType.Text = "";
|
||||
textBoxDispInVersion.Text = "";
|
||||
textBoxDispInProdCode.Text = "";
|
||||
textBoxDispInFileName.Text = "";
|
||||
|
||||
EnabledTestListFileSelect(false);
|
||||
}
|
||||
|
||||
private void AllTextReadOnlyOn()
|
||||
{
|
||||
if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
|
||||
if (textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
|
||||
if (textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
|
||||
if (textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
|
||||
if (textBoxDispTestListNo.ReadOnly == false) textBoxDispTestListNo.ReadOnly = true;
|
||||
}
|
||||
|
||||
private bool textReadOnlyCheck()
|
||||
{
|
||||
if (textBoxDispInTestType.ReadOnly == false) return false;
|
||||
if (textBoxDispInVersion.ReadOnly == false) return false;
|
||||
if (textBoxDispInProdCode.ReadOnly == false) return false;
|
||||
if (textBoxDispInFileName.ReadOnly == false) return false;
|
||||
if (textBoxDispTestListNo.ReadOnly == false) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void textBoxDispIn_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TestListFileCheckResult = false;
|
||||
|
||||
textBoxTestListFileNameInput.BackColor = Color.Yellow;
|
||||
|
||||
if(textReadOnlyCheck())
|
||||
EnabledTestListFileSelect(false);
|
||||
}
|
||||
|
||||
private void textBoxDispIn_ReadOnlyChanged(object sender, EventArgs e)
|
||||
{
|
||||
int nTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
bool bReadOnly = ((TextBox)sender).ReadOnly;
|
||||
|
||||
switch (nTag)
|
||||
{
|
||||
case 0:
|
||||
if (bReadOnly) button1.BackColor = Color.Transparent;
|
||||
else button1.BackColor = Color.Yellow; textBoxDispInTestType.Focus();
|
||||
break;
|
||||
case 1:
|
||||
if (bReadOnly) button2.BackColor = Color.Transparent;
|
||||
else button2.BackColor = Color.Yellow; textBoxDispInVersion.Focus();
|
||||
break;
|
||||
case 2:
|
||||
if (bReadOnly) button3.BackColor = Color.Transparent;
|
||||
else button3.BackColor = Color.Yellow; textBoxDispInProdCode.Focus();
|
||||
break;
|
||||
case 3:
|
||||
if (bReadOnly) button4.BackColor = Color.Transparent;
|
||||
else button4.BackColor = Color.Yellow; textBoxDispInFileName.Focus();
|
||||
break;
|
||||
case 4:
|
||||
if (bReadOnly) button5.BackColor = Color.Transparent;
|
||||
else button5.BackColor = Color.Yellow; textBoxDispTestListNo.Focus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void button_Click(object sender, EventArgs e)
|
||||
{
|
||||
int nTag = Convert.ToInt32(((Control)sender).Tag);
|
||||
|
||||
switch (nTag)
|
||||
{
|
||||
case 0:
|
||||
if (textBoxDispInTestType.ReadOnly) textBoxDispInTestType.ReadOnly = false;
|
||||
else if (textBoxDispInTestType.ReadOnly == false) textBoxDispInTestType.ReadOnly = true;
|
||||
break;
|
||||
case 1:
|
||||
if (textBoxDispInVersion.ReadOnly) textBoxDispInVersion.ReadOnly = false;
|
||||
else if (textBoxDispInVersion.ReadOnly == false) textBoxDispInVersion.ReadOnly = true;
|
||||
break;
|
||||
case 2:
|
||||
if (textBoxDispInProdCode.ReadOnly) textBoxDispInProdCode.ReadOnly = false;
|
||||
else if (textBoxDispInProdCode.ReadOnly == false) textBoxDispInProdCode.ReadOnly = true;
|
||||
break;
|
||||
case 3:
|
||||
if (textBoxDispInFileName.ReadOnly) textBoxDispInFileName.ReadOnly = false;
|
||||
else if (textBoxDispInFileName.ReadOnly == false) textBoxDispInFileName.ReadOnly = true;
|
||||
break;
|
||||
case 4:
|
||||
if (textBoxDispTestListNo.ReadOnly) textBoxDispTestListNo.ReadOnly = false;
|
||||
else if (textBoxDispTestListNo.ReadOnly == false) textBoxDispTestListNo.ReadOnly = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="openFileDialogTestList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
562
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/UcBaseView.Designer.cs
generated
Normal file
562
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/UcBaseView.Designer.cs
generated
Normal file
@ -0,0 +1,562 @@
|
||||
namespace SystemX.Product.ALIS.UI.View.Base
|
||||
{
|
||||
partial class UcBaseView
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UcBaseView));
|
||||
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.ViewgridControl = new DevExpress.XtraGrid.GridControl();
|
||||
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.toolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.gridHistView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.groupControlDtlData = new DevExpress.XtraEditors.GroupControl();
|
||||
this.layoutControl21 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.simpleButtonDataMod = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.simpleButtonHost = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.layoutControlGroup11 = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
|
||||
this.layoutControlItemDataMod = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.groupControlModelOption = new DevExpress.XtraEditors.GroupControl();
|
||||
this.layoutControl31 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.simpleButtonModify1 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.simpleButtonRegister1 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.layoutControlGroup22 = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.layoutControlItem131 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem141 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.simpleLabelItemSelectRow = new DevExpress.XtraLayout.SimpleLabelItem();
|
||||
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItemModelMod = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
||||
this.layoutControl1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.ViewgridControl)).BeginInit();
|
||||
this.contextMenuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridHistView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.groupControlDtlData)).BeginInit();
|
||||
this.groupControlDtlData.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl21)).BeginInit();
|
||||
this.layoutControl21.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDataMod)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.groupControlModelOption)).BeginInit();
|
||||
this.groupControlModelOption.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl31)).BeginInit();
|
||||
this.layoutControl31.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup22)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem131)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem141)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemSelectRow)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemModelMod)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// layoutControl1
|
||||
//
|
||||
this.layoutControl1.Controls.Add(this.ViewgridControl);
|
||||
this.layoutControl1.Controls.Add(this.groupControlDtlData);
|
||||
this.layoutControl1.Controls.Add(this.groupControlModelOption);
|
||||
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.layoutControl1.Name = "layoutControl1";
|
||||
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(825, 313, 650, 400);
|
||||
this.layoutControl1.Root = this.Root;
|
||||
this.layoutControl1.Size = new System.Drawing.Size(1258, 693);
|
||||
this.layoutControl1.TabIndex = 0;
|
||||
this.layoutControl1.Text = "layoutControl1";
|
||||
//
|
||||
// ViewgridControl
|
||||
//
|
||||
this.ViewgridControl.ContextMenuStrip = this.contextMenuStrip;
|
||||
this.ViewgridControl.Cursor = System.Windows.Forms.Cursors.AppStarting;
|
||||
this.ViewgridControl.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3);
|
||||
gridLevelNode1.RelationName = "Level1";
|
||||
this.ViewgridControl.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
|
||||
gridLevelNode1});
|
||||
this.ViewgridControl.Location = new System.Drawing.Point(293, 138);
|
||||
this.ViewgridControl.MainView = this.gridHistView;
|
||||
this.ViewgridControl.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3);
|
||||
this.ViewgridControl.Name = "ViewgridControl";
|
||||
this.ViewgridControl.Size = new System.Drawing.Size(953, 543);
|
||||
this.ViewgridControl.TabIndex = 8;
|
||||
this.ViewgridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gridHistView,
|
||||
this.gridView});
|
||||
//
|
||||
// contextMenuStrip
|
||||
//
|
||||
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripMenuItem});
|
||||
this.contextMenuStrip.Name = "contextMenuStrip";
|
||||
this.contextMenuStrip.Size = new System.Drawing.Size(137, 26);
|
||||
this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
|
||||
this.contextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip_ItemClicked);
|
||||
//
|
||||
// toolStripMenuItem
|
||||
//
|
||||
this.toolStripMenuItem.Name = "toolStripMenuItem";
|
||||
this.toolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.toolStripMenuItem.Text = "Delete Item";
|
||||
//
|
||||
// gridHistView
|
||||
//
|
||||
this.gridHistView.DetailHeight = 440;
|
||||
this.gridHistView.GridControl = this.ViewgridControl;
|
||||
this.gridHistView.Name = "gridHistView";
|
||||
this.gridHistView.OptionsBehavior.Editable = false;
|
||||
this.gridHistView.OptionsView.AllowHtmlDrawGroups = false;
|
||||
this.gridHistView.OptionsView.ShowGroupPanel = false;
|
||||
this.gridHistView.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.gridHistView_RowClick);
|
||||
this.gridHistView.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gridHistView_RowCellClick);
|
||||
//
|
||||
// gridView
|
||||
//
|
||||
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn14,
|
||||
this.gridColumn15,
|
||||
this.gridColumn16,
|
||||
this.gridColumn17,
|
||||
this.gridColumn18,
|
||||
this.gridColumn19});
|
||||
this.gridView.DetailHeight = 440;
|
||||
this.gridView.GridControl = this.ViewgridControl;
|
||||
this.gridView.Name = "gridView";
|
||||
//
|
||||
// gridColumn14
|
||||
//
|
||||
this.gridColumn14.FieldName = "No";
|
||||
this.gridColumn14.MinWidth = 25;
|
||||
this.gridColumn14.Name = "gridColumn14";
|
||||
this.gridColumn14.Visible = true;
|
||||
this.gridColumn14.VisibleIndex = 0;
|
||||
this.gridColumn14.Width = 99;
|
||||
//
|
||||
// gridColumn15
|
||||
//
|
||||
this.gridColumn15.FieldName = "PalletNumber";
|
||||
this.gridColumn15.MinWidth = 25;
|
||||
this.gridColumn15.Name = "gridColumn15";
|
||||
this.gridColumn15.Visible = true;
|
||||
this.gridColumn15.VisibleIndex = 1;
|
||||
this.gridColumn15.Width = 99;
|
||||
//
|
||||
// gridColumn16
|
||||
//
|
||||
this.gridColumn16.FieldName = "PalletID";
|
||||
this.gridColumn16.MinWidth = 25;
|
||||
this.gridColumn16.Name = "gridColumn16";
|
||||
this.gridColumn16.Visible = true;
|
||||
this.gridColumn16.VisibleIndex = 2;
|
||||
this.gridColumn16.Width = 99;
|
||||
//
|
||||
// gridColumn17
|
||||
//
|
||||
this.gridColumn17.FieldName = "UpdateDT";
|
||||
this.gridColumn17.MinWidth = 25;
|
||||
this.gridColumn17.Name = "gridColumn17";
|
||||
this.gridColumn17.Visible = true;
|
||||
this.gridColumn17.VisibleIndex = 3;
|
||||
this.gridColumn17.Width = 99;
|
||||
//
|
||||
// gridColumn18
|
||||
//
|
||||
this.gridColumn18.FieldName = "Revision";
|
||||
this.gridColumn18.MinWidth = 25;
|
||||
this.gridColumn18.Name = "gridColumn18";
|
||||
this.gridColumn18.Visible = true;
|
||||
this.gridColumn18.VisibleIndex = 4;
|
||||
this.gridColumn18.Width = 99;
|
||||
//
|
||||
// gridColumn19
|
||||
//
|
||||
this.gridColumn19.FieldName = "Description";
|
||||
this.gridColumn19.MinWidth = 25;
|
||||
this.gridColumn19.Name = "gridColumn19";
|
||||
this.gridColumn19.Visible = true;
|
||||
this.gridColumn19.VisibleIndex = 5;
|
||||
this.gridColumn19.Width = 99;
|
||||
//
|
||||
// groupControlDtlData
|
||||
//
|
||||
this.groupControlDtlData.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.groupControlDtlData.AppearanceCaption.Options.UseFont = true;
|
||||
this.groupControlDtlData.Controls.Add(this.layoutControl21);
|
||||
this.groupControlDtlData.Location = new System.Drawing.Point(12, 138);
|
||||
this.groupControlDtlData.Name = "groupControlDtlData";
|
||||
this.groupControlDtlData.Size = new System.Drawing.Size(277, 543);
|
||||
this.groupControlDtlData.TabIndex = 5;
|
||||
this.groupControlDtlData.Text = "Detail Data";
|
||||
//
|
||||
// layoutControl21
|
||||
//
|
||||
this.layoutControl21.Controls.Add(this.simpleButtonDataMod);
|
||||
this.layoutControl21.Controls.Add(this.simpleButtonHost);
|
||||
this.layoutControl21.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.layoutControl21.Location = new System.Drawing.Point(2, 23);
|
||||
this.layoutControl21.Name = "layoutControl21";
|
||||
this.layoutControl21.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(299, 288, 650, 400);
|
||||
this.layoutControl21.Root = this.layoutControlGroup11;
|
||||
this.layoutControl21.Size = new System.Drawing.Size(273, 518);
|
||||
this.layoutControl21.TabIndex = 0;
|
||||
this.layoutControl21.Text = "layoutControl2";
|
||||
//
|
||||
// simpleButtonDataMod
|
||||
//
|
||||
this.simpleButtonDataMod.Appearance.BackColor = System.Drawing.Color.Chocolate;
|
||||
this.simpleButtonDataMod.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButtonDataMod.Appearance.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.simpleButtonDataMod.Appearance.Options.UseBackColor = true;
|
||||
this.simpleButtonDataMod.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonDataMod.Appearance.Options.UseForeColor = true;
|
||||
this.simpleButtonDataMod.Appearance.Options.UseTextOptions = true;
|
||||
this.simpleButtonDataMod.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
|
||||
this.simpleButtonDataMod.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.simpleButtonDataMod.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonDataMod.ImageOptions.SvgImage")));
|
||||
this.simpleButtonDataMod.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
|
||||
this.simpleButtonDataMod.Location = new System.Drawing.Point(12, 483);
|
||||
this.simpleButtonDataMod.Name = "simpleButtonDataMod";
|
||||
this.simpleButtonDataMod.Size = new System.Drawing.Size(249, 23);
|
||||
this.simpleButtonDataMod.StyleController = this.layoutControl21;
|
||||
this.simpleButtonDataMod.TabIndex = 15;
|
||||
this.simpleButtonDataMod.Text = " Data Modification";
|
||||
this.simpleButtonDataMod.Click += new System.EventHandler(this.simpleButtonDataMod_Click);
|
||||
//
|
||||
// simpleButtonHost
|
||||
//
|
||||
this.simpleButtonHost.Appearance.BackColor = System.Drawing.Color.PaleTurquoise;
|
||||
this.simpleButtonHost.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButtonHost.Appearance.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.simpleButtonHost.Appearance.Options.UseBackColor = true;
|
||||
this.simpleButtonHost.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonHost.Appearance.Options.UseForeColor = true;
|
||||
this.simpleButtonHost.Appearance.Options.UseTextOptions = true;
|
||||
this.simpleButtonHost.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
|
||||
this.simpleButtonHost.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.simpleButtonHost.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonHost.ImageOptions.SvgImage")));
|
||||
this.simpleButtonHost.ImageOptions.SvgImageSize = new System.Drawing.Size(13, 13);
|
||||
this.simpleButtonHost.Location = new System.Drawing.Point(12, 12);
|
||||
this.simpleButtonHost.Name = "simpleButtonHost";
|
||||
this.simpleButtonHost.Size = new System.Drawing.Size(249, 23);
|
||||
this.simpleButtonHost.StyleController = this.layoutControl21;
|
||||
this.simpleButtonHost.TabIndex = 4;
|
||||
this.simpleButtonHost.Text = " List: -";
|
||||
this.simpleButtonHost.Click += new System.EventHandler(this.simpleButtonViewList_Click);
|
||||
//
|
||||
// layoutControlGroup11
|
||||
//
|
||||
this.layoutControlGroup11.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.layoutControlGroup11.GroupBordersVisible = false;
|
||||
this.layoutControlGroup11.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.layoutControlItem4,
|
||||
this.splitterItem1,
|
||||
this.layoutControlItemDataMod});
|
||||
this.layoutControlGroup11.Name = "Root";
|
||||
this.layoutControlGroup11.Size = new System.Drawing.Size(273, 518);
|
||||
this.layoutControlGroup11.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem4
|
||||
//
|
||||
this.layoutControlItem4.Control = this.simpleButtonHost;
|
||||
this.layoutControlItem4.CustomizationFormText = "layoutControlItemHost";
|
||||
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControlItem4.Name = "layoutControlItem4";
|
||||
this.layoutControlItem4.Size = new System.Drawing.Size(253, 27);
|
||||
this.layoutControlItem4.Text = "layoutControlItemHost";
|
||||
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem4.TextVisible = false;
|
||||
//
|
||||
// splitterItem1
|
||||
//
|
||||
this.splitterItem1.AllowHotTrack = true;
|
||||
this.splitterItem1.Location = new System.Drawing.Point(0, 27);
|
||||
this.splitterItem1.Name = "splitterItem1";
|
||||
this.splitterItem1.Size = new System.Drawing.Size(253, 444);
|
||||
//
|
||||
// layoutControlItemDataMod
|
||||
//
|
||||
this.layoutControlItemDataMod.Control = this.simpleButtonDataMod;
|
||||
this.layoutControlItemDataMod.Location = new System.Drawing.Point(0, 471);
|
||||
this.layoutControlItemDataMod.Name = "layoutControlItemDataMod";
|
||||
this.layoutControlItemDataMod.Size = new System.Drawing.Size(253, 27);
|
||||
this.layoutControlItemDataMod.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItemDataMod.TextVisible = false;
|
||||
this.layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
||||
//
|
||||
// groupControlModelOption
|
||||
//
|
||||
this.groupControlModelOption.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.groupControlModelOption.AppearanceCaption.Options.UseFont = true;
|
||||
this.groupControlModelOption.Controls.Add(this.layoutControl31);
|
||||
this.groupControlModelOption.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupControlModelOption.Name = "groupControlModelOption";
|
||||
this.groupControlModelOption.Size = new System.Drawing.Size(1234, 122);
|
||||
this.groupControlModelOption.TabIndex = 6;
|
||||
this.groupControlModelOption.Text = "Management";
|
||||
//
|
||||
// layoutControl31
|
||||
//
|
||||
this.layoutControl31.Controls.Add(this.simpleButtonModify1);
|
||||
this.layoutControl31.Controls.Add(this.simpleButtonRegister1);
|
||||
this.layoutControl31.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.layoutControl31.Location = new System.Drawing.Point(2, 23);
|
||||
this.layoutControl31.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.layoutControl31.Name = "layoutControl31";
|
||||
this.layoutControl31.Root = this.layoutControlGroup22;
|
||||
this.layoutControl31.Size = new System.Drawing.Size(1230, 97);
|
||||
this.layoutControl31.TabIndex = 0;
|
||||
this.layoutControl31.Text = "layoutControl3";
|
||||
//
|
||||
// simpleButtonModify1
|
||||
//
|
||||
this.simpleButtonModify1.Appearance.BackColor = System.Drawing.Color.MintCream;
|
||||
this.simpleButtonModify1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButtonModify1.Appearance.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.simpleButtonModify1.Appearance.Options.UseBackColor = true;
|
||||
this.simpleButtonModify1.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonModify1.Appearance.Options.UseForeColor = true;
|
||||
this.simpleButtonModify1.Appearance.Options.UseTextOptions = true;
|
||||
this.simpleButtonModify1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.simpleButtonModify1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.simpleButtonModify1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
|
||||
this.simpleButtonModify1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonModify1.ImageOptions.SvgImage")));
|
||||
this.simpleButtonModify1.ImageOptions.SvgImageSize = new System.Drawing.Size(32, 32);
|
||||
this.simpleButtonModify1.Location = new System.Drawing.Point(175, 1);
|
||||
this.simpleButtonModify1.Name = "simpleButtonModify1";
|
||||
this.simpleButtonModify1.Size = new System.Drawing.Size(170, 95);
|
||||
this.simpleButtonModify1.StyleController = this.layoutControl31;
|
||||
this.simpleButtonModify1.TabIndex = 6;
|
||||
this.simpleButtonModify1.Text = "Modify Data";
|
||||
this.simpleButtonModify1.Click += new System.EventHandler(this.simpleButtonModify1_Click);
|
||||
//
|
||||
// simpleButtonRegister1
|
||||
//
|
||||
this.simpleButtonRegister1.Appearance.BackColor = System.Drawing.Color.MintCream;
|
||||
this.simpleButtonRegister1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButtonRegister1.Appearance.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.simpleButtonRegister1.Appearance.Options.UseBackColor = true;
|
||||
this.simpleButtonRegister1.Appearance.Options.UseFont = true;
|
||||
this.simpleButtonRegister1.Appearance.Options.UseForeColor = true;
|
||||
this.simpleButtonRegister1.Appearance.Options.UseTextOptions = true;
|
||||
this.simpleButtonRegister1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.simpleButtonRegister1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.simpleButtonRegister1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
|
||||
this.simpleButtonRegister1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButtonRegister1.ImageOptions.SvgImage")));
|
||||
this.simpleButtonRegister1.ImageOptions.SvgImageSize = new System.Drawing.Size(32, 32);
|
||||
this.simpleButtonRegister1.Location = new System.Drawing.Point(1, 1);
|
||||
this.simpleButtonRegister1.Name = "simpleButtonRegister1";
|
||||
this.simpleButtonRegister1.Size = new System.Drawing.Size(174, 95);
|
||||
this.simpleButtonRegister1.StyleController = this.layoutControl31;
|
||||
this.simpleButtonRegister1.TabIndex = 5;
|
||||
this.simpleButtonRegister1.Text = "Register ";
|
||||
this.simpleButtonRegister1.Click += new System.EventHandler(this.simpleButtonRegister1_Click);
|
||||
//
|
||||
// layoutControlGroup22
|
||||
//
|
||||
this.layoutControlGroup22.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.layoutControlGroup22.GroupBordersVisible = false;
|
||||
this.layoutControlGroup22.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.layoutControlItem131,
|
||||
this.layoutControlItem141,
|
||||
this.simpleLabelItemSelectRow});
|
||||
this.layoutControlGroup22.Name = "layoutControlGroup22";
|
||||
this.layoutControlGroup22.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
|
||||
this.layoutControlGroup22.Size = new System.Drawing.Size(1230, 97);
|
||||
this.layoutControlGroup22.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem131
|
||||
//
|
||||
this.layoutControlItem131.Control = this.simpleButtonRegister1;
|
||||
this.layoutControlItem131.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControlItem131.MaxSize = new System.Drawing.Size(174, 0);
|
||||
this.layoutControlItem131.MinSize = new System.Drawing.Size(174, 71);
|
||||
this.layoutControlItem131.Name = "layoutControlItem131";
|
||||
this.layoutControlItem131.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
||||
this.layoutControlItem131.Size = new System.Drawing.Size(174, 95);
|
||||
this.layoutControlItem131.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
||||
this.layoutControlItem131.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem131.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem141
|
||||
//
|
||||
this.layoutControlItem141.Control = this.simpleButtonModify1;
|
||||
this.layoutControlItem141.Location = new System.Drawing.Point(174, 0);
|
||||
this.layoutControlItem141.MaxSize = new System.Drawing.Size(170, 0);
|
||||
this.layoutControlItem141.MinSize = new System.Drawing.Size(170, 71);
|
||||
this.layoutControlItem141.Name = "layoutControlItem141";
|
||||
this.layoutControlItem141.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
||||
this.layoutControlItem141.Size = new System.Drawing.Size(170, 95);
|
||||
this.layoutControlItem141.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
||||
this.layoutControlItem141.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem141.TextVisible = false;
|
||||
//
|
||||
// simpleLabelItemSelectRow
|
||||
//
|
||||
this.simpleLabelItemSelectRow.AllowHotTrack = false;
|
||||
this.simpleLabelItemSelectRow.Location = new System.Drawing.Point(344, 0);
|
||||
this.simpleLabelItemSelectRow.Name = "simpleLabelItemSelectRow";
|
||||
this.simpleLabelItemSelectRow.Size = new System.Drawing.Size(884, 95);
|
||||
this.simpleLabelItemSelectRow.Text = "-";
|
||||
this.simpleLabelItemSelectRow.TextSize = new System.Drawing.Size(4, 16);
|
||||
//
|
||||
// Root
|
||||
//
|
||||
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.Root.GroupBordersVisible = false;
|
||||
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.layoutControlItem2,
|
||||
this.layoutControlItemModelMod,
|
||||
this.layoutControlItem1});
|
||||
this.Root.Name = "Root";
|
||||
this.Root.Size = new System.Drawing.Size(1258, 693);
|
||||
this.Root.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem2
|
||||
//
|
||||
this.layoutControlItem2.Control = this.groupControlDtlData;
|
||||
this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
|
||||
this.layoutControlItem2.Location = new System.Drawing.Point(0, 126);
|
||||
this.layoutControlItem2.MaxSize = new System.Drawing.Size(281, 0);
|
||||
this.layoutControlItem2.MinSize = new System.Drawing.Size(281, 339);
|
||||
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||
this.layoutControlItem2.Size = new System.Drawing.Size(281, 547);
|
||||
this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
||||
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem2.TextVisible = false;
|
||||
//
|
||||
// layoutControlItemModelMod
|
||||
//
|
||||
this.layoutControlItemModelMod.Control = this.groupControlModelOption;
|
||||
this.layoutControlItemModelMod.CustomizationFormText = "layoutControlItemModelMod";
|
||||
this.layoutControlItemModelMod.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControlItemModelMod.MaxSize = new System.Drawing.Size(0, 126);
|
||||
this.layoutControlItemModelMod.MinSize = new System.Drawing.Size(1, 126);
|
||||
this.layoutControlItemModelMod.Name = "layoutControlItemModelMod";
|
||||
this.layoutControlItemModelMod.Size = new System.Drawing.Size(1238, 126);
|
||||
this.layoutControlItemModelMod.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
||||
this.layoutControlItemModelMod.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItemModelMod.TextVisible = false;
|
||||
this.layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
||||
//
|
||||
// layoutControlItem1
|
||||
//
|
||||
this.layoutControlItem1.Control = this.ViewgridControl;
|
||||
this.layoutControlItem1.Location = new System.Drawing.Point(281, 126);
|
||||
this.layoutControlItem1.Name = "layoutControlItem1";
|
||||
this.layoutControlItem1.Size = new System.Drawing.Size(957, 547);
|
||||
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem1.TextVisible = false;
|
||||
//
|
||||
// UcBaseView
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.layoutControl1);
|
||||
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
this.Name = "UcBaseView";
|
||||
this.Size = new System.Drawing.Size(1258, 693);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
||||
this.layoutControl1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.ViewgridControl)).EndInit();
|
||||
this.contextMenuStrip.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridHistView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.groupControlDtlData)).EndInit();
|
||||
this.groupControlDtlData.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl21)).EndInit();
|
||||
this.layoutControl21.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDataMod)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.groupControlModelOption)).EndInit();
|
||||
this.groupControlModelOption.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl31)).EndInit();
|
||||
this.layoutControl31.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup22)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem131)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem141)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemSelectRow)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemModelMod)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
||||
private DevExpress.XtraEditors.GroupControl groupControlDtlData;
|
||||
private DevExpress.XtraLayout.LayoutControl layoutControl21;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonHost;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup11;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
||||
private DevExpress.XtraEditors.GroupControl groupControlModelOption;
|
||||
private DevExpress.XtraLayout.LayoutControl layoutControl31;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonModify1;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonRegister1;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup22;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem131;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem141;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemModelMod;
|
||||
public DevExpress.XtraGrid.GridControl ViewgridControl;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridHistView;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn18;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
||||
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem;
|
||||
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemSelectRow;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButtonDataMod;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemDataMod;
|
||||
private DevExpress.XtraLayout.SplitterItem splitterItem1;
|
||||
}
|
||||
}
|
||||
362
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/UcBaseView.cs
Normal file
362
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/UcBaseView.cs
Normal file
@ -0,0 +1,362 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.XtraGrid.Views.Grid;
|
||||
using SystemX.Product.ALIS.UI.View.InfoList;
|
||||
using System.Data.SqlClient;
|
||||
using SystemX.Product.ALIS.Interface;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
using static SystemX.Net.Platform.Common.Util.LogMessage;
|
||||
using static SystemX.Product.ALIS.UI.Commons;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View.Base
|
||||
{
|
||||
public partial class UcBaseView : UserControl, IUserControlSubscribe
|
||||
{
|
||||
/// <summary>
|
||||
/// IUserControlSubscribe
|
||||
/// </summary>
|
||||
/// <param name="CurrentAccessLevel"></param>
|
||||
/// <param name="bLoginState"></param>
|
||||
public void SetLoginStateNotice(LoginAccessLevel CurrentAccessLevel, bool bLoginState)
|
||||
{
|
||||
bool bSetState = ((CurrentAccessLevel == ThisAccessLevel) && (bLoginState == true)) ? true : false;
|
||||
|
||||
ViewLoginState = bSetState;
|
||||
|
||||
WizardCancelEvent?.Invoke(bSetState, null);
|
||||
|
||||
this.Invoke((MethodInvoker)delegate ()
|
||||
{
|
||||
if (bSetState)
|
||||
{
|
||||
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
|
||||
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
|
||||
}
|
||||
else
|
||||
{
|
||||
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
||||
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IUserControlSubscribe - GoToFindTestListFileFocus
|
||||
/// </summary>
|
||||
/// <param name="nTestListFileNo"></param>
|
||||
public void GoToFindTestListFileFocus(int nTestListFileNo)
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IUserControlSubscribe - GoToFindParentFocus
|
||||
/// </summary>
|
||||
/// <param name="nParentNo"></param>
|
||||
public void GoToFindVariantFocus(int nVariantNo)
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// IUserControlSubscribe
|
||||
/// </summary>
|
||||
public void RefreshDataView()
|
||||
{
|
||||
ViewList();
|
||||
}
|
||||
|
||||
|
||||
private void EventClear(object obj)
|
||||
{
|
||||
if (WizardCancelEvent != null)
|
||||
{
|
||||
foreach (Delegate d in WizardCancelEvent?.GetInvocationList())
|
||||
{
|
||||
if (d.Target.GetType() == obj.GetType())
|
||||
WizardCancelEvent -= (EventHandler)d;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event EventHandler WizardCancelEvent;
|
||||
|
||||
public int AbsoluteIndexRow { get; set; }
|
||||
|
||||
public string AbsoluteUniqueNo { get; set; }
|
||||
|
||||
public string AbsoluteHostName { get; set; }
|
||||
|
||||
//public int AbsoluteIndexCol { get; set; }
|
||||
|
||||
|
||||
IDataController ctrlDB;
|
||||
|
||||
|
||||
private DataSet ds = new DataSet();
|
||||
private DataTable dt = new DataTable();
|
||||
|
||||
eSelectType SelectOpenType { get; set; }
|
||||
|
||||
string strSelectTable;
|
||||
|
||||
public LoginAccessLevel ThisAccessLevel { get; private set; }
|
||||
|
||||
public bool ViewLoginState { private set; get; }
|
||||
|
||||
public UcBaseView(eSelectType SelType, IDataController ctrlDB, LoginAccessLevel MakeAccessLevel, bool bLoginState = false)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ThisAccessLevel = MakeAccessLevel;
|
||||
|
||||
ViewLoginState = bLoginState;
|
||||
|
||||
if (ViewLoginState)
|
||||
layoutControlItemDataMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
|
||||
|
||||
this.ctrlDB = ctrlDB;
|
||||
|
||||
SelectOpenType = SelType;
|
||||
|
||||
strSelectTable = "";
|
||||
|
||||
ViewList();
|
||||
|
||||
AbsoluteIndexRow = -1;
|
||||
//AbsoluteIndexCol = -1;
|
||||
|
||||
AbsoluteUniqueNo = "";
|
||||
|
||||
simpleButtonRegister1.Text = "Register " + SelectOpenType.ToString();
|
||||
}
|
||||
|
||||
public void CreateInfo(eSelectType SelType)
|
||||
{
|
||||
}
|
||||
|
||||
private void ViewList(string strSetTableName = "")
|
||||
{
|
||||
eDbTableList selTable = eDbTableList.NONE;
|
||||
|
||||
string vTblName = string.Empty;
|
||||
|
||||
if (strSelectTable.Length <= 0)
|
||||
return;
|
||||
|
||||
if (strSetTableName.Length > 0)
|
||||
vTblName = strSetTableName;
|
||||
else
|
||||
vTblName = strSelectTable;
|
||||
|
||||
if (Enum.TryParse<eDbTableList>(vTblName, out selTable))
|
||||
{
|
||||
ViewgridControl.BeginUpdate();
|
||||
|
||||
ViewgridControl.DataSource = null;
|
||||
|
||||
gridHistView.RefreshData();
|
||||
|
||||
ViewgridControl.DataSource = ctrlDB.GetTable(selTable);
|
||||
//ViewgridControl.DataMember = vTblName;
|
||||
ViewgridControl.Views[0].PopulateColumns();
|
||||
|
||||
gridHistView.BestFitColumns();
|
||||
|
||||
ViewgridControl.EndUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
private void simpleButtonRegister1_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult getResult = new DialogResult();
|
||||
getResult = DialogResult.None;
|
||||
switch (SelectOpenType)
|
||||
{
|
||||
default:
|
||||
break;
|
||||
}
|
||||
try
|
||||
{
|
||||
if (getResult == DialogResult.OK)
|
||||
{
|
||||
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" simpleButtonRegister1_Click() Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
|
||||
ViewList();
|
||||
}
|
||||
|
||||
private void simpleButtonModify1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (AbsoluteIndexRow < 0 || AbsoluteUniqueNo.Length < 0)
|
||||
{
|
||||
MessageBox.Show("Click the [No] column of the row you want.", strSelectTable, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
DialogResult getResult = new DialogResult();
|
||||
getResult = DialogResult.None;
|
||||
switch (SelectOpenType)
|
||||
{
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
if (getResult == DialogResult.OK)
|
||||
{
|
||||
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" simpleButtonModify1_Click() Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
|
||||
ViewList();
|
||||
}
|
||||
|
||||
private void contextMenuStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
{
|
||||
ToolStripItem tsp = e.ClickedItem;
|
||||
|
||||
string strTitle = SelectOpenType.ToString();
|
||||
|
||||
if (AbsoluteIndexRow >= 0 && AbsoluteUniqueNo.Length > 0)
|
||||
{
|
||||
if (MessageBox.Show("Are you sure you want to delete the " + strTitle + " [" + AbsoluteHostName + "] information?", strTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
switch (SelectOpenType)
|
||||
{
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
int EffectRows = ctrlDB.GetConnSqlCmd().ExecuteNonQuery();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageOutput.ConsoleWrite(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss>>") + @" contextMenuStrip_ItemClicked() Error. " + ex.Message, ConsoleColor.Red, LogMessageLevel.FATAL);
|
||||
}
|
||||
|
||||
ViewList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ClearListSelect()
|
||||
{
|
||||
simpleLabelItemSelectRow.Text = "-";
|
||||
|
||||
AbsoluteIndexRow = -1;
|
||||
|
||||
AbsoluteUniqueNo = "";
|
||||
}
|
||||
|
||||
private void gridHistView_RowClick(object sender, RowClickEventArgs e)
|
||||
{
|
||||
object objHandle = null;
|
||||
|
||||
try
|
||||
{
|
||||
objHandle = gridHistView.GetFocusedRowCellValue("No");
|
||||
}
|
||||
catch
|
||||
{
|
||||
objHandle = null;
|
||||
}
|
||||
finally
|
||||
{
|
||||
AbsoluteIndexRow = e.RowHandle;
|
||||
|
||||
simpleLabelItemSelectRow.Text = "Select Row : " + (e.RowHandle + 1).ToString();
|
||||
|
||||
if (objHandle != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
|
||||
|
||||
AbsoluteUniqueNo = strNumber;
|
||||
|
||||
CreateInfo(SelectOpenType);
|
||||
}
|
||||
catch
|
||||
{
|
||||
ClearListSelect();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ClearListSelect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void gridHistView_RowCellClick(object sender, RowCellClickEventArgs e)
|
||||
{
|
||||
/*if (e.Column.FieldName.Equals("No"))
|
||||
{
|
||||
simpleLabelItemSelectRow.Text = "Select Row : " + (e.RowHandle + 1).ToString();
|
||||
simpleLabelItemSelectCol.Text = "Select Col : " + (e.Column.AbsoluteIndex + 1).ToString();
|
||||
|
||||
AbsoluteIndexRow = e.RowHandle;
|
||||
AbsoluteIndexCol = e.Column.AbsoluteIndex;
|
||||
|
||||
string strNumber = gridHistView.GetFocusedRowCellValue("No").ToString();
|
||||
|
||||
AbsoluteUniqueNo = strNumber;
|
||||
|
||||
CreateInfo(SelectOpenType);
|
||||
}
|
||||
else
|
||||
{
|
||||
simpleLabelItemSelectRow.Text = "-";
|
||||
simpleLabelItemSelectCol.Text = "-";
|
||||
|
||||
AbsoluteIndexRow = -1;
|
||||
AbsoluteIndexCol = -1;
|
||||
|
||||
AbsoluteUniqueNo = "";
|
||||
}*/
|
||||
}
|
||||
|
||||
private void simpleButtonViewList_Click(object sender, EventArgs e)
|
||||
{
|
||||
ViewList();
|
||||
}
|
||||
|
||||
private void simpleButtonDataMod_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (layoutControlItemModelMod.Visibility == DevExpress.XtraLayout.Utils.LayoutVisibility.Never)
|
||||
{
|
||||
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
|
||||
}
|
||||
else
|
||||
layoutControlItemModelMod.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
||||
}
|
||||
|
||||
private void contextMenuStrip_Opening(object sender, CancelEventArgs e)
|
||||
{
|
||||
if ((ThisAccessLevel & LoginAccessLevel.None) == LoginAccessLevel.None)
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
231
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/UcBaseView.resx
Normal file
231
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/UcBaseView.resx
Normal file
@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>166, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="DevExpress.Data.v20.2" name="DevExpress.Data.v20.2, Version=20.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<data name="simpleButtonDataMod.ImageOptions.SvgImage" type="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="simpleButtonHost.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJwHAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlJlZHtmaWxsOiNEMTFDMUM7fQoJLlll
|
||||
bGxvd3tmaWxsOiNGRkIxMTU7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD
|
||||
MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
|
||||
Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntvcGFjaXR5OjAuMzU7fQoJLnN0M3tv
|
||||
cGFjaXR5OjAuNjU7fQo8L3N0eWxlPg0KICA8ZyBpZD0iUmFkYXJBcmVhXzJfIj4NCiAgICA8ZyBjbGFz
|
||||
cz0ic3QyIj4NCiAgICAgIDxwYXRoIGQ9Ik0xNiwwQzcuMiwwLDAsNy4yLDAsMTZzNy4yLDE2LDE2LDE2
|
||||
czE2LTcuMiwxNi0xNlMyNC44LDAsMTYsMHogTTE2LDMwQzguMywzMCwyLDIzLjcsMiwxNlM4LjMsMiwx
|
||||
NiwyICAgIHMxNCw2LjMsMTQsMTRTMjMuNywzMCwxNiwzMHogTTE2LDZDMTAuNSw2LDYsMTAuNSw2LDE2
|
||||
YzAsNS41LDQuNSwxMCwxMCwxMHMxMC00LjUsMTAtMTBDMjYsMTAuNSwyMS41LDYsMTYsNnogTTE2LDI0
|
||||
ICAgIGMtNC40LDAtOC0zLjYtOC04czMuNi04LDgtOHM4LDMuNiw4LDhTMjAuNCwyNCwxNiwyNHogTTE2
|
||||
LDEyYy0yLjIsMC00LDEuOC00LDRjMCwyLjIsMS44LDQsNCw0czQtMS44LDQtNEMyMCwxMy44LDE4LjIs
|
||||
MTIsMTYsMTJ6ICAgICBNMTYsMThjLTEuMSwwLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJzMiwwLjks
|
||||
MiwyQzE4LDE3LjEsMTcuMSwxOCwxNiwxOHoiIGNsYXNzPSJCbGFjayIgLz4NCiAgICA8L2c+DQogICAg
|
||||
PGcgY2xhc3M9InN0MSI+DQogICAgICA8cGF0aCBkPSJNMjQsMTBWOS41bDAuNy0xLjhMMjIuOCw3bC0w
|
||||
LjQsMWgtOS40bC0wLjItMC4yTDEyLjYsOEgxMnYwLjZsLTUsNUw2LjQsMTNMNSwxNC40bDEwLjgsMTAu
|
||||
OGwtMC4yLDAuNSAgICBsMS4xLDAuNGwxLjEsMS4xbDEuNC0xLjRsLTEtMUwyMy44LDEwSDI0eiIgY2xh
|
||||
c3M9IkJsdWUiIC8+DQogICAgPC9nPg0KICAgIDxwYXRoIGQ9Ik0yNiw5YzAtMS43LTEuMy0zLTMtM2Mt
|
||||
MS4zLDAtMi40LDAuOC0yLjgsMmgtNC40Yy0wLjQtMS4yLTEuNS0yLTIuOC0yYy0xLjcsMC0zLDEuMy0z
|
||||
LDMgICBjMCwwLjUsMC4xLDAuOSwwLjMsMS4zbC0yLDJDNy45LDEyLjEsNy41LDEyLDcsMTJjLTEuNyww
|
||||
LTMsMS4zLTMsM3MxLjMsMywzLDNjMC41LDAsMC45LTAuMSwxLjMtMC4zbDYsNkMxNC4xLDI0LjEsMTQs
|
||||
MjQuNSwxNCwyNSAgIGMwLDEuNywxLjMsMywzLDNzMy0xLjMsMy0zYzAtMC45LTAuNC0xLjgtMS4xLTIu
|
||||
M0wyMywxMkMyNC43LDEyLDI2LDEwLjYsMjYsOXogTTE3LDIyYy0wLjUsMC0wLjksMC4xLTEuMywwLjNs
|
||||
LTYtNiAgIEM5LjksMTUuOSwxMCwxNS41LDEwLDE1cy0wLjEtMC45LTAuMy0xLjNsMi0yYzAuNCwwLjIs
|
||||
MC44LDAuMywxLjMsMC4zYzEuMywwLDIuNC0wLjgsMi44LTJoNC40YzAuMiwwLjUsMC41LDEsMSwxLjNM
|
||||
MTcsMjIgICBDMTcsMjIsMTcsMjIsMTcsMjJ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgICA8Y2lyY2xlIGN4
|
||||
PSI3IiBjeT0iMTUiIHI9IjEiIGNsYXNzPSJXaGl0ZSIgLz4NCiAgICA8Y2lyY2xlIGN4PSIxNyIgY3k9
|
||||
IjI1IiByPSIxIiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMjMiIGN5PSI5IiByPSIx
|
||||
IiBjbGFzcz0iV2hpdGUiIC8+DQogICAgPGNpcmNsZSBjeD0iMTMiIGN5PSI5IiByPSIxIiBjbGFzcz0i
|
||||
V2hpdGUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonModify1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAL4DAAAC77u/
|
||||
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||
Y2U9InByZXNlcnZlIiBpZD0iQ3VzdG9taXplTWVyZ2VGaWVsZCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3Jv
|
||||
dW5kOm5ldyAwIDAgMzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6
|
||||
IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3RDc7fQoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQo8L3N0
|
||||
eWxlPg0KICA8cmVjdCB4PSI2IiB5PSIxMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjIiIHJ4PSIwIiByeT0i
|
||||
MCIgY2xhc3M9IlllbGxvdyIgLz4NCiAgPHBhdGggZD0iTTMxLjUsMjguOWwtNi4xLTYuMUMyNS44LDIx
|
||||
LjksMjYsMjEsMjYsMjBjMC0zLjMtMi43LTYtNi02Yy0xLDAtMS45LDAuMi0yLjcsMC43bDQuMiw0LjIg
|
||||
IGMwLjcsMC43LDAuNywxLjksMCwyLjZjLTAuNywwLjctMS45LDAuNy0yLjYsMGwtNC4yLTQuMkMxNC4y
|
||||
LDE4LjEsMTQsMTksMTQsMjBjMCwzLjMsMi43LDYsNiw2YzEsMCwxLjktMC4yLDIuNy0wLjdsNi4xLDYu
|
||||
MSAgYzAuNywwLjcsMS45LDAuNywyLjYsMEMzMi4yLDMwLjgsMzIuMiwyOS42LDMxLjUsMjguOXoiIGNs
|
||||
YXNzPSJCbHVlIiAvPg0KICA8cGF0aCBkPSJNMjQuNiwzMEgxYy0wLjUsMC0xLTAuNS0xLTFWMWMwLTAu
|
||||
NSwwLjUtMSwxLTFoMjRjMC41LDAsMSwwLjUsMSwxdjEzLjdjLTAuNi0wLjctMS4yLTEuMi0yLTEuNlYy
|
||||
SDJ2MjZoMjAuNiAgTDI0LjYsMzB6IE0yMCw2SDZ2MmgxNFY2eiBNMTYsMTRINnYyaDEwVjE0eiBNMTIs
|
||||
MjJINnYyaDZWMjJ6IE0xMiwxOEg2djJoNlYxOHoiIGNsYXNzPSJCbGFjayIgLz4NCjwvc3ZnPgs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="simpleButtonRegister1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v20.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIwLjIsIFZlcnNpb249MjAuMi42
|
||||
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>
|
||||
</root>
|
||||
299
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/ViewCfg.cs
Normal file
299
CPXV2 PTS/SystemX.Product.CP.PTS/UI/View/ViewCfg.cs
Normal file
@ -0,0 +1,299 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Linq;
|
||||
using SystemX.Net.Platform.Common.Util;
|
||||
using static SystemX.Product.ALIS.UI.View.ViewCfg;
|
||||
|
||||
namespace SystemX.Product.ALIS.UI.View
|
||||
{
|
||||
public static class ViewCfg
|
||||
{
|
||||
public enum eOperationMode
|
||||
{
|
||||
ALL,
|
||||
AUTO,
|
||||
MANUAL
|
||||
}
|
||||
public enum eWorkMode
|
||||
{
|
||||
NORMAL,
|
||||
RETEST,
|
||||
REWORK
|
||||
}
|
||||
public enum eAppFunctionType
|
||||
{
|
||||
None = 0,
|
||||
|
||||
M_HostList,
|
||||
M_UserList,
|
||||
M_GroupList,
|
||||
M_TestCodeList,
|
||||
|
||||
M_TestListFile,
|
||||
M_TestListVariant,
|
||||
M_TestListRelease,
|
||||
|
||||
A_AnalysisPartID,
|
||||
A_LogSearchTrend,
|
||||
A_AnalysisProcessTrend
|
||||
}
|
||||
public enum eSelectType
|
||||
{
|
||||
None = 0,
|
||||
HostList,
|
||||
UserList,
|
||||
GroupList,
|
||||
TestCodeList,
|
||||
|
||||
TestListFile,
|
||||
TestListVariant,
|
||||
TestListRelease
|
||||
}
|
||||
public enum eEditType
|
||||
{
|
||||
Insert = 0,
|
||||
Modify
|
||||
}
|
||||
|
||||
public enum eModelType
|
||||
{
|
||||
NONE,
|
||||
IMAGE,
|
||||
TEXT,
|
||||
CPLOG,
|
||||
PARTID_MAP
|
||||
}
|
||||
|
||||
public enum eProcessTable
|
||||
{
|
||||
HIST_ProdLoad = 0,
|
||||
HIST_CapDeassy,
|
||||
HIST_PreHeating,
|
||||
HIST_PreMeas,
|
||||
HIST_Leak,
|
||||
HIST_LaserTrim,
|
||||
HIST_LaserTrimVision,
|
||||
HIST_IsoRes,
|
||||
HIST_CapAssy,
|
||||
HIST_Function,
|
||||
HIST_OutSealPress,
|
||||
HIST_PinLVDT,
|
||||
HIST_PinVision,
|
||||
HIST_ProdUnload
|
||||
}
|
||||
|
||||
private enum eProcessTableNumber
|
||||
{
|
||||
HIST_ProdLoad = 180,
|
||||
HIST_CapDeassy = 180,
|
||||
HIST_PreHeating = 190,
|
||||
HIST_PreMeas = 190,
|
||||
HIST_Leak = 200,
|
||||
HIST_LaserTrim = 210,
|
||||
HIST_LaserTrimVision = 220,
|
||||
HIST_IsoRes = 220,
|
||||
HIST_CapAssy = 230,
|
||||
HIST_Function = 240,
|
||||
HIST_OutSealPress = 250,
|
||||
HIST_PinLVDT = 260,
|
||||
HIST_PinVision = 260,
|
||||
HIST_ProdUnload = 270
|
||||
}
|
||||
|
||||
public static string GetTableProcessNumber(eProcessTable processTable)
|
||||
{
|
||||
string[] strSetProcessNumberList = new string[]
|
||||
{ "180", "180", "190", "190", "200", "210", "220", "220", "230", "240", "250", "260", "260", "270" };
|
||||
|
||||
if (strSetProcessNumberList.Length > (int)processTable)
|
||||
return strSetProcessNumberList[(int)processTable];
|
||||
else
|
||||
return "";
|
||||
}
|
||||
public enum eDataTable
|
||||
{
|
||||
HIST_TestResultData,
|
||||
HIST_TestResultDatail
|
||||
}
|
||||
|
||||
public const string SystemConfigPath = @"./Config/SystemConfig.xml";
|
||||
public const string SaveLayoutPath = @"./Layout/Search/";
|
||||
|
||||
public enum eConfigElemList
|
||||
{
|
||||
Root,
|
||||
RegisteredModels,
|
||||
Model
|
||||
}
|
||||
|
||||
public static XElement OpenSystemConfig()
|
||||
{
|
||||
var xElement = XMLControl.OpenXMLDocument(SystemConfigPath, eConfigElemList.Root.ToString());
|
||||
|
||||
if (xElement == null) return null;
|
||||
|
||||
return xElement;
|
||||
}
|
||||
|
||||
public static XElement SaveSystemConfig(List<SysModelDef> registeredModels)
|
||||
{
|
||||
XDocument xmlDoc = new XDocument();
|
||||
XElement xRoot = new XElement(eConfigElemList.Root.ToString());
|
||||
XElement xRegModels = new XElement(eConfigElemList.RegisteredModels.ToString());
|
||||
|
||||
foreach (SysModelDef modeldef in registeredModels)
|
||||
xRegModels.Add(modeldef.SaveXML());
|
||||
|
||||
xRoot.Add(xRegModels);
|
||||
xmlDoc.Add(xRoot);
|
||||
xmlDoc.Save(SystemConfigPath);
|
||||
|
||||
return xRoot;
|
||||
}
|
||||
|
||||
public static List<SysModelDef> GetRegisteredModels(XElement xelemRoot)
|
||||
{
|
||||
XElement elemModelRoot = xelemRoot.Element(eConfigElemList.RegisteredModels.ToString());
|
||||
|
||||
List<SysModelDef> modeldef = new List<SysModelDef>();
|
||||
|
||||
foreach (XElement elemModel in elemModelRoot.Elements())
|
||||
modeldef.Add(new SysModelDef(elemModel));
|
||||
|
||||
return modeldef;
|
||||
}
|
||||
public static Dictionary<string, string> GetProcessTableNameMap()
|
||||
{
|
||||
Dictionary<string, string> NameMap = new Dictionary<string, string>();
|
||||
|
||||
NameMap.Add(eProcessTable.HIST_ProdLoad.ToString(), "LX/LU-180:Loading");
|
||||
NameMap.Add(eProcessTable.HIST_CapDeassy.ToString(), "LX/LU-180:Cap De-Ass'y");
|
||||
NameMap.Add(eProcessTable.HIST_PreHeating.ToString(), "LX/LU-190:Pre-Heating");
|
||||
NameMap.Add(eProcessTable.HIST_PreMeas.ToString(), "LX/LU-190:Pre-Measuring");
|
||||
NameMap.Add(eProcessTable.HIST_Leak.ToString(), "LX/LU-200:Leak Test");
|
||||
NameMap.Add(eProcessTable.HIST_LaserTrim.ToString(), "LX/LU-210:Laser Trimming");
|
||||
NameMap.Add(eProcessTable.HIST_LaserTrimVision.ToString(), "LX/LU-220:Trimming Vision Inspection");
|
||||
NameMap.Add(eProcessTable.HIST_IsoRes.ToString(), "LX/LU-220:Isolation Resistance Test");
|
||||
NameMap.Add(eProcessTable.HIST_CapAssy.ToString(), "LX/LU-230:Cap Ass'y");
|
||||
NameMap.Add(eProcessTable.HIST_Function.ToString(), "LX/LU-240:Function Test");
|
||||
NameMap.Add(eProcessTable.HIST_OutSealPress.ToString(), "LX/LU-250:Outer Seal Press");
|
||||
NameMap.Add(eProcessTable.HIST_PinLVDT.ToString(), "LX/LU-260:Pin Height Inspection");
|
||||
NameMap.Add(eProcessTable.HIST_PinVision.ToString(), "LX/LU-260:Pin-Align Vision Inspection");
|
||||
NameMap.Add(eProcessTable.HIST_ProdUnload.ToString(), "LX/LU-270:Unloading");
|
||||
|
||||
return NameMap;
|
||||
}
|
||||
|
||||
public class NameMapItem
|
||||
{
|
||||
public string TableName { get; set; }
|
||||
public string ProcName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
public class SysModelDef
|
||||
{
|
||||
public string ID { get; set; }
|
||||
public string Path { get; set; }
|
||||
public string Type { get; set; }
|
||||
public eModelType eType { get; set; } = eModelType.NONE;
|
||||
|
||||
public SysModelDef(XElement elem)
|
||||
{
|
||||
SetModelDef(elem);
|
||||
SetType(Type);
|
||||
}
|
||||
|
||||
public SysModelDef(string strPath)
|
||||
{
|
||||
Path = strPath;
|
||||
}
|
||||
|
||||
public bool SetType(string strType)
|
||||
{
|
||||
eModelType eparsetype = eModelType.NONE;
|
||||
|
||||
if (!Enum.TryParse(strType.ToUpper(), out eparsetype))
|
||||
return false;
|
||||
|
||||
eType = eparsetype;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool SetModelDef(XElement elem)
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (XAttribute regAttrb in elem.Attributes())
|
||||
{
|
||||
string strAttrbName = regAttrb.Name.LocalName;
|
||||
|
||||
if (CommonUtil.GetProperty(this, strAttrbName) == null)
|
||||
continue;
|
||||
|
||||
CommonUtil.SetPropertyValue(this, strAttrbName, regAttrb.Value);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogMessage.MessageOutput.ConsoleWrite("Error during Read Mdoel Definition in System Config.", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
|
||||
LogMessage.MessageOutput.ConsoleWrite($" - Message: {ex.Message}", ConsoleColor.Red, LogMessage.LogMessageLevel.FATAL);
|
||||
throw;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public XElement SaveXML()
|
||||
{
|
||||
XElement xelemSave = new XElement(eConfigElemList.Model.ToString());
|
||||
|
||||
xelemSave.SetAttributeValue("ID", ID);
|
||||
xelemSave.SetAttributeValue("Path", Path);
|
||||
xelemSave.SetAttributeValue("Type", Type);
|
||||
|
||||
return xelemSave;
|
||||
}
|
||||
}
|
||||
|
||||
public class LogInfo
|
||||
{
|
||||
public string LogAccKey { get; set; }
|
||||
public string ProductID { get; set; }
|
||||
public string PalletID { get; set; }
|
||||
public string UpdateDT { get; set; }
|
||||
public string ProcessNo { get; set; }
|
||||
public string PalletNo { get; set; }
|
||||
public string PalletIndex { get; set; }
|
||||
public string Status { get; set; }
|
||||
public string TestTime { get; set; }
|
||||
public string Result { get; set; }
|
||||
|
||||
public Dictionary<int, string> TestResult { get; set; }
|
||||
}
|
||||
|
||||
public class ChartLogInfo
|
||||
{
|
||||
public string TableName { get; set; }
|
||||
public string StartDateTime { get; set; }
|
||||
public string EndDateTime { get; set; }
|
||||
public string ProductNo { get; set; }
|
||||
public string PalletNo { get; set; }
|
||||
public string PalletIndex { get; set; }
|
||||
public string WorkMode { get; set; }
|
||||
public string OperationMode { get; set; }
|
||||
|
||||
public string StepNo { get; set; }
|
||||
public string MO { get; set; }
|
||||
public string FuncName { get; set; }
|
||||
public string Min { get; set; }
|
||||
public string Max { get; set; }
|
||||
|
||||
public Dictionary<string, double> MeasuredData = new Dictionary<string, double>();
|
||||
}
|
||||
|
||||
}
|
||||
54
CPXV2 PTS/SystemX.Product.CP.PTS/app.config
Normal file
54
CPXV2 PTS/SystemX.Product.CP.PTS/app.config
Normal file
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System">
|
||||
<section name="DevExpress.LookAndFeel.Design.AppSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<applicationSettings>
|
||||
<DevExpress.LookAndFeel.Design.AppSettings>
|
||||
<setting name="DefaultAppSkin" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="DefaultPalette" serializeAs="String">
|
||||
<value>Pine Light</value>
|
||||
</setting>
|
||||
<setting name="TouchUI" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="CompactUI" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="TouchScaleFactor" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="DirectX" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="RegisterUserSkins" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="RegisterBonusSkins" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="FontBehavior" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="DefaultAppFont" serializeAs="String">
|
||||
<value>Arial Rounded MT;9.75</value>
|
||||
</setting>
|
||||
<setting name="DPIAwarenessMode" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="CustomPaletteCollection" serializeAs="Xml">
|
||||
<value/>
|
||||
</setting>
|
||||
</DevExpress.LookAndFeel.Design.AppSettings>
|
||||
</applicationSettings>
|
||||
<connectionStrings>
|
||||
<add name="localhost_Smart_Inhibitor_1st_ALIS_Connection" connectionString="XpoProvider=MSSqlServer;data source=localhost;integrated security=SSPI;initial catalog=Smart_Inhibitor_1st_ALIS"/>
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
6
CPXV2 TRA V2/SystemX.Product.CP.TRA.BaseView/App.config
Normal file
6
CPXV2 TRA V2/SystemX.Product.CP.TRA.BaseView/App.config
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
</configuration>
|
||||
41
CPXV2 TRA V2/SystemX.Product.CP.TRA.BaseView/Form1.Designer.cs
generated
Normal file
41
CPXV2 TRA V2/SystemX.Product.CP.TRA.BaseView/Form1.Designer.cs
generated
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
namespace SystemX.Product.CP.TRA.BaseView
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <summary>
|
||||
/// 필수 디자이너 변수입니다.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 사용 중인 모든 리소스를 정리합니다.
|
||||
/// </summary>
|
||||
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form 디자이너에서 생성한 코드
|
||||
|
||||
/// <summary>
|
||||
/// 디자이너 지원에 필요한 메서드입니다.
|
||||
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "Form1";
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user