📄 dlgdataadv.cs
字号:
this.btnCancel.Location = new System.Drawing.Point(336, 376);
this.btnCancel.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin;
this.btnCancel.LookAndFeel.UseWindowsXPTheme = false;
this.btnCancel.Name = "btnCancel";
this.btnCancel.TabIndex = 3;
//
// mainTabPage
//
this.mainTabPage.Location = new System.Drawing.Point(8, 8);
this.mainTabPage.Name = "mainTabPage";
this.mainTabPage.SelectedTabPage = this.pageAdvInfo;
this.mainTabPage.Size = new System.Drawing.Size(408, 312);
this.mainTabPage.TabIndex = 0;
this.mainTabPage.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.pageAdvInfo,
this.pageClient,
this.pageAuth,
this.pagePay,
this.pageOp});
//
// pageAdvInfo
//
this.pageAdvInfo.Controls.Add(this.txtCode);
this.pageAdvInfo.Controls.Add(this.label21);
this.pageAdvInfo.Controls.Add(this.txtAdvContent);
this.pageAdvInfo.Controls.Add(this.label28);
this.pageAdvInfo.Controls.Add(this.txtPaperPerNum);
this.pageAdvInfo.Controls.Add(this.label38);
this.pageAdvInfo.Controls.Add(this.txtDateIssue);
this.pageAdvInfo.Controls.Add(this.label37);
this.pageAdvInfo.Controls.Add(this.txtPayNum);
this.pageAdvInfo.Controls.Add(this.txtPaperSpace);
this.pageAdvInfo.Controls.Add(this.txtPaySum);
this.pageAdvInfo.Controls.Add(this.txtColor);
this.pageAdvInfo.Controls.Add(this.txtPayPrice);
this.pageAdvInfo.Controls.Add(this.txtPaperSpaceNum);
this.pageAdvInfo.Controls.Add(this.txtPayUnit);
this.pageAdvInfo.Controls.Add(this.txtPaperName);
this.pageAdvInfo.Controls.Add(this.txtAdvSpec);
this.pageAdvInfo.Controls.Add(this.label11);
this.pageAdvInfo.Controls.Add(this.label10);
this.pageAdvInfo.Controls.Add(this.label9);
this.pageAdvInfo.Controls.Add(this.label8);
this.pageAdvInfo.Controls.Add(this.label7);
this.pageAdvInfo.Controls.Add(this.label6);
this.pageAdvInfo.Controls.Add(this.label5);
this.pageAdvInfo.Controls.Add(this.label4);
this.pageAdvInfo.Controls.Add(this.label2);
this.pageAdvInfo.Controls.Add(this.btnGetAdvModel);
this.pageAdvInfo.Name = "pageAdvInfo";
this.pageAdvInfo.Size = new System.Drawing.Size(399, 281);
this.pageAdvInfo.Tag = "";
this.pageAdvInfo.Text = "广告";
//
// txtCode
//
this.txtCode.EditValue = "";
this.txtCode.EnterMoveNextControl = true;
this.txtCode.Location = new System.Drawing.Point(88, 8);
this.txtCode.Name = "txtCode";
//
// txtCode.Properties
//
this.txtCode.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtCode.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtCode.Size = new System.Drawing.Size(272, 21);
this.txtCode.TabIndex = 0;
this.txtCode.EditValueChanged += new System.EventHandler(this.BaseEditor_EditValueChanged);
//
// label21
//
this.label21.Location = new System.Drawing.Point(16, 8);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(72, 23);
this.label21.TabIndex = 63;
this.label21.Text = "广告编号:";
this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtAdvContent
//
this.txtAdvContent.EditValue = "";
this.txtAdvContent.EnterMoveNextControl = true;
this.txtAdvContent.Location = new System.Drawing.Point(88, 40);
this.txtAdvContent.Name = "txtAdvContent";
//
// txtAdvContent.Properties
//
this.txtAdvContent.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtAdvContent.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtAdvContent.Size = new System.Drawing.Size(272, 40);
this.txtAdvContent.TabIndex = 1;
this.txtAdvContent.EditValueChanged += new System.EventHandler(this.BaseEditor_EditValueChanged);
//
// label28
//
this.label28.Location = new System.Drawing.Point(16, 40);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(72, 23);
this.label28.TabIndex = 61;
this.label28.Text = "广告内容:";
this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPaperPerNum
//
this.txtPaperPerNum.EditValue = new System.Decimal(new int[] {
0,
0,
0,
0});
this.txtPaperPerNum.Enabled = false;
this.txtPaperPerNum.EnterMoveNextControl = true;
this.txtPaperPerNum.Location = new System.Drawing.Point(256, 88);
this.txtPaperPerNum.Name = "txtPaperPerNum";
//
// txtPaperPerNum.Properties
//
this.txtPaperPerNum.Properties.AppearanceDisabled.ForeColor = System.Drawing.Color.Black;
this.txtPaperPerNum.Properties.AppearanceDisabled.Options.UseForeColor = true;
this.txtPaperPerNum.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, true, false, false, DevExpress.Utils.HorzAlignment.Center, null)});
this.txtPaperPerNum.Properties.DisplayFormat.FormatString = "d0";
this.txtPaperPerNum.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.txtPaperPerNum.Properties.EditFormat.FormatString = "d0";
this.txtPaperPerNum.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.txtPaperPerNum.Properties.Mask.EditMask = "d0";
this.txtPaperPerNum.Properties.Mask.UseMaskAsDisplayFormat = true;
this.txtPaperPerNum.Properties.UseCtrlIncrement = false;
this.txtPaperPerNum.Size = new System.Drawing.Size(80, 21);
this.txtPaperPerNum.TabIndex = 3;
this.txtPaperPerNum.EditValueChanged += new System.EventHandler(this.BaseEditor_EditValueChanged);
//
// label38
//
this.label38.Location = new System.Drawing.Point(344, 88);
this.label38.Name = "label38";
this.label38.Size = new System.Drawing.Size(24, 23);
this.label38.TabIndex = 59;
this.label38.Text = "期";
this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtDateIssue
//
this.txtDateIssue.EditValue = new System.DateTime(1900, 1, 1, 0, 0, 0, 0);
this.txtDateIssue.EnterMoveNextControl = true;
this.txtDateIssue.Location = new System.Drawing.Point(88, 88);
this.txtDateIssue.Name = "txtDateIssue";
//
// txtDateIssue.Properties
//
this.txtDateIssue.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
this.txtDateIssue.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtDateIssue.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtDateIssue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.txtDateIssue.Properties.DisplayFormat.FormatString = "yyyy 年 MM 月 dd 日";
this.txtDateIssue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.txtDateIssue.Properties.EditFormat.FormatString = "yyyy 年 MM 月 dd 日";
this.txtDateIssue.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.txtDateIssue.Properties.Mask.EditMask = "yyyy 年 MM 月 dd 日";
this.txtDateIssue.Size = new System.Drawing.Size(160, 21);
this.txtDateIssue.TabIndex = 2;
this.txtDateIssue.EditValueChanged += new System.EventHandler(this.BaseEditor_EditValueChanged);
//
// label37
//
this.label37.Location = new System.Drawing.Point(16, 88);
this.label37.Name = "label37";
this.label37.Size = new System.Drawing.Size(72, 23);
this.label37.TabIndex = 56;
this.label37.Text = "出版日期:";
this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPayNum
//
this.txtPayNum.EditValue = new System.Decimal(new int[] {
0,
0,
0,
0});
this.txtPayNum.EnterMoveNextControl = true;
this.txtPayNum.Location = new System.Drawing.Point(88, 248);
this.txtPayNum.Name = "txtPayNum";
//
// txtPayNum.Properties
//
this.txtPayNum.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.txtPayNum.Properties.MaxValue = new System.Decimal(new int[] {
1000,
0,
0,
0});
this.txtPayNum.Properties.UseCtrlIncrement = false;
this.txtPayNum.Size = new System.Drawing.Size(88, 21);
this.txtPayNum.TabIndex = 11;
this.txtPayNum.EditValueChanged += new System.EventHandler(this.txtPayNum_EditValueChanged);
//
// txtPaperSpace
//
this.txtPaperSpace.EnterMoveNextControl = true;
this.txtPaperSpace.Location = new System.Drawing.Point(88, 152);
this.txtPaperSpace.Name = "txtPaperSpace";
//
// txtPaperSpace.Properties
//
this.txtPaperSpace.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtPaperSpace.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtPaperSpace.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.txtPaperSpace.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.txtPaperSpace.Size = new System.Drawing.Size(112, 21);
this.txtPaperSpace.TabIndex = 6;
this.txtPaperSpace.EditValueChanged += new System.EventHandler(this.BaseEditor_EditValueChanged);
//
// txtPaySum
//
this.txtPaySum.EnterMoveNextControl = true;
this.txtPaySum.Location = new System.Drawing.Point(232, 248);
this.txtPaySum.Name = "txtPaySum";
//
// txtPaySum.Properties
//
this.txtPaySum.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtPaySum.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtPaySum.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.txtPaySum.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.txtPaySum.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.txtPaySum.Properties.Mask.EditMask = "c2";
this.txtPaySum.Properties.Mask.UseMaskAsDisplayFormat = true;
this.txtPaySum.Size = new System.Drawing.Size(128, 21);
this.txtPaySum.TabIndex = 12;
this.txtPaySum.EditValueChanged += new System.EventHandler(this.txtPaySum_EditValueChanged);
//
// txtColor
//
this.txtColor.EnterMoveNextControl = true;
this.txtColor.Location = new System.Drawing.Point(272, 152);
this.txtColor.Name = "txtColor";
//
// txtColor.Properties
//
this.txtColor.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtColor.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtColor.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.txtColor.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.txtColor.Size = new System.Drawing.Size(88, 21);
this.txtColor.TabIndex = 7;
this.txtColor.EditValueChanged += new System.EventHandler(this.BaseEditor_EditValueChanged);
//
// txtPayPrice
//
this.txtPayPrice.EnterMoveNextControl = true;
this.txtPayPrice.Location = new System.Drawing.Point(232, 216);
this.txtPayPrice.Name = "txtPayPrice";
//
// txtPayPrice.Properties
//
this.txtPayPrice.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.txtPayPrice.Properties.AppearanceFocused.Options.UseBackColor = true;
this.txtPayPrice.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.txtPayPrice.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.txtPayPrice.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.txtPayPrice.Properties.Mask.EditMask = "c2";
this.txtPayPrice.Properties.Mask.UseMaskAsDisplayFormat = true;
this.txtPayPrice.Size = new System.Drawing.Size(128, 21);
this.txtPayPrice.TabIndex = 10;
this.txtPayPrice.EditValueChanged += new System.EventHandler(this.txtPayPrice_EditValueChanged);
//
// txtPaperSpaceNum
//
this.txtPaperSpaceNum.EditValue = "";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -