private void btnShowHis_Click(object sender, EventArgs e) { try { //System.Diagnostics.Process.Start(shFile); frmRegHis frm = new frmRegHis(strRegKeyFile); frm.ShowDialog(); } catch (Exception) { MessageBox.Show("授权记录文件不存在,请先至少进行一次授权!"); } }