qq_43412960 2018-12-13 00:34 采纳率: 76.5%
浏览 772
已采纳

关于一个C#的窗口的状态栏 问题

图片说明

图片说明

状态栏我设置两个,结果就显示出一个,为什么呢?以下是design代码
namespace 窗体的综合
{
partial class FormMain
{
///
/// Required designer variable.
///
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(FormMain));
        this.menuStrip1 = new System.Windows.Forms.MenuStrip();
        this.系统ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.学生ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.帮助ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.toolStrip1 = new System.Windows.Forms.ToolStrip();
        this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
        this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
        this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
        this.statusStrip1 = new System.Windows.Forms.StatusStrip();
        this.st1 = new System.Windows.Forms.ToolStripStatusLabel();
        this.st2 = new System.Windows.Forms.ToolStripStatusLabel();
        this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
        this.splitContainer1 = new System.Windows.Forms.SplitContainer();
        this.treeView1 = new System.Windows.Forms.TreeView();
        this.splitContainer2 = new System.Windows.Forms.SplitContainer();
        this.listView1 = new System.Windows.Forms.ListView();
        this.listBox1 = new System.Windows.Forms.ListBox();
        this.menuStrip1.SuspendLayout();
        this.toolStrip1.SuspendLayout();
        this.statusStrip1.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
        this.splitContainer1.Panel1.SuspendLayout();
        this.splitContainer1.Panel2.SuspendLayout();
        this.splitContainer1.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
        this.splitContainer2.Panel1.SuspendLayout();
        this.splitContainer2.Panel2.SuspendLayout();
        this.splitContainer2.SuspendLayout();
        this.SuspendLayout();
        // 
        // menuStrip1
        // 
        this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
        this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.系统ToolStripMenuItem,
        this.学生ToolStripMenuItem,
        this.帮助ToolStripMenuItem});
        this.menuStrip1.Location = new System.Drawing.Point(0, 0);
        this.menuStrip1.Name = "menuStrip1";
        this.menuStrip1.Size = new System.Drawing.Size(688, 28);
        this.menuStrip1.TabIndex = 0;
        this.menuStrip1.Text = "menuStrip1";
        // 
        // 系统ToolStripMenuItem
        // 
        this.系统ToolStripMenuItem.Name = "系统ToolStripMenuItem";
        this.系统ToolStripMenuItem.Size = new System.Drawing.Size(51, 24);
        this.系统ToolStripMenuItem.Text = "系统";
        // 
        // 学生ToolStripMenuItem
        // 
        this.学生ToolStripMenuItem.Name = "学生ToolStripMenuItem";
        this.学生ToolStripMenuItem.Size = new System.Drawing.Size(51, 24);
        this.学生ToolStripMenuItem.Text = "学生";
        // 
        // 帮助ToolStripMenuItem
        // 
        this.帮助ToolStripMenuItem.Name = "帮助ToolStripMenuItem";
        this.帮助ToolStripMenuItem.Size = new System.Drawing.Size(51, 24);
        this.帮助ToolStripMenuItem.Text = "帮助";
        // 
        // toolStrip1
        // 
        this.toolStrip1.AutoSize = false;
        this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
        this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.toolStripButton2,
        this.toolStripButton3,
        this.toolStripButton1});
        this.toolStrip1.Location = new System.Drawing.Point(0, 28);
        this.toolStrip1.Name = "toolStrip1";
        this.toolStrip1.Size = new System.Drawing.Size(688, 103);
        this.toolStrip1.TabIndex = 1;
        this.toolStrip1.Text = "toolStrip1";
        // 
        // toolStripButton2
        // 
        this.toolStripButton2.AutoSize = false;
        this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
        this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
        this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
        this.toolStripButton2.Name = "toolStripButton2";
        this.toolStripButton2.Size = new System.Drawing.Size(100, 100);
        this.toolStripButton2.Text = "toolStripButton2";
        // 
        // toolStripButton3
        // 
        this.toolStripButton3.AutoSize = false;
        this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
        this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
        this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
        this.toolStripButton3.Name = "toolStripButton3";
        this.toolStripButton3.Size = new System.Drawing.Size(100, 100);
        this.toolStripButton3.Text = "toolStripButton3";
        // 
        // toolStripButton1
        // 
        this.toolStripButton1.AutoSize = false;
        this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
        this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
        this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
        this.toolStripButton1.Name = "toolStripButton1";
        this.toolStripButton1.Size = new System.Drawing.Size(100, 100);
        this.toolStripButton1.Text = "toolStripButton1";
        // 
        // statusStrip1
        // 
        this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
        this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.st1,
        this.st2,
        this.toolStripStatusLabel1});
        this.statusStrip1.Location = new System.Drawing.Point(0, 512);
        this.statusStrip1.Name = "statusStrip1";
        this.statusStrip1.Size = new System.Drawing.Size(688, 29);
        this.statusStrip1.TabIndex = 2;
        this.statusStrip1.Text = "statusStrip1";
        // 
        // st1
        // 
        this.st1.AutoToolTip = true;
        this.st1.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) 
        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) 
        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
        this.st1.BorderStyle = System.Windows.Forms.Border3DStyle.Bump;
        this.st1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
        this.st1.ImageAlign = System.Drawing.ContentAlignment.BottomLeft;
        this.st1.Name = "st1";
        this.st1.Size = new System.Drawing.Size(317, 24);
        this.st1.Spring = true;
        this.st1.Text = "  ";
        this.st1.Click += new System.EventHandler(this.toolStripStatusLabel1_Click);
        // 
        // st2
        // 
        this.st2.AutoToolTip = true;
        this.st2.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) 
        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) 
        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
        this.st2.BorderStyle = System.Windows.Forms.Border3DStyle.Adjust;
        this.st2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
        this.st2.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
        this.st2.Name = "st2";
        this.st2.Size = new System.Drawing.Size(317, 24);
        this.st2.Spring = true;
        this.st2.Click += new System.EventHandler(this.st2_Click);
        // 
        // toolStripStatusLabel1
        // 
        this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
        this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 24);
        // 
        // splitContainer1
        // 
        this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.splitContainer1.Location = new System.Drawing.Point(0, 131);
        this.splitContainer1.Name = "splitContainer1";
        // 
        // splitContainer1.Panel1
        // 
        this.splitContainer1.Panel1.Controls.Add(this.treeView1);
        // 
        // splitContainer1.Panel2
        // 
        this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
        this.splitContainer1.Size = new System.Drawing.Size(688, 381);
        this.splitContainer1.SplitterDistance = 229;
        this.splitContainer1.TabIndex = 3;
        // 
        // treeView1
        // 
        this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.treeView1.Location = new System.Drawing.Point(0, 0);
        this.treeView1.Name = "treeView1";
        this.treeView1.Size = new System.Drawing.Size(229, 381);
        this.treeView1.TabIndex = 0;
        // 
        // splitContainer2
        // 
        this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
        this.splitContainer2.Location = new System.Drawing.Point(0, 0);
        this.splitContainer2.Name = "splitContainer2";
        this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
        // 
        // splitContainer2.Panel1
        // 
        this.splitContainer2.Panel1.Controls.Add(this.listView1);
        // 
        // splitContainer2.Panel2
        // 
        this.splitContainer2.Panel2.Controls.Add(this.listBox1);
        this.splitContainer2.Panel2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
        this.splitContainer2.Size = new System.Drawing.Size(455, 381);
        this.splitContainer2.SplitterDistance = 37;
        this.splitContainer2.TabIndex = 0;
        // 
        // listView1
        // 
        this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.listView1.Location = new System.Drawing.Point(0, 0);
        this.listView1.Name = "listView1";
        this.listView1.Size = new System.Drawing.Size(455, 37);
        this.listView1.TabIndex = 0;
        this.listView1.UseCompatibleStateImageBehavior = false;
        // 
        // listBox1
        // 
        this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.listBox1.FormattingEnabled = true;
        this.listBox1.ItemHeight = 20;
        this.listBox1.Location = new System.Drawing.Point(0, 0);
        this.listBox1.Name = "listBox1";
        this.listBox1.Size = new System.Drawing.Size(455, 340);
        this.listBox1.TabIndex = 0;
        // 
        // FormMain
        // 
        this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
        this.ClientSize = new System.Drawing.Size(688, 541);
        this.Controls.Add(this.splitContainer1);
        this.Controls.Add(this.statusStrip1);
        this.Controls.Add(this.toolStrip1);
        this.Controls.Add(this.menuStrip1);
        this.MainMenuStrip = this.menuStrip1;
        this.Name = "FormMain";
        this.Text = "FormMain";
        this.Load += new System.EventHandler(this.FormMain_Load);
        this.menuStrip1.ResumeLayout(false);
        this.menuStrip1.PerformLayout();
        this.toolStrip1.ResumeLayout(false);
        this.toolStrip1.PerformLayout();
        this.statusStrip1.ResumeLayout(false);
        this.statusStrip1.PerformLayout();
        this.splitContainer1.Panel1.ResumeLayout(false);
        this.splitContainer1.Panel2.ResumeLayout(false);
        ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
        this.splitContainer1.ResumeLayout(false);
        this.splitContainer2.Panel1.ResumeLayout(false);
        this.splitContainer2.Panel2.ResumeLayout(false);
        ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
        this.splitContainer2.ResumeLayout(false);
        this.ResumeLayout(false);
        this.PerformLayout();

    }

    #endregion

    private System.Windows.Forms.MenuStrip menuStrip1;
    private System.Windows.Forms.ToolStripMenuItem 系统ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 学生ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 帮助ToolStripMenuItem;
    private System.Windows.Forms.ToolStrip toolStrip1;
    private System.Windows.Forms.ToolStripButton toolStripButton2;
    private System.Windows.Forms.StatusStrip statusStrip1;
    private System.Windows.Forms.ToolStripStatusLabel st1;
    private System.Windows.Forms.ToolStripStatusLabel st2;
    private System.Windows.Forms.SplitContainer splitContainer1;
    private System.Windows.Forms.SplitContainer splitContainer2;
    private System.Windows.Forms.ToolStripButton toolStripButton3;
    private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
    private System.Windows.Forms.TreeView treeView1;
    private System.Windows.Forms.ListView listView1;
    private System.Windows.Forms.ListBox listBox1;
    private System.Windows.Forms.ToolStripButton toolStripButton1;
}

}

  • 写回答

