예제 #1
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     bIsTimeToDie = true;
     writelog("成功退出!");
     zkfp2.Terminate();
     MYAES.AesEncrypt(rootpath + "\\Finger.log", User.UserPassword);
 }
예제 #2
0
 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("\\"));
 }