public void Show(dlgActions pform, CActDef pAction, string pMode)
 {
     this.Parentf   = pform;
     this.ActionDef = (CMoveObjDef)pAction;
     this.Mode      = pMode;
     this.Show(this.Parentf);
 }
        private bool IsActiveSymbol(string pName, List <CActDef> pActions)
        {
            bool result = false;

            if (pName.Length > 0)
            {
                try
                {
                    List <CActDef> .Enumerator enumerator = pActions.GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        CActDef current = enumerator.Current;
                        if (Operators.CompareString(current.ObjName, pName, false) == 0)
                        {
                            result = true;
                            break;
                        }
                    }
                }
                finally
                {
                    List <CActDef> .Enumerator enumerator;
                    ((IDisposable)enumerator).Dispose();
                }
            }
            return(result);
        }