Beispiel #1
0
        private void AllStart(object sender, EventArgs e)
        {
            IntPtr ipt = ProcessHandler.GetMyWindow(nowPId);

            OutLog("目前控制句柄 " + ipt.ToString("x8"));
            bot.Start();
        }
Beispiel #2
0
 private void ProSearch(object sender, EventArgs e)
 {
     try
     {
         int pId = ProcessHandler.GetProcess("GDMO");
         ProcessHandler.GetMyWindow(nowPId);
     }
     catch (Exception exp)
     {
         int resp = (int)MessageBox.Show("Some thing went wrong.", "ERROR");
     }
 }