1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace OTSSysMgrApp
- {
- public partial class About : Form
- {
- public About()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- string strPath = Application.StartupPath + "\\Version.txt";
- if (File.Exists(strPath))
- {
- //打开刚才导出的文件
- System.Diagnostics.Process.Start(strPath);
- }
- else
- {
- MessageBox.Show("找不到版本说明文件!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }
- }
- }
- }
|