..
This commit is contained in:
@@ -8,6 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using AR;
|
||||
using System.IO.Compression;
|
||||
|
||||
namespace Project.Dialog
|
||||
@@ -22,12 +23,12 @@ namespace Project.Dialog
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Util.RunProcess(@"c:\windows\system32\shutdown.exe", "-r -t 5");
|
||||
UTIL.RunProcess(@"c:\windows\system32\shutdown.exe", "-r -t 5");
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Util.RunProcess(@"c:\windows\system32\shutdown.exe", "-s -t 5");
|
||||
UTIL.RunProcess(@"c:\windows\system32\shutdown.exe", "-s -t 5");
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
@@ -65,7 +66,7 @@ namespace Project.Dialog
|
||||
private void arLabel9_Click(object sender, EventArgs e)
|
||||
{
|
||||
shutdown = true;
|
||||
Util.SystemShutdown(10);
|
||||
PUB.SystemShutdown(10);
|
||||
this.Close();
|
||||
|
||||
}
|
||||
@@ -73,7 +74,7 @@ namespace Project.Dialog
|
||||
private void arLabel10_Click(object sender, EventArgs e)
|
||||
{
|
||||
shutdown = true;
|
||||
Util.SystemReboot(10);
|
||||
PUB.SystemReboot(10);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
@@ -93,7 +94,7 @@ namespace Project.Dialog
|
||||
if (prc.ProcessName.StartsWith("svchost")) continue;
|
||||
sb.Append(" " + prc.ProcessName);
|
||||
}
|
||||
Util.MsgI(sb.ToString(),true);
|
||||
UTIL.MsgI(sb.ToString(),true);
|
||||
}
|
||||
|
||||
private void fSystem_Load(object sender, EventArgs e)
|
||||
@@ -104,14 +105,14 @@ namespace Project.Dialog
|
||||
|
||||
private void arLabel3_Click(object sender, EventArgs e)
|
||||
{
|
||||
var file = System.IO.Path.Combine( Util.CurrentPath, "Emulator.exe");
|
||||
var file = System.IO.Path.Combine(UTIL.CurrentPath, "Emulator.exe");
|
||||
if(System.IO.File.Exists(file)==false)
|
||||
{
|
||||
Util.MsgE("에물레이터 실행 파일이 없습니다", true);
|
||||
UTIL.MsgE("에물레이터 실행 파일이 없습니다", true);
|
||||
return;
|
||||
}
|
||||
|
||||
Util.RunProcess(file);
|
||||
UTIL.RunProcess(file);
|
||||
}
|
||||
|
||||
private void arLabel5_Click(object sender, EventArgs e)
|
||||
@@ -122,7 +123,7 @@ namespace Project.Dialog
|
||||
var file_exe = System.IO.Path.Combine(path.FullName, "amkor.exe");
|
||||
if(System.IO.File.Exists(file_exe)==false)
|
||||
{
|
||||
Util.MsgE("실행파일 amkor.exe 가 없습니다.");
|
||||
UTIL.MsgE("실행파일 amkor.exe 가 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -146,12 +147,12 @@ namespace Project.Dialog
|
||||
// 임시 폴더 삭제
|
||||
Directory.Delete(tempDir, true);
|
||||
|
||||
Util.MsgI("다음 패치 파일이 생성됨\n" + newfilename);
|
||||
UTIL.MsgI("다음 패치 파일이 생성됨\n" + newfilename);
|
||||
}
|
||||
|
||||
private void arLabel7_Click(object sender, EventArgs e)
|
||||
{
|
||||
Util.SystemReboot(5,true);
|
||||
PUB.SystemReboot(5,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user