private void TreeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) { if ((string)e.Node.Tag != "CMD") { return; } String cmd = e.Node.Text; String descr = e.Node.Parent.Text; QueueMessage msg = new QueueMessage(); String Reply = get_value(cmd, descr, false, ref msg); if (Reply != "") { MessageBox.Show(String.Format("Received [ {0} ]", Globs.Super_Clean(Reply))); } }