📄 xianform.cs
字号:
//===========================================================================
// Smarclient FPMS Demo Project a sample project for SmartClient technology.
// Smarclient FPMS Demo is designed and implemented bases Microsoft Application Block tech.
// Author: SFPMS Team, Date 2004-11
// Vision 1.0
// Revison History
//=============================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using JSW.Tool;
using JSW.FPMS.Tool;
using JSW.FPMS.Xian.KongZhi;
namespace JSW.FPMS.Xian.ShiTu
{
/// <summary>
/// XianForm 的摘要说明。
/// </summary>
public class XianForm : System.Windows.Forms.Form
{
#region 成员变量区域
private System.Windows.Forms.TabControl TABC_Zong;
private System.Windows.Forms.TabPage TABP_Zong_XuQiuFanKui;
private System.Windows.Forms.TabPage TABP_Zong_JiBenShuJu_XinXiDianWeiHu;
private System.Windows.Forms.TabPage TABP_Zong_PeiZhiXinXiWeiHu;
private System.Windows.Forms.Button BT_ShuanXin;
private System.Windows.Forms.Button BT_XuQiuFanKui;
private System.Windows.Forms.GroupBox GB_JieGuo;
private System.Windows.Forms.DataGrid DG_XuQiu;
private System.Windows.Forms.GroupBox GB_XinXinDian;
private System.Windows.Forms.GroupBox GB_XuQiuDaiMaFenLei;
private System.Windows.Forms.Button BT_XinXinXiDian;
private System.Windows.Forms.Button BT_XinXuQiuDaiMa;
private System.Windows.Forms.DataGridTableStyle DGTS_XiuQiu;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_CaiJiShiJian;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_TiChuRen;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_YuFuBianMa;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_XuQiuLeiBie;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_DaFuRen;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_DaFuShiJian;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_XinXiDianBianHao;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_XuQiuManYiDu;
private System.Windows.Forms.DataGrid DG_XinXinDian;
private System.Windows.Forms.DataGrid DG_XuQiuLeiBieFenLei;
private System.ComponentModel.IContainer components;
private System.Windows.Forms.DataGrid DG_PeiZhi;
private System.Windows.Forms.DataGridTableStyle DGTS_XinXiDian;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_BianHao;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_ShuoMing;
private System.Windows.Forms.DataGridTableStyle DGTS_XuQiuFenLei;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_XuQiuFenLeiDaiMa;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_XuQiuDaMaMingXi;
private System.Windows.Forms.Button BT_XinShuJuXiang;
private System.Windows.Forms.DataGridTableStyle DGTS_PeiZhi;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_ShuJuXiangMing;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_ShuJuXiangKJM;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_ShuJuXiangKJLX;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_XiTongShuJu;
private System.Windows.Forms.DataGridTextBoxColumn DGTSTB_MoRenZhi;
private System.Windows.Forms.Button BT_XiuGaiXinXiDian;
private clsXianKongZhi jiemianKongZhi = null;
private DataSet xuQiu = null;
private System.Windows.Forms.Button BT_XiuGaiXuQiuDaiMa;
private System.Windows.Forms.Button BT_XiuGaiShuJuXiang;
private System.Windows.Forms.Button BT_DiaoKanShuJuXiang;
private System.Windows.Forms.Timer TM_ShuJuGengXin;
private System.Windows.Forms.MainMenu mainMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem MMI_XuQiuFanKui;
private System.Windows.Forms.MenuItem MMI_JiBenShuJuWeiHu;
private System.Windows.Forms.MenuItem MMI_ShuJuJieGouWeiHu;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.MenuItem MMI_TuiChu;
private System.Windows.Forms.MenuItem menuItem6;
private System.Windows.Forms.MenuItem MMI_BangZhu;
private System.Windows.Forms.MenuItem MMI_GuangYu;
private String shujuJian = null;
#endregion
#region 私有方法区域
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.TABC_Zong = new System.Windows.Forms.TabControl();
this.TABP_Zong_XuQiuFanKui = new System.Windows.Forms.TabPage();
this.GB_JieGuo = new System.Windows.Forms.GroupBox();
this.DG_XuQiu = new System.Windows.Forms.DataGrid();
this.DGTS_XiuQiu = new System.Windows.Forms.DataGridTableStyle();
this.DGTSTB_CaiJiShiJian = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_TiChuRen = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_YuFuBianMa = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_XuQiuLeiBie = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_DaFuRen = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_DaFuShiJian = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_XinXiDianBianHao = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_XuQiuManYiDu = new System.Windows.Forms.DataGridTextBoxColumn();
this.BT_ShuanXin = new System.Windows.Forms.Button();
this.BT_XuQiuFanKui = new System.Windows.Forms.Button();
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu = new System.Windows.Forms.TabPage();
this.BT_XinXuQiuDaiMa = new System.Windows.Forms.Button();
this.BT_XinXinXiDian = new System.Windows.Forms.Button();
this.GB_XinXinDian = new System.Windows.Forms.GroupBox();
this.DG_XinXinDian = new System.Windows.Forms.DataGrid();
this.DGTS_XinXiDian = new System.Windows.Forms.DataGridTableStyle();
this.DGTSTB_BianHao = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_ShuoMing = new System.Windows.Forms.DataGridTextBoxColumn();
this.BT_XiuGaiXinXiDian = new System.Windows.Forms.Button();
this.GB_XuQiuDaiMaFenLei = new System.Windows.Forms.GroupBox();
this.DG_XuQiuLeiBieFenLei = new System.Windows.Forms.DataGrid();
this.DGTS_XuQiuFenLei = new System.Windows.Forms.DataGridTableStyle();
this.DGTSTB_XuQiuFenLeiDaiMa = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_XuQiuDaMaMingXi = new System.Windows.Forms.DataGridTextBoxColumn();
this.BT_XiuGaiXuQiuDaiMa = new System.Windows.Forms.Button();
this.TABP_Zong_PeiZhiXinXiWeiHu = new System.Windows.Forms.TabPage();
this.BT_DiaoKanShuJuXiang = new System.Windows.Forms.Button();
this.BT_XiuGaiShuJuXiang = new System.Windows.Forms.Button();
this.BT_XinShuJuXiang = new System.Windows.Forms.Button();
this.DG_PeiZhi = new System.Windows.Forms.DataGrid();
this.DGTS_PeiZhi = new System.Windows.Forms.DataGridTableStyle();
this.DGTSTB_ShuJuXiangMing = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_ShuJuXiangKJM = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_ShuJuXiangKJLX = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_XiTongShuJu = new System.Windows.Forms.DataGridTextBoxColumn();
this.DGTSTB_MoRenZhi = new System.Windows.Forms.DataGridTextBoxColumn();
this.TM_ShuJuGengXin = new System.Windows.Forms.Timer(this.components);
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.MMI_XuQiuFanKui = new System.Windows.Forms.MenuItem();
this.MMI_JiBenShuJuWeiHu = new System.Windows.Forms.MenuItem();
this.MMI_ShuJuJieGouWeiHu = new System.Windows.Forms.MenuItem();
this.menuItem4 = new System.Windows.Forms.MenuItem();
this.MMI_TuiChu = new System.Windows.Forms.MenuItem();
this.menuItem6 = new System.Windows.Forms.MenuItem();
this.MMI_BangZhu = new System.Windows.Forms.MenuItem();
this.MMI_GuangYu = new System.Windows.Forms.MenuItem();
this.TABC_Zong.SuspendLayout();
this.TABP_Zong_XuQiuFanKui.SuspendLayout();
this.GB_JieGuo.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DG_XuQiu)).BeginInit();
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.SuspendLayout();
this.GB_XinXinDian.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DG_XinXinDian)).BeginInit();
this.GB_XuQiuDaiMaFenLei.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DG_XuQiuLeiBieFenLei)).BeginInit();
this.TABP_Zong_PeiZhiXinXiWeiHu.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DG_PeiZhi)).BeginInit();
this.SuspendLayout();
//
// TABC_Zong
//
this.TABC_Zong.Controls.Add(this.TABP_Zong_XuQiuFanKui);
this.TABC_Zong.Controls.Add(this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu);
this.TABC_Zong.Controls.Add(this.TABP_Zong_PeiZhiXinXiWeiHu);
this.TABC_Zong.Location = new System.Drawing.Point(8, 8);
this.TABC_Zong.Name = "TABC_Zong";
this.TABC_Zong.SelectedIndex = 0;
this.TABC_Zong.Size = new System.Drawing.Size(640, 384);
this.TABC_Zong.TabIndex = 0;
//
// TABP_Zong_XuQiuFanKui
//
this.TABP_Zong_XuQiuFanKui.Controls.Add(this.GB_JieGuo);
this.TABP_Zong_XuQiuFanKui.Controls.Add(this.BT_ShuanXin);
this.TABP_Zong_XuQiuFanKui.Controls.Add(this.BT_XuQiuFanKui);
this.TABP_Zong_XuQiuFanKui.Location = new System.Drawing.Point(4, 21);
this.TABP_Zong_XuQiuFanKui.Name = "TABP_Zong_XuQiuFanKui";
this.TABP_Zong_XuQiuFanKui.Size = new System.Drawing.Size(632, 359);
this.TABP_Zong_XuQiuFanKui.TabIndex = 0;
this.TABP_Zong_XuQiuFanKui.Text = "需求反馈";
//
// GB_JieGuo
//
this.GB_JieGuo.Controls.Add(this.DG_XuQiu);
this.GB_JieGuo.Location = new System.Drawing.Point(16, 32);
this.GB_JieGuo.Name = "GB_JieGuo";
this.GB_JieGuo.Size = new System.Drawing.Size(608, 320);
this.GB_JieGuo.TabIndex = 21;
this.GB_JieGuo.TabStop = false;
//
// DG_XuQiu
//
this.DG_XuQiu.CaptionVisible = false;
this.DG_XuQiu.DataMember = "";
this.DG_XuQiu.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.DG_XuQiu.Location = new System.Drawing.Point(8, 16);
this.DG_XuQiu.Name = "DG_XuQiu";
this.DG_XuQiu.Size = new System.Drawing.Size(592, 296);
this.DG_XuQiu.TabIndex = 0;
this.DG_XuQiu.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.DGTS_XiuQiu});
this.DG_XuQiu.DoubleClick += new System.EventHandler(this.DG_XuQiu_DoubleClick);
//
// DGTS_XiuQiu
//
this.DGTS_XiuQiu.DataGrid = this.DG_XuQiu;
this.DGTS_XiuQiu.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.DGTSTB_CaiJiShiJian,
this.DGTSTB_TiChuRen,
this.DGTSTB_YuFuBianMa,
this.DGTSTB_XuQiuLeiBie,
this.DGTSTB_DaFuRen,
this.DGTSTB_DaFuShiJian,
this.DGTSTB_XinXiDianBianHao,
this.DGTSTB_XuQiuManYiDu});
this.DGTS_XiuQiu.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.DGTS_XiuQiu.MappingName = "XuQiu";
this.DGTS_XiuQiu.ReadOnly = true;
//
// DGTSTB_CaiJiShiJian
//
this.DGTSTB_CaiJiShiJian.Format = "";
this.DGTSTB_CaiJiShiJian.FormatInfo = null;
this.DGTSTB_CaiJiShiJian.HeaderText = "采集时间";
this.DGTSTB_CaiJiShiJian.MappingName = "CaiJiShiJian";
this.DGTSTB_CaiJiShiJian.NullText = "";
this.DGTSTB_CaiJiShiJian.Width = 75;
//
// DGTSTB_TiChuRen
//
this.DGTSTB_TiChuRen.Format = "";
this.DGTSTB_TiChuRen.FormatInfo = null;
this.DGTSTB_TiChuRen.HeaderText = "提出人";
this.DGTSTB_TiChuRen.MappingName = "TiChuRen";
this.DGTSTB_TiChuRen.NullText = "";
this.DGTSTB_TiChuRen.Width = 75;
//
// DGTSTB_YuFuBianMa
//
this.DGTSTB_YuFuBianMa.Format = "";
this.DGTSTB_YuFuBianMa.FormatInfo = null;
this.DGTSTB_YuFuBianMa.HeaderText = "育妇编码";
this.DGTSTB_YuFuBianMa.MappingName = "YuFuBianMa";
this.DGTSTB_YuFuBianMa.NullText = "";
this.DGTSTB_YuFuBianMa.Width = 75;
//
// DGTSTB_XuQiuLeiBie
//
this.DGTSTB_XuQiuLeiBie.Format = "";
this.DGTSTB_XuQiuLeiBie.FormatInfo = null;
this.DGTSTB_XuQiuLeiBie.HeaderText = "需求类别";
this.DGTSTB_XuQiuLeiBie.MappingName = "XuQiuLeiBie";
this.DGTSTB_XuQiuLeiBie.NullText = "";
this.DGTSTB_XuQiuLeiBie.Width = 75;
//
// DGTSTB_DaFuRen
//
this.DGTSTB_DaFuRen.Format = "";
this.DGTSTB_DaFuRen.FormatInfo = null;
this.DGTSTB_DaFuRen.HeaderText = "答复人";
this.DGTSTB_DaFuRen.MappingName = "DaFuRen";
this.DGTSTB_DaFuRen.NullText = "";
this.DGTSTB_DaFuRen.Width = 75;
//
// DGTSTB_DaFuShiJian
//
this.DGTSTB_DaFuShiJian.Format = "";
this.DGTSTB_DaFuShiJian.FormatInfo = null;
this.DGTSTB_DaFuShiJian.HeaderText = "答复时间";
this.DGTSTB_DaFuShiJian.MappingName = "DaFuShiJian";
this.DGTSTB_DaFuShiJian.NullText = "";
this.DGTSTB_DaFuShiJian.Width = 75;
//
// DGTSTB_XinXiDianBianHao
//
this.DGTSTB_XinXiDianBianHao.Format = "";
this.DGTSTB_XinXiDianBianHao.FormatInfo = null;
this.DGTSTB_XinXiDianBianHao.HeaderText = "信息点编号";
this.DGTSTB_XinXiDianBianHao.MappingName = "XinXiDianBianHao";
this.DGTSTB_XinXiDianBianHao.NullText = "";
this.DGTSTB_XinXiDianBianHao.Width = 75;
//
// DGTSTB_XuQiuManYiDu
//
this.DGTSTB_XuQiuManYiDu.Format = "";
this.DGTSTB_XuQiuManYiDu.FormatInfo = null;
this.DGTSTB_XuQiuManYiDu.HeaderText = "需求满意度";
this.DGTSTB_XuQiuManYiDu.MappingName = "XuQiuManYiDu";
this.DGTSTB_XuQiuManYiDu.NullText = "";
this.DGTSTB_XuQiuManYiDu.Width = 75;
//
// BT_ShuanXin
//
this.BT_ShuanXin.Location = new System.Drawing.Point(16, 8);
this.BT_ShuanXin.Name = "BT_ShuanXin";
this.BT_ShuanXin.TabIndex = 20;
this.BT_ShuanXin.Text = "刷新";
this.BT_ShuanXin.Click += new System.EventHandler(this.BT_ShuanXin_Click);
//
// BT_XuQiuFanKui
//
this.BT_XuQiuFanKui.Location = new System.Drawing.Point(96, 8);
this.BT_XuQiuFanKui.Name = "BT_XuQiuFanKui";
this.BT_XuQiuFanKui.TabIndex = 19;
this.BT_XuQiuFanKui.Text = "需求反馈";
this.BT_XuQiuFanKui.Click += new System.EventHandler(this.BT_XuQiuFanKui_Click);
//
// TABP_Zong_JiBenShuJu_XinXiDianWeiHu
//
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Controls.Add(this.BT_XinXuQiuDaiMa);
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Controls.Add(this.BT_XinXinXiDian);
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Controls.Add(this.GB_XinXinDian);
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Controls.Add(this.GB_XuQiuDaiMaFenLei);
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Location = new System.Drawing.Point(4, 21);
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Name = "TABP_Zong_JiBenShuJu_XinXiDianWeiHu";
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Size = new System.Drawing.Size(632, 359);
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.TabIndex = 1;
this.TABP_Zong_JiBenShuJu_XinXiDianWeiHu.Text = "基本数据维护";
//
// BT_XinXuQiuDaiMa
//
this.BT_XinXuQiuDaiMa.Location = new System.Drawing.Point(488, 312);
this.BT_XinXuQiuDaiMa.Name = "BT_XinXuQiuDaiMa";
this.BT_XinXuQiuDaiMa.Size = new System.Drawing.Size(120, 23);
this.BT_XinXuQiuDaiMa.TabIndex = 3;
this.BT_XinXuQiuDaiMa.Text = "添加需求代码";
this.BT_XinXuQiuDaiMa.Click += new System.EventHandler(this.BT_XinXuQiuDaiMa_Click);
//
// BT_XinXinXiDian
//
this.BT_XinXinXiDian.Location = new System.Drawing.Point(488, 144);
this.BT_XinXinXiDian.Name = "BT_XinXinXiDian";
this.BT_XinXinXiDian.Size = new System.Drawing.Size(120, 23);
this.BT_XinXinXiDian.TabIndex = 2;
this.BT_XinXinXiDian.Text = "添加信息点";
this.BT_XinXinXiDian.Click += new System.EventHandler(this.BT_XinXinXiDian_Click);
//
// GB_XinXinDian
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -