Ejemplo n.º 1
0
        public override bool PopUp(FLOMgr mgr, FormFLO f)
        {
            f = new FormFLODmd(CheckLockType());

            if (mgr == null)
            {
                return(false);
            }

            f.SetAttr(this);
            DialogResult r = f.ShowDialog();

            if (r == DialogResult.OK)
            {
                if (mgr.Flolist.CheckObjNameUnique(f.GetObjName(), this))               // objname 유일성 테스트
                {
                    return(false);
                }

                if (f.CheckFormLogic())
                {
                    return(false);
                }

                f.GetAttr(this);

                Oldname      = Objname;
                Objname      = f.GetObjName();
                this.Disname = f.GetDisName();

                UpdateCon();

                return(true);
            }
            else
            {
                return(false);
            }
        }