예제 #1
0
 /// <summary>
 /// 启用Kiddion汉化
 /// </summary>
 private void KiddionChsONClick()
 {
     if (ProcessUtil.IsAppRun("Kiddion"))
     {
         ProcessUtil.CloseProcess("Kiddion_Chs");
         ProcessUtil.OpenProcess("Kiddion_Chs", true);
     }
     else
     {
         MsgBoxUtil.Information("请先启动 Kiddion 程序");
     }
 }
예제 #2
0
 /// <summary>
 /// 关闭Kiddion汉化
 /// </summary>
 private void KiddionChsOFFClick()
 {
     ProcessUtil.CloseProcess("Kiddion_Chs");
 }
예제 #3
0
 /// <summary>
 /// 启用Kiddion[104键]
 /// </summary>
 private void KiddionKey104Click()
 {
     ProcessUtil.CloseProcess("Kiddion");
     ProcessUtil.CloseProcess("Kiddion_Chs");
     FileUtil.ExtractResFile(FileUtil.Resource_Kiddion_Path + "config.json", FileUtil.Kiddion_Path + @"config.json");
 }