编程与数学 03-008 《看潮企业管理软件》项目开发 15 工序统计 4-1
- 一、窗体设计器代码
- 二、窗体设计器代码说明
-
- [1. 概述](#1. 概述)
- [2. 窗体结构](#2. 窗体结构)
-
- [2.1 主界面布局](#2.1 主界面布局)
- [2.2 功能区(Ribbon)设计](#2.2 功能区(Ribbon)设计)
- [3. 主要控件说明](#3. 主要控件说明)
-
- [3.1 数据展示控件](#3.1 数据展示控件)
- [3.2 分页导航](#3.2 分页导航)
- [3.3 状态显示标签](#3.3 状态显示标签)
- [3.4 布局容器](#3.4 布局容器)
- [4. 数据存储与交互](#4. 数据存储与交互)
-
- [4.1 数据绑定](#4.1 数据绑定)
- [4.2 后台处理](#4.2 后台处理)
- [5. 快捷键设计](#5. 快捷键设计)
- [6. 界面特性](#6. 界面特性)
-
- [6.1 视觉设计](#6.1 视觉设计)
- [6.2 响应式布局](#6.2 响应式布局)
- [7. 使用说明](#7. 使用说明)
-
- [7.1 基本操作流程](#7.1 基本操作流程)
- [7.2 批量操作](#7.2 批量操作)
- [8. 技术要点](#8. 技术要点)
-
- [8.1 开发环境](#8.1 开发环境)
- [8.2 设计模式](#8.2 设计模式)
- [8.3 可扩展性](#8.3 可扩展性)
- [9. 注意事项](#9. 注意事项)
- [10. 维护建议](#10. 维护建议)
摘要:本文介绍了基于DevExpress WinForms开发的"看潮企业管理软件"工序统计模块(Uf07Gzjj)。该系统采用C#语言和.NET Framework技术栈,实现计件工作量统计表的全生命周期管理,支持数据录入、审核、登账等核心业务流程。系统创新性地采用动态列生成技术,根据部门工序自动构建统计表格,支持横向与纵向双模式数据录入。通过Ribbon界面整合打印预览、XML数据交换、批量审核等高级功能,配合完整的权限控制体系(编辑/审核/打印分级授权)和智能窗口布局记忆机制,为制造型企业提供了高效、灵活的计件工资管理解决方案。
关键词:计件工作量统计;DevExpress WinForms;工序管理;数据审核流程;动态列生成;权限控制;XML数据交换
人工智能助手:DeepSeek、Kimi
一、窗体设计器代码
csharp
namespace KcErp
{
partial class Uf07Gzjj
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
this.RibbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
this.BarZR = new DevExpress.XtraBars.BarButtonItem();
this.BarTJ = new DevExpress.XtraBars.BarButtonItem();
this.BardjTJ = new DevExpress.XtraBars.BarButtonItem();
this.L1 = new DevExpress.XtraBars.BarStaticItem();
this.L2 = new DevExpress.XtraBars.BarStaticItem();
this.BardjSC = new DevExpress.XtraBars.BarButtonItem();
this.BarPrint = new DevExpress.XtraBars.BarButtonItem();
this.BarHelp = new DevExpress.XtraBars.BarButtonItem();
this.BarPreview = new DevExpress.XtraBars.BarButtonItem();
this.BardjXG = new DevExpress.XtraBars.BarButtonItem();
this.BardjOK = new DevExpress.XtraBars.BarButtonItem();
this.BardjCancel = new DevExpress.XtraBars.BarButtonItem();
this.BardjDR = new DevExpress.XtraBars.BarButtonItem();
this.BarBJ = new DevExpress.XtraBars.BarButtonItem();
this.BarEditDJMC = new DevExpress.XtraBars.BarEditItem();
this.RepositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
this.Barexit = new DevExpress.XtraBars.BarButtonItem();
this.R1 = new DevExpress.XtraBars.BarStaticItem();
this.BarCheckItem1 = new DevExpress.XtraBars.BarCheckItem();
this.Baroid = new DevExpress.XtraBars.BarEditItem();
this.Rtoid = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
this.Barywqj = new DevExpress.XtraBars.BarEditItem();
this.Rtywqj = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
this.R2 = new DevExpress.XtraBars.BarStaticItem();
this.R3 = new DevExpress.XtraBars.BarStaticItem();
this.BarSH = new DevExpress.XtraBars.BarButtonItem();
this.BarDJ = new DevExpress.XtraBars.BarButtonItem();
this.BarFx = new DevExpress.XtraBars.BarEditItem();
this.RcSrfx = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.BarTCRY = new DevExpress.XtraBars.BarButtonItem();
this.Bardcwj = new DevExpress.XtraBars.BarButtonItem();
this.Bardrwj = new DevExpress.XtraBars.BarButtonItem();
this.BarFullsh = new DevExpress.XtraBars.BarButtonItem();
this.BarFulldj = new DevExpress.XtraBars.BarButtonItem();
this.BarCZ = new DevExpress.XtraBars.BarButtonItem();
this.RibbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
this.Rpgdjmc = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.Rpg1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.Rpg2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.Rp6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.Rpg7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.Rpg8 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.Rpg9 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.RC1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.RepositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.RepositoryItemRadioGroup1 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
this.RepositoryItemRadioGroup2 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
this.RRg3 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
this.RepositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
this.RibbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
this.RcCZJL = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.Lczs = new DevExpress.XtraEditors.LabelControl();
this.Lctz = new DevExpress.XtraEditors.LabelControl();
this.Lctt = new DevExpress.XtraEditors.LabelControl();
this.Btpg4 = new DevExpress.XtraEditors.SimpleButton();
this.Btpg3 = new DevExpress.XtraEditors.SimpleButton();
this.Btpg2 = new DevExpress.XtraEditors.SimpleButton();
this.Btpg1 = new DevExpress.XtraEditors.SimpleButton();
this.GridDM = new DevExpress.XtraGrid.GridControl();
this.GridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.DJTab = new DevExpress.XtraTab.XtraTabControl();
this.Sp1 = new DevExpress.XtraEditors.SplitContainerControl();
this.Lcsh = new DevExpress.XtraEditors.LabelControl();
this.Lcdj = new DevExpress.XtraEditors.LabelControl();
this.BackgroundWorker1 = new System.ComponentModel.BackgroundWorker();
this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.Sp0 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.RibbonControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Rtoid)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Rtywqj)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RcSrfx)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RC1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemComboBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemRadioGroup1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemRadioGroup2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RRg3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RcCZJL)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.GridDM)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.GridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.DJTab)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Sp1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Sp1.Panel1)).BeginInit();
this.Sp1.Panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.Sp1.Panel2)).BeginInit();
this.Sp1.Panel2.SuspendLayout();
this.Sp1.SuspendLayout();
this.Sp0.SuspendLayout();
this.SuspendLayout();
//
// RibbonControl
//
this.RibbonControl.ApplicationButtonText = null;
this.RibbonControl.ExpandCollapseItem.Id = 0;
this.RibbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.RibbonControl.ExpandCollapseItem,
this.RibbonControl.SearchEditItem,
this.BarZR,
this.BarTJ,
this.BardjTJ,
this.L1,
this.L2,
this.BardjSC,
this.BarPrint,
this.BarHelp,
this.BarPreview,
this.BardjXG,
this.BardjOK,
this.BardjCancel,
this.BardjDR,
this.BarBJ,
this.BarEditDJMC,
this.Barexit,
this.R1,
this.BarCheckItem1,
this.Baroid,
this.Barywqj,
this.R2,
this.R3,
this.BarSH,
this.BarDJ,
this.BarFx,
this.BarTCRY,
this.Bardcwj,
this.Bardrwj,
this.BarFullsh,
this.BarFulldj,
this.BarCZ});
this.RibbonControl.Location = new System.Drawing.Point(0, 0);
this.RibbonControl.Margin = new System.Windows.Forms.Padding(0);
this.RibbonControl.MaxItemId = 89;
this.RibbonControl.Name = "RibbonControl";
this.RibbonControl.PageHeaderItemLinks.Add(this.BarFx);
this.RibbonControl.PageHeaderItemLinks.Add(this.Barywqj);
this.RibbonControl.PageHeaderItemLinks.Add(this.Baroid);
this.RibbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
this.RibbonPage1});
this.RibbonControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.RC1,
this.RepositoryItemTextEdit1,
this.RepositoryItemComboBox1,
this.RepositoryItemRadioGroup1,
this.RepositoryItemRadioGroup2,
this.RRg3,
this.Rtoid,
this.Rtywqj,
this.RepositoryItemTextEdit2,
this.RcSrfx});
this.RibbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
this.RibbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
this.RibbonControl.Size = new System.Drawing.Size(1448, 128);
this.RibbonControl.StatusBar = this.RibbonStatusBar;
this.RibbonControl.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
//
// BarZR
//
this.BarZR.Caption = "载入";
this.BarZR.Id = 1;
this.BarZR.ImageOptions.LargeImageIndex = 4;
this.BarZR.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F5);
this.BarZR.Name = "BarZR";
this.BarZR.ShortcutKeyDisplayString = "F5";
//
// BarTJ
//
this.BarTJ.Caption = "提交";
this.BarTJ.Id = 2;
this.BarTJ.ImageOptions.LargeImageIndex = 5;
this.BarTJ.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F6);
this.BarTJ.Name = "BarTJ";
this.BarTJ.ShortcutKeyDisplayString = "F6";
//
// BardjTJ
//
this.BardjTJ.Caption = "添加";
this.BardjTJ.Id = 7;
this.BardjTJ.ImageOptions.LargeImageIndex = 6;
this.BardjTJ.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.A));
this.BardjTJ.Name = "BardjTJ";
this.BardjTJ.ShortcutKeyDisplayString = "Alt+A";
//
// L1
//
this.L1.Caption = "L1";
this.L1.Id = 8;
this.L1.Name = "L1";
//
// L2
//
this.L2.Caption = "L2";
this.L2.Id = 9;
this.L2.Name = "L2";
//
// BardjSC
//
this.BardjSC.Caption = "删除";
this.BardjSC.Id = 15;
this.BardjSC.ImageOptions.LargeImageIndex = 8;
this.BardjSC.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D));
this.BardjSC.Name = "BardjSC";
this.BardjSC.ShortcutKeyDisplayString = "Ctrl+D";
//
// BarPrint
//
this.BarPrint.Caption = "打印";
this.BarPrint.Id = 18;
this.BarPrint.ImageOptions.LargeImageIndex = 13;
this.BarPrint.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F10));
this.BarPrint.Name = "BarPrint";
this.BarPrint.ShortcutKeyDisplayString = "Ctrl+F10";
//
// BarHelp
//
this.BarHelp.Caption = "帮助";
this.BarHelp.Id = 19;
this.BarHelp.ImageOptions.LargeImageIndex = 15;
this.BarHelp.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F1);
this.BarHelp.Name = "BarHelp";
this.BarHelp.ShortcutKeyDisplayString = "F1";
//
// BarPreview
//
this.BarPreview.Caption = "预览";
this.BarPreview.Id = 20;
this.BarPreview.ImageOptions.LargeImageIndex = 14;
this.BarPreview.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F10);
this.BarPreview.Name = "BarPreview";
this.BarPreview.ShortcutKeyDisplayString = "F10";
//
// BardjXG
//
this.BardjXG.Caption = "修改";
this.BardjXG.Id = 27;
this.BardjXG.ImageOptions.LargeImageIndex = 7;
this.BardjXG.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.E));
this.BardjXG.Name = "BardjXG";
this.BardjXG.ShortcutKeyDisplayString = "Alt+E";
//
// BardjOK
//
this.BardjOK.Caption = "确定";
this.BardjOK.Id = 28;
this.BardjOK.ImageOptions.LargeImageIndex = 10;
this.BardjOK.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.O));
this.BardjOK.Name = "BardjOK";
this.BardjOK.ShortcutKeyDisplayString = "Alt+O";
//
// BardjCancel
//
this.BardjCancel.Caption = "取消";
this.BardjCancel.Id = 29;
this.BardjCancel.ImageOptions.LargeImageIndex = 11;
this.BardjCancel.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.C));
this.BardjCancel.Name = "BardjCancel";
this.BardjCancel.ShortcutKeyDisplayString = "Alt+C";
//
// BardjDR
//
this.BardjDR.Caption = "调入";
this.BardjDR.Id = 34;
this.BardjDR.ImageOptions.LargeImageIndex = 9;
this.BardjDR.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F9);
this.BardjDR.Name = "BardjDR";
this.BardjDR.ShortcutKeyDisplayString = "F9";
toolTipTitleItem1.Text = "数据调入";
toolTipItem1.LeftIndent = 6;
toolTipItem1.Text = "F9 调入定义的数据\r\n";
superToolTip1.Items.Add(toolTipTitleItem1);
superToolTip1.Items.Add(toolTipItem1);
this.BardjDR.SuperTip = superToolTip1;
//
// BarBJ
//
this.BarBJ.Caption = "切换";
this.BarBJ.Id = 36;
this.BarBJ.ImageOptions.LargeImageIndex = 12;
this.BarBJ.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F7);
this.BarBJ.Name = "BarBJ";
this.BarBJ.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
this.BarBJ.ShortcutKeyDisplayString = "F7";
//
// BarEditDJMC
//
this.BarEditDJMC.Edit = this.RepositoryItemTextEdit1;
this.BarEditDJMC.EditHeight = 70;
this.BarEditDJMC.EditValue = "计件工作量统计表";
this.BarEditDJMC.EditWidth = 180;
this.BarEditDJMC.Id = 38;
this.BarEditDJMC.Name = "BarEditDJMC";
//
// RepositoryItemTextEdit1
//
this.RepositoryItemTextEdit1.Appearance.BackColor = System.Drawing.Color.Transparent;
this.RepositoryItemTextEdit1.Appearance.BorderColor = System.Drawing.Color.Transparent;
this.RepositoryItemTextEdit1.Appearance.Options.UseBackColor = true;
this.RepositoryItemTextEdit1.Appearance.Options.UseBorderColor = true;
this.RepositoryItemTextEdit1.Appearance.Options.UseTextOptions = true;
this.RepositoryItemTextEdit1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.RepositoryItemTextEdit1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.RepositoryItemTextEdit1.AutoHeight = false;
this.RepositoryItemTextEdit1.Name = "RepositoryItemTextEdit1";
this.RepositoryItemTextEdit1.ReadOnly = true;
//
// Barexit
//
this.Barexit.Caption = "返回";
this.Barexit.Id = 39;
this.Barexit.ImageOptions.LargeImageIndex = 16;
this.Barexit.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q));
this.Barexit.Name = "Barexit";
this.Barexit.ShortcutKeyDisplayString = "Ctrl+Q";
//
// R1
//
this.R1.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
this.R1.Caption = "R1";
this.R1.Id = 42;
this.R1.Name = "R1";
//
// BarCheckItem1
//
this.BarCheckItem1.Caption = "BarCheckItem1";
this.BarCheckItem1.Id = 51;
this.BarCheckItem1.Name = "BarCheckItem1";
//
// Baroid
//
this.Baroid.Caption = "单据号";
this.Baroid.Edit = this.Rtoid;
this.Baroid.EditValue = "0123456789";
this.Baroid.EditWidth = 200;
this.Baroid.Id = 64;
this.Baroid.Name = "Baroid";
//
// Rtoid
//
this.Rtoid.AutoHeight = false;
this.Rtoid.HideSelection = false;
this.Rtoid.Name = "Rtoid";
this.Rtoid.ReadOnly = true;
//
// Barywqj
//
this.Barywqj.CanOpenEdit = false;
this.Barywqj.Caption = "业务期间";
this.Barywqj.Edit = this.Rtywqj;
this.Barywqj.EditValue = "201210";
this.Barywqj.EditWidth = 60;
this.Barywqj.Id = 66;
this.Barywqj.Name = "Barywqj";
//
// Rtywqj
//
this.Rtywqj.AutoHeight = false;
this.Rtywqj.Name = "Rtywqj";
this.Rtywqj.ReadOnly = true;
//
// R2
//
this.R2.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
this.R2.Caption = "R2";
this.R2.Id = 69;
this.R2.Name = "R2";
//
// R3
//
this.R3.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
this.R3.Caption = "R3";
this.R3.Id = 70;
this.R3.Name = "R3";
//
// BarSH
//
this.BarSH.Caption = "审核";
this.BarSH.Id = 71;
this.BarSH.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F11);
this.BarSH.Name = "BarSH";
this.BarSH.ShortcutKeyDisplayString = "F11";
//
// BarDJ
//
this.BarDJ.Caption = "登记";
this.BarDJ.Id = 72;
this.BarDJ.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F12);
this.BarDJ.Name = "BarDJ";
this.BarDJ.ShortcutKeyDisplayString = "F12";
//
// BarFx
//
this.BarFx.Caption = "输入方向";
this.BarFx.Edit = this.RcSrfx;
this.BarFx.EditWidth = 110;
this.BarFx.Id = 81;
this.BarFx.Name = "BarFx";
//
// RcSrfx
//
this.RcSrfx.AutoHeight = false;
this.RcSrfx.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.RcSrfx.Name = "RcSrfx";
//
// BarTCRY
//
this.BarTCRY.Caption = "填充人员";
this.BarTCRY.Id = 83;
this.BarTCRY.Name = "BarTCRY";
//
// Bardcwj
//
this.Bardcwj.Caption = "文件导出";
this.Bardcwj.Id = 84;
this.Bardcwj.Name = "Bardcwj";
//
// Bardrwj
//
this.Bardrwj.Caption = "文件导入";
this.Bardrwj.Id = 85;
this.Bardrwj.Name = "Bardrwj";
//
// BarFullsh
//
this.BarFullsh.Caption = "全部审核";
this.BarFullsh.Id = 86;
this.BarFullsh.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F11));
this.BarFullsh.Name = "BarFullsh";
this.BarFullsh.ShortcutKeyDisplayString = "Alt+F11";
//
// BarFulldj
//
this.BarFulldj.Caption = "全部登记";
this.BarFulldj.Id = 87;
this.BarFulldj.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F12));
this.BarFulldj.Name = "BarFulldj";
this.BarFulldj.ShortcutKeyDisplayString = "Alt+F12";
//
// BarCZ
//
this.BarCZ.Caption = "查找";
this.BarCZ.Id = 88;
this.BarCZ.Name = "BarCZ";
//
// RibbonPage1
//
this.RibbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
this.Rpgdjmc,
this.Rpg1,
this.Rpg2,
this.Rp6,
this.Rpg7,
this.Rpg8,
this.Rpg9});
this.RibbonPage1.Name = "RibbonPage1";
this.RibbonPage1.Text = "单据输入";
//
// Rpgdjmc
//
this.Rpgdjmc.ItemLinks.Add(this.BarEditDJMC);
this.Rpgdjmc.Name = "Rpgdjmc";
this.Rpgdjmc.Text = "单据名称";
//
// Rpg1
//
this.Rpg1.ItemLinks.Add(this.BarZR);
this.Rpg1.ItemLinks.Add(this.BarCZ);
this.Rpg1.ItemLinks.Add(this.BarTJ);
this.Rpg1.ItemLinks.Add(this.BardjDR);
this.Rpg1.Name = "Rpg1";
this.Rpg1.Text = "数据";
//
// Rpg2
//
this.Rpg2.ItemLinks.Add(this.BardjTJ);
this.Rpg2.ItemLinks.Add(this.BardjXG);
this.Rpg2.ItemLinks.Add(this.BardjSC);
this.Rpg2.ItemLinks.Add(this.BardjOK);
this.Rpg2.ItemLinks.Add(this.BardjCancel);
this.Rpg2.Name = "Rpg2";
this.Rpg2.Text = "编辑";
//
// Rp6
//
this.Rp6.ItemLinks.Add(this.BarSH);
this.Rp6.ItemLinks.Add(this.BarDJ);
this.Rp6.ItemLinks.Add(this.BarFullsh);
this.Rp6.ItemLinks.Add(this.BarFulldj);
this.Rp6.Name = "Rp6";
this.Rp6.Text = "流程";
//
// Rpg7
//
this.Rpg7.ItemLinks.Add(this.BarPreview);
this.Rpg7.ItemLinks.Add(this.BarPrint, false, "", "", true);
this.Rpg7.Name = "Rpg7";
this.Rpg7.Text = "打印";
//
// Rpg8
//
this.Rpg8.ItemLinks.Add(this.Bardcwj);
this.Rpg8.ItemLinks.Add(this.Bardrwj);
this.Rpg8.Name = "Rpg8";
this.Rpg8.Text = "文件";
//
// Rpg9
//
this.Rpg9.ItemLinks.Add(this.BarHelp);
this.Rpg9.ItemLinks.Add(this.Barexit);
this.Rpg9.Name = "Rpg9";
this.Rpg9.Text = "帮助";
//
// RC1
//
this.RC1.AllowDropDownWhenReadOnly = DevExpress.Utils.DefaultBoolean.False;
this.RC1.AutoHeight = false;
this.RC1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.RC1.Name = "RC1";
//
// RepositoryItemComboBox1
//
this.RepositoryItemComboBox1.AutoHeight = false;
this.RepositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.RepositoryItemComboBox1.Name = "RepositoryItemComboBox1";
//
// RepositoryItemRadioGroup1
//
this.RepositoryItemRadioGroup1.Name = "RepositoryItemRadioGroup1";
//
// RepositoryItemRadioGroup2
//
this.RepositoryItemRadioGroup2.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
new DevExpress.XtraEditors.Controls.RadioGroupItem(),
new DevExpress.XtraEditors.Controls.RadioGroupItem(),
new DevExpress.XtraEditors.Controls.RadioGroupItem()});
this.RepositoryItemRadioGroup2.Name = "RepositoryItemRadioGroup2";
//
// RRg3
//
this.RRg3.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
new DevExpress.XtraEditors.Controls.RadioGroupItem("RRRRR", "1YRRTRRTREERERERER"),
new DevExpress.XtraEditors.Controls.RadioGroupItem("REEREERR", "2"),
new DevExpress.XtraEditors.Controls.RadioGroupItem("REEFFDDF", "3")});
this.RRg3.Name = "RRg3";
//
// RepositoryItemTextEdit2
//
this.RepositoryItemTextEdit2.AutoHeight = false;
this.RepositoryItemTextEdit2.Name = "RepositoryItemTextEdit2";
//
// RibbonStatusBar
//
this.RibbonStatusBar.ItemLinks.Add(this.L1);
this.RibbonStatusBar.ItemLinks.Add(this.L2);
this.RibbonStatusBar.ItemLinks.Add(this.R3);
this.RibbonStatusBar.ItemLinks.Add(this.R2);
this.RibbonStatusBar.ItemLinks.Add(this.R1);
this.RibbonStatusBar.Location = new System.Drawing.Point(0, 672);
this.RibbonStatusBar.Name = "RibbonStatusBar";
this.RibbonStatusBar.Ribbon = this.RibbonControl;
this.RibbonStatusBar.Size = new System.Drawing.Size(1448, 27);
//
// RcCZJL
//
this.RcCZJL.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.RcCZJL.DropDownRows = 20;
this.RcCZJL.Name = "RcCZJL";
this.RcCZJL.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
//
// Lczs
//
this.Lczs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.Lczs.Appearance.Options.UseTextOptions = true;
this.Lczs.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.Lczs.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.Lczs.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
this.Lczs.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.Lczs.Location = new System.Drawing.Point(225, 505);
this.Lczs.Name = "Lczs";
this.Lczs.Size = new System.Drawing.Size(160, 33);
this.Lczs.TabIndex = 29;
this.Lczs.Text = "100/100张[100/100行]";
//
// Lctz
//
this.Lctz.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.Lctz.Appearance.Options.UseTextOptions = true;
this.Lctz.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.Lctz.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.Lctz.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
this.Lctz.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.Lctz.Location = new System.Drawing.Point(1033, 505);
this.Lctz.Name = "Lctz";
this.Lctz.Size = new System.Drawing.Size(130, 33);
this.Lctz.TabIndex = 24;
this.Lctz.Text = " 制单:";
//
// Lctt
//
this.Lctt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.Lctt.Appearance.Options.UseTextOptions = true;
this.Lctt.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.Lctt.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.Lctt.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
this.Lctt.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.Lctt.Location = new System.Drawing.Point(391, 505);
this.Lctt.Name = "Lctt";
this.Lctt.Size = new System.Drawing.Size(636, 33);
this.Lctt.TabIndex = 23;
this.Lctt.Text = "岳国军 版权所有";
//
// Btpg4
//
this.Btpg4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.Btpg4.ImageOptions.ImageIndex = 3;
this.Btpg4.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.TopCenter;
this.Btpg4.Location = new System.Drawing.Point(169, 505);
this.Btpg4.Name = "Btpg4";
this.Btpg4.Size = new System.Drawing.Size(50, 33);
this.Btpg4.TabIndex = 11;
this.Btpg4.ToolTip = "末张";
//
// Btpg3
//
this.Btpg3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.Btpg3.ImageOptions.ImageIndex = 2;
this.Btpg3.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.TopCenter;
this.Btpg3.Location = new System.Drawing.Point(116, 505);
this.Btpg3.Name = "Btpg3";
this.Btpg3.Size = new System.Drawing.Size(50, 33);
this.Btpg3.TabIndex = 10;
this.Btpg3.ToolTip = "下一张";
//
// Btpg2
//
this.Btpg2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.Btpg2.ImageOptions.ImageIndex = 1;
this.Btpg2.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.TopCenter;
this.Btpg2.Location = new System.Drawing.Point(63, 505);
this.Btpg2.Name = "Btpg2";
this.Btpg2.Size = new System.Drawing.Size(50, 33);
this.Btpg2.TabIndex = 9;
this.Btpg2.ToolTip = "上一张";
//
// Btpg1
//
this.Btpg1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.Btpg1.ImageOptions.ImageIndex = 0;
this.Btpg1.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.TopCenter;
this.Btpg1.Location = new System.Drawing.Point(10, 505);
this.Btpg1.Name = "Btpg1";
this.Btpg1.Size = new System.Drawing.Size(50, 33);
this.Btpg1.TabIndex = 8;
this.Btpg1.ToolTip = "首张";
//
// GridDM
//
this.GridDM.Dock = System.Windows.Forms.DockStyle.Fill;
this.GridDM.Location = new System.Drawing.Point(0, 0);
this.GridDM.MainView = this.GridView1;
this.GridDM.MenuManager = this.RibbonControl;
this.GridDM.Name = "GridDM";
this.GridDM.Size = new System.Drawing.Size(1428, 359);
this.GridDM.TabIndex = 4;
this.GridDM.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.GridView1});
//
// GridView1
//
this.GridView1.GridControl = this.GridDM;
this.GridView1.Name = "GridView1";
//
// DJTab
//
this.DJTab.Dock = System.Windows.Forms.DockStyle.Fill;
this.DJTab.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
this.DJTab.Location = new System.Drawing.Point(0, 0);
this.DJTab.Margin = new System.Windows.Forms.Padding(0);
this.DJTab.MultiLine = DevExpress.Utils.DefaultBoolean.False;
this.DJTab.Name = "DJTab";
this.DJTab.Size = new System.Drawing.Size(1432, 120);
this.DJTab.TabIndex = 1;
//
// Sp1
//
this.Sp1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.Sp1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.Sp1.Horizontal = false;
this.Sp1.Location = new System.Drawing.Point(1, 1);
this.Sp1.Margin = new System.Windows.Forms.Padding(0);
this.Sp1.Name = "Sp1";
//
// Sp1.Panel1
//
this.Sp1.Panel1.Controls.Add(this.DJTab);
this.Sp1.Panel1.Text = "Panel1";
//
// Sp1.Panel2
//
this.Sp1.Panel2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.Sp1.Panel2.Controls.Add(this.GridDM);
this.Sp1.Panel2.Text = "Panel2";
this.Sp1.Size = new System.Drawing.Size(1436, 497);
this.Sp1.SplitterPosition = 120;
this.Sp1.TabIndex = 3;
this.Sp1.Text = "SplitContainerControl1";
//
// Lcsh
//
this.Lcsh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.Lcsh.Appearance.Options.UseTextOptions = true;
this.Lcsh.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.Lcsh.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.Lcsh.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
this.Lcsh.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.Lcsh.Location = new System.Drawing.Point(1169, 505);
this.Lcsh.Name = "Lcsh";
this.Lcsh.Size = new System.Drawing.Size(130, 33);
this.Lcsh.TabIndex = 34;
this.Lcsh.Text = "审核:";
//
// Lcdj
//
this.Lcdj.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.Lcdj.Appearance.Options.UseTextOptions = true;
this.Lcdj.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.Lcdj.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.Lcdj.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
this.Lcdj.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.Lcdj.Location = new System.Drawing.Point(1305, 505);
this.Lcdj.Name = "Lcdj";
this.Lcdj.Size = new System.Drawing.Size(130, 33);
this.Lcdj.TabIndex = 31;
this.Lcdj.Text = "登记:";
//
// BackgroundWorker1
//
this.BackgroundWorker1.WorkerSupportsCancellation = true;
//
// OpenFileDialog1
//
this.OpenFileDialog1.FileName = "OpenFileDialog1";
//
// Sp0
//
this.Sp0.Controls.Add(this.Sp1);
this.Sp0.Controls.Add(this.Lcdj);
this.Sp0.Controls.Add(this.Lczs);
this.Sp0.Controls.Add(this.Lcsh);
this.Sp0.Controls.Add(this.Lctt);
this.Sp0.Controls.Add(this.Lctz);
this.Sp0.Controls.Add(this.Btpg4);
this.Sp0.Controls.Add(this.Btpg2);
this.Sp0.Controls.Add(this.Btpg3);
this.Sp0.Controls.Add(this.Btpg1);
this.Sp0.Dock = System.Windows.Forms.DockStyle.Fill;
this.Sp0.Location = new System.Drawing.Point(0, 128);
this.Sp0.Margin = new System.Windows.Forms.Padding(0);
this.Sp0.Name = "Sp0";
this.Sp0.Size = new System.Drawing.Size(1448, 544);
this.Sp0.TabIndex = 37;
//
// Uf07Gzjj
//
this.Appearance.Options.UseFont = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1448, 699);
this.Controls.Add(this.Sp0);
this.Controls.Add(this.RibbonStatusBar);
this.Controls.Add(this.RibbonControl);
this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.IconOptions.ShowIcon = false;
this.Name = "Uf07Gzjj";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "计件工作量统计表";
((System.ComponentModel.ISupportInitialize)(this.RibbonControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Rtoid)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Rtywqj)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RcSrfx)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RC1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemComboBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemRadioGroup1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemRadioGroup2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RRg3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RcCZJL)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.GridDM)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.GridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.DJTab)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Sp1.Panel1)).EndInit();
this.Sp1.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.Sp1.Panel2)).EndInit();
this.Sp1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.Sp1)).EndInit();
this.Sp1.ResumeLayout(false);
this.Sp0.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
private DevExpress.XtraBars.Ribbon.RibbonControl RibbonControl;
private DevExpress.XtraBars.BarButtonItem BarZR;
private DevExpress.XtraBars.BarButtonItem BarTJ;
private DevExpress.XtraBars.BarButtonItem BardjTJ;
private DevExpress.XtraBars.BarStaticItem L1;
private DevExpress.XtraBars.BarStaticItem L2;
private DevExpress.XtraBars.BarButtonItem BardjSC;
private DevExpress.XtraBars.BarButtonItem BarPrint;
private DevExpress.XtraBars.BarButtonItem BarHelp;
private DevExpress.XtraBars.BarButtonItem BarPreview;
private DevExpress.XtraBars.BarButtonItem BardjXG;
private DevExpress.XtraBars.BarButtonItem BardjOK;
private DevExpress.XtraBars.BarButtonItem BardjCancel;
private DevExpress.XtraBars.BarButtonItem BardjDR;
private DevExpress.XtraBars.BarButtonItem BarBJ;
private DevExpress.XtraBars.BarEditItem BarEditDJMC;
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit RepositoryItemTextEdit1;
private DevExpress.XtraBars.BarButtonItem Barexit;
private DevExpress.XtraBars.BarStaticItem R1;
private DevExpress.XtraBars.BarCheckItem BarCheckItem1;
private DevExpress.XtraBars.BarEditItem Baroid;
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit Rtoid;
private DevExpress.XtraBars.BarEditItem Barywqj;
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit Rtywqj;
private DevExpress.XtraBars.BarStaticItem R2;
private DevExpress.XtraBars.BarStaticItem R3;
private DevExpress.XtraBars.BarButtonItem BarSH;
private DevExpress.XtraBars.BarButtonItem BarDJ;
private DevExpress.XtraBars.BarEditItem BarFx;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox RcSrfx;
private DevExpress.XtraBars.BarButtonItem BarTCRY;
private DevExpress.XtraBars.BarButtonItem Bardcwj;
private DevExpress.XtraBars.BarButtonItem Bardrwj;
private DevExpress.XtraBars.BarButtonItem BarFullsh;
private DevExpress.XtraBars.BarButtonItem BarFulldj;
private DevExpress.XtraBars.BarButtonItem BarCZ;
private DevExpress.XtraBars.Ribbon.RibbonPage RibbonPage1;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rpgdjmc;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rpg1;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rpg2;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rp6;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rpg7;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rpg8;
private DevExpress.XtraBars.Ribbon.RibbonPageGroup Rpg9;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox RC1;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox RepositoryItemComboBox1;
private DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup RepositoryItemRadioGroup1;
private DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup RepositoryItemRadioGroup2;
private DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup RRg3;
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit RepositoryItemTextEdit2;
private DevExpress.XtraBars.Ribbon.RibbonStatusBar RibbonStatusBar;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox RcCZJL;
private DevExpress.XtraEditors.LabelControl Lczs;
private DevExpress.XtraEditors.LabelControl Lctz;
private DevExpress.XtraEditors.LabelControl Lctt;
private DevExpress.XtraEditors.SimpleButton Btpg4;
private DevExpress.XtraEditors.SimpleButton Btpg3;
private DevExpress.XtraEditors.SimpleButton Btpg2;
private DevExpress.XtraEditors.SimpleButton Btpg1;
private DevExpress.XtraGrid.GridControl GridDM;
private DevExpress.XtraGrid.Views.Grid.GridView GridView1;
private DevExpress.XtraTab.XtraTabControl DJTab;
private DevExpress.XtraEditors.SplitContainerControl Sp1;
private DevExpress.XtraEditors.LabelControl Lcsh;
private DevExpress.XtraEditors.LabelControl Lcdj;
private System.ComponentModel.BackgroundWorker BackgroundWorker1;
private System.Windows.Forms.OpenFileDialog OpenFileDialog1;
private System.Windows.Forms.Panel Sp0;
}
}
二、窗体设计器代码说明
Uf07Gzjj - 工序统计窗体设计说明
1. 概述
Uf07Gzjj 是一个基于 DevExpress WinForms 控件库开发的工序统计窗体,主要用于"计件工作量统计表"的数据录入、编辑、审核和管理操作。窗体采用 Ribbon 界面风格,具有多页签数据展示和表格数据显示功能。
2. 窗体结构
2.1 主界面布局
- 顶部:Ribbon 控制栏(RibbonControl),包含所有功能按钮和操作分组
- 中部:主工作区域(Sp0),包含:
- 多页签控件(DJTab)
- 数据网格(GridDM)
- 分页导航按钮(Btpg1-Btpg4)
- 状态标签(Lczs、Lctt、Lctz、Lcsh、Lcdj)
- 底部:状态栏(RibbonStatusBar)
2.2 功能区(Ribbon)设计
功能区页面:单据输入
- Rpgdjmc(单据名称):显示当前单据名称
- Rpg1(数据):数据操作功能
- 载入(F5)
- 查找
- 提交(F6)
- 调入(F9)
- Rpg2(编辑):记录编辑功能
- 添加(Alt+A)
- 修改(Alt+E)
- 删除(Ctrl+D)
- 确定(Alt+O)
- 取消(Alt+C)
- Rp6(流程):业务流程功能
- 审核(F11)
- 登记(F12)
- 全部审核(Alt+F11)
- 全部登记(Alt+F12)
- Rpg7(打印):打印相关功能
- 预览(F10)
- 打印(Ctrl+F10)
- Rpg8(文件):文件导入导出
- 文件导出
- 文件导入
- Rpg9(帮助):辅助功能
- 帮助(F1)
- 返回(Ctrl+Q)
页面头部工具栏
- 输入方向:下拉选择框
- 业务期间:显示当前业务期间(只读)
- 单据号:显示当前单据编号(只读)
3. 主要控件说明
3.1 数据展示控件
- DJTab(多页签控件):位于 SplitContainer 上部,用于分页显示不同数据视图
- GridDM(数据网格):位于 SplitContainer 下部,用于表格形式显示详细数据
- GridView1:网格的主要视图
3.2 分页导航
- Btpg1:首张(图片索引0)
- Btpg2:上一张(图片索引1)
- Btpg3:下一张(图片索引2)
- Btpg4:末张(图片索引3)
3.3 状态显示标签
- Lczs:显示当前记录位置(如:100/100张[100/100行])
- Lctt:居中显示版权信息
- Lctz:制单人信息
- Lcsh:审核人信息
- Lcdj:登记人信息
3.4 布局容器
- Sp1:垂直分割容器,上部为页签,下部为网格
- Sp0:主面板容器,包含所有内容区域控件
4. 数据存储与交互
4.1 数据绑定
- 使用多个 RepositoryItem 控件进行数据绑定:
- RepositoryItemTextEdit:文本编辑
- RepositoryItemComboBox:下拉选择
- RepositoryItemRadioGroup:单选组
4.2 后台处理
- BackgroundWorker1:支持取消的后台工作线程
- OpenFileDialog1:文件选择对话框
5. 快捷键设计
| 功能 | 快捷键 | 说明 |
|---|---|---|
| 载入 | F5 | 加载数据 |
| 提交 | F6 | 提交数据 |
| 切换 | F7 | 切换视图 |
| 添加 | Alt+A | 添加新记录 |
| 删除 | Ctrl+D | 删除记录 |
| 调入 | F9 | 调入定义数据 |
| 预览 | F10 | 打印预览 |
| 打印 | Ctrl+F10 | 打印输出 |
| 审核 | F11 | 审核单据 |
| 登记 | F12 | 登记单据 |
| 帮助 | F1 | 打开帮助 |
| 返回 | Ctrl+Q | 退出界面 |
| 修改 | Alt+E | 编辑记录 |
| 确定 | Alt+O | 确认操作 |
| 取消 | Alt+C | 取消操作 |
| 全部审核 | Alt+F11 | 批量审核 |
| 全部登记 | Alt+F12 | 批量登记 |
6. 界面特性
6.1 视觉设计
- 使用 DevExpress 现代界面控件
- 微软雅黑字体,12pt
- 无图标显示(IconOptions.ShowIcon = false)
- 窗口居中显示
6.2 响应式布局
- 使用 Anchor 属性实现控件自适应
- SplitContainer 支持调整大小
- 状态栏固定位置显示
7. 使用说明
7.1 基本操作流程
- 使用 F5 载入数据
- 通过 Alt+A 添加新记录
- 在网格中编辑数据
- 使用 Alt+E 修改记录
- F11 审核完成的数据
- F12 登记审核后的数据
- F10 预览打印效果
- Ctrl+Q 退出界面
7.2 批量操作
- 使用 Alt+F11 进行全部审核
- 使用 Alt+F12 进行全部登记
- 使用 F9 调入预定义数据
8. 技术要点
8.1 开发环境
- .NET Framework WinForms
- DevExpress 控件库
- C# 编程语言
8.2 设计模式
- 采用 MVVM 模式(通过数据绑定)
- 事件驱动编程
- 后台线程处理
8.3 可扩展性
- 通过 RepositoryItem 可轻松扩展数据绑定类型
- Ribbon 分组设计便于添加新功能
- 多页签设计支持功能模块扩展
9. 注意事项
- 数据安全:审核和登记操作需要权限验证
- 性能优化:大量数据时使用后台线程处理
- 用户体验:提供完整的快捷键支持
- 错误处理:需要实现适当的异常处理机制
- 数据验证:在提交前进行数据有效性验证
10. 维护建议
- 定期更新 DevExpress 控件库版本
- 优化数据加载性能
- 增加数据导出格式支持
- 完善帮助文档和提示信息
- 考虑添加数据备份和恢复功能