📄 dlgdataadv.cs
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;namespace WWAM.Forms.Dlg{ public class DlgDataAdv : WWAM.Forms.Dlg.DlgBase { #region DlgDataAdv private System.ComponentModel.IContainer components = null; private DevExpress.XtraTab.XtraTabControl mainTabPage;
private DevExpress.XtraTab.XtraTabPage pageAdvInfo;
private DevExpress.XtraTab.XtraTabPage pageClient;
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.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.XtraEditors.TextEdit txtFax;
private DevExpress.XtraEditors.MemoEdit txtAddress;
private DevExpress.XtraEditors.TextEdit txtZipCode;
private DevExpress.XtraEditors.TextEdit txtPhone;
private DevExpress.XtraEditors.TextEdit txtLinkMan;
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 pagePay;
private DevExpress.XtraTab.XtraTabPage pageOp;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label txtCreator;
private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
private DevExpress.XtraTab.XtraTabPage pageAuth;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label25;
private DevExpress.XtraEditors.MemoEdit txtMemo;
private System.Windows.Forms.Label label27;
private System.Windows.Forms.Label label32;
private System.Windows.Forms.Label label33;
private DevExpress.XtraEditors.TextEdit txtInvoice;
private System.Windows.Forms.Label txtPaySum1;
private DevExpress.XtraEditors.CalcEdit txtPayReal;
private DevExpress.XtraEditors.DateEdit txtDatePay;
private DevExpress.XtraEditors.ComboBoxEdit txtPayType;
private DevExpress.XtraEditors.DateEdit txtAuthDate;
private System.Windows.Forms.Label label34;
private System.Windows.Forms.Label label35;
private System.Windows.Forms.Label txtIsAuth;
private System.Windows.Forms.Label txtAuthor;
private System.Windows.Forms.Label label36;
private System.Windows.Forms.Label label37;
private System.Windows.Forms.Label label38;
private System.Windows.Forms.Label label28;
private DevExpress.XtraEditors.MemoEdit txtAdvContent;
private DevExpress.XtraEditors.SpinEdit txtPaperPerNum;
private DevExpress.XtraEditors.DateEdit txtDateIssue;
private DevExpress.XtraEditors.ComboBoxEdit txtClientType;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.Label label22;
private DevExpress.XtraEditors.TextEdit txtCode;
private DevExpress.XtraEditors.SpinEdit txtPayPer;
private DevExpress.XtraEditors.MemoEdit txtAuthContent;
private System.Windows.Forms.Label txtLastEditTime;
private System.Windows.Forms.Label txtLastEditor;
private System.Windows.Forms.Label txtCreateTime;
private DevExpress.XtraEditors.TextEdit txtClientCode;
private DevExpress.XtraEditors.ComboBoxEdit txtAuthor1;
private System.Windows.Forms.Label lblOpUser;
private DevExpress.XtraEditors.ComboBoxEdit txtOpUser1;
private System.Windows.Forms.Label txtOpUser;
private DevExpress.XtraEditors.SimpleButton btnGetAdvModel;
private DevExpress.XtraEditors.SimpleButton btnGetClient;
private DevExpress.XtraEditors.ComboBoxEdit txtPaperName; public DlgDataAdv() { // 该调用是 Windows 窗体设计器所必需的。 InitializeComponent(); // TODO: 在 InitializeComponent 调用后添加任何初始化 } public DlgDataAdv(Form form):base(form) { // 该调用是 Windows 窗体设计器所必需的。 InitializeComponent(); // TODO: 在 InitializeComponent 调用后添加任何初始化 } public DlgDataAdv(WWAM.Forms.Child.ChildAdvRegist form):base(form) { // 该调用是 Windows 窗体设计器所必需的。 InitializeComponent(); mainForm = form; // 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(DlgDataAdv));
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.btnGetAdvModel = new DevExpress.XtraEditors.SimpleButton();
this.pageClient = new DevExpress.XtraTab.XtraTabPage();
this.txtClientType = new DevExpress.XtraEditors.ComboBoxEdit();
this.btnGetClient = new DevExpress.XtraEditors.SimpleButton();
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.txtAuthor1 = new DevExpress.XtraEditors.ComboBoxEdit();
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.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
this.txtMemo = new DevExpress.XtraEditors.MemoEdit();
this.label27 = new System.Windows.Forms.Label();
this.txtIsAuth = new System.Windows.Forms.Label();
this.lblOpUser = new System.Windows.Forms.Label();
this.txtOpUser1 = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtOpUser = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.mainTabPage)).BeginInit();
this.mainTabPage.SuspendLayout();
this.pageAdvInfo.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtAdvContent.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPaperPerNum.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtDateIssue.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPayNum.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPaperSpace.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPaySum.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtColor.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPayPrice.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPaperSpaceNum.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPayUnit.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPaperName.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtAdvSpec.Properties)).BeginInit();
this.pageClient.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtClientType.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtFax.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtAddress.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtZipCode.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPhone.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtLinkMan.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtClientCode.Properties)).BeginInit();
this.pageAuth.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtAuthContent.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtAuthDate.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtAuthor1.Properties)).BeginInit();
this.pagePay.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtPayPer.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPayType.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtDatePay.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtPayReal.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtInvoice.Properties)).BeginInit();
this.pageOp.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtMemo.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtOpUser1.Properties)).BeginInit();
this.SuspendLayout();
//
// btnAccept
//
this.btnAccept.Location = new System.Drawing.Point(248, 376);
this.btnAccept.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin;
this.btnAccept.LookAndFeel.UseWindowsXPTheme = false;
this.btnAccept.Name = "btnAccept";
this.btnAccept.TabIndex = 2;
//
// btnCancel
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -