/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.progressPanel1 = new DevExpress.XtraWaitForm.ProgressPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // progressPanel1 // this.progressPanel1.Appearance.BackColor = System.Drawing.Color.Transparent; this.progressPanel1.Appearance.Options.UseBackColor = true; this.progressPanel1.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); this.progressPanel1.AppearanceCaption.Options.UseFont = true; this.progressPanel1.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.progressPanel1.AppearanceDescription.Options.UseFont = true; this.progressPanel1.Caption = "请稍等"; this.progressPanel1.Description = "加载中 ..."; this.progressPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.progressPanel1.ImageHorzOffset = 20; this.progressPanel1.Location = new System.Drawing.Point(0, 16); this.progressPanel1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.progressPanel1.Name = "progressPanel1"; this.progressPanel1.Size = new System.Drawing.Size(246, 35); this.progressPanel1.TabIndex = 0; this.progressPanel1.Text = "progressPanel1"; // // tableLayoutPanel1 // this.tableLayoutPanel1.AutoSize = true; this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent; this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 220F)); this.tableLayoutPanel1.Controls.Add(this.progressPanel1, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(0, 13, 0, 13); this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(246, 67); this.tableLayoutPanel1.TabIndex = 1; // // LoadWaitForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ClientSize = new System.Drawing.Size(246, 67); this.Controls.Add(this.tableLayoutPanel1); this.DoubleBuffered = true; this.MinimumSize = new System.Drawing.Size(246, 0); this.Name = "LoadWaitForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Form1"; this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void progressPanel1_VisibleChanged(object sender, EventArgs e) { DevExpress.XtraWaitForm.ProgressPanel panel = sender as DevExpress.XtraWaitForm.ProgressPanel; if (panel.Visible) { Control parent = panel.Parent; // panel.Location = new Point(parent.Bounds.X + parent.Bounds.Width / 2 - panel.Width / 2- this.splitContainerControl.Panel1.Width, parent.Bounds.Y + parent.Bounds.Height / 2 - panel.Height / 2-this.ribbonControl.Height); panel.Location = new Point(parent.Bounds.X + parent.Bounds.Width / 2 - panel.Width / 2 - this.splitContainerControl.Panel1.Width, parent.Bounds.Y + parent.Bounds.Height / 2 - panel.Height / 2 - this.ribbonControl.Height / 2); } }
public LocalizedItem(DevExpress.XtraWaitForm.ProgressPanel panel, string captionResourceId, string descriptionResourceId) { const int TextsCount = 2; this.resourceIds = new string[TextsCount] { captionResourceId, descriptionResourceId }; this.obj = (object)panel; this.type = ItemType.ProgressPanel; this.defaultValues = new string[TextsCount] { panel.Caption, panel.Description }; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmWaitView)); this.progressPanel1 = new DevExpress.XtraWaitForm.ProgressPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // progressPanel1 // this.progressPanel1.Appearance.BackColor = ((System.Drawing.Color)(resources.GetObject("progressPanel1.Appearance.BackColor"))); this.progressPanel1.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("progressPanel1.Appearance.Font"))); this.progressPanel1.Appearance.ForeColor = ((System.Drawing.Color)(resources.GetObject("progressPanel1.Appearance.ForeColor"))); this.progressPanel1.Appearance.Options.UseBackColor = true; this.progressPanel1.Appearance.Options.UseFont = true; this.progressPanel1.Appearance.Options.UseForeColor = true; this.progressPanel1.AppearanceCaption.Font = ((System.Drawing.Font)(resources.GetObject("resource.Font"))); this.progressPanel1.AppearanceCaption.ForeColor = ((System.Drawing.Color)(resources.GetObject("resource.ForeColor"))); this.progressPanel1.AppearanceCaption.Options.UseFont = true; this.progressPanel1.AppearanceCaption.Options.UseForeColor = true; this.progressPanel1.AppearanceDescription.Font = ((System.Drawing.Font)(resources.GetObject("resource.Font1"))); this.progressPanel1.AppearanceDescription.ForeColor = ((System.Drawing.Color)(resources.GetObject("resource.ForeColor1"))); this.progressPanel1.AppearanceDescription.Options.UseFont = true; this.progressPanel1.AppearanceDescription.Options.UseForeColor = true; this.progressPanel1.BarAnimationElementThickness = 2; resources.ApplyResources(this.progressPanel1, "progressPanel1"); this.progressPanel1.ImageHorzOffset = 20; this.progressPanel1.Name = "progressPanel1"; // // tableLayoutPanel1 // resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1"); this.tableLayoutPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(70)))), ((int)(((byte)(90))))); this.tableLayoutPanel1.Controls.Add(this.progressPanel1, 0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; // // frmWaitView // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel1); this.DoubleBuffered = true; this.Name = "frmWaitView"; this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.proPnl = new DevExpress.XtraWaitForm.ProgressPanel(); this.tableLayoutPanelMain = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanelMain.SuspendLayout(); this.SuspendLayout(); // // proPnl // this.proPnl.Appearance.BackColor = System.Drawing.Color.Transparent; this.proPnl.Appearance.Options.UseBackColor = true; this.proPnl.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); this.proPnl.AppearanceCaption.Options.UseFont = true; this.proPnl.AppearanceCaption.Options.UseTextOptions = true; this.proPnl.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.proPnl.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.proPnl.AppearanceDescription.Options.UseFont = true; this.proPnl.AppearanceDescription.Options.UseTextOptions = true; this.proPnl.AppearanceDescription.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.proPnl.Dock = System.Windows.Forms.DockStyle.Fill; this.proPnl.ImageHorzOffset = 20; this.proPnl.Location = new System.Drawing.Point(0, 17); this.proPnl.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.proPnl.Name = "proPnl"; this.proPnl.Size = new System.Drawing.Size(246, 39); this.proPnl.TabIndex = 0; this.proPnl.Text = "Please wait"; // // tableLayoutPanelMain // this.tableLayoutPanelMain.AutoSize = true; this.tableLayoutPanelMain.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanelMain.BackColor = System.Drawing.Color.Transparent; this.tableLayoutPanelMain.ColumnCount = 1; this.tableLayoutPanelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanelMain.Controls.Add(this.proPnl, 0, 0); this.tableLayoutPanelMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanelMain.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanelMain.Name = "tableLayoutPanelMain"; this.tableLayoutPanelMain.Padding = new System.Windows.Forms.Padding(0, 14, 0, 14); this.tableLayoutPanelMain.RowCount = 1; this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanelMain.Size = new System.Drawing.Size(246, 73); this.tableLayoutPanelMain.TabIndex = 1; // // WaitWindowFrm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ClientSize = new System.Drawing.Size(246, 73); this.Controls.Add(this.tableLayoutPanelMain); this.DoubleBuffered = true; this.Name = "WaitWindowFrm"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Wait Please"; this.tableLayoutPanelMain.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UC_GRID_PERFORMANCE_DASHBOARD)); this.pnHeader = new System.Windows.Forms.Panel(); this.progressPanel1 = new DevExpress.XtraWaitForm.ProgressPanel(); this.lblTitile = new System.Windows.Forms.Label(); this.axfpSpread1 = new AxFPSpreadADO.AxfpSpread(); this.pnHeader.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axfpSpread1)).BeginInit(); this.SuspendLayout(); // // pnHeader // this.pnHeader.BackColor = System.Drawing.Color.DodgerBlue; this.pnHeader.Controls.Add(this.progressPanel1); this.pnHeader.Controls.Add(this.lblTitile); this.pnHeader.Dock = System.Windows.Forms.DockStyle.Top; this.pnHeader.ForeColor = System.Drawing.Color.White; this.pnHeader.Location = new System.Drawing.Point(0, 0); this.pnHeader.Name = "pnHeader"; this.pnHeader.Size = new System.Drawing.Size(628, 52); this.pnHeader.TabIndex = 1; // // progressPanel1 // this.progressPanel1.Appearance.BackColor = System.Drawing.Color.Transparent; this.progressPanel1.Appearance.Options.UseBackColor = true; this.progressPanel1.BarAnimationElementThickness = 2; this.progressPanel1.Location = new System.Drawing.Point(436, 3); this.progressPanel1.LookAndFeel.UseDefaultLookAndFeel = false; this.progressPanel1.LookAndFeel.UseWindowsXPTheme = true; this.progressPanel1.Name = "progressPanel1"; this.progressPanel1.Size = new System.Drawing.Size(189, 46); this.progressPanel1.TabIndex = 1; this.progressPanel1.Text = "progressPanel1"; // // lblTitile // this.lblTitile.Dock = System.Windows.Forms.DockStyle.Fill; this.lblTitile.Font = new System.Drawing.Font("Calibri", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitile.Location = new System.Drawing.Point(0, 0); this.lblTitile.Name = "lblTitile"; this.lblTitile.Size = new System.Drawing.Size(628, 52); this.lblTitile.TabIndex = 0; this.lblTitile.Text = "Production"; this.lblTitile.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // axfpSpread1 // this.axfpSpread1.DataSource = null; this.axfpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.axfpSpread1.Location = new System.Drawing.Point(0, 52); this.axfpSpread1.Name = "axfpSpread1"; this.axfpSpread1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axfpSpread1.OcxState"))); this.axfpSpread1.Size = new System.Drawing.Size(628, 252); this.axfpSpread1.TabIndex = 2; // // UC_GRID_PERFORMANCE_DASHBOARD // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.axfpSpread1); this.Controls.Add(this.pnHeader); this.Name = "UC_GRID_PERFORMANCE_DASHBOARD"; this.Size = new System.Drawing.Size(628, 304); this.pnHeader.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axfpSpread1)).EndInit(); this.ResumeLayout(false); }