⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainform.designer.cs

📁 中文名:Windows Forms 程序设计 英文名:Windows Forms Programming in c# 作者: Chris Sells 翻译: 荣耀 蒋贤哲 出版社:人民
💻 CS
字号:
namespace Wahoo {
  partial class MainForm {
    /// <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() {
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
      this.menuStrip = new System.Windows.Forms.MenuStrip();
      this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.newGameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.pauseResumeGameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
      this.getHighScoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.viewCachedHighScoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
      this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.keysToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
      this.aboutWahooToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
      this.statusStrip = new System.Windows.Forms.StatusStrip();
      this.statusToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
      this.scoreToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
      this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
      this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
      this.scoresService = new Wahoo.WahooScores.WahooScoresService();
      this.wahooGameControl = new WahooControlLibrary.WahooGameControl();
      this.menuStrip.SuspendLayout();
      this.statusStrip.SuspendLayout();
      this.SuspendLayout();
      // 
      // menuStrip
      // 
      this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem,
            this.helpToolStripMenuItem});
      this.menuStrip.Location = new System.Drawing.Point(0, 0);
      this.menuStrip.Name = "menuStrip";
      this.menuStrip.Size = new System.Drawing.Size(424, 24);
      this.menuStrip.TabIndex = 0;
      this.menuStrip.Text = "menuStrip1";
      // 
      // fileToolStripMenuItem
      // 
      this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newGameToolStripMenuItem,
            this.pauseResumeGameToolStripMenuItem,
            this.toolStripSeparator1,
            this.getHighScoresToolStripMenuItem,
            this.viewCachedHighScoresToolStripMenuItem,
            this.toolStripSeparator2,
            this.exitToolStripMenuItem});
      this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
      this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
      this.fileToolStripMenuItem.Text = "&File";
      // 
      // newGameToolStripMenuItem
      // 
      this.newGameToolStripMenuItem.Name = "newGameToolStripMenuItem";
      this.newGameToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F2;
      this.newGameToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
      this.newGameToolStripMenuItem.Text = "&New Game";
      this.newGameToolStripMenuItem.Click += new System.EventHandler(this.newGameToolStripMenuItem_Click);
      // 
      // pauseResumeGameToolStripMenuItem
      // 
      this.pauseResumeGameToolStripMenuItem.Name = "pauseResumeGameToolStripMenuItem";
      this.pauseResumeGameToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
      this.pauseResumeGameToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
      this.pauseResumeGameToolStripMenuItem.Text = "&Pause/Resume Game";
      this.pauseResumeGameToolStripMenuItem.Click += new System.EventHandler(this.pauseResumeGameToolStripMenuItem_Click);
      // 
      // toolStripSeparator1
      // 
      this.toolStripSeparator1.Name = "toolStripSeparator1";
      this.toolStripSeparator1.Size = new System.Drawing.Size(203, 6);
      // 
      // getHighScoresToolStripMenuItem
      // 
      this.getHighScoresToolStripMenuItem.Name = "getHighScoresToolStripMenuItem";
      this.getHighScoresToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
      this.getHighScoresToolStripMenuItem.Text = "&Get High Scores...";
      this.getHighScoresToolStripMenuItem.Click += new System.EventHandler(this.getHighScoresToolStripMenuItem_Click);
      // 
      // viewCachedHighScoresToolStripMenuItem
      // 
      this.viewCachedHighScoresToolStripMenuItem.Name = "viewCachedHighScoresToolStripMenuItem";
      this.viewCachedHighScoresToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
      this.viewCachedHighScoresToolStripMenuItem.Text = "&View Cached High Scores...";
      this.viewCachedHighScoresToolStripMenuItem.Click += new System.EventHandler(this.viewCachedHighScoresToolStripMenuItem_Click);
      // 
      // toolStripSeparator2
      // 
      this.toolStripSeparator2.Name = "toolStripSeparator2";
      this.toolStripSeparator2.Size = new System.Drawing.Size(203, 6);
      // 
      // exitToolStripMenuItem
      // 
      this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
      this.exitToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
      this.exitToolStripMenuItem.Text = "E&xit";
      this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
      // 
      // helpToolStripMenuItem
      // 
      this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.keysToolStripMenuItem,
            this.toolStripSeparator3,
            this.aboutWahooToolStripMenuItem});
      this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
      this.helpToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
      this.helpToolStripMenuItem.Text = "&Help";
      // 
      // keysToolStripMenuItem
      // 
      this.keysToolStripMenuItem.Name = "keysToolStripMenuItem";
      this.keysToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
      this.keysToolStripMenuItem.Text = "&Keys...";
      this.keysToolStripMenuItem.Click += new System.EventHandler(this.keysToolStripMenuItem_Click);
      // 
      // toolStripSeparator3
      // 
      this.toolStripSeparator3.Name = "toolStripSeparator3";
      this.toolStripSeparator3.Size = new System.Drawing.Size(141, 6);
      // 
      // aboutWahooToolStripMenuItem
      // 
      this.aboutWahooToolStripMenuItem.Name = "aboutWahooToolStripMenuItem";
      this.aboutWahooToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
      this.aboutWahooToolStripMenuItem.Text = "&About Wahoo!";
      this.aboutWahooToolStripMenuItem.Click += new System.EventHandler(this.aboutWahooToolStripMenuItem_Click);
      // 
      // statusStrip
      // 
      this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.statusToolStripStatusLabel,
            this.scoreToolStripStatusLabel});
      this.statusStrip.Location = new System.Drawing.Point(0, 272);
      this.statusStrip.Name = "statusStrip";
      this.statusStrip.Size = new System.Drawing.Size(424, 22);
      this.statusStrip.TabIndex = 1;
      this.statusStrip.Text = "statusStrip1";
      // 
      // statusToolStripStatusLabel
      // 
      this.statusToolStripStatusLabel.Name = "statusToolStripStatusLabel";
      this.statusToolStripStatusLabel.Size = new System.Drawing.Size(409, 17);
      this.statusToolStripStatusLabel.Spring = true;
      this.statusToolStripStatusLabel.Text = "Ready";
      this.statusToolStripStatusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
      // 
      // scoreToolStripStatusLabel
      // 
      this.scoreToolStripStatusLabel.Name = "scoreToolStripStatusLabel";
      this.scoreToolStripStatusLabel.Size = new System.Drawing.Size(0, 17);
      // 
      // scoresService
      // 
      this.scoresService.Credentials = null;
      this.scoresService.Url = "http://localhost/WahooScores/WahooScores.asmx";
      this.scoresService.UseDefaultCredentials = false;
      // 
      // wahooGameControl
      // 
      this.wahooGameControl.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("wahooGameControl.BackgroundImage")));
      this.wahooGameControl.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
      this.wahooGameControl.CellPadding = 2;
      this.wahooGameControl.Columns = 10;
      this.wahooGameControl.Dock = System.Windows.Forms.DockStyle.Fill;
      this.wahooGameControl.Location = new System.Drawing.Point(0, 24);
      this.wahooGameControl.Name = "wahooGameControl";
      this.wahooGameControl.Rows = 20;
      this.wahooGameControl.Size = new System.Drawing.Size(424, 248);
      this.wahooGameControl.TabIndex = 2;
      this.wahooGameControl.Text = "wahooGameControl1";
      this.wahooGameControl.TickInterval = 500;
      this.wahooGameControl.GameOver += new WahooControlLibrary.WahooGameControl.GameOverCallback(this.wahooGameControl_GameOver);
      this.wahooGameControl.LinesRemoved += new WahooControlLibrary.WahooGameControl.LinesRemovedCallback(this.wahooGameControl_LinesRemoved);
      // 
      // MainForm
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.ClientSize = new System.Drawing.Size(424, 294);
      this.Controls.Add(this.wahooGameControl);
      this.Controls.Add(this.statusStrip);
      this.Controls.Add(this.menuStrip);
      this.KeyPreview = true;
      this.MainMenuStrip = this.menuStrip;
      this.Name = "MainForm";
      this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
      this.Text = "Wahoo!";
      this.Deactivate += new System.EventHandler(this.MainForm_Deactivate);
      this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
      this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyDown);
      this.menuStrip.ResumeLayout(false);
      this.menuStrip.PerformLayout();
      this.statusStrip.ResumeLayout(false);
      this.statusStrip.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }

    #endregion

    private System.Windows.Forms.MenuStrip menuStrip;
    private System.Windows.Forms.StatusStrip statusStrip;
    private System.Windows.Forms.ToolStripStatusLabel statusToolStripStatusLabel;
    private System.Windows.Forms.ToolStripStatusLabel scoreToolStripStatusLabel;
    private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem newGameToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem pauseResumeGameToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem getHighScoresToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem viewCachedHighScoresToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
    private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
    private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
    private System.Windows.Forms.ToolStripMenuItem keysToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem aboutWahooToolStripMenuItem;
    private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
    private WahooControlLibrary.WahooGameControl wahooGameControl;
    private System.Windows.Forms.OpenFileDialog openFileDialog;
    private System.Windows.Forms.SaveFileDialog saveFileDialog;
    private Wahoo.WahooScores.WahooScoresService scoresService;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -