2024-04-19 10:00:37 +08:00
|
|
|
|
namespace CDSAE3_Lian_Lian_Kan.Forms
|
|
|
|
|
{
|
|
|
|
|
partial class Challenge_Mode
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (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()
|
|
|
|
|
{
|
|
|
|
|
AudioVisualizerPanel = new Panel();
|
|
|
|
|
game_Panel = new Panel();
|
|
|
|
|
PausePanel = new Panel();
|
|
|
|
|
返回主菜单 = new Label();
|
|
|
|
|
继续游戏 = new Label();
|
|
|
|
|
游戏暂停 = new Label();
|
|
|
|
|
timeLine = new TimeLine();
|
2024-04-22 13:48:40 +08:00
|
|
|
|
scoreLabel = new Label();
|
|
|
|
|
scoreChangeLabel = new Label();
|
2024-04-19 10:00:37 +08:00
|
|
|
|
PausePanel.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// AudioVisualizerPanel
|
|
|
|
|
//
|
|
|
|
|
AudioVisualizerPanel.Location = new Point(0, 849);
|
|
|
|
|
AudioVisualizerPanel.Name = "AudioVisualizerPanel";
|
|
|
|
|
AudioVisualizerPanel.Size = new Size(1440, 109);
|
|
|
|
|
AudioVisualizerPanel.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// game_Panel
|
|
|
|
|
//
|
|
|
|
|
game_Panel.BackColor = Color.FromArgb(50, 0, 0, 0);
|
|
|
|
|
game_Panel.Location = new Point(30, 52);
|
|
|
|
|
game_Panel.Name = "game_Panel";
|
|
|
|
|
game_Panel.Size = new Size(1380, 776);
|
|
|
|
|
game_Panel.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// PausePanel
|
|
|
|
|
//
|
2024-04-22 13:48:40 +08:00
|
|
|
|
PausePanel.BackColor = Color.Black;
|
2024-04-19 10:00:37 +08:00
|
|
|
|
PausePanel.Controls.Add(返回主菜单);
|
|
|
|
|
PausePanel.Controls.Add(继续游戏);
|
|
|
|
|
PausePanel.Controls.Add(游戏暂停);
|
|
|
|
|
PausePanel.Dock = DockStyle.Fill;
|
|
|
|
|
PausePanel.Location = new Point(0, 0);
|
|
|
|
|
PausePanel.Name = "PausePanel";
|
|
|
|
|
PausePanel.Size = new Size(1440, 960);
|
|
|
|
|
PausePanel.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// 返回主菜单
|
|
|
|
|
//
|
|
|
|
|
返回主菜单.AutoSize = true;
|
|
|
|
|
返回主菜单.BackColor = Color.FromArgb(0, 0, 0, 0);
|
|
|
|
|
返回主菜单.Font = new Font("Microsoft YaHei UI", 20F);
|
|
|
|
|
返回主菜单.ForeColor = Color.White;
|
|
|
|
|
返回主菜单.Location = new Point(151, 342);
|
|
|
|
|
返回主菜单.Name = "返回主菜单";
|
|
|
|
|
返回主菜单.Size = new Size(222, 52);
|
|
|
|
|
返回主菜单.TabIndex = 5;
|
|
|
|
|
返回主菜单.Text = "返回主菜单";
|
|
|
|
|
返回主菜单.Visible = false;
|
|
|
|
|
返回主菜单.Click += 退出_Click;
|
|
|
|
|
返回主菜单.MouseEnter += CanClickLabel_MouseEnter;
|
|
|
|
|
返回主菜单.MouseLeave += CanClickLabel_MouseLeave;
|
|
|
|
|
//
|
|
|
|
|
// 继续游戏
|
|
|
|
|
//
|
|
|
|
|
继续游戏.AutoSize = true;
|
|
|
|
|
继续游戏.BackColor = Color.FromArgb(0, 0, 0, 0);
|
|
|
|
|
继续游戏.Font = new Font("Microsoft YaHei UI", 20F);
|
|
|
|
|
继续游戏.ForeColor = Color.White;
|
|
|
|
|
继续游戏.Location = new Point(151, 253);
|
|
|
|
|
继续游戏.Name = "继续游戏";
|
|
|
|
|
继续游戏.Size = new Size(182, 52);
|
|
|
|
|
继续游戏.TabIndex = 4;
|
|
|
|
|
继续游戏.Text = "继续游戏";
|
|
|
|
|
继续游戏.Visible = false;
|
|
|
|
|
继续游戏.Click += 继续游戏_Click;
|
|
|
|
|
继续游戏.MouseEnter += CanClickLabel_MouseEnter;
|
|
|
|
|
继续游戏.MouseLeave += CanClickLabel_MouseLeave;
|
|
|
|
|
//
|
|
|
|
|
// 游戏暂停
|
|
|
|
|
//
|
|
|
|
|
游戏暂停.AutoSize = true;
|
|
|
|
|
游戏暂停.BackColor = Color.FromArgb(0, 0, 0, 0);
|
|
|
|
|
游戏暂停.Font = new Font("Microsoft YaHei UI", 25F);
|
|
|
|
|
游戏暂停.ForeColor = Color.FromArgb(192, 192, 255);
|
|
|
|
|
游戏暂停.Location = new Point(127, 127);
|
|
|
|
|
游戏暂停.Name = "游戏暂停";
|
|
|
|
|
游戏暂停.Size = new Size(228, 65);
|
|
|
|
|
游戏暂停.TabIndex = 3;
|
|
|
|
|
游戏暂停.Text = "游戏暂停";
|
|
|
|
|
游戏暂停.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// timeLine
|
|
|
|
|
//
|
|
|
|
|
timeLine.BackColor = Color.FromArgb(0, 0, 0, 0);
|
|
|
|
|
timeLine.Location = new Point(0, 0);
|
|
|
|
|
timeLine.Name = "timeLine";
|
|
|
|
|
timeLine.Size = new Size(1440, 10);
|
|
|
|
|
timeLine.TabIndex = 6;
|
|
|
|
|
//
|
2024-04-22 13:48:40 +08:00
|
|
|
|
// scoreLabel
|
|
|
|
|
//
|
|
|
|
|
scoreLabel.AutoSize = true;
|
|
|
|
|
scoreLabel.BackColor = Color.FromArgb(0, 0, 0, 0);
|
|
|
|
|
scoreLabel.Font = new Font("Microsoft YaHei UI", 20F);
|
|
|
|
|
scoreLabel.ForeColor = Color.White;
|
|
|
|
|
scoreLabel.Location = new Point(1106, 23);
|
|
|
|
|
scoreLabel.Name = "scoreLabel";
|
|
|
|
|
scoreLabel.Size = new Size(160, 52);
|
|
|
|
|
scoreLabel.TabIndex = 0;
|
|
|
|
|
scoreLabel.Text = "000000";
|
|
|
|
|
//
|
|
|
|
|
// scoreChangeLabel
|
|
|
|
|
//
|
|
|
|
|
scoreChangeLabel.AutoSize = true;
|
|
|
|
|
scoreChangeLabel.BackColor = Color.FromArgb(0, 0, 0, 0);
|
|
|
|
|
scoreChangeLabel.Font = new Font("Microsoft YaHei UI", 20F);
|
|
|
|
|
scoreChangeLabel.ForeColor = Color.White;
|
|
|
|
|
scoreChangeLabel.Location = new Point(1287, 23);
|
|
|
|
|
scoreChangeLabel.Name = "scoreChangeLabel";
|
|
|
|
|
scoreChangeLabel.Size = new Size(144, 52);
|
|
|
|
|
scoreChangeLabel.TabIndex = 7;
|
|
|
|
|
scoreChangeLabel.Text = "+1000";
|
|
|
|
|
scoreChangeLabel.Visible = false;
|
|
|
|
|
//
|
2024-04-19 10:00:37 +08:00
|
|
|
|
// Challenge_Mode
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.Black;
|
|
|
|
|
ClientSize = new Size(1440, 960);
|
2024-04-22 13:48:40 +08:00
|
|
|
|
Controls.Add(scoreChangeLabel);
|
|
|
|
|
Controls.Add(scoreLabel);
|
2024-04-19 10:00:37 +08:00
|
|
|
|
Controls.Add(timeLine);
|
|
|
|
|
Controls.Add(game_Panel);
|
|
|
|
|
Controls.Add(AudioVisualizerPanel);
|
|
|
|
|
Controls.Add(PausePanel);
|
|
|
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
|
|
|
KeyPreview = true;
|
|
|
|
|
Name = "Challenge_Mode";
|
|
|
|
|
Text = "Challenge_Mode";
|
|
|
|
|
PausePanel.ResumeLayout(false);
|
|
|
|
|
PausePanel.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
2024-04-22 13:48:40 +08:00
|
|
|
|
PerformLayout();
|
2024-04-19 10:00:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Panel AudioVisualizerPanel;
|
|
|
|
|
private Panel game_Panel;
|
|
|
|
|
private Panel PausePanel;
|
|
|
|
|
private Label 游戏暂停;
|
|
|
|
|
private Label 返回主菜单;
|
|
|
|
|
private Label 继续游戏;
|
|
|
|
|
private TimeLine timeLine;
|
2024-04-22 13:48:40 +08:00
|
|
|
|
private Label scoreLabel;
|
|
|
|
|
private Label scoreChangeLabel;
|
2024-04-19 10:00:37 +08:00
|
|
|
|
}
|
|
|
|
|
}
|