private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { bIsTimeToDie = true; writelog("成功退出!"); zkfp2.Terminate(); MYAES.AesEncrypt(rootpath + "\\Finger.log", User.UserPassword); }
public MainWindow() { InitializeComponent(); rootpath = rootpath.Substring(0, rootpath.LastIndexOf("\\")); MYAES.AesDecrypt(rootpath + "\\Finger.log", User.UserPassword); //rootpath = rootpath.Substring(0, rootpath.LastIndexOf("\\")); //rootpath = rootpath.Substring(0, rootpath.LastIndexOf("\\")); }