init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.BaseAccraditation", "Lskj.BaseAccraditation\Lskj.BaseAccraditation.csproj", "{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|Mixed Platforms = Release|Mixed Platforms
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|x86.Build.0 = Debug|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|x86.ActiveCfg = Release|x86
|
||||
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
namespace Lskj.BaseAccraditation.BackSelect
|
||||
{
|
||||
partial class frmBackSelect
|
||||
{
|
||||
/// <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.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
|
||||
this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.txtYj = new Lskj.MyControl.LabelTextarea();
|
||||
this.searchStep = new Lskj.MyControl.LabelComboxEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
|
||||
this.panelControl1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
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(424, 1);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// panelControl1
|
||||
//
|
||||
this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.panelControl1.Controls.Add(this.panel1);
|
||||
this.panelControl1.Controls.Add(this.simpleButton2);
|
||||
this.panelControl1.Controls.Add(this.simpleButton1);
|
||||
this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panelControl1.Location = new System.Drawing.Point(0, 208);
|
||||
this.panelControl1.Name = "panelControl1";
|
||||
this.panelControl1.Size = new System.Drawing.Size(424, 56);
|
||||
this.panelControl1.TabIndex = 5;
|
||||
//
|
||||
// simpleButton2
|
||||
//
|
||||
this.simpleButton2.Location = new System.Drawing.Point(233, 12);
|
||||
this.simpleButton2.Name = "simpleButton2";
|
||||
this.simpleButton2.Size = new System.Drawing.Size(75, 29);
|
||||
this.simpleButton2.TabIndex = 1;
|
||||
this.simpleButton2.Text = "取消";
|
||||
this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
|
||||
//
|
||||
// simpleButton1
|
||||
//
|
||||
this.simpleButton1.Location = new System.Drawing.Point(141, 12);
|
||||
this.simpleButton1.Name = "simpleButton1";
|
||||
this.simpleButton1.Size = new System.Drawing.Size(75, 29);
|
||||
this.simpleButton1.TabIndex = 0;
|
||||
this.simpleButton1.Text = "确定";
|
||||
this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
|
||||
//
|
||||
// txtYj
|
||||
//
|
||||
this.txtYj.DefaultString = null;
|
||||
this.txtYj.LabelText = "返退意见";
|
||||
this.txtYj.Location = new System.Drawing.Point(36, 40);
|
||||
this.txtYj.Name = "txtYj";
|
||||
this.txtYj.Size = new System.Drawing.Size(374, 153);
|
||||
this.txtYj.TabIndex = 4;
|
||||
this.txtYj.TipMsg = "";
|
||||
this.txtYj.UnionFields = null;
|
||||
this.txtYj.UnionValue = null;
|
||||
//
|
||||
// searchStep
|
||||
//
|
||||
this.searchStep.DefaultString = null;
|
||||
this.searchStep.LabelText = "选择返退步骤";
|
||||
this.searchStep.Location = new System.Drawing.Point(12, 7);
|
||||
this.searchStep.Name = "searchStep";
|
||||
this.searchStep.Size = new System.Drawing.Size(398, 21);
|
||||
this.searchStep.TabIndex = 6;
|
||||
this.searchStep.TipMsg = null;
|
||||
this.searchStep.UnionFields = null;
|
||||
this.searchStep.UnionValue = null;
|
||||
//
|
||||
// frmBackSelect
|
||||
//
|
||||
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(424, 264);
|
||||
this.Controls.Add(this.panelControl1);
|
||||
this.Controls.Add(this.txtYj);
|
||||
this.Controls.Add(this.searchStep);
|
||||
this.LookAndFeel.SkinName = "Office 2010 Blue";
|
||||
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
|
||||
this.Name = "frmBackSelect";
|
||||
this.Text = "选择返退步骤";
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
|
||||
this.panelControl1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl1;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton2;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton1;
|
||||
private MyControl.LabelTextarea txtYj;
|
||||
private MyControl.LabelComboxEx searchStep;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using CommonLib.data;
|
||||
|
||||
namespace Lskj.BaseAccraditation.BackSelect
|
||||
{
|
||||
public partial class frmBackSelect : FormBase
|
||||
{
|
||||
public int SelectStepCode = 0;
|
||||
public string ComfirmMsg = string.Empty;
|
||||
|
||||
public frmBackSelect(string typeCode, int CurrStepcode, int billType, string parmaryKey,string parmaryValue, string masterTable, string column_Prefix)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
string sql = "select * from (select stepCode,stepName " +
|
||||
"from p_systemdlltabflowtypestep " +
|
||||
"where typeCode='" + typeCode + "'" +
|
||||
" and billType=" + billType.ToString() +
|
||||
" and stepCode<" + CurrStepcode +
|
||||
"union all " +
|
||||
"select 0,'退回至提交人') x order by stepcode desc ";
|
||||
sql = @"select * from (select distinct a.stepCode,c.stepName
|
||||
from p_baseflowstep a
|
||||
inner join " + masterTable + @" b on a.flowsourcekey=b." + parmaryKey + @"
|
||||
inner join p_systemdlltabflowtypestep c on a.stepCode=c.stepCode and c.billType=b." + column_Prefix + @"billtype
|
||||
where a.flowSourceKey='" + parmaryValue + @"'
|
||||
and isnull(a.autoStep,0)=0
|
||||
and ISNULL(a.operDirection,'F')='F'
|
||||
and a.stepCode<" + CurrStepcode +
|
||||
"union all " +
|
||||
"select 0,'退回至提交人') x order by stepcode desc ";
|
||||
//DataTable dt = SqlHelper.ExecuteDataSet(sql).Tables[0];
|
||||
searchStep.setDataSource(sql, "stepCode", "stepName");
|
||||
searchStep.getComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
searchStep.getComboBox.SelectedValue = 9999;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="flowStepTable">流转表名</param> wms_billflowstep
|
||||
/// <param name="masterTable">主表名</param>Qms_CrmFineMainTab
|
||||
/// <param name="flowTypeStepTable">流转类别表名</param>p_systembillflowtypestep
|
||||
/// <param name="currStepCode">当前步骤编号.</param>200
|
||||
/// <param name="parmaryKey">主键名</param>qms_crm_Billdocument_Id
|
||||
/// <param name="paramaryValue">主键值</param>FK2210180004
|
||||
/// <param name="columnPrefix">列前缀</param>qms_crm_
|
||||
public frmBackSelect(string flowStepTable, string masterTable, string flowTypeStepTable, int currStepCode, string parmaryKey, string paramaryValue, string columnPrefix)
|
||||
{
|
||||
InitializeComponent();
|
||||
//string sql = "select * from (select stepCode,stepName " +
|
||||
// "from p_systembillflowtypestep " +
|
||||
// "where typeCode='" + typeCode + "'" +
|
||||
// " and billType=" + billType.ToString() +
|
||||
// " and stepCode<" + CurrStepcode +
|
||||
// "union all " +
|
||||
// "select 0,'退回至提交人') x order by stepcode desc ";
|
||||
|
||||
|
||||
string sqlValue = string.Format(@"select * from (select distinct a.stepCode,c.stepName
|
||||
from {5} a
|
||||
inner join {0} b on a.flowsourcekey=b.{1}
|
||||
inner join {6} c on a.stepCode=c.stepCode and c.billType=b.{2}billtype
|
||||
where a.flowSourceKey='{3}'
|
||||
and isnull(a.autoStep,0)=0
|
||||
and ISNULL(a.operDirection,'F')='F'
|
||||
and a.stepCode<{4}
|
||||
union all
|
||||
select 0,'退回至提交人') x order by stepcode desc", masterTable, parmaryKey, columnPrefix, paramaryValue, currStepCode, flowStepTable, flowTypeStepTable);
|
||||
//DataTable dt = SqlHelper.ExecuteDataSet(sql).Tables[0];
|
||||
searchStep.setDataSource(sqlValue, "stepCode", "stepName");
|
||||
searchStep.getComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
searchStep.getComboBox.SelectedValue = 9999;
|
||||
}
|
||||
|
||||
private void simpleButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (searchStep.Text == "")
|
||||
{
|
||||
MessageBox.Show("请选择返退步骤");
|
||||
return;
|
||||
}
|
||||
if ((txtYj.Text.Trim()) == "")
|
||||
{
|
||||
MessageBox.Show("请输入返退意见");
|
||||
return;
|
||||
}
|
||||
SelectStepCode = Convert.ToInt32(searchStep.getComboBox.SelectedValue);
|
||||
ComfirmMsg = txtYj.Text;
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void simpleButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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,73 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using CommonLib;
|
||||
using CommonLib.utils;
|
||||
using System.Windows.Forms;
|
||||
using Lskj.PubAdd2;
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
namespace Lskj.PubAccraditation
|
||||
{
|
||||
/// <summary>
|
||||
/// c#库被调用统一接口类
|
||||
/// </summary>
|
||||
public sealed class DllBaseClass : IForm
|
||||
{
|
||||
public DllBaseClass()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//以数组传入参数,容易扩展
|
||||
public DllBaseClass(string[] obj)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (obj.Length > 9 && !string.IsNullOrEmpty(obj[5]) && !string.IsNullOrEmpty(obj[6]) && !string.IsNullOrEmpty(obj[7]))
|
||||
{
|
||||
// 消息打开弹出基础档案审核详情界面
|
||||
FrmAdd frm = new FrmAdd();
|
||||
SubForm = frm;
|
||||
|
||||
frm.FormText = obj[0];
|
||||
frm.OperatorId = obj[1];
|
||||
frm.OperatorName = obj[2];
|
||||
frm.Privilege = obj[3];
|
||||
frm.DLLCoid = obj[4];
|
||||
frm.ModuleDllCoid = obj[5];
|
||||
frm.stepCode = obj[6];
|
||||
frm.ObjectId = obj[7];
|
||||
//frm.ConfirmID = obj[8];
|
||||
|
||||
//frm.OverBacked = "0";
|
||||
//frm.IsView = "1";
|
||||
//frm.HasConfirm = "1";
|
||||
}
|
||||
else
|
||||
{
|
||||
FrmMain _FrmMain = new FrmMain();
|
||||
SubForm = _FrmMain;
|
||||
|
||||
_FrmMain.FormText = obj[0];
|
||||
_FrmMain.OperatorId = obj[1];
|
||||
_FrmMain.OperatorName = obj[2];
|
||||
_FrmMain.Privilege = obj[3];
|
||||
_FrmMain.DLLCoid = obj[4];
|
||||
_FrmMain.ModuleId = obj[5];
|
||||
if (obj.Length > 6)
|
||||
_FrmMain.ModuleDllId = obj[6];
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 窗口
|
||||
/// </summary>
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
+600
@@ -0,0 +1,600 @@
|
||||
namespace Lskj.PubAccraditation
|
||||
{
|
||||
partial class FrmAccraditation
|
||||
{
|
||||
/// <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.panel2 = new System.Windows.Forms.Panel();
|
||||
this.gcAttach = new DevExpress.XtraGrid.GridControl();
|
||||
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.sh = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.stepName = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.operAdvice = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.operTime = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.col_operatorName = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.txtRemark = new System.Windows.Forms.TextBox();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.txtYj = new Lskj.MyControl.LabelComboxEx();
|
||||
this.btnAtt = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.dpbTools = new DevExpress.XtraEditors.DropDownButton();
|
||||
this.pMenu = new DevExpress.XtraBars.PopupMenu();
|
||||
this.barManager1 = new DevExpress.XtraBars.BarManager();
|
||||
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
||||
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
||||
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
||||
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.btnReturn = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnOk = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.txtCheckDate = new Lskj.MyControl.LabelDateEx();
|
||||
this.txtCheckName = new Lskj.MyControl.LabelTextEx();
|
||||
this.gbName = new System.Windows.Forms.Label();
|
||||
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.plbillInfo = new System.Windows.Forms.Panel();
|
||||
this.tabDetailMain = new DevExpress.XtraTab.XtraTabControl();
|
||||
this.tabItem = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.plRight = new System.Windows.Forms.Panel();
|
||||
this.pl_right_center = new System.Windows.Forms.Panel();
|
||||
this.gridBillInfo = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvBill = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.pl_right_main = new System.Windows.Forms.Panel();
|
||||
this.txt_Billdocument_Id = new Lskj.MyControl.LabelTextEx();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcAttach)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pMenu)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
|
||||
this.panel5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
|
||||
this.plbillInfo.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabDetailMain)).BeginInit();
|
||||
this.tabDetailMain.SuspendLayout();
|
||||
this.panel7.SuspendLayout();
|
||||
this.plRight.SuspendLayout();
|
||||
this.pl_right_center.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridBillInfo)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvBill)).BeginInit();
|
||||
this.pl_right_main.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.gcAttach);
|
||||
this.panel2.Controls.Add(this.label2);
|
||||
this.panel2.Controls.Add(this.panel1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel2.Location = new System.Drawing.Point(766, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(242, 670);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// gcAttach
|
||||
//
|
||||
this.gcAttach.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gcAttach.Location = new System.Drawing.Point(0, 23);
|
||||
this.gcAttach.MainView = this.gridView1;
|
||||
this.gcAttach.Name = "gcAttach";
|
||||
this.gcAttach.Size = new System.Drawing.Size(242, 358);
|
||||
this.gcAttach.TabIndex = 0;
|
||||
this.gcAttach.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gridView1});
|
||||
//
|
||||
// gridView1
|
||||
//
|
||||
this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gridView1.Appearance.HeaderPanel.Options.UseFont = true;
|
||||
this.gridView1.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gridView1.Appearance.Row.Options.UseFont = true;
|
||||
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.sh,
|
||||
this.stepName,
|
||||
this.operAdvice,
|
||||
this.operTime,
|
||||
this.col_operatorName});
|
||||
this.gridView1.GridControl = this.gcAttach;
|
||||
this.gridView1.Name = "gridView1";
|
||||
this.gridView1.OptionsBehavior.Editable = false;
|
||||
this.gridView1.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click;
|
||||
this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||
this.gridView1.OptionsView.ShowGroupPanel = false;
|
||||
this.gridView1.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
|
||||
this.gridView1.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridView1_RowStyle);
|
||||
//
|
||||
// sh
|
||||
//
|
||||
this.sh.Caption = "状态";
|
||||
this.sh.FieldName = "sh";
|
||||
this.sh.Name = "sh";
|
||||
this.sh.Width = 58;
|
||||
//
|
||||
// stepName
|
||||
//
|
||||
this.stepName.Caption = "环节名称";
|
||||
this.stepName.FieldName = "stepName";
|
||||
this.stepName.Name = "stepName";
|
||||
this.stepName.Visible = true;
|
||||
this.stepName.VisibleIndex = 0;
|
||||
this.stepName.Width = 121;
|
||||
//
|
||||
// operAdvice
|
||||
//
|
||||
this.operAdvice.Caption = "审核意见";
|
||||
this.operAdvice.FieldName = "operAdvice";
|
||||
this.operAdvice.Name = "operAdvice";
|
||||
this.operAdvice.Visible = true;
|
||||
this.operAdvice.VisibleIndex = 1;
|
||||
this.operAdvice.Width = 84;
|
||||
//
|
||||
// operTime
|
||||
//
|
||||
this.operTime.Caption = "审核时间";
|
||||
this.operTime.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
||||
this.operTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
|
||||
this.operTime.FieldName = "operTime";
|
||||
this.operTime.Name = "operTime";
|
||||
this.operTime.Visible = true;
|
||||
this.operTime.VisibleIndex = 3;
|
||||
this.operTime.Width = 87;
|
||||
//
|
||||
// col_operatorName
|
||||
//
|
||||
this.col_operatorName.Caption = "审核人";
|
||||
this.col_operatorName.FieldName = "operatorName";
|
||||
this.col_operatorName.Name = "col_operatorName";
|
||||
this.col_operatorName.Visible = true;
|
||||
this.col_operatorName.VisibleIndex = 2;
|
||||
this.col_operatorName.Width = 92;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.BackColor = System.Drawing.Color.Teal;
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label2.ForeColor = System.Drawing.Color.White;
|
||||
this.label2.Location = new System.Drawing.Point(0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(242, 23);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "流转记录";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Controls.Add(this.panel5);
|
||||
this.panel1.Controls.Add(this.gbName);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 381);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(242, 289);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.txtRemark);
|
||||
this.panel3.Controls.Add(this.panel4);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 23);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(242, 197);
|
||||
this.panel3.TabIndex = 11;
|
||||
//
|
||||
// txtRemark
|
||||
//
|
||||
this.txtRemark.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtRemark.Location = new System.Drawing.Point(0, 0);
|
||||
this.txtRemark.Multiline = true;
|
||||
this.txtRemark.Name = "txtRemark";
|
||||
this.txtRemark.Size = new System.Drawing.Size(242, 138);
|
||||
this.txtRemark.TabIndex = 0;
|
||||
this.txtRemark.Text = "同意";
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.txtYj);
|
||||
this.panel4.Controls.Add(this.btnAtt);
|
||||
this.panel4.Controls.Add(this.dpbTools);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 138);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(242, 59);
|
||||
this.panel4.TabIndex = 0;
|
||||
//
|
||||
// txtYj
|
||||
//
|
||||
this.txtYj.DefaultString = null;
|
||||
this.txtYj.LabelText = "常用意见";
|
||||
this.txtYj.Location = new System.Drawing.Point(2, 6);
|
||||
this.txtYj.Name = "txtYj";
|
||||
this.txtYj.Size = new System.Drawing.Size(235, 21);
|
||||
this.txtYj.TabIndex = 2;
|
||||
this.txtYj.TipMsg = null;
|
||||
this.txtYj.UnionFields = null;
|
||||
this.txtYj.UnionValue = null;
|
||||
//
|
||||
// btnAtt
|
||||
//
|
||||
this.btnAtt.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnAtt.Appearance.Options.UseFont = true;
|
||||
this.btnAtt.Location = new System.Drawing.Point(91, 32);
|
||||
this.btnAtt.Name = "btnAtt";
|
||||
this.btnAtt.Size = new System.Drawing.Size(145, 23);
|
||||
this.btnAtt.TabIndex = 3;
|
||||
this.btnAtt.Text = "附件";
|
||||
this.btnAtt.Click += new System.EventHandler(this.btnAtt_Click);
|
||||
//
|
||||
// dpbTools
|
||||
//
|
||||
this.dpbTools.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.dpbTools.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.dpbTools.Appearance.Options.UseFont = true;
|
||||
this.dpbTools.DropDownArrowStyle = DevExpress.XtraEditors.DropDownArrowStyle.Show;
|
||||
this.dpbTools.DropDownControl = this.pMenu;
|
||||
this.dpbTools.Location = new System.Drawing.Point(5, 32);
|
||||
this.dpbTools.Name = "dpbTools";
|
||||
this.dpbTools.Size = new System.Drawing.Size(75, 23);
|
||||
this.dpbTools.TabIndex = 10;
|
||||
this.dpbTools.Text = "常用工具";
|
||||
//
|
||||
// pMenu
|
||||
//
|
||||
this.pMenu.Manager = this.barManager1;
|
||||
this.pMenu.MenuDrawMode = DevExpress.XtraBars.MenuDrawMode.SmallImagesText;
|
||||
this.pMenu.Name = "pMenu";
|
||||
//
|
||||
// barManager1
|
||||
//
|
||||
this.barManager1.DockControls.Add(this.barDockControlTop);
|
||||
this.barManager1.DockControls.Add(this.barDockControlBottom);
|
||||
this.barManager1.DockControls.Add(this.barDockControlLeft);
|
||||
this.barManager1.DockControls.Add(this.barDockControlRight);
|
||||
this.barManager1.Form = this;
|
||||
this.barManager1.MaxItemId = 0;
|
||||
//
|
||||
// barDockControlTop
|
||||
//
|
||||
this.barDockControlTop.CausesValidation = false;
|
||||
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
|
||||
this.barDockControlTop.Size = new System.Drawing.Size(1008, 0);
|
||||
//
|
||||
// barDockControlBottom
|
||||
//
|
||||
this.barDockControlBottom.CausesValidation = false;
|
||||
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.barDockControlBottom.Location = new System.Drawing.Point(0, 670);
|
||||
this.barDockControlBottom.Size = new System.Drawing.Size(1008, 0);
|
||||
//
|
||||
// barDockControlLeft
|
||||
//
|
||||
this.barDockControlLeft.CausesValidation = false;
|
||||
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
|
||||
this.barDockControlLeft.Size = new System.Drawing.Size(0, 670);
|
||||
//
|
||||
// barDockControlRight
|
||||
//
|
||||
this.barDockControlRight.CausesValidation = false;
|
||||
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.barDockControlRight.Location = new System.Drawing.Point(1008, 0);
|
||||
this.barDockControlRight.Size = new System.Drawing.Size(0, 670);
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.btnReturn);
|
||||
this.panel5.Controls.Add(this.btnOk);
|
||||
this.panel5.Controls.Add(this.txtCheckDate);
|
||||
this.panel5.Controls.Add(this.txtCheckName);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 220);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(242, 69);
|
||||
this.panel5.TabIndex = 1;
|
||||
//
|
||||
// btnReturn
|
||||
//
|
||||
this.btnReturn.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnReturn.Appearance.Options.UseFont = true;
|
||||
this.btnReturn.Location = new System.Drawing.Point(174, 38);
|
||||
this.btnReturn.Name = "btnReturn";
|
||||
this.btnReturn.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnReturn.TabIndex = 9;
|
||||
this.btnReturn.Text = "返退";
|
||||
this.btnReturn.Click += new System.EventHandler(this.btnReturn_Click);
|
||||
//
|
||||
// btnOk
|
||||
//
|
||||
this.btnOk.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnOk.Appearance.Options.UseFont = true;
|
||||
this.btnOk.Location = new System.Drawing.Point(174, 9);
|
||||
this.btnOk.Name = "btnOk";
|
||||
this.btnOk.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnOk.TabIndex = 8;
|
||||
this.btnOk.Text = "审核";
|
||||
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
||||
//
|
||||
// txtCheckDate
|
||||
//
|
||||
this.txtCheckDate.DefaultString = null;
|
||||
this.txtCheckDate.LabelText = "发生时间";
|
||||
this.txtCheckDate.Location = new System.Drawing.Point(5, 38);
|
||||
this.txtCheckDate.Name = "txtCheckDate";
|
||||
this.txtCheckDate.Size = new System.Drawing.Size(163, 21);
|
||||
this.txtCheckDate.TabIndex = 7;
|
||||
this.txtCheckDate.TipMsg = null;
|
||||
this.txtCheckDate.UnionFields = null;
|
||||
this.txtCheckDate.UnionValue = null;
|
||||
//
|
||||
// txtCheckName
|
||||
//
|
||||
this.txtCheckName.DefaultString = null;
|
||||
this.txtCheckName.IsEmpt = false;
|
||||
this.txtCheckName.LabelText = "主管审核";
|
||||
this.txtCheckName.Location = new System.Drawing.Point(5, 10);
|
||||
this.txtCheckName.Name = "txtCheckName";
|
||||
this.txtCheckName.Size = new System.Drawing.Size(163, 21);
|
||||
this.txtCheckName.TabIndex = 6;
|
||||
this.txtCheckName.TipMsg = null;
|
||||
this.txtCheckName.UnionFields = null;
|
||||
this.txtCheckName.UnionValue = null;
|
||||
//
|
||||
// gbName
|
||||
//
|
||||
this.gbName.BackColor = System.Drawing.Color.Teal;
|
||||
this.gbName.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.gbName.ForeColor = System.Drawing.Color.White;
|
||||
this.gbName.Location = new System.Drawing.Point(0, 0);
|
||||
this.gbName.Name = "gbName";
|
||||
this.gbName.Size = new System.Drawing.Size(242, 23);
|
||||
this.gbName.TabIndex = 0;
|
||||
this.gbName.Text = "审核人员";
|
||||
this.gbName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// gridView2
|
||||
//
|
||||
this.gridView2.Name = "gridView2";
|
||||
//
|
||||
// plbillInfo
|
||||
//
|
||||
this.plbillInfo.Controls.Add(this.tabDetailMain);
|
||||
this.plbillInfo.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.plbillInfo.Location = new System.Drawing.Point(0, 440);
|
||||
this.plbillInfo.Name = "plbillInfo";
|
||||
this.plbillInfo.Size = new System.Drawing.Size(766, 230);
|
||||
this.plbillInfo.TabIndex = 2;
|
||||
//
|
||||
// tabDetailMain
|
||||
//
|
||||
this.tabDetailMain.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabDetailMain.Appearance.Options.UseFont = true;
|
||||
this.tabDetailMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabDetailMain.AppearancePage.Header.Options.UseFont = true;
|
||||
this.tabDetailMain.AppearancePage.HeaderActive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabDetailMain.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.Blue;
|
||||
this.tabDetailMain.AppearancePage.HeaderActive.Options.UseFont = true;
|
||||
this.tabDetailMain.AppearancePage.HeaderActive.Options.UseForeColor = true;
|
||||
this.tabDetailMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.tabDetailMain.BorderStylePage = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.tabDetailMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabDetailMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabDetailMain.LookAndFeel.SkinName = "Office 2013 Light Gray";
|
||||
this.tabDetailMain.LookAndFeel.UseDefaultLookAndFeel = false;
|
||||
this.tabDetailMain.Name = "tabDetailMain";
|
||||
this.tabDetailMain.SelectedTabPage = this.tabItem;
|
||||
this.tabDetailMain.Size = new System.Drawing.Size(766, 230);
|
||||
this.tabDetailMain.TabIndex = 0;
|
||||
this.tabDetailMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
||||
this.tabItem});
|
||||
//
|
||||
// tabItem
|
||||
//
|
||||
this.tabItem.Name = "tabItem";
|
||||
this.tabItem.Size = new System.Drawing.Size(764, 206);
|
||||
this.tabItem.Text = "基本需要";
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.BackColor = System.Drawing.Color.White;
|
||||
this.panel7.Controls.Add(this.plRight);
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel7.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(766, 440);
|
||||
this.panel7.TabIndex = 3;
|
||||
//
|
||||
// plRight
|
||||
//
|
||||
this.plRight.Controls.Add(this.pl_right_center);
|
||||
this.plRight.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.plRight.Location = new System.Drawing.Point(0, 0);
|
||||
this.plRight.Name = "plRight";
|
||||
this.plRight.Size = new System.Drawing.Size(766, 440);
|
||||
this.plRight.TabIndex = 14;
|
||||
//
|
||||
// pl_right_center
|
||||
//
|
||||
this.pl_right_center.Controls.Add(this.gridBillInfo);
|
||||
this.pl_right_center.Controls.Add(this.pl_right_main);
|
||||
this.pl_right_center.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pl_right_center.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_right_center.Name = "pl_right_center";
|
||||
this.pl_right_center.Size = new System.Drawing.Size(766, 440);
|
||||
this.pl_right_center.TabIndex = 12;
|
||||
//
|
||||
// gridBillInfo
|
||||
//
|
||||
this.gridBillInfo.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gridBillInfo.EmbeddedNavigator.Appearance.Options.UseTextOptions = true;
|
||||
this.gridBillInfo.EmbeddedNavigator.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gridBillInfo.EmbeddedNavigator.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gridBillInfo.Location = new System.Drawing.Point(0, 61);
|
||||
this.gridBillInfo.MainView = this.gvBill;
|
||||
this.gridBillInfo.Name = "gridBillInfo";
|
||||
this.gridBillInfo.Size = new System.Drawing.Size(766, 379);
|
||||
this.gridBillInfo.TabIndex = 13;
|
||||
this.gridBillInfo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvBill});
|
||||
//
|
||||
// gvBill
|
||||
//
|
||||
this.gvBill.Appearance.FooterPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvBill.Appearance.FooterPanel.Options.UseFont = true;
|
||||
this.gvBill.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvBill.Appearance.HeaderPanel.Options.UseFont = true;
|
||||
this.gvBill.Appearance.HeaderPanel.Options.UseTextOptions = true;
|
||||
this.gvBill.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gvBill.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gvBill.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvBill.Appearance.Preview.Options.UseFont = true;
|
||||
this.gvBill.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvBill.Appearance.Row.Options.UseFont = true;
|
||||
this.gvBill.Appearance.RowSeparator.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvBill.Appearance.RowSeparator.Options.UseFont = true;
|
||||
this.gvBill.GridControl = this.gridBillInfo;
|
||||
this.gvBill.Name = "gvBill";
|
||||
this.gvBill.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||
this.gvBill.OptionsView.ColumnAutoWidth = false;
|
||||
this.gvBill.OptionsView.ShowFooter = true;
|
||||
this.gvBill.OptionsView.ShowGroupPanel = false;
|
||||
this.gvBill.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gvBill_CellValueChanged);
|
||||
//
|
||||
// pl_right_main
|
||||
//
|
||||
this.pl_right_main.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.pl_right_main.Controls.Add(this.txt_Billdocument_Id);
|
||||
this.pl_right_main.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pl_right_main.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_right_main.Name = "pl_right_main";
|
||||
this.pl_right_main.Size = new System.Drawing.Size(766, 61);
|
||||
this.pl_right_main.TabIndex = 11;
|
||||
//
|
||||
// txt_Billdocument_Id
|
||||
//
|
||||
this.txt_Billdocument_Id.DefaultString = null;
|
||||
this.txt_Billdocument_Id.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txt_Billdocument_Id.IsEmpt = false;
|
||||
this.txt_Billdocument_Id.LabelText = "单据号";
|
||||
this.txt_Billdocument_Id.Location = new System.Drawing.Point(612, 3);
|
||||
this.txt_Billdocument_Id.Name = "txt_Billdocument_Id";
|
||||
this.txt_Billdocument_Id.Size = new System.Drawing.Size(151, 21);
|
||||
this.txt_Billdocument_Id.TabIndex = 4;
|
||||
this.txt_Billdocument_Id.TipMsg = null;
|
||||
this.txt_Billdocument_Id.UnionFields = null;
|
||||
this.txt_Billdocument_Id.UnionValue = null;
|
||||
this.txt_Billdocument_Id.Visible = false;
|
||||
//
|
||||
// FrmAccraditation
|
||||
//
|
||||
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1008, 670);
|
||||
this.Controls.Add(this.panel7);
|
||||
this.Controls.Add(this.plbillInfo);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.barDockControlLeft);
|
||||
this.Controls.Add(this.barDockControlRight);
|
||||
this.Controls.Add(this.barDockControlBottom);
|
||||
this.Controls.Add(this.barDockControlTop);
|
||||
this.Name = "FrmAccraditation";
|
||||
this.Text = "审批详细";
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcAttach)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pMenu)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
|
||||
this.panel5.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
|
||||
this.plbillInfo.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabDetailMain)).EndInit();
|
||||
this.tabDetailMain.ResumeLayout(false);
|
||||
this.panel7.ResumeLayout(false);
|
||||
this.plRight.ResumeLayout(false);
|
||||
this.pl_right_center.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridBillInfo)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvBill)).EndInit();
|
||||
this.pl_right_main.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.TextBox txtRemark;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private DevExpress.XtraGrid.GridControl gcAttach;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn operAdvice;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn operTime;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn col_operatorName;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn stepName;
|
||||
private MyControl.LabelTextEx txtCheckName;
|
||||
private MyControl.LabelDateEx txtCheckDate;
|
||||
private DevExpress.XtraEditors.SimpleButton btnOk;
|
||||
private DevExpress.XtraEditors.SimpleButton btnReturn;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
|
||||
private System.Windows.Forms.Panel plbillInfo;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.Panel plRight;
|
||||
private System.Windows.Forms.Panel pl_right_center;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn sh;
|
||||
private System.Windows.Forms.Panel pl_right_main;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Label gbName;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private DevExpress.XtraTab.XtraTabControl tabDetailMain;
|
||||
private DevExpress.XtraTab.XtraTabPage tabItem;
|
||||
private DevExpress.XtraGrid.GridControl gridBillInfo;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvBill;
|
||||
private MyControl.LabelComboxEx txtYj;
|
||||
private DevExpress.XtraEditors.SimpleButton btnAtt;
|
||||
private DevExpress.XtraEditors.DropDownButton dpbTools;
|
||||
private DevExpress.XtraBars.PopupMenu pMenu;
|
||||
private DevExpress.XtraBars.BarManager barManager1;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
||||
private MyControl.LabelTextEx txt_Billdocument_Id;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
||||
<?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="pMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="barManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>242, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+1154
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,836 @@
|
||||
namespace Lskj.PubAccraditation
|
||||
{
|
||||
partial class FrmMain
|
||||
{
|
||||
/// <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 窗体设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
||||
this.tabMain = new DevExpress.XtraTab.XtraTabControl();
|
||||
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.gridFinish = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvFinish = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.stepClosed = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.txtDjh = new Lskj.MyControl.LabelTextEx();
|
||||
this.chkZsry = new Lskj.MyControl.LabelCheckAutoSearcherEx();
|
||||
this.dtEnd = new Lskj.MyControl.LabelCheckDateEx();
|
||||
this.dtBegin = new Lskj.MyControl.LabelCheckDateEx();
|
||||
this.gridFlow = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvFlow = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
|
||||
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.gridMain = new Lskj.MyControl.GridControlEx();
|
||||
this.gridFlow1 = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvFlow1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
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.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
|
||||
this.pnlCondTop = new System.Windows.Forms.Panel();
|
||||
this.sbBack = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnBackAudit = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnOkAudit = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.lbDate = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnReflash = new DevExpress.XtraEditors.SimpleButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
|
||||
this.tabMain.SuspendLayout();
|
||||
this.xtraTabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridFinish)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvFinish)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridFlow)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvFlow)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
|
||||
this.xtraTabPage2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridFlow1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvFlow1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit();
|
||||
this.pnlCondTop.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tabMain
|
||||
//
|
||||
this.tabMain.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabMain.Appearance.Options.UseFont = true;
|
||||
this.tabMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabMain.AppearancePage.Header.Options.UseFont = true;
|
||||
this.tabMain.AppearancePage.HeaderActive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabMain.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.Blue;
|
||||
this.tabMain.AppearancePage.HeaderActive.Options.UseFont = true;
|
||||
this.tabMain.AppearancePage.HeaderActive.Options.UseForeColor = true;
|
||||
this.tabMain.AppearancePage.PageClient.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabMain.AppearancePage.PageClient.Options.UseFont = true;
|
||||
this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabMain.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Bottom;
|
||||
this.tabMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabMain.LookAndFeel.SkinName = "Office 2013 Light Gray";
|
||||
this.tabMain.LookAndFeel.UseDefaultLookAndFeel = false;
|
||||
this.tabMain.Name = "tabMain";
|
||||
this.tabMain.SelectedTabPage = this.xtraTabPage1;
|
||||
this.tabMain.Size = new System.Drawing.Size(1008, 638);
|
||||
this.tabMain.TabIndex = 0;
|
||||
this.tabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
||||
this.xtraTabPage1,
|
||||
this.xtraTabPage2});
|
||||
this.tabMain.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabMain_SelectedPageChanged);
|
||||
this.tabMain.SelectedPageChanging += new DevExpress.XtraTab.TabPageChangingEventHandler(this.tabMain_SelectedPageChanging);
|
||||
this.tabMain.Selected += new DevExpress.XtraTab.TabPageEventHandler(this.tabMain_Selected);
|
||||
this.tabMain.TabIndexChanged += new System.EventHandler(this.tabMain_TabIndexChanged);
|
||||
//
|
||||
// xtraTabPage1
|
||||
//
|
||||
this.xtraTabPage1.Controls.Add(this.gridFinish);
|
||||
this.xtraTabPage1.Controls.Add(this.panel2);
|
||||
this.xtraTabPage1.Controls.Add(this.gridFlow);
|
||||
this.xtraTabPage1.Name = "xtraTabPage1";
|
||||
this.xtraTabPage1.Size = new System.Drawing.Size(1006, 614);
|
||||
this.xtraTabPage1.Text = "已完成单据";
|
||||
//
|
||||
// gridFinish
|
||||
//
|
||||
this.gridFinish.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gridFinish.EmbeddedNavigator.Appearance.Options.UseTextOptions = true;
|
||||
this.gridFinish.EmbeddedNavigator.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gridFinish.EmbeddedNavigator.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gridFinish.Location = new System.Drawing.Point(0, 37);
|
||||
this.gridFinish.MainView = this.gvFinish;
|
||||
this.gridFinish.Name = "gridFinish";
|
||||
this.gridFinish.Size = new System.Drawing.Size(1006, 373);
|
||||
this.gridFinish.TabIndex = 14;
|
||||
this.gridFinish.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvFinish});
|
||||
//
|
||||
// gvFinish
|
||||
//
|
||||
this.gvFinish.Appearance.FooterPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFinish.Appearance.FooterPanel.Options.UseFont = true;
|
||||
this.gvFinish.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFinish.Appearance.HeaderPanel.Options.UseFont = true;
|
||||
this.gvFinish.Appearance.HeaderPanel.Options.UseTextOptions = true;
|
||||
this.gvFinish.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gvFinish.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gvFinish.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFinish.Appearance.Preview.Options.UseFont = true;
|
||||
this.gvFinish.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFinish.Appearance.Row.Options.UseFont = true;
|
||||
this.gvFinish.Appearance.RowSeparator.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFinish.Appearance.RowSeparator.Options.UseFont = true;
|
||||
this.gvFinish.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn1,
|
||||
this.gridColumn2,
|
||||
this.gridColumn3,
|
||||
this.gridColumn4,
|
||||
this.gridColumn5,
|
||||
this.gridColumn6,
|
||||
this.gridColumn7,
|
||||
this.stepClosed});
|
||||
this.gvFinish.GridControl = this.gridFinish;
|
||||
this.gvFinish.IndicatorWidth = 35;
|
||||
this.gvFinish.Name = "gvFinish";
|
||||
this.gvFinish.OptionsBehavior.Editable = false;
|
||||
this.gvFinish.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||
this.gvFinish.OptionsView.ColumnAutoWidth = false;
|
||||
this.gvFinish.OptionsView.ShowFooter = true;
|
||||
this.gvFinish.OptionsView.ShowGroupPanel = false;
|
||||
this.gvFinish.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gvFinish_RowCellClick);
|
||||
this.gvFinish.DoubleClick += new System.EventHandler(this.gvFinish_DoubleClick);
|
||||
//
|
||||
// gridColumn1
|
||||
//
|
||||
this.gridColumn1.Caption = "数据标识号";
|
||||
this.gridColumn1.FieldName = "Billdocument_Id";
|
||||
this.gridColumn1.Name = "gridColumn1";
|
||||
this.gridColumn1.Visible = true;
|
||||
this.gridColumn1.VisibleIndex = 1;
|
||||
this.gridColumn1.Width = 97;
|
||||
//
|
||||
// gridColumn2
|
||||
//
|
||||
this.gridColumn2.Caption = "制单时间";
|
||||
this.gridColumn2.FieldName = "OperateDate";
|
||||
this.gridColumn2.Name = "gridColumn2";
|
||||
this.gridColumn2.Visible = true;
|
||||
this.gridColumn2.VisibleIndex = 2;
|
||||
this.gridColumn2.Width = 120;
|
||||
//
|
||||
// gridColumn3
|
||||
//
|
||||
this.gridColumn3.Caption = "制单人";
|
||||
this.gridColumn3.FieldName = "OperatorName";
|
||||
this.gridColumn3.Name = "gridColumn3";
|
||||
this.gridColumn3.Visible = true;
|
||||
this.gridColumn3.VisibleIndex = 3;
|
||||
this.gridColumn3.Width = 67;
|
||||
//
|
||||
// gridColumn4
|
||||
//
|
||||
this.gridColumn4.Caption = "提交时间";
|
||||
this.gridColumn4.FieldName = "AffirmDate";
|
||||
this.gridColumn4.Name = "gridColumn4";
|
||||
this.gridColumn4.Visible = true;
|
||||
this.gridColumn4.VisibleIndex = 4;
|
||||
this.gridColumn4.Width = 120;
|
||||
//
|
||||
// gridColumn5
|
||||
//
|
||||
this.gridColumn5.Caption = "提交人";
|
||||
this.gridColumn5.FieldName = "AffirmerName";
|
||||
this.gridColumn5.Name = "gridColumn5";
|
||||
this.gridColumn5.Visible = true;
|
||||
this.gridColumn5.VisibleIndex = 5;
|
||||
this.gridColumn5.Width = 70;
|
||||
//
|
||||
// gridColumn6
|
||||
//
|
||||
this.gridColumn6.Caption = "终审时间";
|
||||
this.gridColumn6.FieldName = "StepOverTime";
|
||||
this.gridColumn6.Name = "gridColumn6";
|
||||
this.gridColumn6.Visible = true;
|
||||
this.gridColumn6.VisibleIndex = 6;
|
||||
this.gridColumn6.Width = 120;
|
||||
//
|
||||
// gridColumn7
|
||||
//
|
||||
this.gridColumn7.Caption = "终审人";
|
||||
this.gridColumn7.FieldName = "StepOverName";
|
||||
this.gridColumn7.Name = "gridColumn7";
|
||||
this.gridColumn7.Visible = true;
|
||||
this.gridColumn7.VisibleIndex = 7;
|
||||
this.gridColumn7.Width = 78;
|
||||
//
|
||||
// stepClosed
|
||||
//
|
||||
this.stepClosed.Caption = "状态";
|
||||
this.stepClosed.FieldName = "stepClosed";
|
||||
this.stepClosed.Name = "stepClosed";
|
||||
this.stepClosed.Visible = true;
|
||||
this.stepClosed.VisibleIndex = 0;
|
||||
this.stepClosed.Width = 53;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.simpleButton3);
|
||||
this.panel2.Controls.Add(this.simpleButton2);
|
||||
this.panel2.Controls.Add(this.simpleButton1);
|
||||
this.panel2.Controls.Add(this.txtDjh);
|
||||
this.panel2.Controls.Add(this.chkZsry);
|
||||
this.panel2.Controls.Add(this.dtEnd);
|
||||
this.panel2.Controls.Add(this.dtBegin);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1006, 37);
|
||||
this.panel2.TabIndex = 16;
|
||||
//
|
||||
// simpleButton3
|
||||
//
|
||||
this.simpleButton3.AllowFocus = false;
|
||||
this.simpleButton3.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButton3.Appearance.Options.UseFont = true;
|
||||
this.simpleButton3.Location = new System.Drawing.Point(868, 6);
|
||||
this.simpleButton3.Name = "simpleButton3";
|
||||
this.simpleButton3.Size = new System.Drawing.Size(65, 23);
|
||||
this.simpleButton3.TabIndex = 7;
|
||||
this.simpleButton3.Text = "作废";
|
||||
this.simpleButton3.Visible = false;
|
||||
//
|
||||
// simpleButton2
|
||||
//
|
||||
this.simpleButton2.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButton2.Appearance.Options.UseFont = true;
|
||||
this.simpleButton2.Location = new System.Drawing.Point(797, 6);
|
||||
this.simpleButton2.Name = "simpleButton2";
|
||||
this.simpleButton2.Size = new System.Drawing.Size(65, 23);
|
||||
this.simpleButton2.TabIndex = 6;
|
||||
this.simpleButton2.Text = "返审(&N)";
|
||||
this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
|
||||
//
|
||||
// simpleButton1
|
||||
//
|
||||
this.simpleButton1.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.simpleButton1.Appearance.Options.UseFont = true;
|
||||
this.simpleButton1.Location = new System.Drawing.Point(726, 6);
|
||||
this.simpleButton1.Name = "simpleButton1";
|
||||
this.simpleButton1.Size = new System.Drawing.Size(65, 23);
|
||||
this.simpleButton1.TabIndex = 5;
|
||||
this.simpleButton1.Text = "搜索(&Q)";
|
||||
this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
|
||||
//
|
||||
// txtDjh
|
||||
//
|
||||
this.txtDjh.DefaultString = null;
|
||||
this.txtDjh.IsEmpt = false;
|
||||
this.txtDjh.LabelText = "数据标识号";
|
||||
this.txtDjh.Location = new System.Drawing.Point(570, 8);
|
||||
this.txtDjh.Name = "txtDjh";
|
||||
this.txtDjh.Size = new System.Drawing.Size(148, 21);
|
||||
this.txtDjh.TabIndex = 4;
|
||||
this.txtDjh.TipMsg = null;
|
||||
this.txtDjh.UnionFields = null;
|
||||
this.txtDjh.UnionValue = null;
|
||||
//
|
||||
// chkZsry
|
||||
//
|
||||
this.chkZsry.LabelText = "终审人";
|
||||
this.chkZsry.Location = new System.Drawing.Point(408, 8);
|
||||
this.chkZsry.Name = "chkZsry";
|
||||
this.chkZsry.Size = new System.Drawing.Size(153, 21);
|
||||
this.chkZsry.TabIndex = 3;
|
||||
this.chkZsry.TipMsg = null;
|
||||
//
|
||||
// dtEnd
|
||||
//
|
||||
this.dtEnd.FormatType = null;
|
||||
this.dtEnd.LabelText = "终审时间止";
|
||||
this.dtEnd.Location = new System.Drawing.Point(208, 8);
|
||||
this.dtEnd.Name = "dtEnd";
|
||||
this.dtEnd.Size = new System.Drawing.Size(193, 21);
|
||||
this.dtEnd.TabIndex = 2;
|
||||
this.dtEnd.TipMsg = null;
|
||||
//
|
||||
// dtBegin
|
||||
//
|
||||
this.dtBegin.FormatType = null;
|
||||
this.dtBegin.LabelText = "终审时间起";
|
||||
this.dtBegin.Location = new System.Drawing.Point(6, 8);
|
||||
this.dtBegin.Name = "dtBegin";
|
||||
this.dtBegin.Size = new System.Drawing.Size(196, 21);
|
||||
this.dtBegin.TabIndex = 1;
|
||||
this.dtBegin.TipMsg = null;
|
||||
//
|
||||
// gridFlow
|
||||
//
|
||||
this.gridFlow.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.gridFlow.EmbeddedNavigator.Appearance.Options.UseTextOptions = true;
|
||||
this.gridFlow.EmbeddedNavigator.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gridFlow.EmbeddedNavigator.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gridFlow.Location = new System.Drawing.Point(0, 410);
|
||||
this.gridFlow.MainView = this.gvFlow;
|
||||
this.gridFlow.Name = "gridFlow";
|
||||
this.gridFlow.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
||||
this.repositoryItemDateEdit1});
|
||||
this.gridFlow.Size = new System.Drawing.Size(1006, 204);
|
||||
this.gridFlow.TabIndex = 15;
|
||||
this.gridFlow.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvFlow});
|
||||
//
|
||||
// gvFlow
|
||||
//
|
||||
this.gvFlow.Appearance.FooterPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow.Appearance.FooterPanel.Options.UseFont = true;
|
||||
this.gvFlow.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow.Appearance.HeaderPanel.Options.UseFont = true;
|
||||
this.gvFlow.Appearance.HeaderPanel.Options.UseTextOptions = true;
|
||||
this.gvFlow.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gvFlow.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gvFlow.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow.Appearance.Preview.Options.UseFont = true;
|
||||
this.gvFlow.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow.Appearance.Row.Options.UseFont = true;
|
||||
this.gvFlow.Appearance.RowSeparator.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow.Appearance.RowSeparator.Options.UseFont = true;
|
||||
this.gvFlow.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn8,
|
||||
this.gridColumn9,
|
||||
this.gridColumn10,
|
||||
this.gridColumn11,
|
||||
this.gridColumn12,
|
||||
this.gridColumn13,
|
||||
this.gridColumn14,
|
||||
this.gridColumn15});
|
||||
this.gvFlow.GridControl = this.gridFlow;
|
||||
this.gvFlow.Name = "gvFlow";
|
||||
this.gvFlow.OptionsBehavior.Editable = false;
|
||||
this.gvFlow.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||
this.gvFlow.OptionsView.ColumnAutoWidth = false;
|
||||
this.gvFlow.OptionsView.ShowFooter = true;
|
||||
this.gvFlow.OptionsView.ShowGroupPanel = false;
|
||||
//
|
||||
// gridColumn8
|
||||
//
|
||||
this.gridColumn8.Caption = "操作时间";
|
||||
this.gridColumn8.ColumnEdit = this.repositoryItemDateEdit1;
|
||||
this.gridColumn8.FieldName = "operTime";
|
||||
this.gridColumn8.Name = "gridColumn8";
|
||||
this.gridColumn8.Visible = true;
|
||||
this.gridColumn8.VisibleIndex = 3;
|
||||
this.gridColumn8.Width = 120;
|
||||
//
|
||||
// repositoryItemDateEdit1
|
||||
//
|
||||
this.repositoryItemDateEdit1.AutoHeight = false;
|
||||
this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemDateEdit1.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemDateEdit1.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
|
||||
this.repositoryItemDateEdit1.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
|
||||
this.repositoryItemDateEdit1.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
||||
this.repositoryItemDateEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
|
||||
//
|
||||
// gridColumn9
|
||||
//
|
||||
this.gridColumn9.Caption = "操作人员";
|
||||
this.gridColumn9.FieldName = "operatorName";
|
||||
this.gridColumn9.Name = "gridColumn9";
|
||||
this.gridColumn9.Visible = true;
|
||||
this.gridColumn9.VisibleIndex = 4;
|
||||
this.gridColumn9.Width = 73;
|
||||
//
|
||||
// gridColumn10
|
||||
//
|
||||
this.gridColumn10.Caption = "操作意见";
|
||||
this.gridColumn10.FieldName = "operAdvice";
|
||||
this.gridColumn10.Name = "gridColumn10";
|
||||
this.gridColumn10.Visible = true;
|
||||
this.gridColumn10.VisibleIndex = 6;
|
||||
this.gridColumn10.Width = 273;
|
||||
//
|
||||
// gridColumn11
|
||||
//
|
||||
this.gridColumn11.Caption = "步骤名称";
|
||||
this.gridColumn11.FieldName = "stepName";
|
||||
this.gridColumn11.Name = "gridColumn11";
|
||||
this.gridColumn11.Visible = true;
|
||||
this.gridColumn11.VisibleIndex = 1;
|
||||
this.gridColumn11.Width = 148;
|
||||
//
|
||||
// gridColumn12
|
||||
//
|
||||
this.gridColumn12.Caption = "步骤代码";
|
||||
this.gridColumn12.FieldName = "stepCode";
|
||||
this.gridColumn12.Name = "gridColumn12";
|
||||
this.gridColumn12.Visible = true;
|
||||
this.gridColumn12.VisibleIndex = 0;
|
||||
this.gridColumn12.Width = 65;
|
||||
//
|
||||
// gridColumn13
|
||||
//
|
||||
this.gridColumn13.Caption = "发生时间";
|
||||
this.gridColumn13.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
||||
this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.gridColumn13.FieldName = "happenTime";
|
||||
this.gridColumn13.Name = "gridColumn13";
|
||||
this.gridColumn13.Visible = true;
|
||||
this.gridColumn13.VisibleIndex = 2;
|
||||
this.gridColumn13.Width = 120;
|
||||
//
|
||||
// gridColumn14
|
||||
//
|
||||
this.gridColumn14.Caption = "操作方向";
|
||||
this.gridColumn14.FieldName = "operDirectionName";
|
||||
this.gridColumn14.Name = "gridColumn14";
|
||||
this.gridColumn14.Visible = true;
|
||||
this.gridColumn14.VisibleIndex = 5;
|
||||
this.gridColumn14.Width = 58;
|
||||
//
|
||||
// gridColumn15
|
||||
//
|
||||
this.gridColumn15.Caption = "自动审核";
|
||||
this.gridColumn15.FieldName = "autoStep";
|
||||
this.gridColumn15.Name = "gridColumn15";
|
||||
this.gridColumn15.Visible = true;
|
||||
this.gridColumn15.VisibleIndex = 7;
|
||||
this.gridColumn15.Width = 63;
|
||||
//
|
||||
// xtraTabPage2
|
||||
//
|
||||
this.xtraTabPage2.Controls.Add(this.gridMain);
|
||||
this.xtraTabPage2.Controls.Add(this.gridFlow1);
|
||||
this.xtraTabPage2.Controls.Add(this.pnlCondTop);
|
||||
this.xtraTabPage2.Name = "xtraTabPage2";
|
||||
this.xtraTabPage2.Size = new System.Drawing.Size(1006, 614);
|
||||
this.xtraTabPage2.Text = "已完成单据";
|
||||
//
|
||||
// gridMain
|
||||
//
|
||||
this.gridMain.AdapterObj = null;
|
||||
this.gridMain.bomCaption = null;
|
||||
this.gridMain.bomSql = null;
|
||||
this.gridMain.ConstSql = null;
|
||||
this.gridMain.detailEnableCond = null;
|
||||
this.gridMain.detailEnableMsg = null;
|
||||
this.gridMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gridMain.loadBom = null;
|
||||
this.gridMain.Location = new System.Drawing.Point(0, 37);
|
||||
this.gridMain.Name = "gridMain";
|
||||
this.gridMain.pnlMain = null;
|
||||
this.gridMain.RowColorCondtion = null;
|
||||
this.gridMain.Size = new System.Drawing.Size(1006, 373);
|
||||
this.gridMain.SourceType = 0;
|
||||
this.gridMain.Sql = null;
|
||||
this.gridMain.sqlC = null;
|
||||
this.gridMain.SumFieldsTable = null;
|
||||
this.gridMain.TabIndex = 20;
|
||||
this.gridMain.UnAllowEditChangeColor = false;
|
||||
//
|
||||
// gridFlow1
|
||||
//
|
||||
this.gridFlow1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.gridFlow1.EmbeddedNavigator.Appearance.Options.UseTextOptions = true;
|
||||
this.gridFlow1.EmbeddedNavigator.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gridFlow1.EmbeddedNavigator.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gridFlow1.Location = new System.Drawing.Point(0, 410);
|
||||
this.gridFlow1.MainView = this.gvFlow1;
|
||||
this.gridFlow1.Name = "gridFlow1";
|
||||
this.gridFlow1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
||||
this.repositoryItemDateEdit2});
|
||||
this.gridFlow1.Size = new System.Drawing.Size(1006, 204);
|
||||
this.gridFlow1.TabIndex = 21;
|
||||
this.gridFlow1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvFlow1});
|
||||
//
|
||||
// gvFlow1
|
||||
//
|
||||
this.gvFlow1.Appearance.FooterPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow1.Appearance.FooterPanel.Options.UseFont = true;
|
||||
this.gvFlow1.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow1.Appearance.HeaderPanel.Options.UseFont = true;
|
||||
this.gvFlow1.Appearance.HeaderPanel.Options.UseTextOptions = true;
|
||||
this.gvFlow1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||
this.gvFlow1.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
||||
this.gvFlow1.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow1.Appearance.Preview.Options.UseFont = true;
|
||||
this.gvFlow1.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow1.Appearance.Row.Options.UseFont = true;
|
||||
this.gvFlow1.Appearance.RowSeparator.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gvFlow1.Appearance.RowSeparator.Options.UseFont = true;
|
||||
this.gvFlow1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn16,
|
||||
this.gridColumn17,
|
||||
this.gridColumn18,
|
||||
this.gridColumn19,
|
||||
this.gridColumn20,
|
||||
this.gridColumn21,
|
||||
this.gridColumn22,
|
||||
this.gridColumn23});
|
||||
this.gvFlow1.GridControl = this.gridFlow1;
|
||||
this.gvFlow1.Name = "gvFlow1";
|
||||
this.gvFlow1.OptionsBehavior.Editable = false;
|
||||
this.gvFlow1.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||
this.gvFlow1.OptionsView.ColumnAutoWidth = false;
|
||||
this.gvFlow1.OptionsView.ShowFooter = true;
|
||||
this.gvFlow1.OptionsView.ShowGroupPanel = false;
|
||||
//
|
||||
// gridColumn16
|
||||
//
|
||||
this.gridColumn16.Caption = "操作时间";
|
||||
this.gridColumn16.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
||||
this.gridColumn16.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.gridColumn16.FieldName = "operTime";
|
||||
this.gridColumn16.Name = "gridColumn16";
|
||||
this.gridColumn16.Visible = true;
|
||||
this.gridColumn16.VisibleIndex = 3;
|
||||
this.gridColumn16.Width = 120;
|
||||
//
|
||||
// gridColumn17
|
||||
//
|
||||
this.gridColumn17.Caption = "操作人员";
|
||||
this.gridColumn17.FieldName = "operatorName";
|
||||
this.gridColumn17.Name = "gridColumn17";
|
||||
this.gridColumn17.Visible = true;
|
||||
this.gridColumn17.VisibleIndex = 4;
|
||||
this.gridColumn17.Width = 73;
|
||||
//
|
||||
// gridColumn18
|
||||
//
|
||||
this.gridColumn18.Caption = "操作意见";
|
||||
this.gridColumn18.FieldName = "operAdvice";
|
||||
this.gridColumn18.Name = "gridColumn18";
|
||||
this.gridColumn18.Visible = true;
|
||||
this.gridColumn18.VisibleIndex = 6;
|
||||
this.gridColumn18.Width = 273;
|
||||
//
|
||||
// gridColumn19
|
||||
//
|
||||
this.gridColumn19.Caption = "步骤名称";
|
||||
this.gridColumn19.FieldName = "stepName";
|
||||
this.gridColumn19.Name = "gridColumn19";
|
||||
this.gridColumn19.Visible = true;
|
||||
this.gridColumn19.VisibleIndex = 1;
|
||||
this.gridColumn19.Width = 148;
|
||||
//
|
||||
// gridColumn20
|
||||
//
|
||||
this.gridColumn20.Caption = "步骤代码";
|
||||
this.gridColumn20.FieldName = "stepCode";
|
||||
this.gridColumn20.Name = "gridColumn20";
|
||||
this.gridColumn20.Visible = true;
|
||||
this.gridColumn20.VisibleIndex = 0;
|
||||
this.gridColumn20.Width = 65;
|
||||
//
|
||||
// gridColumn21
|
||||
//
|
||||
this.gridColumn21.Caption = "发生时间";
|
||||
this.gridColumn21.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
||||
this.gridColumn21.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.gridColumn21.FieldName = "happenTime";
|
||||
this.gridColumn21.Name = "gridColumn21";
|
||||
this.gridColumn21.Visible = true;
|
||||
this.gridColumn21.VisibleIndex = 2;
|
||||
this.gridColumn21.Width = 120;
|
||||
//
|
||||
// gridColumn22
|
||||
//
|
||||
this.gridColumn22.Caption = "操作方向";
|
||||
this.gridColumn22.FieldName = "operDirectionName";
|
||||
this.gridColumn22.Name = "gridColumn22";
|
||||
this.gridColumn22.Visible = true;
|
||||
this.gridColumn22.VisibleIndex = 5;
|
||||
this.gridColumn22.Width = 58;
|
||||
//
|
||||
// gridColumn23
|
||||
//
|
||||
this.gridColumn23.Caption = "自动审核";
|
||||
this.gridColumn23.FieldName = "autoStep";
|
||||
this.gridColumn23.Name = "gridColumn23";
|
||||
this.gridColumn23.Visible = true;
|
||||
this.gridColumn23.VisibleIndex = 7;
|
||||
this.gridColumn23.Width = 63;
|
||||
//
|
||||
// repositoryItemDateEdit2
|
||||
//
|
||||
this.repositoryItemDateEdit2.AutoHeight = false;
|
||||
this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemDateEdit2.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
|
||||
this.repositoryItemDateEdit2.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
|
||||
this.repositoryItemDateEdit2.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
||||
this.repositoryItemDateEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
|
||||
//
|
||||
// pnlCondTop
|
||||
//
|
||||
this.pnlCondTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(207)))), ((int)(((byte)(221)))), ((int)(((byte)(238)))));
|
||||
this.pnlCondTop.Controls.Add(this.sbBack);
|
||||
this.pnlCondTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pnlCondTop.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlCondTop.Name = "pnlCondTop";
|
||||
this.pnlCondTop.Size = new System.Drawing.Size(1006, 37);
|
||||
this.pnlCondTop.TabIndex = 18;
|
||||
//
|
||||
// sbBack
|
||||
//
|
||||
this.sbBack.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.sbBack.Appearance.Options.UseFont = true;
|
||||
this.sbBack.Location = new System.Drawing.Point(932, 6);
|
||||
this.sbBack.Name = "sbBack";
|
||||
this.sbBack.Size = new System.Drawing.Size(65, 23);
|
||||
this.sbBack.TabIndex = 6;
|
||||
this.sbBack.Text = "返审(&R)";
|
||||
this.sbBack.Click += new System.EventHandler(this.sbBack_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnBackAudit);
|
||||
this.panel1.Controls.Add(this.btnOkAudit);
|
||||
this.panel1.Controls.Add(this.lbDate);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.btnReflash);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 638);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1008, 32);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// btnBackAudit
|
||||
//
|
||||
this.btnBackAudit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnBackAudit.Location = new System.Drawing.Point(844, 4);
|
||||
this.btnBackAudit.Name = "btnBackAudit";
|
||||
this.btnBackAudit.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnBackAudit.TabIndex = 6;
|
||||
this.btnBackAudit.Text = "批量返审(&B)";
|
||||
this.btnBackAudit.Visible = false;
|
||||
this.btnBackAudit.Click += new System.EventHandler(this.OnBtnBackAuditClick);
|
||||
//
|
||||
// btnOkAudit
|
||||
//
|
||||
this.btnOkAudit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnOkAudit.Location = new System.Drawing.Point(763, 4);
|
||||
this.btnOkAudit.Name = "btnOkAudit";
|
||||
this.btnOkAudit.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOkAudit.TabIndex = 5;
|
||||
this.btnOkAudit.Text = "批量审核(&Y)";
|
||||
this.btnOkAudit.Visible = false;
|
||||
this.btnOkAudit.Click += new System.EventHandler(this.OnBtnOkAuditClick);
|
||||
//
|
||||
// lbDate
|
||||
//
|
||||
this.lbDate.AutoSize = true;
|
||||
this.lbDate.ForeColor = System.Drawing.Color.Red;
|
||||
this.lbDate.Location = new System.Drawing.Point(6, 11);
|
||||
this.lbDate.Name = "lbDate";
|
||||
this.lbDate.Size = new System.Drawing.Size(203, 12);
|
||||
this.lbDate.TabIndex = 2;
|
||||
this.lbDate.Text = "上次刷新时间:2014-12-15 12:30:30";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.ForeColor = System.Drawing.Color.Red;
|
||||
this.label1.Location = new System.Drawing.Point(218, 11);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(209, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "友情提示:双击单据信息进入数据审核";
|
||||
//
|
||||
// btnReflash
|
||||
//
|
||||
this.btnReflash.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnReflash.Location = new System.Drawing.Point(925, 4);
|
||||
this.btnReflash.Name = "btnReflash";
|
||||
this.btnReflash.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnReflash.TabIndex = 0;
|
||||
this.btnReflash.Text = "刷新(&R)";
|
||||
this.btnReflash.Click += new System.EventHandler(this.btnReflash_Click);
|
||||
//
|
||||
// FrmMain
|
||||
//
|
||||
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1008, 670);
|
||||
this.Controls.Add(this.tabMain);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.LookAndFeel.SkinName = "Office 2010 Blue";
|
||||
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
|
||||
this.Name = "FrmMain";
|
||||
this.Text = "单据审核";
|
||||
this.SizeChanged += new System.EventHandler(this.FrmMain_SizeChanged);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
|
||||
this.tabMain.ResumeLayout(false);
|
||||
this.xtraTabPage1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridFinish)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvFinish)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridFlow)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvFlow)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
|
||||
this.xtraTabPage2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridFlow1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvFlow1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
|
||||
this.pnlCondTop.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraTab.XtraTabControl tabMain;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevExpress.XtraEditors.SimpleButton btnReflash;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label lbDate;
|
||||
private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
|
||||
private DevExpress.XtraGrid.GridControl gridFinish;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvFinish;
|
||||
private DevExpress.XtraGrid.GridControl gridFlow;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvFlow;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private MyControl.LabelCheckDateEx dtEnd;
|
||||
private MyControl.LabelCheckDateEx dtBegin;
|
||||
private MyControl.LabelCheckAutoSearcherEx chkZsry;
|
||||
private MyControl.LabelTextEx txtDjh;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton1;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton2;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton3;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit1;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn stepClosed;
|
||||
private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
|
||||
private System.Windows.Forms.Panel pnlCondTop;
|
||||
private DevExpress.XtraEditors.SimpleButton sbBack;
|
||||
private MyControl.GridControlEx gridMain;
|
||||
private DevExpress.XtraGrid.GridControl gridFlow1;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvFlow1;
|
||||
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.XtraGrid.Columns.GridColumn gridColumn20;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn21;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn22;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn23;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit2;
|
||||
private DevExpress.XtraEditors.SimpleButton btnBackAudit;
|
||||
private DevExpress.XtraEditors.SimpleButton btnOkAudit;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,195 @@
|
||||
<?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>{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Lskj.BaseAccraditation</RootNamespace>
|
||||
<AssemblyName>Lskj.BaseAccraditation</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\publish\lib\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</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.Data.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraBars.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>C:\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraBars.v13.1.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DevExpress.XtraEditors.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraGrid.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraLayout.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraTreeList.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\publish\DevExpress.XtraTreeList.v13.1.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Dxper.LocalizationCHS.Win.v13.1.5, Version=13.1.5.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\引用DLL\Dxper.LocalizationCHS.Win.v13.1.5.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<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="BackSelect\frmBackSelect.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BackSelect\frmBackSelect.Designer.cs">
|
||||
<DependentUpon>frmBackSelect.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DllBaseClass.cs" />
|
||||
<Compile Include="FrmBaseAccraditation.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmBaseAccraditation.Designer.cs">
|
||||
<DependentUpon>FrmBaseAccraditation.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.Designer.cs">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmRemindSelectForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmRemindSelectForm.Designer.cs">
|
||||
<DependentUpon>frmRemindSelectForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Panel_GridPage.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Panel_GridPage.Designer.cs">
|
||||
<DependentUpon>Panel_GridPage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Panel_TabPage.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Panel_TabPage.Designer.cs">
|
||||
<DependentUpon>Panel_TabPage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="TabModel.cs" />
|
||||
<EmbeddedResource Include="BackSelect\frmBackSelect.resx">
|
||||
<DependentUpon>frmBackSelect.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmBaseAccraditation.resx">
|
||||
<DependentUpon>FrmBaseAccraditation.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmMain.resx">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmRemindSelectForm.resx">
|
||||
<DependentUpon>frmRemindSelectForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Panel_GridPage.resx">
|
||||
<DependentUpon>Panel_GridPage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Panel_TabPage.resx">
|
||||
<DependentUpon>Panel_TabPage.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>
|
||||
<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>
|
||||
<Content Include="a.ico" />
|
||||
<None Include="Resources\sj.png" />
|
||||
<None Include="Resources\right_botton.png" />
|
||||
<None Include="Resources\right_bg.png" />
|
||||
<None Include="Resources\b_botton.png" />
|
||||
<None Include="Resources\12133.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CommonLib\CommonLib.csproj">
|
||||
<Project>{3E8E6529-5D8A-4F17-8C41-27CD7380178D}</Project>
|
||||
<Name>CommonLib</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\ControlLib\ControlLib.csproj">
|
||||
<Project>{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}</Project>
|
||||
<Name>ControlLib</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Common\Lskj.Common.csproj">
|
||||
<Project>{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}</Project>
|
||||
<Name>Lskj.Common</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Excel\Lskj.Excel.csproj">
|
||||
<Project>{bd7394c7-c5fa-4d94-9ba1-ad8ab8270370}</Project>
|
||||
<Name>Lskj.Excel</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.MyControl\Lskj.MyControl.csproj">
|
||||
<Project>{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}</Project>
|
||||
<Name>Lskj.MyControl</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.PubPower\Lskj.PubPower.csproj">
|
||||
<Project>{F9D85AB9-300C-4BF6-87D6-29127755117A}</Project>
|
||||
<Name>Lskj.PubPower</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.PubUtils\Lskj.PubUtils.csproj">
|
||||
<Project>{752386CB-FD63-4565-980F-E8F72A520F77}</Project>
|
||||
<Name>Lskj.PubUtils</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>
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
namespace Lskj.BaseAccraditation {
|
||||
partial class Panel_GridPage {
|
||||
/// <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 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent() {
|
||||
this.gridList = new Lskj.MyControl.GridControlEx();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// gridList
|
||||
//
|
||||
this.gridList.bomCaption = null;
|
||||
this.gridList.bomSql = null;
|
||||
this.gridList.ConstSql = null;
|
||||
this.gridList.detailEnableCond = null;
|
||||
this.gridList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gridList.loadBom = null;
|
||||
this.gridList.Location = new System.Drawing.Point(0, 0);
|
||||
this.gridList.Name = "gridList";
|
||||
this.gridList.RowColorCondtion = null;
|
||||
this.gridList.Size = new System.Drawing.Size(511, 421);
|
||||
this.gridList.SourceType = 0;
|
||||
this.gridList.Sql = null;
|
||||
this.gridList.sqlC = null;
|
||||
this.gridList.TabIndex = 0;
|
||||
//
|
||||
// Panel_GridPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.gridList);
|
||||
this.Name = "Panel_GridPage";
|
||||
this.Size = new System.Drawing.Size(511, 421);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public MyControl.GridControlEx gridList;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using CommonLib;
|
||||
using Lskj.Common;
|
||||
using DevExpress.XtraGrid.Views.Grid;
|
||||
|
||||
namespace Lskj.BaseAccraditation {
|
||||
public partial class Panel_GridPage : UserControl {
|
||||
|
||||
public string DLLCoid { get; set; }
|
||||
public string formKey { get; set; }
|
||||
public string FormText { get; set; }
|
||||
public string OperatorId { get; set; }
|
||||
public string OperatorName { get; set; }
|
||||
public string Privilege { get; set; }
|
||||
|
||||
|
||||
|
||||
private DataTable dtColor;
|
||||
|
||||
public Panel_GridPage() {
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e) {
|
||||
string sqlCol = "select * from p_systembillauditAttachDetail where attachKey='" + formKey + "' and isnull(isvisible,0)=0 order by orderid";
|
||||
DataTable dtColumns = SqlHelper.ExecuteDataSet(sqlCol).Tables[0];
|
||||
|
||||
|
||||
gridList.SetColumns(dtColumns);
|
||||
gridList.SetDataSource(gridList.Sql);
|
||||
String sqlRightMenu = "select * from p_systempopupmenu where tab='" + formKey + "' and visible2=0";
|
||||
GridMenu gridMenu = new GridMenu(FormText, OperatorId, OperatorName, Privilege, DLLCoid, sqlRightMenu, gridList.gridControl);
|
||||
gridMenu.BindGridMenu(formKey);
|
||||
gridMenu.ShowMenuType = "sh";
|
||||
String colorSql = "select * from p_systemwordbookcolor where tab='" + formKey + "' and isnull(useflag,0)=0 order by orderid";
|
||||
dtColor = SqlHelper.ExecuteDataSet(colorSql).Tables[0];
|
||||
gridList.gridView.RowCellStyle += new RowCellStyleEventHandler(gridView_RowCellStyle);
|
||||
}
|
||||
|
||||
void gridView_RowCellStyle(object sender, RowCellStyleEventArgs e) {
|
||||
if (e.RowHandle >= 0) {
|
||||
DataRow row = gridList.gridView.GetDataRow(e.RowHandle);
|
||||
string cond = string.Empty;
|
||||
string color = string.Empty;
|
||||
string forecolor = string.Empty;
|
||||
foreach (DataRow dr in dtColor.Rows) {
|
||||
List<string> condition = PubClass.GetParamValue(dr["condition"].ToString());
|
||||
cond = dr["condition"].ToString();
|
||||
foreach (string item in condition) {
|
||||
string filedName = item.Replace("{", "").Replace("}", "");
|
||||
cond = cond.Replace(item, row[filedName].ToString());
|
||||
}
|
||||
cond = PubClass.SqlToCode(cond);
|
||||
color = dr["backcolor"] + "";
|
||||
forecolor = dr["forcecolor"].ToString() + "";
|
||||
string obj = Evaluator.Eval(cond) + "";
|
||||
if (obj.IndexOf("true", StringComparison.OrdinalIgnoreCase) != -1) {
|
||||
if (!string.IsNullOrEmpty(color)) {
|
||||
System.Drawing.Color color1 = System.Drawing.ColorTranslator.FromHtml(color);
|
||||
e.Appearance.BackColor = color1;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(forecolor)) {
|
||||
System.Drawing.Color foreColor = System.Drawing.ColorTranslator.FromHtml(forecolor);
|
||||
e.Appearance.ForeColor = foreColor;
|
||||
}
|
||||
FontStyle fst = new FontStyle();
|
||||
if (dr["ifBold"].ToString() == "1") {
|
||||
fst = fst | FontStyle.Bold;
|
||||
}
|
||||
if (dr["ifItalic"].ToString() == "1") {
|
||||
fst = fst | FontStyle.Italic;
|
||||
}
|
||||
if (dr["ifStrickOut"].ToString() == "1") {
|
||||
fst = fst | FontStyle.Strikeout;
|
||||
}
|
||||
if (dr["ifUnderLine"].ToString() == "1") {
|
||||
fst = fst | FontStyle.Underline;
|
||||
}
|
||||
e.Appearance.Font = new Font(e.Appearance.Font, fst);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
+251
@@ -0,0 +1,251 @@
|
||||
namespace Lskj.BaseAccraditation
|
||||
{
|
||||
partial class Panel_TabPage {
|
||||
/// <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 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent() {
|
||||
this.pl_down = new System.Windows.Forms.Panel();
|
||||
this.btnImport = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnExport = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnAdd = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnDelete = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnUpdate = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.btnCondSearch = new DevExpress.XtraEditors.SimpleButton();
|
||||
this.txtKey = new System.Windows.Forms.TextBox();
|
||||
this.cbField = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.gridList = new Lskj.MyControl.GridControlEx();
|
||||
this.treeList = new DevExpress.XtraTreeList.TreeList();
|
||||
this.pl_down.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.treeList)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pl_down
|
||||
//
|
||||
this.pl_down.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(207)))), ((int)(((byte)(221)))), ((int)(((byte)(238)))));
|
||||
this.pl_down.Controls.Add(this.btnImport);
|
||||
this.pl_down.Controls.Add(this.btnExport);
|
||||
this.pl_down.Controls.Add(this.btnPrint);
|
||||
this.pl_down.Controls.Add(this.btnAdd);
|
||||
this.pl_down.Controls.Add(this.btnDelete);
|
||||
this.pl_down.Controls.Add(this.btnUpdate);
|
||||
this.pl_down.Controls.Add(this.btnSave);
|
||||
this.pl_down.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.pl_down.Location = new System.Drawing.Point(0, 466);
|
||||
this.pl_down.Name = "pl_down";
|
||||
this.pl_down.Size = new System.Drawing.Size(704, 36);
|
||||
this.pl_down.TabIndex = 1;
|
||||
//
|
||||
// btnImport
|
||||
//
|
||||
this.btnImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnImport.Location = new System.Drawing.Point(496, 5);
|
||||
this.btnImport.Name = "btnImport";
|
||||
this.btnImport.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnImport.TabIndex = 7;
|
||||
this.btnImport.Text = "导入(&I)";
|
||||
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
|
||||
//
|
||||
// btnExport
|
||||
//
|
||||
this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExport.Location = new System.Drawing.Point(565, 5);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnExport.TabIndex = 6;
|
||||
this.btnExport.Text = "导出(&E)";
|
||||
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
|
||||
//
|
||||
// btnPrint
|
||||
//
|
||||
this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnPrint.Location = new System.Drawing.Point(634, 5);
|
||||
this.btnPrint.Name = "btnPrint";
|
||||
this.btnPrint.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnPrint.TabIndex = 5;
|
||||
this.btnPrint.Text = "打印(&P)";
|
||||
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAdd.Location = new System.Drawing.Point(220, 5);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnAdd.TabIndex = 3;
|
||||
this.btnAdd.Text = "增加(&A)";
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// btnDelete
|
||||
//
|
||||
this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnDelete.Location = new System.Drawing.Point(289, 5);
|
||||
this.btnDelete.Name = "btnDelete";
|
||||
this.btnDelete.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnDelete.TabIndex = 2;
|
||||
this.btnDelete.Text = "删除(&D)";
|
||||
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
||||
//
|
||||
// btnUpdate
|
||||
//
|
||||
this.btnUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnUpdate.Location = new System.Drawing.Point(358, 5);
|
||||
this.btnUpdate.Name = "btnUpdate";
|
||||
this.btnUpdate.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnUpdate.TabIndex = 1;
|
||||
this.btnUpdate.Text = "修改(&U)";
|
||||
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSave.Location = new System.Drawing.Point(427, 5);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnSave.TabIndex = 0;
|
||||
this.btnSave.Text = "保存(&S)";
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(207)))), ((int)(((byte)(221)))), ((int)(((byte)(238)))));
|
||||
this.panel2.Controls.Add(this.btnCondSearch);
|
||||
this.panel2.Controls.Add(this.txtKey);
|
||||
this.panel2.Controls.Add(this.cbField);
|
||||
this.panel2.Controls.Add(this.label1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(704, 36);
|
||||
this.panel2.TabIndex = 3;
|
||||
this.panel2.Visible = false;
|
||||
//
|
||||
// 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(269, 4);
|
||||
this.btnCondSearch.Name = "btnCondSearch";
|
||||
this.btnCondSearch.Size = new System.Drawing.Size(63, 26);
|
||||
this.btnCondSearch.TabIndex = 37;
|
||||
this.btnCondSearch.Text = "查询";
|
||||
this.btnCondSearch.Click += new System.EventHandler(this.btnCondSearch_Click);
|
||||
//
|
||||
// txtKey
|
||||
//
|
||||
this.txtKey.Location = new System.Drawing.Point(136, 9);
|
||||
this.txtKey.Name = "txtKey";
|
||||
this.txtKey.Size = new System.Drawing.Size(126, 21);
|
||||
this.txtKey.TabIndex = 36;
|
||||
//
|
||||
// cbField
|
||||
//
|
||||
this.cbField.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbField.FormattingEnabled = true;
|
||||
this.cbField.Location = new System.Drawing.Point(40, 9);
|
||||
this.cbField.Name = "cbField";
|
||||
this.cbField.Size = new System.Drawing.Size(88, 20);
|
||||
this.cbField.TabIndex = 35;
|
||||
this.cbField.Tag = "";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(6, 13);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 34;
|
||||
this.label1.Text = "查询";
|
||||
//
|
||||
// gridList
|
||||
//
|
||||
this.gridList.AdapterObj = null;
|
||||
this.gridList.bomCaption = null;
|
||||
this.gridList.bomSql = null;
|
||||
this.gridList.ConstSql = null;
|
||||
this.gridList.detailEnableCond = null;
|
||||
this.gridList.detailEnableMsg = null;
|
||||
this.gridList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gridList.loadBom = null;
|
||||
this.gridList.Location = new System.Drawing.Point(0, 36);
|
||||
this.gridList.Name = "gridList";
|
||||
this.gridList.pnlMain = null;
|
||||
this.gridList.RowColorCondtion = null;
|
||||
this.gridList.Size = new System.Drawing.Size(704, 430);
|
||||
this.gridList.SourceType = 0;
|
||||
this.gridList.Sql = null;
|
||||
this.gridList.sqlC = null;
|
||||
this.gridList.SumFieldsTable = null;
|
||||
this.gridList.TabIndex = 2;
|
||||
this.gridList.UnAllowEditChangeColor = true;
|
||||
//
|
||||
// treeList
|
||||
//
|
||||
this.treeList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.treeList.Location = new System.Drawing.Point(0, 36);
|
||||
this.treeList.Name = "treeList";
|
||||
this.treeList.Size = new System.Drawing.Size(704, 430);
|
||||
this.treeList.TabIndex = 4;
|
||||
this.treeList.Visible = false;
|
||||
//
|
||||
// Panel_TabPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.treeList);
|
||||
this.Controls.Add(this.gridList);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.pl_down);
|
||||
this.Name = "Panel_TabPage";
|
||||
this.Size = new System.Drawing.Size(704, 502);
|
||||
this.pl_down.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.treeList)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel pl_down;
|
||||
private DevExpress.XtraEditors.SimpleButton btnAdd;
|
||||
private DevExpress.XtraEditors.SimpleButton btnDelete;
|
||||
private DevExpress.XtraEditors.SimpleButton btnUpdate;
|
||||
private DevExpress.XtraEditors.SimpleButton btnSave;
|
||||
private DevExpress.XtraEditors.SimpleButton btnImport;
|
||||
private DevExpress.XtraEditors.SimpleButton btnExport;
|
||||
private DevExpress.XtraEditors.SimpleButton btnPrint;
|
||||
public MyControl.GridControlEx gridList;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DevExpress.XtraEditors.SimpleButton btnCondSearch;
|
||||
private System.Windows.Forms.TextBox txtKey;
|
||||
private System.Windows.Forms.ComboBox cbField;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevExpress.XtraTreeList.TreeList treeList;
|
||||
}
|
||||
}
|
||||
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,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using Lskj.PubAccraditation;
|
||||
|
||||
namespace Lskj.PubBill
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// 应用程序的主入口点。
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new FrmMain());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过以下
|
||||
// 特性集控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("Lskj.Attachment")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("Lskj.Attachment")]
|
||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2014")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
// 则将该类型上的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("8d043aea-aeb3-4672-8686-0b0fd6549cee")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
|
||||
// 方法是按如下所示使用“*”:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.8")]
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.1022
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Lskj.BaseAccraditation.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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.BaseAccraditation.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;
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap _12133 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("_12133", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap b_botton {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("b_botton", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap right_bg {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("right_bg", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap right_botton {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("right_botton", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap sj {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("sj", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
<?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="b_botton" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\b_botton.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="right_bg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\right_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="right_botton" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\right_botton.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="sj" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\sj.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_12133" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\12133.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.1022
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Lskj.BaseAccraditation.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.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>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Lskj.MyControl;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.PubAccraditation
|
||||
{
|
||||
public class TabModel
|
||||
{
|
||||
private GridControlEx gc;
|
||||
public String stepName { get; set; }
|
||||
public Label stepLabel { get; set; }
|
||||
|
||||
public GridControlEx Gc
|
||||
{
|
||||
get { return gc; }
|
||||
set { gc = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
+421
@@ -0,0 +1,421 @@
|
||||
namespace Lskj.BaseAccraditation
|
||||
{
|
||||
partial class frmRemindSelectForm
|
||||
{
|
||||
/// <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.pl_Left = new System.Windows.Forms.Panel();
|
||||
this.tvLeft = new Lskj.MyControl.TreeViewEx();
|
||||
this.pl_Buttom = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.gcConfirm = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvConfirm = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.btnAddConfirm = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.gcRemind = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvRemind = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.btnAddRemind = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pl_Center = new System.Windows.Forms.Panel();
|
||||
this.gcMain = new DevExpress.XtraGrid.GridControl();
|
||||
this.gvMain = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.id = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.loginaccount = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.name = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.btnDelRemind = new System.Windows.Forms.Button();
|
||||
this.btnDelConfirm = new System.Windows.Forms.Button();
|
||||
this.pl_Left.SuspendLayout();
|
||||
this.pl_Buttom.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcConfirm)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvConfirm)).BeginInit();
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcRemind)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvRemind)).BeginInit();
|
||||
this.panel3.SuspendLayout();
|
||||
this.pl_Center.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvMain)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pl_Left
|
||||
//
|
||||
this.pl_Left.Controls.Add(this.tvLeft);
|
||||
this.pl_Left.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pl_Left.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_Left.Name = "pl_Left";
|
||||
this.pl_Left.Size = new System.Drawing.Size(200, 585);
|
||||
this.pl_Left.TabIndex = 0;
|
||||
//
|
||||
// tvLeft
|
||||
//
|
||||
this.tvLeft.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tvLeft.Location = new System.Drawing.Point(0, 0);
|
||||
this.tvLeft.MyAfterSelect = null;
|
||||
this.tvLeft.Name = "tvLeft";
|
||||
this.tvLeft.Size = new System.Drawing.Size(200, 585);
|
||||
this.tvLeft.TabIndex = 0;
|
||||
//
|
||||
// pl_Buttom
|
||||
//
|
||||
this.pl_Buttom.Controls.Add(this.panel2);
|
||||
this.pl_Buttom.Controls.Add(this.panel1);
|
||||
this.pl_Buttom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.pl_Buttom.Location = new System.Drawing.Point(200, 343);
|
||||
this.pl_Buttom.Name = "pl_Buttom";
|
||||
this.pl_Buttom.Size = new System.Drawing.Size(584, 242);
|
||||
this.pl_Buttom.TabIndex = 1;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.panel5);
|
||||
this.panel2.Controls.Add(this.panel6);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel2.Location = new System.Drawing.Point(292, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(292, 242);
|
||||
this.panel2.TabIndex = 3;
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.gcConfirm);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 30);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(292, 212);
|
||||
this.panel5.TabIndex = 6;
|
||||
//
|
||||
// gcConfirm
|
||||
//
|
||||
this.gcConfirm.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gcConfirm.Location = new System.Drawing.Point(0, 0);
|
||||
this.gcConfirm.MainView = this.gvConfirm;
|
||||
this.gcConfirm.Name = "gcConfirm";
|
||||
this.gcConfirm.Size = new System.Drawing.Size(292, 212);
|
||||
this.gcConfirm.TabIndex = 1;
|
||||
this.gcConfirm.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvConfirm});
|
||||
//
|
||||
// gvConfirm
|
||||
//
|
||||
this.gvConfirm.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn5,
|
||||
this.gridColumn6});
|
||||
this.gvConfirm.GridControl = this.gcConfirm;
|
||||
this.gvConfirm.Name = "gvConfirm";
|
||||
this.gvConfirm.OptionsView.ShowGroupPanel = false;
|
||||
//
|
||||
// gridColumn5
|
||||
//
|
||||
this.gridColumn5.Caption = "工号";
|
||||
this.gridColumn5.FieldName = "loginaccount";
|
||||
this.gridColumn5.Name = "gridColumn5";
|
||||
this.gridColumn5.OptionsColumn.AllowEdit = false;
|
||||
//
|
||||
// gridColumn6
|
||||
//
|
||||
this.gridColumn6.Caption = "姓名";
|
||||
this.gridColumn6.FieldName = "name";
|
||||
this.gridColumn6.Name = "gridColumn6";
|
||||
this.gridColumn6.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn6.Visible = true;
|
||||
this.gridColumn6.VisibleIndex = 0;
|
||||
//
|
||||
// panel6
|
||||
//
|
||||
this.panel6.Controls.Add(this.btnDelConfirm);
|
||||
this.panel6.Controls.Add(this.btnAddConfirm);
|
||||
this.panel6.Controls.Add(this.label2);
|
||||
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel6.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(292, 30);
|
||||
this.panel6.TabIndex = 5;
|
||||
//
|
||||
// btnAddConfirm
|
||||
//
|
||||
this.btnAddConfirm.Location = new System.Drawing.Point(224, 3);
|
||||
this.btnAddConfirm.Name = "btnAddConfirm";
|
||||
this.btnAddConfirm.Size = new System.Drawing.Size(62, 23);
|
||||
this.btnAddConfirm.TabIndex = 2;
|
||||
this.btnAddConfirm.Text = "添加";
|
||||
this.btnAddConfirm.UseVisualStyleBackColor = true;
|
||||
this.btnAddConfirm.Click += new System.EventHandler(this.btnAddConfirm_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(10, 9);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(65, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "确认人列表";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.panel4);
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(292, 242);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.gcRemind);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 30);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(292, 212);
|
||||
this.panel4.TabIndex = 4;
|
||||
//
|
||||
// gcRemind
|
||||
//
|
||||
this.gcRemind.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gcRemind.Location = new System.Drawing.Point(0, 0);
|
||||
this.gcRemind.MainView = this.gvRemind;
|
||||
this.gcRemind.Name = "gcRemind";
|
||||
this.gcRemind.Size = new System.Drawing.Size(292, 212);
|
||||
this.gcRemind.TabIndex = 1;
|
||||
this.gcRemind.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvRemind});
|
||||
//
|
||||
// gvRemind
|
||||
//
|
||||
this.gvRemind.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn2,
|
||||
this.gridColumn3});
|
||||
this.gvRemind.GridControl = this.gcRemind;
|
||||
this.gvRemind.Name = "gvRemind";
|
||||
this.gvRemind.OptionsView.ShowGroupPanel = false;
|
||||
//
|
||||
// gridColumn2
|
||||
//
|
||||
this.gridColumn2.Caption = "工号";
|
||||
this.gridColumn2.FieldName = "loginaccount";
|
||||
this.gridColumn2.Name = "gridColumn2";
|
||||
this.gridColumn2.OptionsColumn.AllowEdit = false;
|
||||
//
|
||||
// gridColumn3
|
||||
//
|
||||
this.gridColumn3.Caption = "姓名";
|
||||
this.gridColumn3.FieldName = "name";
|
||||
this.gridColumn3.Name = "gridColumn3";
|
||||
this.gridColumn3.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn3.Visible = true;
|
||||
this.gridColumn3.VisibleIndex = 0;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.btnDelRemind);
|
||||
this.panel3.Controls.Add(this.btnAddRemind);
|
||||
this.panel3.Controls.Add(this.label1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(292, 30);
|
||||
this.panel3.TabIndex = 3;
|
||||
//
|
||||
// btnAddRemind
|
||||
//
|
||||
this.btnAddRemind.Location = new System.Drawing.Point(224, 3);
|
||||
this.btnAddRemind.Name = "btnAddRemind";
|
||||
this.btnAddRemind.Size = new System.Drawing.Size(62, 23);
|
||||
this.btnAddRemind.TabIndex = 1;
|
||||
this.btnAddRemind.Text = "添加";
|
||||
this.btnAddRemind.UseVisualStyleBackColor = true;
|
||||
this.btnAddRemind.Click += new System.EventHandler(this.btnAddRemind_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(10, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(65, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "提醒人列表";
|
||||
//
|
||||
// pl_Center
|
||||
//
|
||||
this.pl_Center.Controls.Add(this.gcMain);
|
||||
this.pl_Center.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pl_Center.Location = new System.Drawing.Point(200, 0);
|
||||
this.pl_Center.Name = "pl_Center";
|
||||
this.pl_Center.Size = new System.Drawing.Size(584, 343);
|
||||
this.pl_Center.TabIndex = 2;
|
||||
//
|
||||
// gcMain
|
||||
//
|
||||
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.gcMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.gcMain.MainView = this.gvMain;
|
||||
this.gcMain.Name = "gcMain";
|
||||
this.gcMain.Size = new System.Drawing.Size(584, 343);
|
||||
this.gcMain.TabIndex = 0;
|
||||
this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gvMain});
|
||||
//
|
||||
// gvMain
|
||||
//
|
||||
this.gvMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.id,
|
||||
this.loginaccount,
|
||||
this.name});
|
||||
this.gvMain.GridControl = this.gcMain;
|
||||
this.gvMain.Name = "gvMain";
|
||||
this.gvMain.OptionsSelection.MultiSelect = true;
|
||||
this.gvMain.OptionsView.ShowGroupPanel = false;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.Caption = "编号";
|
||||
this.id.FieldName = "id";
|
||||
this.id.Name = "id";
|
||||
this.id.OptionsColumn.AllowEdit = false;
|
||||
this.id.Visible = true;
|
||||
this.id.VisibleIndex = 0;
|
||||
//
|
||||
// loginaccount
|
||||
//
|
||||
this.loginaccount.Caption = "工号";
|
||||
this.loginaccount.FieldName = "loginaccount";
|
||||
this.loginaccount.Name = "loginaccount";
|
||||
this.loginaccount.OptionsColumn.AllowEdit = false;
|
||||
this.loginaccount.Visible = true;
|
||||
this.loginaccount.VisibleIndex = 1;
|
||||
//
|
||||
// name
|
||||
//
|
||||
this.name.Caption = "姓名";
|
||||
this.name.FieldName = "name";
|
||||
this.name.Name = "name";
|
||||
this.name.OptionsColumn.AllowEdit = false;
|
||||
this.name.Visible = true;
|
||||
this.name.VisibleIndex = 2;
|
||||
//
|
||||
// btnDelRemind
|
||||
//
|
||||
this.btnDelRemind.Location = new System.Drawing.Point(156, 3);
|
||||
this.btnDelRemind.Name = "btnDelRemind";
|
||||
this.btnDelRemind.Size = new System.Drawing.Size(62, 23);
|
||||
this.btnDelRemind.TabIndex = 2;
|
||||
this.btnDelRemind.Text = "删除";
|
||||
this.btnDelRemind.UseVisualStyleBackColor = true;
|
||||
this.btnDelRemind.Click += new System.EventHandler(this.btnDelRemind_Click);
|
||||
//
|
||||
// btnDelConfirm
|
||||
//
|
||||
this.btnDelConfirm.Location = new System.Drawing.Point(156, 3);
|
||||
this.btnDelConfirm.Name = "btnDelConfirm";
|
||||
this.btnDelConfirm.Size = new System.Drawing.Size(62, 23);
|
||||
this.btnDelConfirm.TabIndex = 3;
|
||||
this.btnDelConfirm.Text = "删除";
|
||||
this.btnDelConfirm.UseVisualStyleBackColor = true;
|
||||
this.btnDelConfirm.Click += new System.EventHandler(this.btnDelConfirm_Click);
|
||||
//
|
||||
// frmRemindSelectForm
|
||||
//
|
||||
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(784, 585);
|
||||
this.Controls.Add(this.pl_Center);
|
||||
this.Controls.Add(this.pl_Buttom);
|
||||
this.Controls.Add(this.pl_Left);
|
||||
this.LookAndFeel.SkinName = "Office 2010 Blue";
|
||||
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
|
||||
this.Name = "frmRemindSelectForm";
|
||||
this.Text = "选择";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmRemindSelectForm_FormClosing);
|
||||
this.pl_Left.ResumeLayout(false);
|
||||
this.pl_Buttom.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel5.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcConfirm)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvConfirm)).EndInit();
|
||||
this.panel6.ResumeLayout(false);
|
||||
this.panel6.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcRemind)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvRemind)).EndInit();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.pl_Center.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gvMain)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel pl_Left;
|
||||
private System.Windows.Forms.Panel pl_Buttom;
|
||||
private System.Windows.Forms.Panel pl_Center;
|
||||
private MyControl.TreeViewEx tvLeft;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button btnAddConfirm;
|
||||
private System.Windows.Forms.Button btnAddRemind;
|
||||
private DevExpress.XtraGrid.GridControl gcMain;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvMain;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn id;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn loginaccount;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn name;
|
||||
private DevExpress.XtraGrid.GridControl gcConfirm;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvConfirm;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
|
||||
private DevExpress.XtraGrid.GridControl gcRemind;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gvRemind;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
||||
private System.Windows.Forms.Button btnDelRemind;
|
||||
private System.Windows.Forms.Button btnDelConfirm;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,342 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using Lskj.Common;
|
||||
using DevExpress.XtraGrid.Views.Grid;
|
||||
using CommonLib;
|
||||
using System.Data.SqlClient;
|
||||
using CommonLib.data;
|
||||
using DevExpress.XtraGrid.Columns;
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
namespace Lskj.BaseAccraditation
|
||||
{
|
||||
public partial class frmRemindSelectForm : FormBase
|
||||
{
|
||||
// 传入参数
|
||||
public string FieldValue;
|
||||
|
||||
// 需要返回的数据
|
||||
public string ConfirmOpers = "";
|
||||
public string RemindOpers = "";
|
||||
|
||||
// 左侧树,表名
|
||||
private string Hr_PersonSpecTab = string.Empty;
|
||||
|
||||
public frmRemindSelectForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
tvLeft.GetTreeView.AfterSelect += new TreeViewEventHandler(tvLeft_AfterSelect);
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
this.GetPersonSpecTabName();
|
||||
this.InitTreeViewEx();
|
||||
this.InitGridViewEx();
|
||||
}
|
||||
|
||||
#region 私有方法
|
||||
private void GetPersonSpecTabName()
|
||||
{
|
||||
string sqlValue = "select * from p_SystemTab";
|
||||
DataTable dtTable = SqlHelper.ExecuteDataSet(sqlValue).Tables[0];
|
||||
|
||||
if (dtTable.Columns.Contains("Hr_SpecTab"))
|
||||
{
|
||||
Hr_PersonSpecTab = dtTable.Rows[0]["Hr_SpecTab"] + "";
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 初始化树结构
|
||||
/// </summary>
|
||||
private void InitTreeViewEx()
|
||||
{
|
||||
string treeSql = string.Empty;
|
||||
if (string.IsNullOrEmpty(Hr_PersonSpecTab))
|
||||
{
|
||||
treeSql = "select SpeciesNo,SpeciesName from Hr_PeraonnelSpecTab";
|
||||
}
|
||||
else
|
||||
{
|
||||
treeSql = "select SpeciesNo,SpeciesName from " + Hr_PersonSpecTab;
|
||||
}
|
||||
PubClass.BindTree(treeSql, tvLeft.GetTreeView);
|
||||
}
|
||||
/// <summary>
|
||||
/// 初始化表格数据
|
||||
/// </summary>
|
||||
private void InitGridViewEx()
|
||||
{
|
||||
string sqlValue = "select employeeId id,loginaccount,employeename name from P_employeeTab where sign=0";
|
||||
DataTable dtTable = SqlHelper.ExecuteDataSet(sqlValue).Tables[0];
|
||||
gcMain.DataSource = dtTable;
|
||||
|
||||
string sqlValue2 = string.Format("select comfirmOpers,remindOpers from p_baseflowOper where modid = '{0}' and keyvalue='{1}'", ModuleId, FieldValue);
|
||||
DataTable dtTable2 = SqlHelper.ExecuteDataSet(sqlValue2).Tables[0];
|
||||
|
||||
if (dtTable2.Rows.Count > 0)
|
||||
{
|
||||
string comfirm = dtTable2.Rows[0]["comfirmOpers"] + "";
|
||||
string remind = dtTable2.Rows[0]["remindOpers"] + "";
|
||||
|
||||
string loginaccount = "loginaccount";
|
||||
string name = "name";
|
||||
|
||||
if (!string.IsNullOrEmpty(comfirm))
|
||||
{
|
||||
DataTable dtConfirm = new DataTable();
|
||||
dtConfirm.Columns.Add(loginaccount);
|
||||
dtConfirm.Columns.Add(name);
|
||||
|
||||
comfirm = comfirm.Replace(" ", "").Replace(",,", ",").Trim(',');
|
||||
string[] comfirms = comfirm.Split(',');
|
||||
for (int i = 0; i < comfirms.Length; i++)
|
||||
{
|
||||
DataRow row = dtConfirm.NewRow();
|
||||
row[name] = comfirms[i];
|
||||
dtConfirm.Rows.Add(row);
|
||||
}
|
||||
gcConfirm.DataSource = dtConfirm;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(remind))
|
||||
{
|
||||
DataTable dtRemind = new DataTable();
|
||||
dtRemind.Columns.Add(loginaccount);
|
||||
dtRemind.Columns.Add(name);
|
||||
|
||||
remind = remind.Replace(" ", "").Replace(",,", ",").Trim(',');
|
||||
string[] reminds = remind.Split(',');
|
||||
for (int i = 0; i < reminds.Length; i++)
|
||||
{
|
||||
DataRow row = dtRemind.NewRow();
|
||||
row[name] = reminds[i];
|
||||
dtRemind.Rows.Add(row);
|
||||
}
|
||||
gcRemind.DataSource = dtRemind;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void tvLeft_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
if (e.Action == TreeViewAction.ByMouse)
|
||||
{
|
||||
string strWhere = " and SpeciesNo like '" + e.Node.Name + "%'";
|
||||
|
||||
string sqlValue = "select employeeId id,loginaccount,employeename name from P_employeeTab where sign=0 " + strWhere;
|
||||
DataTable dtTable = SqlHelper.ExecuteDataSet(sqlValue).Tables[0];
|
||||
gcMain.DataSource = dtTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加提醒人
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnAddRemind_Click(object sender, EventArgs e)
|
||||
{
|
||||
int[] rows = gvMain.GetSelectedRows();
|
||||
if (rows.Length == 0)
|
||||
{
|
||||
XtraMessageBox.Show("请选择员工.");
|
||||
}
|
||||
else
|
||||
{
|
||||
string loginaccount = "loginaccount";
|
||||
string name = "name";
|
||||
|
||||
DataTable dtTable = gcRemind.DataSource as DataTable;
|
||||
if (dtTable == null)
|
||||
{
|
||||
dtTable = new DataTable();
|
||||
dtTable.Columns.Add(loginaccount);
|
||||
dtTable.Columns.Add(name);
|
||||
}
|
||||
|
||||
for (int i = 0; i < rows.Length; i++)
|
||||
{
|
||||
DataRow row = gvMain.GetDataRow(rows[i]);
|
||||
|
||||
if (dtTable.Rows.Cast<DataRow>().FirstOrDefault(x => (x[name] + "") == (row[name] + "")) == null)
|
||||
{
|
||||
DataRow newRow = dtTable.NewRow();
|
||||
newRow[loginaccount] = row[loginaccount];
|
||||
newRow[name] = row[name];
|
||||
dtTable.Rows.Add(newRow);
|
||||
}
|
||||
}
|
||||
gcRemind.DataSource = dtTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加确认人
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnAddConfirm_Click(object sender, EventArgs e)
|
||||
{
|
||||
int[] rows = gvMain.GetSelectedRows();
|
||||
if (rows.Length == 0)
|
||||
{
|
||||
XtraMessageBox.Show("请选择员工.");
|
||||
}
|
||||
else
|
||||
{
|
||||
string loginaccount = "loginaccount";
|
||||
string name = "name";
|
||||
|
||||
DataTable dtTable = gcConfirm.DataSource as DataTable;
|
||||
if (dtTable == null)
|
||||
{
|
||||
dtTable = new DataTable();
|
||||
dtTable.Columns.Add(loginaccount);
|
||||
dtTable.Columns.Add(name);
|
||||
}
|
||||
|
||||
for (int i = 0; i < rows.Length; i++)
|
||||
{
|
||||
DataRow row = gvMain.GetDataRow(rows[i]);
|
||||
|
||||
if (dtTable.Rows.Cast<DataRow>().FirstOrDefault(x => (x[name] + "") == (row[name] + "")) == null)
|
||||
{
|
||||
DataRow newRow = dtTable.NewRow();
|
||||
newRow[loginaccount] = row[loginaccount];
|
||||
newRow[name] = row[name];
|
||||
dtTable.Rows.Add(newRow);
|
||||
}
|
||||
}
|
||||
gcConfirm.DataSource = dtTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除提醒人
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnDelRemind_Click(object sender, EventArgs e)
|
||||
{
|
||||
int[] rows = gvRemind.GetSelectedRows();
|
||||
if (rows.Length == 0)
|
||||
{
|
||||
XtraMessageBox.Show("请选择要删除的员工.");
|
||||
}
|
||||
else
|
||||
{
|
||||
DataTable dtTable = gcRemind.DataSource as DataTable;
|
||||
|
||||
if (dtTable != null)
|
||||
{
|
||||
for (int i = 0; i < rows.Length; i++)
|
||||
{
|
||||
DataRow row = gvRemind.GetDataRow(rows[i]);
|
||||
|
||||
DataRow selectRow = dtTable.Rows.Cast<DataRow>().FirstOrDefault(x => x["name"] + "" == row["name"] + "");
|
||||
if (selectRow != null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(selectRow["loginaccount"] + ""))
|
||||
{
|
||||
XtraMessageBox.Show("无法删除[" + selectRow["name"] + "]员工.");
|
||||
}
|
||||
else
|
||||
{
|
||||
dtTable.Rows.Remove(selectRow);
|
||||
}
|
||||
}
|
||||
}
|
||||
gcRemind.DataSource = dtTable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除确认人
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnDelConfirm_Click(object sender, EventArgs e)
|
||||
{
|
||||
int[] rows = gvConfirm.GetSelectedRows();
|
||||
if (rows.Length == 0)
|
||||
{
|
||||
XtraMessageBox.Show("请选择要删除的员工.");
|
||||
}
|
||||
else
|
||||
{
|
||||
DataTable dtTable = gcConfirm.DataSource as DataTable;
|
||||
|
||||
if (dtTable != null)
|
||||
{
|
||||
for (int i = 0; i < rows.Length; i++)
|
||||
{
|
||||
DataRow row = gvConfirm.GetDataRow(rows[i]);
|
||||
|
||||
DataRow selectRow = dtTable.Rows.Cast<DataRow>().FirstOrDefault(x => x["name"] + "" == row["name"] + "");
|
||||
if (selectRow != null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(selectRow["loginaccount"] + ""))
|
||||
{
|
||||
XtraMessageBox.Show("无法删除[" + selectRow["name"] + "]员工.");
|
||||
}
|
||||
else
|
||||
{
|
||||
dtTable.Rows.Remove(selectRow);
|
||||
}
|
||||
}
|
||||
}
|
||||
gcConfirm.DataSource = dtTable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关闭
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void frmRemindSelectForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.DialogResult = XtraMessageBox.Show("退出是否审核?", "系统提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
|
||||
|
||||
DataTable dtRemind = gcRemind.DataSource as DataTable;
|
||||
DataTable dtConfirm = gcConfirm.DataSource as DataTable;
|
||||
|
||||
if (dtRemind != null && dtRemind.Rows.Count > 0)
|
||||
{
|
||||
foreach (DataRow item in dtRemind.Rows)
|
||||
{
|
||||
RemindOpers += item["name"] + ",";
|
||||
}
|
||||
}
|
||||
|
||||
if (dtConfirm != null && dtConfirm.Rows.Count > 0)
|
||||
{
|
||||
foreach (DataRow item in dtConfirm.Rows)
|
||||
{
|
||||
ConfirmOpers += item["name"] + ",";
|
||||
}
|
||||
}
|
||||
|
||||
RemindOpers = RemindOpers.TrimEnd(',');
|
||||
ConfirmOpers = ConfirmOpers.TrimEnd(',');
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user