Example #1
0
        public string Show(ArrayList UsedVariablesList, string strOldValue, string strTypeName)
        {
            string       strValue = "";
            VariableForm myform   = new VariableForm(m_strTypeId, m_XmlResult, UsedVariablesList, strOldValue, strTypeName);

            if (myform.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                m_XmlResult = myform.RtnResultXml();
                strValue    = myform.RtnChoosedName();
            }
            return(strValue);
        }
Example #2
0
 public string Show(ArrayList UsedVariablesList, string strOldValue, string strTypeName)
 {
     string strValue = "";
     VariableForm myform = new VariableForm(m_strTypeId, m_XmlResult, UsedVariablesList,strOldValue,strTypeName);
     if (myform.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         m_XmlResult = myform.RtnResultXml();
         strValue = myform.RtnChoosedName();
     }
     return strValue;
     
 }