MainForm.cs

(开头部分) 12KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MF借书系统
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void 返回登录ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            new Form1().Show();
        }

        private void 重新启动ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Restart();
        }

        private void 退出系统ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            new Form1().Show();
        }

        private void button1_MouseMove(object sender, MouseEventArgs e)
        {
            lable_fanhui.Text = "返回登录";
        }

        private void button1_MouseLeave(object sender, EventArgs e)
        {
            lable_fanhui.Text = "";
        }

        private void button2_MouseLeave(object sender, EventArgs e)
        {
            lable_zhongqi.Text = "";
        }

        private void button2_MouseMove(object sender, MouseEventArgs e)
        {           
            lable_zhongqi.Text = "重启";
        }

后面还有 316 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。