Пример #1
0
        private void crashAllButton_Click(object sender, EventArgs e)
        {
            List <string> urls = new List <string>();

            foreach (List <string> op_urls in operatorsURL.Values)
            {
                for (int j = 0; j < op_urls.Count; j++)
                {
                    try {
                        RemoteOperator rm_op = (RemoteOperator)Activator.GetObject(typeof(RemoteOperator), op_urls[j]);
                        rm_op.crashOperator();
                    }
                    catch { }
                }
            }
            logTextBox.AppendText("<PuppetMaster>: All Operators were crashed!;\r\n");
        }