private void checkForExternal(string objName)
    {
        OSAEObjectPropertyCollection objProps = OSAEObjectPropertyManager.GetObjectProperties(objName);
        List <OSAEObjectProperty>    oP       = objProps.ToList <OSAEObjectProperty>();
        int iCount = (oP.Count(r => r.DataType == "Image"));
        int fCount = (oP.Count(r => r.DataType == "File"));

        if (iCount > 0)
        {
            // Add Image files to zip
            List <OSAEObjectProperty> imgList = (oP.FindAll(r => r.DataType == "Image"));
            foreach (OSAEObjectProperty ip in imgList)
            {
                if (!string.IsNullOrEmpty(ip.Value))
                {
                    string fileLstName = @ip.Value + "::Image";
                    if (inFileList(fileLstName))
                    {
                        // Do not add image to package. Already in list.
                    }
                    else
                    {
                        lstFileList.Items.Add(fileLstName);
                    }
                }
            }
        }
        if (fCount > 0)
        {
            // Add External files to zip
            List <OSAEObjectProperty> fileList = (oP.FindAll(r => r.DataType == "File"));
            foreach (OSAEObjectProperty fp in fileList)
            {
                if (!string.IsNullOrEmpty(fp.Value))
                {
                    string fileLstName = @fp.Value + "::File";
                    if (inFileList(fileLstName))
                    {
                        // Do not add image to package. Already in list.
                    }
                    else
                    {
                        lstFileList.Items.Add(fileLstName);
                        //exportObjList.Add(exObj);
                    }
                }
            }
        }
    }
        /// <summary>
        /// Loads extra Parmeters in to edit screen
        /// </summary>
        private void getExtraParams(string controlName)
        {
            OSAEObjectPropertyCollection uc = OSAEObjectPropertyManager.GetObjectProperties(controlName);

            foreach (OSAEObjectProperty p in uc)
            {
                if (p.Name != "Control Type" & p.Name != "Object Name" & p.Name != "X" & p.Name != "Y" & p.Name != "ZOrder")
                {
                    objParams oP = new objParams();
                    oP.Name  = p.Name;
                    oP.Value = p.Value;
                    oParams.Add(oP);
                    hasParams = true;
                    paramList.Items.Add(oP.Name);
                }
            }
        }