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

📄 centeredform.designer.cs

📁 window mobile 中非全屏显示对话框
💻 CS
字号:
namespace NonFullscreenDemo
{
  partial class CenteredForm
  {
    /// <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()
    {
      this.btnExpand = new System.Windows.Forms.Button();
      this.label1 = new System.Windows.Forms.Label();
      this.listBox1 = new System.Windows.Forms.ListBox();
      this.SuspendLayout();
      // 
      // btnExpand
      // 
      this.btnExpand.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                  | System.Windows.Forms.AnchorStyles.Right)));
      this.btnExpand.Location = new System.Drawing.Point(3, 30);
      this.btnExpand.Name = "btnExpand";
      this.btnExpand.Size = new System.Drawing.Size(114, 20);
      this.btnExpand.TabIndex = 0;
      this.btnExpand.Text = "Expand";
      this.btnExpand.Click += new System.EventHandler(this.btnExpand_Click);
      // 
      // label1
      // 
      this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                  | System.Windows.Forms.AnchorStyles.Right)));
      this.label1.Location = new System.Drawing.Point(4, 4);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(112, 23);
      this.label1.Text = "My shopping list";
      this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
      // 
      // listBox1
      // 
      this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                  | System.Windows.Forms.AnchorStyles.Left)
                  | System.Windows.Forms.AnchorStyles.Right)));
      this.listBox1.Items.Add("Pet food");
      this.listBox1.Items.Add("Chicken");
      this.listBox1.Items.Add("Fish");
      this.listBox1.Items.Add("Orange Juice");
      this.listBox1.Items.Add("Carrots");
      this.listBox1.Items.Add("Ham");
      this.listBox1.Items.Add("Mince");
      this.listBox1.Items.Add("Potatos");
      this.listBox1.Items.Add("Eggs");
      this.listBox1.Location = new System.Drawing.Point(3, 56);
      this.listBox1.Name = "listBox1";
      this.listBox1.Size = new System.Drawing.Size(114, 86);
      this.listBox1.TabIndex = 2;
      // 
      // CenteredDialog
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
      this.AutoScroll = true;
      this.CenterFormOnScreen = true;
      this.ClientSize = new System.Drawing.Size(120, 146);
      this.Controls.Add(this.listBox1);
      this.Controls.Add(this.label1);
      this.Controls.Add(this.btnExpand);
      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
      this.Name = "CenteredDialog";
      this.Text = "List";
      this.ResumeLayout(false);

    }

    #endregion

    private System.Windows.Forms.Button btnExpand;
    private System.Windows.Forms.Label label1;
    private System.Windows.Forms.ListBox listBox1;
  }
}

⌨️ 快捷键说明

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