Example #1
0
        public LabelControl(int idTable)
        {
            _parent = null;
            _idT    = idTable;
            InitializeComponent();

            if (!SyncController.HasRight(idTable))
            {
                button2.Enabled = false;
            }
        }
Example #2
0
        public LabelControl(DBTablesGroups par, int idTable)
        {
            _parent = par;
            _idT    = idTable;
            InitializeComponent();

            if (!SyncController.HasRight(idTable))
            {
                button2.Enabled = false;
            }
        }
Example #3
0
        public LabelStyle(int idT)
        {
            _idT = idT;
            _ti  = classesOfMetods.getTableInfo(idT);
            String layerName = Program.RelationVisbleBdUser.GetNameInBd(idT);

            tLayer = Program.app.mapLib.getLayer(layerName);
            save   = false;

            CenterToParent();
            InitializeComponent();

            if (!SyncController.HasRight(idT))
            {
                button_save.Enabled = false;
            }
        }