Form1.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
//下载自:源码爱好者 http://www.NewXing.com
namespace LoginFrame
{
    public partial class SirForm : Form
    {
        public SirForm()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            
        }

        private void tsmiExit_Click(object sender, EventArgs e)
        {
            DialogResult dr = MessageBox.Show("确定要退出吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            if (dr == DialogResult.Yes)
            {
                Application.Exit();
            }

        }

        private void tsmiAddShiti_Click(object sender, EventArgs e)
        {
            AddQuestion aq = new AddQuestion();
            aq.MdiParent = this;
            aq.Show();
        }

        private void tsbAddQuestion_Click(object sender, EventArgs e)
        {
            AddQuestion aq = new AddQuestion();
                aq.MdiParent = this;
                aq.Show();
        }

        private void tsmiAbout_Click(object sender, EventArgs e)
        {
            Help about = new Help();
            about.ShowDialog();
        }
    }
}

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

AI 解读

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

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