📄 xuqiuchaxunform.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 2.0.0.0,support xuqiu fenglei
// Revison History
//=============================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.ApplicationBlocks.ApplicationUpdater;
using Microsoft.ApplicationBlocks.SmartClient.Offline;
using JSW.Tool;
using JSW.FPMS.Tool;
using JSW.FPMS.Xiang.KongZhi;
namespace JSW.FPMS.Xiang.ShiTu
{
/// <summary>
/// clsXuQiuChaXunForm 应用程序主界面,响应用户UI操作
/// MVC中的Viewer角色
/// </summary>
public class XuQiuChaXunForm : System.Windows.Forms.Form
{
#region 成员变量区域
private System.Windows.Forms.Button BT_XuQiuLuRu;
private System.Windows.Forms.GroupBox GB_JieGuo;
private System.Windows.Forms.MenuItem menuItem8;
private System.Windows.Forms.MenuItem menuItem9;
private System.Windows.Forms.MainMenu MM_CaiDan;
private System.Windows.Forms.MenuItem MMI_GongNeng;
private System.Windows.Forms.MenuItem MMI_XuQiuLuRu;
private System.Windows.Forms.MenuItem MMI_TuiChu;
private System.Windows.Forms.MenuItem MMI_BangZhuBT;
private System.Windows.Forms.MenuItem MMI_BangZhu;
private System.Windows.Forms.MenuItem MMI_GuanYu;
private System.Windows.Forms.StatusBar SB_ZhuangTai;
private System.ComponentModel.IContainer components;
//界面控制器
private clsXuQiuChaXunKongZhi jiemianKongZhi = null;
private System.Windows.Forms.Button BT_ShuanXin;
private System.Windows.Forms.MenuItem MMI_ShuaXin;
private System.Windows.Forms.Timer TM_ShuJuGengXin;
private System.Windows.Forms.TabControl TAB_XuQiu;
private System.Windows.Forms.TabPage TAB_XuQiuWeiDaFu;
private System.Windows.Forms.TabPage TB_XuQiuYiDaFu;
private System.Windows.Forms.GroupBox GB_XuQiuYiDaFu;
//DG_XuQiu
private System.Windows.Forms.DataGrid DG_XuQiu;
private System.Windows.Forms.DataGridTableStyle dataGridTableStyle1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn3;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn4;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn5;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn6;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn7;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn8;
//DG_XuQiuYiDaFu
private System.Windows.Forms.DataGrid DG_XuQiuYiDaFu;
private System.Windows.Forms.DataGridTableStyle dataGridTableStyle2;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_2;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_3;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_4;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_5;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_6;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_7;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2_8;
//2.0.0.0,修改
private DataSet xuqiuChaXunWeiDaFu = null;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem MMI_ShangXian;
private System.Windows.Forms.MenuItem MMI_LiXian;
private System.Windows.Forms.PictureBox pictureBox1;
private DataSet xuqiuChaXunYiDaFu = null;
#endregion
#region 私有方法区域
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(XuQiuChaXunForm));
this.BT_XuQiuLuRu = new System.Windows.Forms.Button();
this.GB_JieGuo = new System.Windows.Forms.GroupBox();
this.DG_XuQiu = new System.Windows.Forms.DataGrid();
this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
this.MM_CaiDan = new System.Windows.Forms.MainMenu();
this.MMI_GongNeng = new System.Windows.Forms.MenuItem();
this.MMI_ShuaXin = new System.Windows.Forms.MenuItem();
this.MMI_XuQiuLuRu = new System.Windows.Forms.MenuItem();
this.menuItem8 = new System.Windows.Forms.MenuItem();
this.MMI_TuiChu = new System.Windows.Forms.MenuItem();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.MMI_ShangXian = new System.Windows.Forms.MenuItem();
this.MMI_LiXian = new System.Windows.Forms.MenuItem();
this.MMI_BangZhuBT = new System.Windows.Forms.MenuItem();
this.MMI_BangZhu = new System.Windows.Forms.MenuItem();
this.menuItem9 = new System.Windows.Forms.MenuItem();
this.MMI_GuanYu = new System.Windows.Forms.MenuItem();
this.SB_ZhuangTai = new System.Windows.Forms.StatusBar();
this.BT_ShuanXin = new System.Windows.Forms.Button();
this.TM_ShuJuGengXin = new System.Windows.Forms.Timer(this.components);
this.TAB_XuQiu = new System.Windows.Forms.TabControl();
this.TAB_XuQiuWeiDaFu = new System.Windows.Forms.TabPage();
this.TB_XuQiuYiDaFu = new System.Windows.Forms.TabPage();
this.GB_XuQiuYiDaFu = new System.Windows.Forms.GroupBox();
this.DG_XuQiuYiDaFu = new System.Windows.Forms.DataGrid();
this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle();
this.dataGridTextBoxColumn2_1 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_2 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_3 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_4 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_5 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_6 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_7 = new System.Windows.Forms.DataGridTextBoxColumn();
this.dataGridTextBoxColumn2_8 = new System.Windows.Forms.DataGridTextBoxColumn();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.GB_JieGuo.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DG_XuQiu)).BeginInit();
this.TAB_XuQiu.SuspendLayout();
this.TAB_XuQiuWeiDaFu.SuspendLayout();
this.TB_XuQiuYiDaFu.SuspendLayout();
this.GB_XuQiuYiDaFu.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.DG_XuQiuYiDaFu)).BeginInit();
this.SuspendLayout();
//
// BT_XuQiuLuRu
//
this.BT_XuQiuLuRu.Location = new System.Drawing.Point(92, 8);
this.BT_XuQiuLuRu.Name = "BT_XuQiuLuRu";
this.BT_XuQiuLuRu.TabIndex = 10;
this.BT_XuQiuLuRu.Text = "需求录入";
this.BT_XuQiuLuRu.Click += new System.EventHandler(this.BT_XuQiuLuRu_Click);
//
// GB_JieGuo
//
this.GB_JieGuo.Controls.Add(this.DG_XuQiu);
this.GB_JieGuo.Location = new System.Drawing.Point(0, 0);
this.GB_JieGuo.Name = "GB_JieGuo";
this.GB_JieGuo.Size = new System.Drawing.Size(592, 304);
this.GB_JieGuo.TabIndex = 14;
this.GB_JieGuo.TabStop = false;
//
// DG_XuQiu
//
this.DG_XuQiu.CaptionVisible = false;
this.DG_XuQiu.DataMember = "";
this.DG_XuQiu.Dock = System.Windows.Forms.DockStyle.Fill;
this.DG_XuQiu.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.DG_XuQiu.Location = new System.Drawing.Point(3, 17);
this.DG_XuQiu.Name = "DG_XuQiu";
this.DG_XuQiu.Size = new System.Drawing.Size(586, 284);
this.DG_XuQiu.TabIndex = 0;
this.DG_XuQiu.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dataGridTableStyle1});
this.DG_XuQiu.DoubleClick += new System.EventHandler(this.DG_XuQiu_DoubleClick);
//
// dataGridTableStyle1
//
this.dataGridTableStyle1.DataGrid = this.DG_XuQiu;
this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn1,
this.dataGridTextBoxColumn2,
this.dataGridTextBoxColumn3,
this.dataGridTextBoxColumn4,
this.dataGridTextBoxColumn5,
this.dataGridTextBoxColumn6,
this.dataGridTextBoxColumn7,
this.dataGridTextBoxColumn8});
this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGridTableStyle1.MappingName = "XuQiu";
//
// dataGridTextBoxColumn1
//
this.dataGridTextBoxColumn1.Format = "yyyy-MM-dd";
this.dataGridTextBoxColumn1.FormatInfo = null;
this.dataGridTextBoxColumn1.HeaderText = "采集时间";
this.dataGridTextBoxColumn1.MappingName = "CaiJiShiJian";
this.dataGridTextBoxColumn1.NullText = "";
this.dataGridTextBoxColumn1.Width = 75;
//
// dataGridTextBoxColumn2
//
this.dataGridTextBoxColumn2.Format = "";
this.dataGridTextBoxColumn2.FormatInfo = null;
this.dataGridTextBoxColumn2.HeaderText = "提出人";
this.dataGridTextBoxColumn2.MappingName = "TiChuRen";
this.dataGridTextBoxColumn2.NullText = "";
this.dataGridTextBoxColumn2.Width = 75;
//
// dataGridTextBoxColumn3
//
this.dataGridTextBoxColumn3.Format = "";
this.dataGridTextBoxColumn3.FormatInfo = null;
this.dataGridTextBoxColumn3.HeaderText = "育妇编码";
this.dataGridTextBoxColumn3.MappingName = "YuFuBianMa";
this.dataGridTextBoxColumn3.NullText = "";
this.dataGridTextBoxColumn3.Width = 75;
//
// dataGridTextBoxColumn4
//
this.dataGridTextBoxColumn4.Format = "";
this.dataGridTextBoxColumn4.FormatInfo = null;
this.dataGridTextBoxColumn4.HeaderText = "需求类别";
this.dataGridTextBoxColumn4.MappingName = "XuQiuLeiBie";
this.dataGridTextBoxColumn4.NullText = "";
this.dataGridTextBoxColumn4.Width = 75;
//
// dataGridTextBoxColumn5
//
this.dataGridTextBoxColumn5.Format = "";
this.dataGridTextBoxColumn5.FormatInfo = null;
this.dataGridTextBoxColumn5.HeaderText = "答复人";
this.dataGridTextBoxColumn5.MappingName = "DaFuRen";
this.dataGridTextBoxColumn5.NullText = "";
this.dataGridTextBoxColumn5.Width = 75;
//
// dataGridTextBoxColumn6
//
this.dataGridTextBoxColumn6.Format = "yyyy-MM-dd";
this.dataGridTextBoxColumn6.FormatInfo = null;
this.dataGridTextBoxColumn6.HeaderText = "答复时间";
this.dataGridTextBoxColumn6.MappingName = "DaFuShiJian";
this.dataGridTextBoxColumn6.NullText = "";
this.dataGridTextBoxColumn6.Width = 75;
//
// dataGridTextBoxColumn7
//
this.dataGridTextBoxColumn7.Format = "";
this.dataGridTextBoxColumn7.FormatInfo = null;
this.dataGridTextBoxColumn7.HeaderText = "信息点编号";
this.dataGridTextBoxColumn7.MappingName = "XinXiDianBianHao";
this.dataGridTextBoxColumn7.NullText = "";
this.dataGridTextBoxColumn7.Width = 75;
//
// dataGridTextBoxColumn8
//
this.dataGridTextBoxColumn8.Format = "";
this.dataGridTextBoxColumn8.FormatInfo = null;
this.dataGridTextBoxColumn8.HeaderText = "需求满意度";
this.dataGridTextBoxColumn8.MappingName = "XuQiuManYiDu";
this.dataGridTextBoxColumn8.NullText = "";
this.dataGridTextBoxColumn8.Width = 75;
//
// MM_CaiDan
//
this.MM_CaiDan.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.MMI_GongNeng,
this.menuItem1,
this.MMI_BangZhuBT});
//
// MMI_GongNeng
//
this.MMI_GongNeng.Index = 0;
this.MMI_GongNeng.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.MMI_ShuaXin,
this.MMI_XuQiuLuRu,
this.menuItem8,
this.MMI_TuiChu});
this.MMI_GongNeng.Text = "文件(&F)";
//
// MMI_ShuaXin
//
this.MMI_ShuaXin.Index = 0;
this.MMI_ShuaXin.Text = "刷新";
this.MMI_ShuaXin.Click += new System.EventHandler(this.MMI_ShuaXin_Click);
//
// MMI_XuQiuLuRu
//
this.MMI_XuQiuLuRu.Index = 1;
this.MMI_XuQiuLuRu.Text = "需求录入";
this.MMI_XuQiuLuRu.Click += new System.EventHandler(this.MMI_XuQiuLuRu_Click);
//
// menuItem8
//
this.menuItem8.Index = 2;
this.menuItem8.Text = "-";
//
// MMI_TuiChu
//
this.MMI_TuiChu.Index = 3;
this.MMI_TuiChu.Text = "退出";
this.MMI_TuiChu.Click += new System.EventHandler(this.MMI_TuiChu_Click);
//
// menuItem1
//
this.menuItem1.Index = 1;
this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.MMI_ShangXian,
this.MMI_LiXian});
this.menuItem1.Text = "操作";
//
// MMI_ShangXian
//
this.MMI_ShangXian.Index = 0;
this.MMI_ShangXian.Text = "上线";
this.MMI_ShangXian.Click += new System.EventHandler(this.MMI_ShangXian_Click);
//
// MMI_LiXian
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -