void xe_compatibilityAvatar(string path, string command) { Classes.xebuild xe = new Classes.xebuild(); string arguments = command + path + "\\"; if (chkShutdown.Checked) { arguments += " -s"; } if (chkReboot.Checked) { arguments += " -reboot"; } if (chkForceIP.Checked) { arguments += " -ip " + txtIP2.Text; } xe.client(arguments); }
void xe_client(string arguments) { Classes.xebuild xe = new Classes.xebuild(); xe.client(arguments); }