public void AddTabToLast(myTab oMyTab)
        {
            if (oMyTab.Strana == myTab.strana.L)
            {
                _leftTabs.Add(oMyTab);
            }

            if (oMyTab.Strana == myTab.strana.R)
            {
                _rightTabs.Add(oMyTab);
            }
        }
        public void PushTabToFirst(myTab oMyTab)
        {
            if (oMyTab.Strana == myTab.strana.L)
            {
                List <myTab> tempList = new List <myTab>();
                tempList.Add(oMyTab);
                foreach (myTab tb in _leftTabs)
                {
                    tempList.Add(tb);
                }
                _leftTabs = tempList;
            }

            if (oMyTab.Strana == myTab.strana.R)
            {
                List <myTab> tempList = new List <myTab>();
                tempList.Add(oMyTab);
                foreach (myTab tb in _rightTabs)
                {
                    tempList.Add(tb);
                }
                _rightTabs = tempList;
            }
        }