📄 childadvregist.cs
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;namespace WWAM.Forms.Child{ public class ChildAdvRegist : WWAM.Forms.Child.ChdBase {
#region ChildAdvRegist
private System.Windows.Forms.Panel mainPanel;
private DevExpress.XtraEditors.CheckEdit chkQuickAppend;
private DevExpress.XtraGrid.Columns.GridColumn colCode;
private DevExpress.XtraGrid.Columns.GridColumn colPaperName;
private DevExpress.XtraGrid.Columns.GridColumn colPaperSpaceNum;
private DevExpress.XtraGrid.Columns.GridColumn colPaperSpace;
private DevExpress.XtraBars.Docking.DockManager dockManager1;
private DevExpress.XtraBars.Docking.DockPanel dpDetail;
private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container;
private DevExpress.XtraGrid.GridControl gcAdv;
private WWAM.BLL.NavBarBtns nbbAdv;
private DevExpress.XtraGrid.Views.Grid.GridView gvAdv;
private DevExpress.XtraTab.XtraTabControl mainTabPage;
private DevExpress.XtraTab.XtraTabPage pageAdvInfo;
private DevExpress.XtraEditors.TextEdit txtCode;
private System.Windows.Forms.Label label21;
private DevExpress.XtraEditors.MemoEdit txtAdvContent;
private System.Windows.Forms.Label label28;
private DevExpress.XtraEditors.SpinEdit txtPaperPerNum;
private System.Windows.Forms.Label label38;
private DevExpress.XtraEditors.DateEdit txtDateIssue;
private System.Windows.Forms.Label label37;
private DevExpress.XtraEditors.SpinEdit txtPayNum;
private DevExpress.XtraEditors.ComboBoxEdit txtPaperSpace;
private DevExpress.XtraEditors.CalcEdit txtPaySum;
private DevExpress.XtraEditors.ComboBoxEdit txtColor;
private DevExpress.XtraEditors.CalcEdit txtPayPrice;
private DevExpress.XtraEditors.TextEdit txtPaperSpaceNum;
private DevExpress.XtraEditors.ComboBoxEdit txtPayUnit;
private DevExpress.XtraEditors.ComboBoxEdit txtPaperName;
private DevExpress.XtraEditors.TextEdit txtAdvSpec;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label2;
private DevExpress.XtraTab.XtraTabPage pageClient;
private DevExpress.XtraEditors.ComboBoxEdit txtClientType;
private DevExpress.XtraEditors.TextEdit txtFax;
private DevExpress.XtraEditors.MemoEdit txtAddress;
private DevExpress.XtraEditors.TextEdit txtZipCode;
private DevExpress.XtraEditors.TextEdit txtPhone;
private DevExpress.XtraEditors.TextEdit txtLinkMan;
private DevExpress.XtraEditors.TextEdit txtClientCode;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private DevExpress.XtraTab.XtraTabPage pageAuth;
private DevExpress.XtraEditors.MemoEdit txtAuthContent;
private System.Windows.Forms.Label label36;
private DevExpress.XtraEditors.DateEdit txtAuthDate;
private System.Windows.Forms.Label label34;
private System.Windows.Forms.Label label35;
private System.Windows.Forms.Label txtAuthor;
private DevExpress.XtraTab.XtraTabPage pagePay;
private DevExpress.XtraEditors.SpinEdit txtPayPer;
private System.Windows.Forms.Label label22;
private DevExpress.XtraEditors.ComboBoxEdit txtPayType;
private DevExpress.XtraEditors.DateEdit txtDatePay;
private DevExpress.XtraEditors.CalcEdit txtPayReal;
private System.Windows.Forms.Label txtPaySum1;
private DevExpress.XtraEditors.TextEdit txtInvoice;
private System.Windows.Forms.Label label33;
private System.Windows.Forms.Label label32;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label23;
private DevExpress.XtraTab.XtraTabPage pageOp;
private System.Windows.Forms.Label txtLastEditTime;
private System.Windows.Forms.Label txtLastEditor;
private System.Windows.Forms.Label txtCreateTime;
private System.Windows.Forms.Label txtCreator;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label txtOpUser;
private System.Windows.Forms.Label lblOpUser;
private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
private System.Windows.Forms.Label txtIsAuth;
private DevExpress.XtraEditors.MemoEdit txtMemo;
private WWAM.DBA.WWAMDS wwamds1;
private DevExpress.XtraGrid.Columns.GridColumn colAdvContent;
private DevExpress.XtraGrid.Columns.GridColumn colIsPay;
private DevExpress.XtraGrid.Columns.GridColumn colIsAuth;
private DevExpress.XtraGrid.Columns.GridColumn colClientCode;
private DevExpress.XtraGrid.Columns.GridColumn colDateIssue;
private DevExpress.XtraGrid.Columns.GridColumn colPaperPerNum;
private DevExpress.XtraGrid.Columns.GridColumn colAdvSpec;
private DevExpress.XtraGrid.Columns.GridColumn colInvoiceNum;
private DevExpress.XtraGrid.Columns.GridColumn colPayType;
private DevExpress.XtraGrid.Columns.GridColumn colClientType;
private DevExpress.XtraGrid.Columns.GridColumn colDatePay;
private DevExpress.XtraGrid.Columns.GridColumn colPayReal;
private DevExpress.XtraGrid.Columns.GridColumn colPaySum;
private DevExpress.XtraGrid.Columns.GridColumn colPayPer;
private DevExpress.XtraGrid.Columns.GridColumn colAuthor;
private DevExpress.XtraGrid.Columns.GridColumn colOpUser;
private DevExpress.XtraGrid.Columns.GridColumn colPayNum;
private DevExpress.XtraGrid.Columns.GridColumn colPayUnit;
private DevExpress.XtraGrid.Columns.GridColumn colColor;
private DevExpress.XtraGrid.Columns.GridColumn colMemo;
private System.Windows.Forms.Label label27;
private DevExpress.XtraEditors.ComboBoxEdit ftxtPaperName;
private DevExpress.XtraEditors.SpinEdit ftxtPaperPerNum;
private System.Windows.Forms.Label label26; private System.ComponentModel.IContainer components = null; public ChildAdvRegist() { // 该调用是 Windows 窗体设计器所必需的。 InitializeComponent(); // TODO: 在 InitializeComponent 调用后添加任何初始化 } public ChildAdvRegist(DevExpress.XtraNavBar.NavBarItem item):base(item) { // 该调用是 Windows 窗体设计器所必需的。 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ChildAdvRegist));
this.mainPanel = new System.Windows.Forms.Panel();
this.ftxtPaperPerNum = new DevExpress.XtraEditors.SpinEdit();
this.label26 = new System.Windows.Forms.Label();
this.ftxtPaperName = new DevExpress.XtraEditors.ComboBoxEdit();
this.chkQuickAppend = new DevExpress.XtraEditors.CheckEdit();
this.gcAdv = new DevExpress.XtraGrid.GridControl();
this.wwamds1 = new WWAM.DBA.WWAMDS();
this.gvAdv = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colCode = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPaperPerNum = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDateIssue = new DevExpress.XtraGrid.Columns.GridColumn();
this.colAdvContent = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPaperName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPaperSpaceNum = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPaperSpace = new DevExpress.XtraGrid.Columns.GridColumn();
this.colAdvSpec = new DevExpress.XtraGrid.Columns.GridColumn();
this.colColor = new DevExpress.XtraGrid.Columns.GridColumn();
this.colClientCode = new DevExpress.XtraGrid.Columns.GridColumn();
this.colClientType = new DevExpress.XtraGrid.Columns.GridColumn();
this.colIsPay = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPaySum = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPayReal = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPayPer = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDatePay = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPayType = new DevExpress.XtraGrid.Columns.GridColumn();
this.colIsAuth = new DevExpress.XtraGrid.Columns.GridColumn();
this.colAuthor = new DevExpress.XtraGrid.Columns.GridColumn();
this.colInvoiceNum = new DevExpress.XtraGrid.Columns.GridColumn();
this.colOpUser = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPayNum = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPayUnit = new DevExpress.XtraGrid.Columns.GridColumn();
this.colMemo = new DevExpress.XtraGrid.Columns.GridColumn();
this.nbbAdv = new WWAM.BLL.NavBarBtns();
this.label27 = new System.Windows.Forms.Label();
this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager();
this.dpDetail = new DevExpress.XtraBars.Docking.DockPanel();
this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
this.txtIsAuth = new System.Windows.Forms.Label();
this.lblOpUser = new System.Windows.Forms.Label();
this.txtOpUser = new System.Windows.Forms.Label();
this.mainTabPage = new DevExpress.XtraTab.XtraTabControl();
this.pageAdvInfo = new DevExpress.XtraTab.XtraTabPage();
this.txtCode = new DevExpress.XtraEditors.TextEdit();
this.label21 = new System.Windows.Forms.Label();
this.txtAdvContent = new DevExpress.XtraEditors.MemoEdit();
this.label28 = new System.Windows.Forms.Label();
this.txtPaperPerNum = new DevExpress.XtraEditors.SpinEdit();
this.label38 = new System.Windows.Forms.Label();
this.txtDateIssue = new DevExpress.XtraEditors.DateEdit();
this.label37 = new System.Windows.Forms.Label();
this.txtPayNum = new DevExpress.XtraEditors.SpinEdit();
this.txtPaperSpace = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtPaySum = new DevExpress.XtraEditors.CalcEdit();
this.txtColor = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtPayPrice = new DevExpress.XtraEditors.CalcEdit();
this.txtPaperSpaceNum = new DevExpress.XtraEditors.TextEdit();
this.txtPayUnit = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtPaperName = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtAdvSpec = new DevExpress.XtraEditors.TextEdit();
this.label11 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.pageClient = new DevExpress.XtraTab.XtraTabPage();
this.txtClientType = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtFax = new DevExpress.XtraEditors.TextEdit();
this.txtAddress = new DevExpress.XtraEditors.MemoEdit();
this.txtZipCode = new DevExpress.XtraEditors.TextEdit();
this.txtPhone = new DevExpress.XtraEditors.TextEdit();
this.txtLinkMan = new DevExpress.XtraEditors.TextEdit();
this.txtClientCode = new DevExpress.XtraEditors.TextEdit();
this.label3 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.pageAuth = new DevExpress.XtraTab.XtraTabPage();
this.txtAuthContent = new DevExpress.XtraEditors.MemoEdit();
this.label36 = new System.Windows.Forms.Label();
this.txtAuthDate = new DevExpress.XtraEditors.DateEdit();
this.label34 = new System.Windows.Forms.Label();
this.label35 = new System.Windows.Forms.Label();
this.txtAuthor = new System.Windows.Forms.Label();
this.pagePay = new DevExpress.XtraTab.XtraTabPage();
this.txtPayPer = new DevExpress.XtraEditors.SpinEdit();
this.label22 = new System.Windows.Forms.Label();
this.txtPayType = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtDatePay = new DevExpress.XtraEditors.DateEdit();
this.txtPayReal = new DevExpress.XtraEditors.CalcEdit();
this.txtPaySum1 = new System.Windows.Forms.Label();
this.txtInvoice = new DevExpress.XtraEditors.TextEdit();
this.label33 = new System.Windows.Forms.Label();
this.label32 = new System.Windows.Forms.Label();
this.label25 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.pageOp = new DevExpress.XtraTab.XtraTabPage();
this.txtLastEditTime = new System.Windows.Forms.Label();
this.txtLastEditor = new System.Windows.Forms.Label();
this.txtCreateTime = new System.Windows.Forms.Label();
this.txtCreator = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
this.txtMemo = new DevExpress.XtraEditors.MemoEdit();
this.mainPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ftxtPaperPerNum.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ftxtPaperName.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.chkQuickAppend.Properties)).BeginInit();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -