public LabelControl(int idTable) { _parent = null; _idT = idTable; InitializeComponent(); if (!SyncController.HasRight(idTable)) { button2.Enabled = false; } }
public LabelControl(DBTablesGroups par, int idTable) { _parent = par; _idT = idTable; InitializeComponent(); if (!SyncController.HasRight(idTable)) { button2.Enabled = false; } }
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; } }