📄 processingsplash.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace SuDokuSolution
{
public class ProcessingSplash : System.Windows.Forms.Form
{
public System.Windows.Forms.ProgressBar progressBar;
public System.Windows.Forms.Label label1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public ProcessingSplash()
{
InitializeComponent();
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ProcessingSplash));
this.progressBar = new System.Windows.Forms.ProgressBar();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// progressBar
//
this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.progressBar.BackColor = System.Drawing.SystemColors.Info;
this.progressBar.ForeColor = System.Drawing.SystemColors.WindowText;
this.progressBar.Location = new System.Drawing.Point(40, 112);
this.progressBar.Name = "progressBar";
this.progressBar.Size = new System.Drawing.Size(376, 23);
this.progressBar.Step = 1;
this.progressBar.TabIndex = 1;
//
// label1
//
this.label1.BackColor = System.Drawing.SystemColors.Control;
this.label1.Location = new System.Drawing.Point(40, 64);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(232, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Creating Puzzle ..";
//
// ProcessingSplash
//
this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
this.ClientSize = new System.Drawing.Size(448, 202);
this.ControlBox = false;
this.Controls.Add(this.label1);
this.Controls.Add(this.progressBar);
this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Location = new System.Drawing.Point(1000, 800);
this.Name = "ProcessingSplash";
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.ProcessingSplash_Load);
this.ResumeLayout(false);
}
#endregion
private void ProcessingSplash_Load(object sender, System.EventArgs e)
{
}
private void label1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
label1.Show();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -