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

📄 teacherui.designer.cs

📁 实现课程表编排和打印功能,通过在候选列表中选择课程和教师(没有被排课且该教师教授所选择的课程)来完成排课,代码约8000行
💻 CS
字号:
namespace 课程安排
{
    partial class TeacherUI
    {
        /// <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(TeacherUI));
            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.groupBox1 = new System.Windows.Forms.GroupBox();
            this.dragInfoControlSubject = new 课程安排.DragInfoControl();
            this.dragInfoControlGrade = new 课程安排.DragInfoControl();
            this.panel1 = new System.Windows.Forms.Panel();
            this.lblTeacherName = new System.Windows.Forms.Label();
            this.menuStrip1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.panel1.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(775, 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(252, 520);
            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(252, 24);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 525);
            this.splitter1.TabIndex = 2;
            this.splitter1.TabStop = false;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.dragInfoControlSubject);
            this.groupBox1.Controls.Add(this.dragInfoControlGrade);
            this.groupBox1.Controls.Add(this.panel1);
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox1.Location = new System.Drawing.Point(255, 24);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(520, 525);
            this.groupBox1.TabIndex = 3;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "教师相关信息";
            // 
            // dragInfoControlSubject
            // 
            this.dragInfoControlSubject.Destination = ((System.Collections.Generic.List<课程安排.DragInfoItem>)(resources.GetObject("dragInfoControlSubject.Destination")));
            this.dragInfoControlSubject.DestinationLabel = "没有教授的课程";
            this.dragInfoControlSubject.DestinationStrings = ((System.Collections.Generic.List<string>)(resources.GetObject("dragInfoControlSubject.DestinationStrings")));
            this.dragInfoControlSubject.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dragInfoControlSubject.HasModify = false;
            this.dragInfoControlSubject.Location = new System.Drawing.Point(3, 272);
            this.dragInfoControlSubject.Name = "dragInfoControlSubject";
            this.dragInfoControlSubject.Size = new System.Drawing.Size(514, 250);
            this.dragInfoControlSubject.Source = ((System.Collections.Generic.List<课程安排.DragInfoItem>)(resources.GetObject("dragInfoControlSubject.Source")));
            this.dragInfoControlSubject.SourceLabel = "所教授的科目";
            this.dragInfoControlSubject.SourceStrings = ((System.Collections.Generic.List<string>)(resources.GetObject("dragInfoControlSubject.SourceStrings")));
            this.dragInfoControlSubject.TabIndex = 2;
            // 
            // dragInfoControlGrade
            // 
            this.dragInfoControlGrade.Destination = ((System.Collections.Generic.List<课程安排.DragInfoItem>)(resources.GetObject("dragInfoControlGrade.Destination")));
            this.dragInfoControlGrade.DestinationLabel = "没有教授的年级";
            this.dragInfoControlGrade.DestinationStrings = ((System.Collections.Generic.List<string>)(resources.GetObject("dragInfoControlGrade.DestinationStrings")));
            this.dragInfoControlGrade.Dock = System.Windows.Forms.DockStyle.Top;
            this.dragInfoControlGrade.HasModify = false;
            this.dragInfoControlGrade.Location = new System.Drawing.Point(3, 61);
            this.dragInfoControlGrade.Name = "dragInfoControlGrade";
            this.dragInfoControlGrade.Size = new System.Drawing.Size(514, 211);
            this.dragInfoControlGrade.Source = ((System.Collections.Generic.List<课程安排.DragInfoItem>)(resources.GetObject("dragInfoControlGrade.Source")));
            this.dragInfoControlGrade.SourceLabel = "所教授的年级";
            this.dragInfoControlGrade.SourceStrings = ((System.Collections.Generic.List<string>)(resources.GetObject("dragInfoControlGrade.SourceStrings")));
            this.dragInfoControlGrade.TabIndex = 1;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.lblTeacherName);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(3, 17);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(514, 44);
            this.panel1.TabIndex = 0;
            // 
            // lblTeacherName
            // 
            this.lblTeacherName.AutoSize = true;
            this.lblTeacherName.Location = new System.Drawing.Point(20, 14);
            this.lblTeacherName.Name = "lblTeacherName";
            this.lblTeacherName.Size = new System.Drawing.Size(0, 12);
            this.lblTeacherName.TabIndex = 0;
            // 
            // TeacherUI
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(775, 549);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.splitter1);
            this.Controls.Add(this.listBox1);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "TeacherUI";
            this.Text = "教师信息";
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.contextMenuStrip1.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ListBox listBox1;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
        private System.Windows.Forms.ToolStripMenuItem 删除ToolStripMenuItem;
        private System.Windows.Forms.Splitter splitter1;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label lblTeacherName;
        
        private System.Windows.Forms.ToolStripMenuItem 保存到数据库ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 添加教师ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 修改教师姓名ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 删除所有教师ToolStripMenuItem;
        private DragInfoControl dragInfoControlSubject;
        private DragInfoControl dragInfoControlGrade;
    }
}

⌨️ 快捷键说明

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