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

📄 dd_main.cs

📁 此系统开发了一个公交车管理系统。系统根据权限的不同
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;

namespace CarManage
{
    public partial class DD_Main : Form
    {
        public DD_Main()
        {
            InitializeComponent();
        }

        private void 排班管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.ActiveMdiChild != null)
            {
                this.ActiveMdiChild.Close(); //关闭已经打开的子窗体 
                DD_paiban DDp = new DD_paiban();
                DDp.MdiParent = this;
                DDp.Show();
            }
            else
            {
                DD_paiban DDp = new DD_paiban();
                DDp.MdiParent = this;
                DDp.Show();
 
            }
        }

        private void 排出时间表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.ActiveMdiChild != null)
            {
                this.ActiveMdiChild.Close(); //关闭已经打开的子窗体 
                DD_paiban DDp = new DD_paiban();
                DDp.MdiParent = this;
                DDp.Show();
            }
            else
            {
                DD_paiban DDp = new DD_paiban();
                DDp.MdiParent = this;
                DDp.Show();

            }

        }

        private void 考勤录入ToolStripMenuItem_Click(object sender, EventArgs e)
        {
             if (this.ActiveMdiChild != null)
            {
                this.ActiveMdiChild.Close(); //关闭已经打开的子窗体 
                 DD_kaoqin DDk = new DD_kaoqin();
                 DDk.MdiParent = this;
                 DDk.Show();
             }
             else
             {
                 DD_kaoqin DDk = new DD_kaoqin();
                 DDk.MdiParent = this;
                 DDk.Show();
             }
        }
    }
}

⌨️ 快捷键说明

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