wpf测试

This commit is contained in:
wule committed 2026-06-12 20:13:25 +08:00
1 parent 6040c88c6a
commit e3027e5fa8
19 files changed
+857 -48

No files matched your search

+19 -10
View File
@@ -29,17 +29,26 @@ namespace Work.BaseForms
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BaseMsgForm));
this.panel2 = new System.Windows.Forms.Panel();
this.pnlCancel = new DevComponents.DotNetBar.PanelEx();
this.pnlConfirm = new DevComponents.DotNetBar.PanelEx();
this.picTip = new System.Windows.Forms.PictureBox();
this.lblMsg = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picTip)).BeginInit();
this.SuspendLayout();
//
// pbCloseBase
//
this.pbCloseBase.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//
// panel2
//
this.panel2.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.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Controls.Add(this.pnlCancel);
this.panel2.Controls.Add(this.pnlConfirm);
@@ -47,7 +56,7 @@ namespace Work.BaseForms
this.panel2.Controls.Add(this.lblMsg);
this.panel2.Location = new System.Drawing.Point(3, 32);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(382, 182);
this.panel2.Size = new System.Drawing.Size(382, 210);
this.panel2.TabIndex = 2;
//
// pnlCancel
@@ -57,7 +66,7 @@ namespace Work.BaseForms
this.pnlCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.pnlCancel.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlCancel.Location = new System.Drawing.Point(280, 132);
this.pnlCancel.Location = new System.Drawing.Point(280, 160);
this.pnlCancel.Name = "pnlCancel";
this.pnlCancel.Size = new System.Drawing.Size(80, 30);
this.pnlCancel.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -79,7 +88,7 @@ namespace Work.BaseForms
this.pnlConfirm.Cursor = System.Windows.Forms.Cursors.Hand;
this.pnlConfirm.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlConfirm.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlConfirm.Location = new System.Drawing.Point(163, 132);
this.pnlConfirm.Location = new System.Drawing.Point(163, 160);
this.pnlConfirm.Name = "pnlConfirm";
this.pnlConfirm.Size = new System.Drawing.Size(80, 30);
this.pnlConfirm.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -96,7 +105,7 @@ namespace Work.BaseForms
//
// picTip
//
this.picTip.Location = new System.Drawing.Point(25, 52);
this.picTip.Location = new System.Drawing.Point(25, 44);
this.picTip.Name = "picTip";
this.picTip.Size = new System.Drawing.Size(64, 64);
this.picTip.TabIndex = 41;
@@ -108,26 +117,26 @@ namespace Work.BaseForms
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblMsg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblMsg.Location = new System.Drawing.Point(112, 52);
this.lblMsg.Location = new System.Drawing.Point(112, 44);
this.lblMsg.Name = "lblMsg";
this.lblMsg.Size = new System.Drawing.Size(248, 65);
this.lblMsg.Size = new System.Drawing.Size(248, 103);
this.lblMsg.TabIndex = 40;
this.lblMsg.Text = "信息";
this.lblMsg.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// BaseMsgForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
this.ClientSize = new System.Drawing.Size(388, 217);
this.ClientSize = new System.Drawing.Size(388, 245);
this.Controls.Add(this.panel2);
this.Location = new System.Drawing.Point(0, 0);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "BaseMsgForm";
this.Padding = new System.Windows.Forms.Padding(1);
this.Text = "BaseMsgForm";
this.TitleText = "BaseMsgForm";
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
this.Controls.SetChildIndex(this.panel2, 0);
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
this.panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.picTip)).EndInit();
this.ResumeLayout(false);