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

📄 frmmain.cs

📁 利用vs2008+sql开发的酒店管理系统
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HotelManager
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void 客房类型管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRoomType roomType = new frmRoomType();
            this.Hide();
            roomType.ShowDialog();
            this.Show();
        }

        private void 客房信息设置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRoomInfo roomInfo = new frmRoomInfo();
            this.Hide();
            roomInfo.ShowDialog();
            this.Show();
        }

        private void 客房预定ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRoomDestine destine = new frmRoomDestine();
            this.Hide();
            destine.ShowDialog();
            this.Show();
        }

        private void 顾客ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmLeaveWord leaveWord = new frmLeaveWord();
            this.Hide();
            leaveWord.ShowDialog();
            this.Show();
        }
        private void 退出系统ToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            if (MessageBox.Show("是否真的要退出?", "友情提醒", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                Application.Exit();
            }
        }

        private void 帮助信息ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmHelpInfo helpInfo = new frmHelpInfo();
            this.Hide();
            helpInfo.ShowDialog();
            this.Show();
        }

        private void 版权信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCopyRight copyRight = new frmCopyRight();
            this.Hide();
            copyRight.ShowDialog();
            this.Show();
        }

        private void 订单查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmListFind listFind = new frmListFind();
            this.Hide();
            listFind.ShowDialog();
            this.Show();
        }
    }
}

⌨️ 快捷键说明

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