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

📄 subjectui.designer.cs

📁 实现课程表编排和打印功能,通过在候选列表中选择课程和教师(没有被排课且该教师教授所选择的课程)来完成排课,代码约8000行
💻 CS
字号:
namespace 课程安排
{
    partial class SubjectUI
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SubjectUI));
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.保存到数据库ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.添加学科ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.修改科目名称ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.删除选择科目ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.删除所有科目ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.panel1 = new System.Windows.Forms.Panel();
            this.dragInfoControlTeacher = new 课程安排.DragInfoControl();
            this.panel2 = new System.Windows.Forms.Panel();
            this.lblSubjectInfo = new System.Windows.Forms.Label();
            this.menuStrip1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.保存到数据库ToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(578, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // 保存到数据库ToolStripMenuItem
            // 
            this.保存到数据库ToolStripMenuItem.Name = "保存到数据库ToolStripMenuItem";
            this.保存到数据库ToolStripMenuItem.Size = new System.Drawing.Size(137, 20);
            this.保存到数据库ToolStripMenuItem.Text = "保存科目信息到数据库";
            this.保存到数据库ToolStripMenuItem.Click += new System.EventHandler(this.保存到数据库ToolStripMenuItem_Click);
            // 
            // listBox1
            // 
            this.listBox1.ContextMenuStrip = this.contextMenuStrip1;
            this.listBox1.Dock = System.Windows.Forms.DockStyle.Left;
            this.listBox1.FormattingEnabled = true;
            this.listBox1.ItemHeight = 12;
            this.listBox1.Location = new System.Drawing.Point(0, 24);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(178, 448);
            this.listBox1.TabIndex = 1;
            this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.添加学科ToolStripMenuItem,
            this.修改科目名称ToolStripMenuItem,
            this.删除选择科目ToolStripMenuItem,
            this.删除所有科目ToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(143, 92);
            // 
            // 添加学科ToolStripMenuItem
            // 
            this.添加学科ToolStripMenuItem.Name = "添加学科ToolStripMenuItem";
            this.添加学科ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
            this.添加学科ToolStripMenuItem.Text = "添加科目";
            this.添加学科ToolStripMenuItem.Click += new System.EventHandler(this.添加学科ToolStripMenuItem_Click);
            // 
            // 修改科目名称ToolStripMenuItem
            // 
            this.修改科目名称ToolStripMenuItem.Name = "修改科目名称ToolStripMenuItem";
            this.修改科目名称ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
            this.修改科目名称ToolStripMenuItem.Text = "修改科目名称";
            this.修改科目名称ToolStripMenuItem.Click += new System.EventHandler(this.修改科目名称ToolStripMenuItem_Click);
            // 
            // 删除选择科目ToolStripMenuItem
            // 
            this.删除选择科目ToolStripMenuItem.Name = "删除选择科目ToolStripMenuItem";
            this.删除选择科目ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
            this.删除选择科目ToolStripMenuItem.Text = "删除选择科目";
            this.删除选择科目ToolStripMenuItem.Click += new System.EventHandler(this.删除选择科目ToolStripMenuItem_Click);
            // 
            // 删除所有科目ToolStripMenuItem
            // 
            this.删除所有科目ToolStripMenuItem.Name = "删除所有科目ToolStripMenuItem";
            this.删除所有科目ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
            this.删除所有科目ToolStripMenuItem.Text = "删除所有科目";
            this.删除所有科目ToolStripMenuItem.Click += new System.EventHandler(this.删除所有科目ToolStripMenuItem_Click);
            // 
            // splitter1
            // 
            this.splitter1.Location = new System.Drawing.Point(178, 24);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 455);
            this.splitter1.TabIndex = 2;
            this.splitter1.TabStop = false;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.dragInfoControlTeacher);
            this.panel1.Controls.Add(this.panel2);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(181, 24);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(397, 455);
            this.panel1.TabIndex = 3;
            // 
            // dragInfoControlTeacher
            // 
            this.dragInfoControlTeacher.DestinationLabel = "不教授该科目的教师";
            this.dragInfoControlTeacher.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dragInfoControlTeacher.HasModify = false;
            this.dragInfoControlTeacher.Location = new System.Drawing.Point(0, 44);
            this.dragInfoControlTeacher.Name = "dragInfoControlTeacher";
            this.dragInfoControlTeacher.Size = new System.Drawing.Size(397, 411);
            this.dragInfoControlTeacher.SourceLabel = "教授该科目的教师";
            this.dragInfoControlTeacher.TabIndex = 2;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.lblSubjectInfo);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(397, 44);
            this.panel2.TabIndex = 0;
            // 
            // lblSubjectInfo
            // 
            this.lblSubjectInfo.AutoSize = true;
            this.lblSubjectInfo.Location = new System.Drawing.Point(24, 15);
            this.lblSubjectInfo.Name = "lblSubjectInfo";
            this.lblSubjectInfo.Size = new System.Drawing.Size(41, 12);
            this.lblSubjectInfo.TabIndex = 0;
            this.lblSubjectInfo.Text = "";
            // 
            // SubjectUI
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(578, 479);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.splitter1);
            this.Controls.Add(this.listBox1);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "SubjectUI";
            this.Text = "学科信息";
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.contextMenuStrip1.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem 保存到数据库ToolStripMenuItem;
        private System.Windows.Forms.ListBox listBox1;
        private System.Windows.Forms.Splitter splitter1;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Panel panel2;
        private System.Windows.Forms.Label lblSubjectInfo;
        private DragInfoControl dragInfoControlTeacher;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
        private System.Windows.Forms.ToolStripMenuItem 添加学科ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 修改科目名称ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 删除选择科目ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 删除所有科目ToolStripMenuItem;
    }
}

⌨️ 快捷键说明

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