Exemplo n.º 1
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1    = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
     this.lblMessage   = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.button1      = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.linkLabel1   = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
     this.richTextBox1 = new Neusoft.FrameWork.WinForms.Controls.NeuRichTextBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.lblMessage);
     this.groupBox1.Controls.Add(this.button1);
     this.groupBox1.Controls.Add(this.linkLabel1);
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(274, 152);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // lblMessage
     //
     this.lblMessage.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.lblMessage.Location  = new System.Drawing.Point(32, 24);
     this.lblMessage.Name      = "lblMessage";
     this.lblMessage.Size      = new System.Drawing.Size(216, 80);
     this.lblMessage.TabIndex  = 2;
     this.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.button1.Location  = new System.Drawing.Point(88, 112);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(80, 24);
     this.button1.TabIndex  = 1;
     this.button1.Text      = "确定(&O)";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // linkLabel1
     //
     this.linkLabel1.Location     = new System.Drawing.Point(232, 120);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Size         = new System.Drawing.Size(32, 16);
     this.linkLabel1.TabIndex     = 0;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = ">>>";
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.richTextBox1.ForeColor   = System.Drawing.SystemColors.HotTrack;
     this.richTextBox1.Location    = new System.Drawing.Point(0, 152);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.ReadOnly    = true;
     this.richTextBox1.Size        = new System.Drawing.Size(272, 104);
     this.richTextBox1.TabIndex    = 1;
     this.richTextBox1.Text        = "";
     //
     // frmMessageBox
     //
     this.AcceptButton      = this.button1;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(274, 151);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmMessageBox";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "错误";
     this.Load           += new System.EventHandler(this.frmMessageBox_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmWait));
     this.label1       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.progressBar1 = new Neusoft.FrameWork.WinForms.Controls.NeuProgressBar();
     this.pictureBox1  = new Neusoft.FrameWork.WinForms.Controls.NeuPictureBox();
     this.button1      = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.linkLabel1   = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(76, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(200, 25);
     this.label1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.label1.TabIndex  = 0;
     this.label1.Text      = "正在处理,请稍候...";
     //
     // progressBar1
     //
     this.progressBar1.BackgroundBitmap    = null;
     this.progressBar1.BackgroundColor     = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(237)))), ((int)(((byte)(223)))));
     this.progressBar1.Border3D            = System.Windows.Forms.Border3DStyle.Flat;
     this.progressBar1.BorderColor         = System.Drawing.SystemColors.Highlight;
     this.progressBar1.EnableBorder3D      = false;
     this.progressBar1.ForegroundBitmap    = null;
     this.progressBar1.ForegroundColor     = System.Drawing.SystemColors.Highlight;
     this.progressBar1.GradientEndColor    = System.Drawing.Color.Empty;
     this.progressBar1.GradientMiddleColor = System.Drawing.Color.Empty;
     this.progressBar1.GradientStartColor  = System.Drawing.Color.Empty;
     this.progressBar1.Location            = new System.Drawing.Point(72, 45);
     this.progressBar1.Maximum             = 100;
     this.progressBar1.Minimum             = 0;
     this.progressBar1.Name = "progressBar1";
     this.progressBar1.ProgressTextColor         = System.Drawing.Color.Empty;
     this.progressBar1.ProgressTextHiglightColor = System.Drawing.Color.Empty;
     this.progressBar1.ShowProgressText          = false;
     this.progressBar1.Size     = new System.Drawing.Size(200, 8);
     this.progressBar1.Smooth   = false;
     this.progressBar1.Step     = 1;
     this.progressBar1.TabIndex = 1;
     this.progressBar1.Value    = 0;
     this.progressBar1.Visible  = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(5, 5);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(56, 40);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.pictureBox1.TabIndex = 2;
     this.pictureBox1.TabStop  = false;
     //
     // button1
     //
     this.button1.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
     this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.button1.Location = new System.Drawing.Point(263, 3);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(12, 12);
     this.button1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.button1.TabIndex = 3;
     this.button1.Type     = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
     this.button1.Visible  = false;
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // linkLabel1
     //
     this.linkLabel1.Location     = new System.Drawing.Point(225, 4);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Size         = new System.Drawing.Size(33, 16);
     this.linkLabel1.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.linkLabel1.TabIndex     = 4;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = "取消";
     this.linkLabel1.Visible      = false;
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // frmWait
     //
     this.ClientSize = new System.Drawing.Size(280, 56);
     this.ControlBox = false;
     this.Controls.Add(this.linkLabel1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.label1);
     this.KeyPreview    = true;
     this.Name          = "frmWait";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "";
     this.TopMost       = true;
     this.Load         += new System.EventHandler(this.frmWait_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmWait_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }