Beispiel #1
0
        public void Initialize()
        {
            if (tabMuscle == null)
            {
                tabMuscle = new PSTabMuscle();
                tabMuscle.Init();
            }

            if (tabOption == null)
            {
                tabOption = new PSTabOption();
            }
            if (muscleHandle == null)
            {
                muscleHandle = new PSMuscleHandle();
            }

            muscleHandle.setTabs(tabMuscle, tabOption);
            if (curTab == null)
            {
                curTab = tabMuscle;
            }
        }
 public void setTabs(PSTabMuscle tabMuscle, PSTabOption tabOption)
 {
     this.tabMuscle = tabMuscle;
     this.tabOption = tabOption;
 }