private void getContextParamToolStripMenuItem_Click(object sender, EventArgs e) { if (_AppClient != null) { AppTestGenericInputForm aInput = new AppTestGenericInputForm(); aInput.Text = "Get Context Param"; aInput.SetItems(1); aInput.SetPrompt(0, "Param Name:"); if (aInput.ShowDialog() == DialogResult.OK) { string aValue = "null"; _AppClient.GetContextParam(aInput.GetValue(0), out aValue); AppendToOutput(string.Format("{0} = {1}", aInput.GetValue(0), aValue), true); } } }