Ejemplo n.º 1
0
 public void Show(dlgActions pform, CActDef pAction, string pMode)
 {
     this.Parentf   = pform;
     this.ActionDef = (CMoveObjDef)pAction;
     this.Mode      = pMode;
     this.Show(this.Parentf);
 }
Ejemplo n.º 2
0
        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);
        }