3条回答 默认 最新

  • threenewbee 2018-12-13 01:57
    关注

    要把你的窗体的代码窗体.cs以及窗体.design.cs贴出来看下

    图片说明

    参考代码:

    namespace Q716854
    {
        partial class Form1
        {
            /// <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.menuStrip1 = new System.Windows.Forms.MenuStrip();
                this.系统ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
                this.学生ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
                this.帮助ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
                this.toolStrip1 = new System.Windows.Forms.ToolStrip();
                this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
                this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
                this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
                this.statusStrip1 = new System.Windows.Forms.StatusStrip();
                this.st1 = new System.Windows.Forms.ToolStripStatusLabel();
                this.st2 = new System.Windows.Forms.ToolStripStatusLabel();
                this.splitContainer1 = new System.Windows.Forms.SplitContainer();
                this.treeView1 = new System.Windows.Forms.TreeView();
                this.splitContainer2 = new System.Windows.Forms.SplitContainer();
                this.listView1 = new System.Windows.Forms.ListView();
                this.listBox1 = new System.Windows.Forms.ListBox();
                this.menuStrip1.SuspendLayout();
                this.toolStrip1.SuspendLayout();
                this.statusStrip1.SuspendLayout();
                ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
                this.splitContainer1.Panel1.SuspendLayout();
                this.splitContainer1.Panel2.SuspendLayout();
                this.splitContainer1.SuspendLayout();
                ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
                this.splitContainer2.Panel1.SuspendLayout();
                this.splitContainer2.Panel2.SuspendLayout();
                this.splitContainer2.SuspendLayout();
                this.SuspendLayout();
                // 
                // menuStrip1
                // 
                this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
                this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.系统ToolStripMenuItem,
                this.学生ToolStripMenuItem,
                this.帮助ToolStripMenuItem});
                this.menuStrip1.Location = new System.Drawing.Point(0, 0);
                this.menuStrip1.Name = "menuStrip1";
                this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
                this.menuStrip1.Size = new System.Drawing.Size(516, 24);
                this.menuStrip1.TabIndex = 0;
                this.menuStrip1.Text = "menuStrip1";
                // 
                // 系统ToolStripMenuItem
                // 
                this.系统ToolStripMenuItem.Name = "系统ToolStripMenuItem";
                this.系统ToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
                this.系统ToolStripMenuItem.Text = "系统";
                // 
                // 学生ToolStripMenuItem
                // 
                this.学生ToolStripMenuItem.Name = "学生ToolStripMenuItem";
                this.学生ToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
                this.学生ToolStripMenuItem.Text = "学生";
                // 
                // 帮助ToolStripMenuItem
                // 
                this.帮助ToolStripMenuItem.Name = "帮助ToolStripMenuItem";
                this.帮助ToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
                this.帮助ToolStripMenuItem.Text = "帮助";
                // 
                // toolStrip1
                // 
                this.toolStrip1.AutoSize = false;
                this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
                this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripButton2,
                this.toolStripButton3,
                this.toolStripButton1});
                this.toolStrip1.Location = new System.Drawing.Point(0, 24);
                this.toolStrip1.Name = "toolStrip1";
                this.toolStrip1.Size = new System.Drawing.Size(516, 89);
                this.toolStrip1.TabIndex = 1;
                this.toolStrip1.Text = "toolStrip1";
                // 
                // toolStripButton2
                // 
                this.toolStripButton2.AutoSize = false;
                this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
                this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
                this.toolStripButton2.Name = "toolStripButton2";
                this.toolStripButton2.Size = new System.Drawing.Size(100, 100);
                this.toolStripButton2.Text = "toolStripButton2";
                // 
                // toolStripButton3
                // 
                this.toolStripButton3.AutoSize = false;
                this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
                this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
                this.toolStripButton3.Name = "toolStripButton3";
                this.toolStripButton3.Size = new System.Drawing.Size(100, 100);
                this.toolStripButton3.Text = "toolStripButton3";
                // 
                // toolStripButton1
                // 
                this.toolStripButton1.AutoSize = false;
                this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
                this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
                this.toolStripButton1.Name = "toolStripButton1";
                this.toolStripButton1.Size = new System.Drawing.Size(100, 100);
                this.toolStripButton1.Text = "toolStripButton1";
                // 
                // statusStrip1
                // 
                this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.st1,
                this.st2});
                this.statusStrip1.Location = new System.Drawing.Point(0, 447);
                this.statusStrip1.Name = "statusStrip1";
                this.statusStrip1.Size = new System.Drawing.Size(516, 22);
                this.statusStrip1.TabIndex = 2;
                this.statusStrip1.Text = "statusStrip1";
                // 
                // st1
                // 
                this.st1.AutoSize = false;
                this.st1.Name = "st1";
                this.st1.Size = new System.Drawing.Size(200, 17);
                this.st1.Text = "st1";
                // 
                // st2
                // 
                this.st2.AutoSize = false;
                this.st2.Name = "st2";
                this.st2.Size = new System.Drawing.Size(301, 17);
                this.st2.Spring = true;
                this.st2.Text = "st2";
                // 
                // splitContainer1
                // 
                this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
                this.splitContainer1.Location = new System.Drawing.Point(0, 113);
                this.splitContainer1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
                this.splitContainer1.Name = "splitContainer1";
                // 
                // splitContainer1.Panel1
                // 
                this.splitContainer1.Panel1.Controls.Add(this.treeView1);
                // 
                // splitContainer1.Panel2
                // 
                this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
                this.splitContainer1.Size = new System.Drawing.Size(516, 334);
                this.splitContainer1.SplitterDistance = 171;
                this.splitContainer1.SplitterWidth = 3;
                this.splitContainer1.TabIndex = 4;
                // 
                // treeView1
                // 
                this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
                this.treeView1.Location = new System.Drawing.Point(0, 0);
                this.treeView1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
                this.treeView1.Name = "treeView1";
                this.treeView1.Size = new System.Drawing.Size(171, 334);
                this.treeView1.TabIndex = 0;
                // 
                // splitContainer2
                // 
                this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
                this.splitContainer2.Location = new System.Drawing.Point(0, 0);
                this.splitContainer2.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
                this.splitContainer2.Name = "splitContainer2";
                this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
                // 
                // splitContainer2.Panel1
                // 
                this.splitContainer2.Panel1.Controls.Add(this.listView1);
                // 
                // splitContainer2.Panel2
                // 
                this.splitContainer2.Panel2.Controls.Add(this.listBox1);
                this.splitContainer2.Panel2.Font = new System.Drawing.Font("SimSun", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
                this.splitContainer2.Size = new System.Drawing.Size(342, 334);
                this.splitContainer2.SplitterDistance = 32;
                this.splitContainer2.SplitterWidth = 3;
                this.splitContainer2.TabIndex = 0;
                // 
                // listView1
                // 
                this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
                this.listView1.Location = new System.Drawing.Point(0, 0);
                this.listView1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
                this.listView1.Name = "listView1";
                this.listView1.Size = new System.Drawing.Size(342, 32);
                this.listView1.TabIndex = 0;
                this.listView1.UseCompatibleStateImageBehavior = false;
                // 
                // listBox1
                // 
                this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
                this.listBox1.FormattingEnabled = true;
                this.listBox1.ItemHeight = 16;
                this.listBox1.Location = new System.Drawing.Point(0, 0);
                this.listBox1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
                this.listBox1.Name = "listBox1";
                this.listBox1.Size = new System.Drawing.Size(342, 299);
                this.listBox1.TabIndex = 0;
                // 
                // Form1
                // 
                this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
                this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
                this.ClientSize = new System.Drawing.Size(516, 469);
                this.Controls.Add(this.splitContainer1);
                this.Controls.Add(this.statusStrip1);
                this.Controls.Add(this.toolStrip1);
                this.Controls.Add(this.menuStrip1);
                this.MainMenuStrip = this.menuStrip1;
                this.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
                this.Name = "Form1";
                this.Text = "FormMain";
                this.menuStrip1.ResumeLayout(false);
                this.menuStrip1.PerformLayout();
                this.toolStrip1.ResumeLayout(false);
                this.toolStrip1.PerformLayout();
                this.statusStrip1.ResumeLayout(false);
                this.statusStrip1.PerformLayout();
                this.splitContainer1.Panel1.ResumeLayout(false);
                this.splitContainer1.Panel2.ResumeLayout(false);
                ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
                this.splitContainer1.ResumeLayout(false);
                this.splitContainer2.Panel1.ResumeLayout(false);
                this.splitContainer2.Panel2.ResumeLayout(false);
                ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
                this.splitContainer2.ResumeLayout(false);
                this.ResumeLayout(false);
                this.PerformLayout();
    
            }
    
            #endregion
    
            private System.Windows.Forms.MenuStrip menuStrip1;
            private System.Windows.Forms.ToolStripMenuItem 系统ToolStripMenuItem;
            private System.Windows.Forms.ToolStripMenuItem 学生ToolStripMenuItem;
            private System.Windows.Forms.ToolStripMenuItem 帮助ToolStripMenuItem;
            private System.Windows.Forms.ToolStrip toolStrip1;
            private System.Windows.Forms.ToolStripButton toolStripButton2;
            private System.Windows.Forms.ToolStripButton toolStripButton3;
            private System.Windows.Forms.ToolStripButton toolStripButton1;
            private System.Windows.Forms.StatusStrip statusStrip1;
            private System.Windows.Forms.ToolStripStatusLabel st1;
            private System.Windows.Forms.ToolStripStatusLabel st2;
            private System.Windows.Forms.SplitContainer splitContainer1;
            private System.Windows.Forms.TreeView treeView1;
            private System.Windows.Forms.SplitContainer splitContainer2;
            private System.Windows.Forms.ListView listView1;
            private System.Windows.Forms.ListBox listBox1;
        }
    }
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 PointNet++的onnx模型只能使用一次
  • ¥20 西南科技大学数字信号处理
  • ¥15 有两个非常“自以为是”烦人的问题急期待大家解决!
  • ¥30 STM32 INMP441无法读取数据
  • ¥15 R语言绘制密度图,一个密度曲线内fill不同颜色如何实现
  • ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包
  • ¥15 用visualstudio2022创建vue项目后无法启动
  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧,别用大模型回答,大模型的答案没啥用
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。