frmaboutus.cs

来自「这是一个库存管理系统」· CS 代码 · 共 37 行

CS
37
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace SMS.Help
{
    public partial class frmAboutUs : Form
    {
        public frmAboutUs()
        {
            InitializeComponent();
        }

        private void frmAboutUs_Load(object sender, EventArgs e)
        {
            string path = Application.StartupPath + "\\AboutUs.txt";
            System.IO.StreamReader reader = new System.IO.StreamReader(path, System.Text.Encoding.Default);
            this.txtAboutUs.Text = reader.ReadToEnd();
            reader.Close();
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void frmAboutUs_FormClosed(object sender, FormClosedEventArgs e)
        {
            this.Close();
        }
    }
}

⌨️ 快捷键说明

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