初始Windows程序 示例二

来源:互联网 发布:如何提高淘宝试用 编辑:程序博客网 时间:2024/06/05 04:20
 private void InitializeComponent()        {            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));            this.SuspendLayout();            //             // Form1            //             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));            this.ClientSize = new System.Drawing.Size(506, 372);            this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));            this.MaximizeBox = false;            this.Name = "FrmLogin";            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;            this.Text = "登录";            this.ResumeLayout(false);        }

0 0