📄 orgbase.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using Jinrm.Data;
using GzglClient.Froms;
namespace GzglClient.Views
{
/// <summary>
/// OrgBase 的摘要说明。
/// </summary>
public class OrgBase : System.Windows.Forms.UserControl , IView
{
private System.Windows.Forms.Panel plLeft;
private System.Windows.Forms.Panel plMian;
private System.Windows.Forms.Splitter splitter1;
private System.Windows.Forms.Panel plRight;
private System.Windows.Forms.TreeView OrgTree;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
private System.Windows.Forms.Panel plxz;
private System.Windows.Forms.Panel plsy;
private System.Windows.Forms.Panel plns;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox XZ_OrgName;
private System.Windows.Forms.TextBox XZ_OrgItName;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox XZ_WJGLXId;
private System.Windows.Forms.TextBox XZ_WJGJBId;
private System.Windows.Forms.TextBox XZ_WSSXTId;
private System.Windows.Forms.TextBox XZ_ParentId;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox SY_OrgName;
private System.Windows.Forms.TextBox SY_WJGLXId;
private System.Windows.Forms.TextBox SY_WJGJBId;
private System.Windows.Forms.TextBox SY_WSSXTId;
private System.Windows.Forms.TextBox SY_ParentId;
private System.Windows.Forms.TextBox SY_OrgItName;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.TextBox NS_NSName;
private System.Windows.Forms.TextBox NS_NSItName;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.ColumnHeader columnHeader12;
private System.Windows.Forms.ColumnHeader columnHeader13;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader5;
private System.Windows.Forms.ColumnHeader columnHeader6;
private System.Windows.Forms.ListView GWYItemList;
private System.Windows.Forms.ListView GRItemList;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Splitter splitter2;
private System.Windows.Forms.ListView BZItemList;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.Splitter splitter3;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TabControl tabControl2;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.ColumnHeader columnHeader7;
private System.Windows.Forms.ColumnHeader columnHeader8;
private System.Windows.Forms.ColumnHeader columnHeader9;
private System.Windows.Forms.ColumnHeader columnHeader10;
private System.Windows.Forms.ColumnHeader columnHeader11;
private System.Windows.Forms.ColumnHeader columnHeader14;
private System.Windows.Forms.ColumnHeader columnHeader15;
private System.Windows.Forms.ColumnHeader columnHeader16;
private System.Windows.Forms.TabPage tabPage7;
private System.Windows.Forms.ColumnHeader columnHeader17;
private System.Windows.Forms.ColumnHeader columnHeader18;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.ListView SYBZItemList;
private System.Windows.Forms.ListView SYXZGLItemList;
private System.Windows.Forms.ListView SYZYJSItemList;
private System.Windows.Forms.ListView SYGRItemList;
private DoAccess conn = new DoAccess();
public OrgBase()
{
// 该调用是 Windows.Forms 窗体设计器所必需的。
InitializeComponent();
// TODO: 在 InitializeComponent 调用后添加任何初始化
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器
/// 修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.plLeft = new System.Windows.Forms.Panel();
this.OrgTree = new System.Windows.Forms.TreeView();
this.plMian = new System.Windows.Forms.Panel();
this.plRight = new System.Windows.Forms.Panel();
this.plsy = new System.Windows.Forms.Panel();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.splitter3 = new System.Windows.Forms.Splitter();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.tabControl2 = new System.Windows.Forms.TabControl();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.SYBZItemList = new System.Windows.Forms.ListView();
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.SYXZGLItemList = new System.Windows.Forms.ListView();
this.columnHeader9 = new System.Windows.Forms.ColumnHeader();
this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
this.columnHeader11 = new System.Windows.Forms.ColumnHeader();
this.columnHeader14 = new System.Windows.Forms.ColumnHeader();
this.tabPage6 = new System.Windows.Forms.TabPage();
this.SYZYJSItemList = new System.Windows.Forms.ListView();
this.columnHeader15 = new System.Windows.Forms.ColumnHeader();
this.columnHeader16 = new System.Windows.Forms.ColumnHeader();
this.tabPage7 = new System.Windows.Forms.TabPage();
this.SYGRItemList = new System.Windows.Forms.ListView();
this.columnHeader17 = new System.Windows.Forms.ColumnHeader();
this.columnHeader18 = new System.Windows.Forms.ColumnHeader();
this.SY_ParentId = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.SY_WSSXTId = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.SY_WJGJBId = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.SY_WJGLXId = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.SY_OrgItName = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.SY_OrgName = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.plns = new System.Windows.Forms.Panel();
this.NS_NSItName = new System.Windows.Forms.TextBox();
this.label17 = new System.Windows.Forms.Label();
this.NS_NSName = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
this.plxz = new System.Windows.Forms.Panel();
this.splitter2 = new System.Windows.Forms.Splitter();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.BZItemList = new System.Windows.Forms.ListView();
this.columnHeader12 = new System.Windows.Forms.ColumnHeader();
this.columnHeader13 = new System.Windows.Forms.ColumnHeader();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.GWYItemList = new System.Windows.Forms.ListView();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.GRItemList = new System.Windows.Forms.ListView();
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
this.XZ_ParentId = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.XZ_WSSXTId = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.XZ_WJGJBId = new System.Windows.Forms.TextBox();
this.XZ_WJGLXId = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.XZ_OrgItName = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.XZ_OrgName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.splitter1 = new System.Windows.Forms.Splitter();
this.plLeft.SuspendLayout();
this.plMian.SuspendLayout();
this.plRight.SuspendLayout();
this.plsy.SuspendLayout();
this.tabControl2.SuspendLayout();
this.tabPage4.SuspendLayout();
this.tabPage5.SuspendLayout();
this.tabPage6.SuspendLayout();
this.tabPage7.SuspendLayout();
this.plns.SuspendLayout();
this.plxz.SuspendLayout();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.SuspendLayout();
//
// plLeft
//
this.plLeft.Controls.Add(this.OrgTree);
this.plLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.plLeft.Location = new System.Drawing.Point(0, 0);
this.plLeft.Name = "plLeft";
this.plLeft.Size = new System.Drawing.Size(240, 600);
this.plLeft.TabIndex = 0;
//
// OrgTree
//
this.OrgTree.Dock = System.Windows.Forms.DockStyle.Fill;
this.OrgTree.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.OrgTree.ImageIndex = -1;
this.OrgTree.Location = new System.Drawing.Point(0, 0);
this.OrgTree.Name = "OrgTree";
this.OrgTree.SelectedImageIndex = -1;
this.OrgTree.Size = new System.Drawing.Size(240, 600);
this.OrgTree.TabIndex = 0;
this.OrgTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OrgTree_AfterSelect);
//
// plMian
//
this.plMian.Controls.Add(this.plRight);
this.plMian.Controls.Add(this.splitter1);
this.plMian.Controls.Add(this.plLeft);
this.plMian.Dock = System.Windows.Forms.DockStyle.Fill;
this.plMian.Location = new System.Drawing.Point(0, 0);
this.plMian.Name = "plMian";
this.plMian.Size = new System.Drawing.Size(900, 600);
this.plMian.TabIndex = 1;
//
// plRight
//
this.plRight.Controls.Add(this.plsy);
this.plRight.Controls.Add(this.plns);
this.plRight.Controls.Add(this.plxz);
this.plRight.Dock = System.Windows.Forms.DockStyle.Fill;
this.plRight.Location = new System.Drawing.Point(243, 0);
this.plRight.Name = "plRight";
this.plRight.Size = new System.Drawing.Size(657, 600);
this.plRight.TabIndex = 2;
//
// plsy
//
this.plsy.Controls.Add(this.textBox3);
this.plsy.Controls.Add(this.label15);
this.plsy.Controls.Add(this.splitter3);
this.plsy.Controls.Add(this.textBox2);
this.plsy.Controls.Add(this.label14);
this.plsy.Controls.Add(this.tabControl2);
this.plsy.Controls.Add(this.SY_ParentId);
this.plsy.Controls.Add(this.label11);
this.plsy.Controls.Add(this.SY_WSSXTId);
this.plsy.Controls.Add(this.label12);
this.plsy.Controls.Add(this.SY_WJGJBId);
this.plsy.Controls.Add(this.label5);
this.plsy.Controls.Add(this.SY_WJGLXId);
this.plsy.Controls.Add(this.label6);
this.plsy.Controls.Add(this.SY_OrgItName);
this.plsy.Controls.Add(this.label7);
this.plsy.Controls.Add(this.SY_OrgName);
this.plsy.Controls.Add(this.label8);
this.plsy.Dock = System.Windows.Forms.DockStyle.Fill;
this.plsy.Location = new System.Drawing.Point(0, 0);
this.plsy.Name = "plsy";
this.plsy.Size = new System.Drawing.Size(657, 600);
this.plsy.TabIndex = 2;
//
// textBox3
//
this.textBox3.BackColor = System.Drawing.Color.LightYellow;
this.textBox3.Location = new System.Drawing.Point(373, 88);
this.textBox3.MaxLength = 100;
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(180, 21);
this.textBox3.TabIndex = 35;
this.textBox3.Text = "";
//
// label15
//
this.label15.Location = new System.Drawing.Point(309, 88);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(66, 23);
this.label15.TabIndex = 34;
this.label15.Text = "系统类别:";
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// splitter3
//
this.splitter3.BackColor = System.Drawing.SystemColors.Desktop;
this.splitter3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.splitter3.Location = new System.Drawing.Point(0, 285);
this.splitter3.Name = "splitter3";
this.splitter3.Size = new System.Drawing.Size(657, 3);
this.splitter3.TabIndex = 33;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -