FrmAbout.cs 869 字节
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace ServiceManager
{
    public partial class FrmAbout : FrmBase
    {
        public FrmAbout()
        {
            InitializeComponent();
            lblVersion.Text = "版本:" + Application.ProductVersion.ToString();
        }

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

        private void btnSysInfo_Click(object sender, EventArgs e)
        {
            try
            {
                Process p = new Process();
                p.StartInfo.FileName = "MsInfo32.exe";				//需要启动的程序名  
                p.Start();//启动  
            }
            catch { }
        }
    }
}