private void ChildProcess_SysCommand(RCProcess sender, RCProcess.LogEventArgs e) { List <string> list = new List <string>(); string t = e.Message.Substring(1); string text = t.ParseCommand(list); string a; if ((a = text) != null) { if (a == "AddProperty") { this.SysCmd_AddProperty(sender, list); return; } if (a == "DelProperty") { this.SysCmd_DelProperty(sender, list); return; } if (!(a == "AddCustomCommand")) { return; } this.SysCmd_AddCustomCommand(sender, list); } }
private void ChildProcess_ProcessLog(RCProcess sender, RCProcess.LogEventArgs args) { if (this.ProcessLog != null) { this.ProcessLog(this, new RCClient.ProcessLogEventArgs(sender, args.Message)); } }