示例#1
0
        private void InitializeComponent()
        {
            POS.Control.Office2010White office2010White3 = new POS.Control.Office2010White();
            POS.Control.Office2010White office2010White4 = new POS.Control.Office2010White();
            this.lblError       = new System.Windows.Forms.Label();
            this.btnSeeMore     = new POS.Control.BaseButton();
            this.lblDescription = new System.Windows.Forms.Label();
            this.pnlErroeDetail = new System.Windows.Forms.Panel();
            this.panel1         = new System.Windows.Forms.Panel();
            this.spMessage      = new System.Windows.Forms.SplitContainer();
            this.pictureBox1    = new System.Windows.Forms.PictureBox();
            this.panel2         = new System.Windows.Forms.Panel();
            this.btnClose       = new POS.Control.BaseButton();
            this.pnlErroeDetail.SuspendLayout();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.spMessage)).BeginInit();
            this.spMessage.Panel1.SuspendLayout();
            this.spMessage.Panel2.SuspendLayout();
            this.spMessage.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.panel2.SuspendLayout();
            this.SuspendLayout();
            //
            // lblError
            //
            this.lblError.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.lblError.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
            this.lblError.Location = new System.Drawing.Point(0, 0);
            this.lblError.Name     = "lblError";
            this.lblError.Padding  = new System.Windows.Forms.Padding(10, 20, 10, 0);
            this.lblError.Size     = new System.Drawing.Size(455, 93);
            this.lblError.TabIndex = 0;
            this.lblError.Tag      = "";
            this.lblError.Text     = "Message";
            //
            // btnSeeMore
            //

            this.btnSeeMore.Location = new System.Drawing.Point(394, 3);
            this.btnSeeMore.Name     = "btnSeeMore";
            this.btnSeeMore.Size     = new System.Drawing.Size(75, 23);
            this.btnSeeMore.TabIndex = 1;
            this.btnSeeMore.Text     = "View Detail";
            this.btnSeeMore.Theme    = POS.Control.Theme.MSOffice2010_WHITE;
            this.btnSeeMore.UseVisualStyleBackColor = true;
            this.btnSeeMore.Click += new System.EventHandler(this.btnSeeMore_Click);
            //
            // lblDescription
            //
            this.lblDescription.Dock     = System.Windows.Forms.DockStyle.Top;
            this.lblDescription.Location = new System.Drawing.Point(0, 0);
            this.lblDescription.Margin   = new System.Windows.Forms.Padding(10, 0, 10, 0);
            this.lblDescription.Name     = "lblDescription";
            this.lblDescription.Padding  = new System.Windows.Forms.Padding(10, 10, 10, 0);
            this.lblDescription.Size     = new System.Drawing.Size(534, 138);
            this.lblDescription.TabIndex = 2;
            this.lblDescription.Text     = "Erroe Message Detail";
            this.lblDescription.Visible  = false;
            //
            // pnlErroeDetail
            //
            this.pnlErroeDetail.AutoScroll  = true;
            this.pnlErroeDetail.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.pnlErroeDetail.Controls.Add(this.lblDescription);
            this.pnlErroeDetail.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.pnlErroeDetail.Location = new System.Drawing.Point(0, -15);
            this.pnlErroeDetail.Name     = "pnlErroeDetail";
            this.pnlErroeDetail.Size     = new System.Drawing.Size(553, 139);
            this.pnlErroeDetail.TabIndex = 3;
            this.pnlErroeDetail.Visible  = false;
            //
            // panel1
            //
            this.panel1.Controls.Add(this.spMessage);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(553, 93);
            this.panel1.TabIndex = 4;
            //
            // spMessage
            //
            this.spMessage.Dock            = System.Windows.Forms.DockStyle.Fill;
            this.spMessage.FixedPanel      = System.Windows.Forms.FixedPanel.Panel1;
            this.spMessage.IsSplitterFixed = true;
            this.spMessage.Location        = new System.Drawing.Point(0, 0);
            this.spMessage.Name            = "spMessage";
            //
            // spMessage.Panel1
            //
            this.spMessage.Panel1.Controls.Add(this.pictureBox1);
            //
            // spMessage.Panel2
            //
            this.spMessage.Panel2.Controls.Add(this.lblError);
            this.spMessage.Size             = new System.Drawing.Size(553, 93);
            this.spMessage.SplitterDistance = 94;
            this.spMessage.TabIndex         = 2;
            this.spMessage.TabStop          = false;
            //
            // pictureBox1
            //
            this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.pictureBox1.Dock         = System.Windows.Forms.DockStyle.Top;
            this.pictureBox1.ErrorImage   = null;
            this.pictureBox1.Image        = global::POS.Control.Properties.Resources.error;
            this.pictureBox1.InitialImage = null;
            this.pictureBox1.Location     = new System.Drawing.Point(0, 0);
            this.pictureBox1.Name         = "pictureBox1";
            this.pictureBox1.Padding      = new System.Windows.Forms.Padding(0, 10, 0, 0);
            this.pictureBox1.Size         = new System.Drawing.Size(94, 93);
            this.pictureBox1.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
            this.pictureBox1.TabIndex     = 0;
            this.pictureBox1.TabStop      = false;
            //
            // panel2
            //
            this.panel2.Controls.Add(this.btnClose);
            this.panel2.Controls.Add(this.btnSeeMore);
            this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 93);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(553, 30);
            this.panel2.TabIndex = 5;
            //
            // btnClose
            //

            this.btnClose.Location = new System.Drawing.Point(475, 3);
            this.btnClose.Name     = "btnClose";
            this.btnClose.Size     = new System.Drawing.Size(75, 23);
            this.btnClose.TabIndex = 2;
            this.btnClose.Text     = "Close";
            this.btnClose.Theme    = POS.Control.Theme.MSOffice2010_WHITE;
            this.btnClose.UseVisualStyleBackColor = true;
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            //
            // CoreMessageBox
            //
            this.ClientSize = new System.Drawing.Size(553, 124);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.pnlErroeDetail);
            this.MaximizeBox   = false;
            this.MinimizeBox   = false;
            this.Name          = "CoreMessageBox";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.pnlErroeDetail.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.spMessage.Panel1.ResumeLayout(false);
            this.spMessage.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.spMessage)).EndInit();
            this.spMessage.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.panel2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
