示例#1
0
        public Asztalok(Control p,  int pHelyId)
        {
            InitializeComponent();
            Parent = p;
            Dock = DockStyle.Fill;

            _HelyId = pHelyId;
            _isAdmin = false;
            mm = (MMenu)Parent.Parent;
        }
示例#2
0
        public Asztalok(Control p,  int pHelyId, bool adminMode)
        {
            InitializeComponent();
            Parent = p;
            Dock = DockStyle.Fill;

            _HelyId = pHelyId;
            _isAdmin = adminMode;
            if (!adminMode) {mm = (MMenu)Parent.Parent;}
            if (adminMode) { asz = (AsztalSetup)Parent.Parent; }
        }