コード例 #1
0
        // FUNCTIONS

        public void writeInfoLabel(string message)
        {
            if (mainSocket != null)
            {
                mainSocket.writeInfoLabel(message);
            }
        }
コード例 #2
0
 public MainTestSocketed(MainSocket mainSocketIn, Enums.ProcessType procType, bool readOn, bool writeOn, bool exportOn)
 {
     mainSocket = mainSocketIn;
     try
     {
         testComponent = new TestComponent(procType, this, readOn, writeOn, exportOn);
     }
     catch (Exception e)
     {
         mainSocket.writeInfoLabel("Couldn't hook to process. Make sure the app is running in admin mode if the game is.");
     }
 }