示例#2
0
        private void InitializeComponent()
        {
            POS.Control.Office2010White office2010White3 = new POS.Control.Office2010White();
            POS.Control.Office2010White office2010White4 = new POS.Control.Office2010White();
            this.lblError = new System.Windows.Forms.Label();
            this.btnSeeMore = new POS.Control.BaseButton();
            this.lblDescription = new System.Windows.Forms.Label();
            this.pnlErroeDetail = new System.Windows.Forms.Panel();
            this.panel1 = new System.Windows.Forms.Panel();
            this.spMessage = new System.Windows.Forms.SplitContainer();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.panel2 = new System.Windows.Forms.Panel();
            this.btnClose = new POS.Control.BaseButton();
            this.pnlErroeDetail.SuspendLayout();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.spMessage)).BeginInit();
            this.spMessage.Panel1.SuspendLayout();
            this.spMessage.Panel2.SuspendLayout();
            this.spMessage.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.panel2.SuspendLayout();
            this.SuspendLayout();
            // 
            // lblError
            // 
            this.lblError.Dock = System.Windows.Forms.DockStyle.Fill;
            this.lblError.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
            this.lblError.Location = new System.Drawing.Point(0, 0);
            this.lblError.Name = "lblError";
            this.lblError.Padding = new System.Windows.Forms.Padding(10, 20, 10, 0);
            this.lblError.Size = new System.Drawing.Size(455, 93);
            this.lblError.TabIndex = 0;
            this.lblError.Tag = "";
            this.lblError.Text = "Message";
            // 
            // btnSeeMore
            // 
           
            this.btnSeeMore.Location = new System.Drawing.Point(394, 3);
            this.btnSeeMore.Name = "btnSeeMore";
            this.btnSeeMore.Size = new System.Drawing.Size(75, 23);
            this.btnSeeMore.TabIndex = 1;
            this.btnSeeMore.Text = "View Detail";
            this.btnSeeMore.Theme = POS.Control.Theme.MSOffice2010_WHITE;
            this.btnSeeMore.UseVisualStyleBackColor = true;
            this.btnSeeMore.Click += new System.EventHandler(this.btnSeeMore_Click);
            // 
            // lblDescription
            // 
            this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
            this.lblDescription.Location = new System.Drawing.Point(0, 0);
            this.lblDescription.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
            this.lblDescription.Name = "lblDescription";
            this.lblDescription.Padding = new System.Windows.Forms.Padding(10, 10, 10, 0);
            this.lblDescription.Size = new System.Drawing.Size(534, 138);
            this.lblDescription.TabIndex = 2;
            this.lblDescription.Text = "Erroe Message Detail";
            this.lblDescription.Visible = false;
            // 
            // pnlErroeDetail
            // 
            this.pnlErroeDetail.AutoScroll = true;
            this.pnlErroeDetail.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.pnlErroeDetail.Controls.Add(this.lblDescription);
            this.pnlErroeDetail.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pnlErroeDetail.Location = new System.Drawing.Point(0, -15);
            this.pnlErroeDetail.Name = "pnlErroeDetail";
            this.pnlErroeDetail.Size = new System.Drawing.Size(553, 139);
            this.pnlErroeDetail.TabIndex = 3;
            this.pnlErroeDetail.Visible = false;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.spMessage);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(553, 93);
            this.panel1.TabIndex = 4;
            // 
            // spMessage
            // 
            this.spMessage.Dock = System.Windows.Forms.DockStyle.Fill;
            this.spMessage.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.spMessage.IsSplitterFixed = true;
            this.spMessage.Location = new System.Drawing.Point(0, 0);
            this.spMessage.Name = "spMessage";
            // 
            // spMessage.Panel1
            // 
            this.spMessage.Panel1.Controls.Add(this.pictureBox1);
            // 
            // spMessage.Panel2
            // 
            this.spMessage.Panel2.Controls.Add(this.lblError);
            this.spMessage.Size = new System.Drawing.Size(553, 93);
            this.spMessage.SplitterDistance = 94;
            this.spMessage.TabIndex = 2;
            this.spMessage.TabStop = false;
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.pictureBox1.ErrorImage = null;
            this.pictureBox1.Image = global::POS.Control.Properties.Resources.error;
            this.pictureBox1.InitialImage = null;
            this.pictureBox1.Location = new System.Drawing.Point(0, 0);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0);
            this.pictureBox1.Size = new System.Drawing.Size(94, 93);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop = false;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.btnClose);
            this.panel2.Controls.Add(this.btnSeeMore);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 93);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(553, 30);
            this.panel2.TabIndex = 5;
            // 
            // btnClose
            // 
            
            this.btnClose.Location = new System.Drawing.Point(475, 3);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new System.Drawing.Size(75, 23);
            this.btnClose.TabIndex = 2;
            this.btnClose.Text = "Close";
            this.btnClose.Theme = POS.Control.Theme.MSOffice2010_WHITE;
            this.btnClose.UseVisualStyleBackColor = true;
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // CoreMessageBox
            // 
            this.ClientSize = new System.Drawing.Size(553, 124);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.pnlErroeDetail);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "CoreMessageBox";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.pnlErroeDetail.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.spMessage.Panel1.ResumeLayout(false);
            this.spMessage.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.spMessage)).EndInit();
            this.spMessage.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.panel2.ResumeLayout(false);
            this.ResumeLayout(false);

        }