提交当前本机整理版本
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using Lskj.Business;
|
||||
using Lskj.Model;
|
||||
using Lskj.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.PubProductSysMge
|
||||
{
|
||||
/// <summary>
|
||||
/// 单据模版入口
|
||||
/// </summary>
|
||||
public class DllBaseClass : IForm
|
||||
{
|
||||
public DllBaseClass()
|
||||
{
|
||||
|
||||
}
|
||||
public DllBaseClass(string[] obj)
|
||||
{
|
||||
try
|
||||
{
|
||||
DynamicProductSysMgeModel model = new DynamicProductSysMgeModel(obj);
|
||||
FrmMain main = new FrmMain(model);
|
||||
main.Model = model;
|
||||
this.SubForm = main;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtil.WriteError("Lskj.PubProductSysMge.dll--参数错误-->" + obj.ToString(), ex);
|
||||
}
|
||||
}
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
+397
@@ -0,0 +1,397 @@
|
||||
namespace Lskj.PubProductSysMge
|
||||
{
|
||||
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.splitMainContainer = new DevExpress.XtraEditors.SplitContainerControl();
|
||||
this.treeLeftViewEx = new Lskj.Control.TreeViewEx();
|
||||
this.gridLeft = new Lskj.Control.GridControlEx();
|
||||
this.splitRightContainer = new DevExpress.XtraEditors.SplitContainerControl();
|
||||
this.splitControlContainer = new DevExpress.XtraEditors.SplitContainerControl();
|
||||
this.pl_Top = new DevExpress.XtraEditors.XtraScrollableControl();
|
||||
this.pl_Bottom = new DevExpress.XtraEditors.XtraScrollableControl();
|
||||
this.pl_BottomBtn = new DevExpress.XtraEditors.PanelControl();
|
||||
this.plm_bot_btn = new DevExpress.XtraEditors.PanelControl();
|
||||
this.btnCondSearch = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnUpdate = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.plm_bot_cond = new DevExpress.XtraEditors.PanelControl();
|
||||
this.rightDetailPanel = new System.Windows.Forms.Panel();
|
||||
this.gcMain = new Lskj.Control.GridControlEx();
|
||||
this.plm_top_cond = new DevExpress.XtraEditors.PanelControl();
|
||||
this.projectEdit = new DevExpress.XtraEditors.TextEdit();
|
||||
this.projectLab = new System.Windows.Forms.Label();
|
||||
this.speciesNameEdit = new DevExpress.XtraEditors.TextEdit();
|
||||
this.speciesNameLab = new System.Windows.Forms.Label();
|
||||
this.speciesNoEdit = new DevExpress.XtraEditors.TextEdit();
|
||||
this.speciesNoLab = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitMainContainer)).BeginInit();
|
||||
this.splitMainContainer.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitRightContainer)).BeginInit();
|
||||
this.splitRightContainer.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitControlContainer)).BeginInit();
|
||||
this.splitControlContainer.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_BottomBtn)).BeginInit();
|
||||
this.pl_BottomBtn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.plm_bot_btn)).BeginInit();
|
||||
this.plm_bot_btn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.plm_bot_cond)).BeginInit();
|
||||
this.rightDetailPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.plm_top_cond)).BeginInit();
|
||||
this.plm_top_cond.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.projectEdit.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.speciesNameEdit.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.speciesNoEdit.Properties)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitMainContainer
|
||||
//
|
||||
this.splitMainContainer.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.splitMainContainer.Appearance.Options.UseBackColor = true;
|
||||
this.splitMainContainer.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
|
||||
this.splitMainContainer.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel1;
|
||||
this.splitMainContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitMainContainer.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitMainContainer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.splitMainContainer.Name = "splitMainContainer";
|
||||
this.splitMainContainer.Panel1.Controls.Add(this.treeLeftViewEx);
|
||||
this.splitMainContainer.Panel1.Controls.Add(this.gridLeft);
|
||||
this.splitMainContainer.Panel1.Text = "Panel1";
|
||||
this.splitMainContainer.Panel2.Controls.Add(this.splitRightContainer);
|
||||
this.splitMainContainer.Panel2.Controls.Add(this.plm_top_cond);
|
||||
this.splitMainContainer.Panel2.Text = "Panel2";
|
||||
this.splitMainContainer.Size = new System.Drawing.Size(1447, 702);
|
||||
this.splitMainContainer.SplitterPosition = 250;
|
||||
this.splitMainContainer.TabIndex = 0;
|
||||
//
|
||||
// treeLeftViewEx
|
||||
//
|
||||
this.treeLeftViewEx.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.treeLeftViewEx.Location = new System.Drawing.Point(0, 0);
|
||||
this.treeLeftViewEx.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.treeLeftViewEx.Name = "treeLeftViewEx";
|
||||
this.treeLeftViewEx.Size = new System.Drawing.Size(250, 702);
|
||||
this.treeLeftViewEx.TabIndex = 0;
|
||||
//
|
||||
// gridLeft
|
||||
//
|
||||
this.gridLeft.AdapterObj = null;
|
||||
this.gridLeft.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.gridLeft.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gridLeft.Location = new System.Drawing.Point(0, 0);
|
||||
this.gridLeft.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.gridLeft.Name = "gridLeft";
|
||||
this.gridLeft.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
|
||||
this.gridLeft.Size = new System.Drawing.Size(250, 702);
|
||||
this.gridLeft.TabIndex = 7;
|
||||
//
|
||||
// splitRightContainer
|
||||
//
|
||||
this.splitRightContainer.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.splitRightContainer.Appearance.Options.UseBackColor = true;
|
||||
this.splitRightContainer.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
|
||||
this.splitRightContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitRightContainer.Horizontal = false;
|
||||
this.splitRightContainer.Location = new System.Drawing.Point(0, 38);
|
||||
this.splitRightContainer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.splitRightContainer.Name = "splitRightContainer";
|
||||
this.splitRightContainer.Panel1.Controls.Add(this.splitControlContainer);
|
||||
this.splitRightContainer.Panel1.Text = "Panel1";
|
||||
this.splitRightContainer.Panel2.Controls.Add(this.rightDetailPanel);
|
||||
this.splitRightContainer.Panel2.Text = "Panel2";
|
||||
this.splitRightContainer.Size = new System.Drawing.Size(1191, 664);
|
||||
this.splitRightContainer.SplitterPosition = 444;
|
||||
this.splitRightContainer.TabIndex = 0;
|
||||
this.splitRightContainer.Text = "splitContainerControl1";
|
||||
//
|
||||
// splitControlContainer
|
||||
//
|
||||
this.splitControlContainer.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.splitControlContainer.Appearance.Options.UseBackColor = true;
|
||||
this.splitControlContainer.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
|
||||
this.splitControlContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitControlContainer.Horizontal = false;
|
||||
this.splitControlContainer.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitControlContainer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.splitControlContainer.Name = "splitControlContainer";
|
||||
this.splitControlContainer.Panel1.Controls.Add(this.pl_Top);
|
||||
this.splitControlContainer.Panel1.Text = "Panel1";
|
||||
this.splitControlContainer.Panel2.Controls.Add(this.pl_Bottom);
|
||||
this.splitControlContainer.Panel2.Controls.Add(this.pl_BottomBtn);
|
||||
this.splitControlContainer.Panel2.Text = "Panel2";
|
||||
this.splitControlContainer.Size = new System.Drawing.Size(1191, 444);
|
||||
this.splitControlContainer.SplitterPosition = 228;
|
||||
this.splitControlContainer.TabIndex = 3;
|
||||
this.splitControlContainer.Text = "splitContainerControl1";
|
||||
//
|
||||
// pl_Top
|
||||
//
|
||||
this.pl_Top.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.pl_Top.Appearance.Options.UseBackColor = true;
|
||||
this.pl_Top.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pl_Top.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_Top.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.pl_Top.Name = "pl_Top";
|
||||
this.pl_Top.Size = new System.Drawing.Size(1191, 228);
|
||||
this.pl_Top.TabIndex = 1;
|
||||
//
|
||||
// pl_Bottom
|
||||
//
|
||||
this.pl_Bottom.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.pl_Bottom.Appearance.Options.UseBackColor = true;
|
||||
this.pl_Bottom.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pl_Bottom.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_Bottom.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.pl_Bottom.Name = "pl_Bottom";
|
||||
this.pl_Bottom.Size = new System.Drawing.Size(1191, 174);
|
||||
this.pl_Bottom.TabIndex = 2;
|
||||
//
|
||||
// pl_BottomBtn
|
||||
//
|
||||
this.pl_BottomBtn.Controls.Add(this.plm_bot_btn);
|
||||
this.pl_BottomBtn.Controls.Add(this.plm_bot_cond);
|
||||
this.pl_BottomBtn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.pl_BottomBtn.Location = new System.Drawing.Point(0, 174);
|
||||
this.pl_BottomBtn.Name = "pl_BottomBtn";
|
||||
this.pl_BottomBtn.Size = new System.Drawing.Size(1191, 36);
|
||||
this.pl_BottomBtn.TabIndex = 0;
|
||||
//
|
||||
// plm_bot_btn
|
||||
//
|
||||
this.plm_bot_btn.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.plm_bot_btn.Controls.Add(this.btnCondSearch);
|
||||
this.plm_bot_btn.Controls.Add(this.btnUpdate);
|
||||
this.plm_bot_btn.Controls.Add(this.btnSave);
|
||||
this.plm_bot_btn.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.plm_bot_btn.Location = new System.Drawing.Point(48, 2);
|
||||
this.plm_bot_btn.Name = "plm_bot_btn";
|
||||
this.plm_bot_btn.Size = new System.Drawing.Size(1141, 32);
|
||||
this.plm_bot_btn.TabIndex = 44;
|
||||
//
|
||||
// btnCondSearch
|
||||
//
|
||||
this.btnCondSearch.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCondSearch.Appearance.Options.UseFont = true;
|
||||
this.btnCondSearch.Location = new System.Drawing.Point(6, 3);
|
||||
this.btnCondSearch.Name = "btnCondSearch";
|
||||
this.btnCondSearch.Size = new System.Drawing.Size(75, 26);
|
||||
this.btnCondSearch.TabIndex = 40;
|
||||
this.btnCondSearch.Text = "搜索(&Q)";
|
||||
//
|
||||
// btnUpdate
|
||||
//
|
||||
this.btnUpdate.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnUpdate.Appearance.Options.UseFont = true;
|
||||
this.btnUpdate.Enabled = false;
|
||||
this.btnUpdate.Location = new System.Drawing.Point(205, 3);
|
||||
this.btnUpdate.Name = "btnUpdate";
|
||||
this.btnUpdate.Size = new System.Drawing.Size(110, 26);
|
||||
this.btnUpdate.TabIndex = 39;
|
||||
this.btnUpdate.Text = "修改保存(&U)";
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnSave.Appearance.Options.UseFont = true;
|
||||
this.btnSave.Location = new System.Drawing.Point(89, 3);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(110, 26);
|
||||
this.btnSave.TabIndex = 38;
|
||||
this.btnSave.Text = "新增保存(&S)";
|
||||
//
|
||||
// plm_bot_cond
|
||||
//
|
||||
this.plm_bot_cond.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.plm_bot_cond.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.plm_bot_cond.Location = new System.Drawing.Point(2, 2);
|
||||
this.plm_bot_cond.Name = "plm_bot_cond";
|
||||
this.plm_bot_cond.Size = new System.Drawing.Size(46, 32);
|
||||
this.plm_bot_cond.TabIndex = 43;
|
||||
this.plm_bot_cond.Visible = false;
|
||||
//
|
||||
// rightDetailPanel
|
||||
//
|
||||
this.rightDetailPanel.Controls.Add(this.gcMain);
|
||||
this.rightDetailPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rightDetailPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.rightDetailPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.rightDetailPanel.Name = "rightDetailPanel";
|
||||
this.rightDetailPanel.Size = new System.Drawing.Size(1191, 214);
|
||||
this.rightDetailPanel.TabIndex = 18;
|
||||
//
|
||||
// gcMain
|
||||
//
|
||||
this.gcMain.AdapterObj = null;
|
||||
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gcMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.gcMain.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.gcMain.Name = "gcMain";
|
||||
this.gcMain.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
|
||||
this.gcMain.Size = new System.Drawing.Size(1191, 214);
|
||||
this.gcMain.TabIndex = 0;
|
||||
//
|
||||
// plm_top_cond
|
||||
//
|
||||
this.plm_top_cond.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.plm_top_cond.Appearance.Options.UseBackColor = true;
|
||||
this.plm_top_cond.Controls.Add(this.projectEdit);
|
||||
this.plm_top_cond.Controls.Add(this.projectLab);
|
||||
this.plm_top_cond.Controls.Add(this.speciesNameEdit);
|
||||
this.plm_top_cond.Controls.Add(this.speciesNameLab);
|
||||
this.plm_top_cond.Controls.Add(this.speciesNoEdit);
|
||||
this.plm_top_cond.Controls.Add(this.speciesNoLab);
|
||||
this.plm_top_cond.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.plm_top_cond.Location = new System.Drawing.Point(0, 0);
|
||||
this.plm_top_cond.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.plm_top_cond.Name = "plm_top_cond";
|
||||
this.plm_top_cond.Size = new System.Drawing.Size(1191, 38);
|
||||
this.plm_top_cond.TabIndex = 18;
|
||||
//
|
||||
// projectEdit
|
||||
//
|
||||
this.projectEdit.Location = new System.Drawing.Point(586, 7);
|
||||
this.projectEdit.Name = "projectEdit";
|
||||
this.projectEdit.Properties.AllowFocused = false;
|
||||
this.projectEdit.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.projectEdit.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.projectEdit.Properties.ReadOnly = true;
|
||||
this.projectEdit.Size = new System.Drawing.Size(150, 24);
|
||||
this.projectEdit.TabIndex = 5;
|
||||
//
|
||||
// projectLab
|
||||
//
|
||||
this.projectLab.AutoSize = true;
|
||||
this.projectLab.Location = new System.Drawing.Point(497, 10);
|
||||
this.projectLab.Name = "projectLab";
|
||||
this.projectLab.Size = new System.Drawing.Size(83, 18);
|
||||
this.projectLab.TabIndex = 4;
|
||||
this.projectLab.Text = "构成方案:";
|
||||
this.projectLab.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// speciesNameEdit
|
||||
//
|
||||
this.speciesNameEdit.Location = new System.Drawing.Point(341, 7);
|
||||
this.speciesNameEdit.Name = "speciesNameEdit";
|
||||
this.speciesNameEdit.Properties.AllowFocused = false;
|
||||
this.speciesNameEdit.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.speciesNameEdit.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.speciesNameEdit.Properties.ReadOnly = true;
|
||||
this.speciesNameEdit.Size = new System.Drawing.Size(150, 24);
|
||||
this.speciesNameEdit.TabIndex = 3;
|
||||
//
|
||||
// speciesNameLab
|
||||
//
|
||||
this.speciesNameLab.AutoSize = true;
|
||||
this.speciesNameLab.Location = new System.Drawing.Point(252, 10);
|
||||
this.speciesNameLab.Name = "speciesNameLab";
|
||||
this.speciesNameLab.Size = new System.Drawing.Size(83, 18);
|
||||
this.speciesNameLab.TabIndex = 2;
|
||||
this.speciesNameLab.Text = "类别名称:";
|
||||
this.speciesNameLab.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// speciesNoEdit
|
||||
//
|
||||
this.speciesNoEdit.Location = new System.Drawing.Point(96, 7);
|
||||
this.speciesNoEdit.Name = "speciesNoEdit";
|
||||
this.speciesNoEdit.Properties.AllowFocused = false;
|
||||
this.speciesNoEdit.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.speciesNoEdit.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.speciesNoEdit.Properties.ReadOnly = true;
|
||||
this.speciesNoEdit.Size = new System.Drawing.Size(150, 24);
|
||||
this.speciesNoEdit.TabIndex = 1;
|
||||
//
|
||||
// speciesNoLab
|
||||
//
|
||||
this.speciesNoLab.AutoSize = true;
|
||||
this.speciesNoLab.Location = new System.Drawing.Point(7, 10);
|
||||
this.speciesNoLab.Name = "speciesNoLab";
|
||||
this.speciesNoLab.Size = new System.Drawing.Size(83, 18);
|
||||
this.speciesNoLab.TabIndex = 0;
|
||||
this.speciesNoLab.Text = "类别节点:";
|
||||
this.speciesNoLab.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// FrmMain
|
||||
//
|
||||
this.Appearance.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.Appearance.Options.UseBackColor = true;
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1447, 702);
|
||||
this.Controls.Add(this.splitMainContainer);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
||||
this.Name = "FrmMain";
|
||||
this.Text = "FrmMain";
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitMainContainer)).EndInit();
|
||||
this.splitMainContainer.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitRightContainer)).EndInit();
|
||||
this.splitRightContainer.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitControlContainer)).EndInit();
|
||||
this.splitControlContainer.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_BottomBtn)).EndInit();
|
||||
this.pl_BottomBtn.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.plm_bot_btn)).EndInit();
|
||||
this.plm_bot_btn.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.plm_bot_cond)).EndInit();
|
||||
this.rightDetailPanel.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.plm_top_cond)).EndInit();
|
||||
this.plm_top_cond.ResumeLayout(false);
|
||||
this.plm_top_cond.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.projectEdit.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.speciesNameEdit.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.speciesNoEdit.Properties)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraEditors.SplitContainerControl splitMainContainer;
|
||||
private Control.TreeViewEx treeLeftViewEx;
|
||||
private Control.GridControlEx gridLeft;
|
||||
private DevExpress.XtraEditors.SplitContainerControl splitRightContainer;
|
||||
private System.Windows.Forms.Panel rightDetailPanel;
|
||||
private Control.GridControlEx gcMain;
|
||||
private DevExpress.XtraEditors.SplitContainerControl splitControlContainer;
|
||||
private DevExpress.XtraEditors.PanelControl plm_top_cond;
|
||||
private System.Windows.Forms.Label speciesNoLab;
|
||||
private DevExpress.XtraEditors.TextEdit speciesNoEdit;
|
||||
private System.Windows.Forms.Label projectLab;
|
||||
private DevExpress.XtraEditors.TextEdit speciesNameEdit;
|
||||
private System.Windows.Forms.Label speciesNameLab;
|
||||
private DevExpress.XtraEditors.XtraScrollableControl pl_Top;
|
||||
private DevExpress.XtraEditors.XtraScrollableControl pl_Bottom;
|
||||
private DevExpress.XtraEditors.PanelControl pl_BottomBtn;
|
||||
private DevExpress.XtraEditors.TextEdit projectEdit;
|
||||
private DevExpress.XtraEditors.PanelControl plm_bot_btn;
|
||||
private DevExpress.XtraEditors.SimpleButton btnUpdate;
|
||||
private DevExpress.XtraEditors.SimpleButton btnSave;
|
||||
private DevExpress.XtraEditors.PanelControl plm_bot_cond;
|
||||
private DevExpress.XtraEditors.SimpleButton btnCondSearch;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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,136 @@
|
||||
<?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>{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Lskj.PubProductSysMge</RootNamespace>
|
||||
<AssemblyName>Lskj.PubProductSysMge</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Debug\Lib\</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>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.BonusSkins.v15.2" />
|
||||
<Reference Include="DevExpress.Data.v15.2" />
|
||||
<Reference Include="DevExpress.Utils.v15.2" />
|
||||
<Reference Include="DevExpress.Sparkline.v15.2.Core" />
|
||||
<Reference Include="DevExpress.XtraEditors.v15.2" />
|
||||
<Reference Include="DevExpress.XtraGrid.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Net" />
|
||||
<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" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DllBaseClass.cs" />
|
||||
<Compile Include="FrmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.Designer.cs">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Model\SysSetModel.cs" />
|
||||
<Compile Include="Model\ProjectModel.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="FrmMain.resx">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<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>
|
||||
<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>
|
||||
<ProjectReference Include="..\Lskj.Business\Lskj.Business.csproj">
|
||||
<Project>{7eafccc2-a18f-49e9-85c6-a984966cfd01}</Project>
|
||||
<Name>Lskj.Business</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Lskj.Control\Lskj.Control.csproj">
|
||||
<Project>{447cdc40-659f-4cca-9ed6-8e818b4cf8bf}</Project>
|
||||
<Name>Lskj.Control</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Lskj.Core\Lskj.Core.csproj">
|
||||
<Project>{2A1BE6AC-1077-491B-A754-C5822FE8121E}</Project>
|
||||
<Name>Lskj.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Lskj.Data\Lskj.Data.csproj">
|
||||
<Project>{308B9B18-9BE2-495C-9C64-EED81D567813}</Project>
|
||||
<Name>Lskj.Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Lskj.Interface.Api\Lskj.Interface.Api.csproj">
|
||||
<Project>{24e9a18a-baf8-4052-809e-582b4fc6a8c4}</Project>
|
||||
<Name>Lskj.Interface.Api</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Lskj.Model\Lskj.Model.csproj">
|
||||
<Project>{52bc40e0-c0c6-4f78-996b-cae028d209ca}</Project>
|
||||
<Name>Lskj.Model</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Lskj.Util\Lskj.Util.csproj">
|
||||
<Project>{a51bf642-6543-4de3-8948-83f558b72bd4}</Project>
|
||||
<Name>Lskj.Util</Name>
|
||||
</ProjectReference>
|
||||
</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>
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Lskj.PubProductSysMge.Model
|
||||
{
|
||||
public class ProjectModel
|
||||
{
|
||||
public ProjectModel(object editText, object valueText)
|
||||
{
|
||||
this.EditText = editText;
|
||||
this.ValueText = valueText;
|
||||
}
|
||||
public object EditText { get; set; }
|
||||
public object ValueText { get; set; }
|
||||
public override string ToString()
|
||||
{
|
||||
return EditText != null ? this.EditText.ToString() : "";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
using Lskj.Control.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Lskj.PubProductSysMge.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// PubProductSysMge实体类
|
||||
/// </summary>
|
||||
public class SysSetModel : ControlModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int GroupId { get; set; }
|
||||
/// <summary>
|
||||
/// 方案名称
|
||||
/// </summary>
|
||||
public string GroupName { get; set; }
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int OrderId { get; set; }
|
||||
/// <summary>
|
||||
/// 节点
|
||||
/// </summary>
|
||||
public string SpeciesId { get; set; }
|
||||
/// <summary>
|
||||
/// 节点名
|
||||
/// </summary>
|
||||
public string SpeciesName { get; set; }
|
||||
/// <summary>
|
||||
/// 参数名
|
||||
/// </summary>
|
||||
public string SysName { get; set; }
|
||||
public int SysCount { get; set; }
|
||||
public int SysInt { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string SysInfo { get; set; }
|
||||
//禁用标识
|
||||
public int Ban { get; set; }
|
||||
/// <summary>
|
||||
/// 类型 ,1仅限选择,2仅限输入
|
||||
/// </summary>
|
||||
public string Item { get; set; }
|
||||
public string XZ1 { get; set; }
|
||||
/// <summary>
|
||||
/// 反写字段
|
||||
/// </summary>
|
||||
public string DbName { get; set; }
|
||||
public int? DbNameCount { get; set; }
|
||||
/// <summary>
|
||||
/// 是否反写规格
|
||||
/// </summary>
|
||||
public int? SpecDbName { get; set; }
|
||||
/// <summary>
|
||||
/// 是否反写型号
|
||||
/// </summary>
|
||||
public int? ModelDbName { get; set; }
|
||||
/// <summary>
|
||||
/// 是否反写综合属性
|
||||
/// </summary>
|
||||
public int? ZhSxdbName { get; set; }
|
||||
/// <summary>
|
||||
/// 是否反写材质
|
||||
/// </summary>
|
||||
public int? CzdbName { get; set; }
|
||||
/// <summary>
|
||||
/// 反写规格型号类型
|
||||
/// </summary>
|
||||
public string FxType { get; set; }
|
||||
/// <summary>
|
||||
/// 反写字段类型
|
||||
/// </summary>
|
||||
public string FxTypeDB { get; set; }
|
||||
/// <summary>
|
||||
/// 数据源来源类型
|
||||
/// </summary>
|
||||
public string DataSourceType { get; set; }
|
||||
/// <summary>
|
||||
/// 数据源来源sql
|
||||
/// </summary>
|
||||
public string DataSourceSql { get; set; }
|
||||
/// <summary>
|
||||
/// 生成BOM标识
|
||||
/// </summary>
|
||||
public int? BomTig { get; set; }
|
||||
/// <summary>
|
||||
/// 连接符
|
||||
/// </summary>
|
||||
public string ConnectorStr { get; set; }
|
||||
/// <summary>
|
||||
/// 默认编码
|
||||
/// </summary>
|
||||
public string DefaultID { get; set; }
|
||||
/// <summary>
|
||||
/// 默认名称
|
||||
/// </summary>
|
||||
public string DefaultName { get; set; }
|
||||
/// <summary>
|
||||
/// 必填标识
|
||||
/// </summary>
|
||||
public int? MustTig { get; set; }
|
||||
/// <summary>
|
||||
/// 关联字段
|
||||
/// </summary>
|
||||
public string UnionFields { get; set; }
|
||||
/// <summary>
|
||||
/// 关联值
|
||||
/// </summary>
|
||||
/// <value>The union values.</value>
|
||||
public string UnionValues { get; set; }
|
||||
/// <summary>
|
||||
/// 禁编
|
||||
/// </summary>
|
||||
/// <value>The union values.</value>
|
||||
public bool ProhibitEdited { get; set; }
|
||||
|
||||
|
||||
public SysSetModel(DataRow rowItem)
|
||||
{
|
||||
this.Id = rowItem.Table.Columns.Contains("id") ? Convert.ToInt32(rowItem["id"] + "") : 0;
|
||||
this.GroupId = rowItem.Table.Columns.Contains("Groupid") ? Convert.ToInt32(rowItem["Groupid"] + "") : 0;
|
||||
this.GroupName = rowItem.Table.Columns.Contains("GroupName") ? rowItem["GroupName"] + "" : "";
|
||||
this.OrderId = rowItem.Table.Columns.Contains("orderid") ? Convert.ToInt32(rowItem["orderid"] + "") : 0;
|
||||
this.SpeciesId = rowItem.Table.Columns.Contains("speciesid") ? rowItem["speciesid"] + "" : "";
|
||||
this.SpeciesName = rowItem.Table.Columns.Contains("speciesname") ? rowItem["speciesname"] + "" : "";
|
||||
this.SysName = rowItem.Table.Columns.Contains("sysname") ? rowItem["sysname"] + "" : "";
|
||||
this.SysCount = rowItem.Table.Columns.Contains("syscount") ? Convert.ToInt32(rowItem["syscount"] + "") : 0;
|
||||
this.SysInt = rowItem.Table.Columns.Contains("sysint") ? Convert.ToInt32(rowItem["sysint"] + "") : 0;
|
||||
this.SysInfo = rowItem.Table.Columns.Contains("sysinfo") ? rowItem["sysinfo"] + "" : "";
|
||||
this.Ban = rowItem.Table.Columns.Contains("ban") ? Convert.ToInt32(rowItem["ban"] + "") : 0;
|
||||
this.Item = rowItem.Table.Columns.Contains("Item") ? rowItem["Item"] + "" : "";
|
||||
this.XZ1 = rowItem.Table.Columns.Contains("XZ1") ? rowItem["XZ1"] + "" : "";
|
||||
this.DbName = rowItem.Table.Columns.Contains("dbname") ? rowItem["dbname"] + "" : "";
|
||||
this.DbNameCount = rowItem.Table.Columns.Contains("dbnameCount") ? rowItem["dbnameCount"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["dbnameCount"] + "") : 0;
|
||||
this.SpecDbName = rowItem.Table.Columns.Contains("specdbname") ? rowItem["specdbname"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["specdbname"] + "") : 0;
|
||||
this.ModelDbName = rowItem.Table.Columns.Contains("modeldbname") ? rowItem["modeldbname"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["modeldbname"] + "") : 0;
|
||||
this.ZhSxdbName = rowItem.Table.Columns.Contains("ZhSxdbName") ? rowItem["ZhSxdbName"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["ZhSxdbName"] + "") : 0;
|
||||
this.CzdbName = rowItem.Table.Columns.Contains("CzdbName") ? rowItem["CzdbName"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["CzdbName"] + "") : 0;
|
||||
this.FxType = rowItem.Table.Columns.Contains("FxType") ? rowItem["FxType"] + "" : "";
|
||||
this.FxTypeDB = rowItem.Table.Columns.Contains("FxTypeDB") ? rowItem["FxTypeDB"] + "" : "";
|
||||
this.DataSourceType = rowItem.Table.Columns.Contains("DataSourceType") ? rowItem["DataSourceType"] + "" : "";
|
||||
this.DataSourceSql = rowItem.Table.Columns.Contains("DataSourceSql") ? rowItem["DataSourceSql"] + "" : "";
|
||||
this.BomTig = rowItem.Table.Columns.Contains("BomTig") ? rowItem["BomTig"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["BomTig"] + "") : 0;
|
||||
this.ConnectorStr = rowItem.Table.Columns.Contains("ConnectorStr") ? rowItem["ConnectorStr"] + "" : "";
|
||||
this.DefaultID = rowItem.Table.Columns.Contains("defaultID") ? rowItem["defaultID"] + "" : "";
|
||||
this.DefaultName = rowItem.Table.Columns.Contains("defaultName") ? rowItem["defaultName"] + "" : "";
|
||||
this.MustTig = rowItem.Table.Columns.Contains("musttig") ? rowItem["musttig"] == DBNull.Value ? (int?)null : Convert.ToInt32(rowItem["musttig"] + "") : 0;
|
||||
this.UnionFields = rowItem.Table.Columns.Contains("RelevanceField") ? rowItem["RelevanceField"] + "" : "";
|
||||
this.UnionValues = rowItem.Table.Columns.Contains("RelevanceValue") ? rowItem["RelevanceValue"] + "" : "";
|
||||
this.ProhibitEdited = rowItem.Table.Columns.Contains("ProhibitEdited") ? "1".Equals(rowItem["ProhibitEdited"] + "") : false;
|
||||
this.LookUpFieldsWidth = "";
|
||||
this.LookUpWidth = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.UserSkins;
|
||||
using DevExpress.Skins;
|
||||
using DevExpress.LookAndFeel;
|
||||
|
||||
namespace Lskj.PubProductSysMge
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
BonusSkins.Register();
|
||||
SkinManager.EnableFormSkins();
|
||||
UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");
|
||||
Application.Run(new FrmMain());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
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("Lskj.PubProductSysMge")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Lskj.PubProductSysMge")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[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("9006f149-aa49-4b8e-ba69-386d945fa738")]
|
||||
|
||||
// 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("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Lskj.PubProductSysMge.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 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("Lskj.PubProductSysMge.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
<?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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Lskj.PubProductSysMge.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,2 @@
|
||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Spire.XLS" publicKeyToken="663f351905198cb3" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-10.3.8.0" newVersion="10.3.8.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Spire.Presentation" publicKeyToken="663f351905198cb3" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.3.6.0" newVersion="5.3.6.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Spire.Doc" publicKeyToken="663f351905198cb3" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.3.15.0" newVersion="8.3.15.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="NPOI" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.1.3.1" newVersion="2.1.3.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /></startup></configuration>
|
||||
Reference in New Issue
Block a user