Esempio n. 1
0
        public Banner()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getSignDirectionStrCount(); i++)
            {
                tabBannerFacing.Items.Add(asd.getSignDirectionStr(i));
            }
            for (int i = 0; i < asd.getBannerTypeCount(); i++)
            {
                tabBannerType.Items.Add(asd.getBannerTypeStr(i));
            }
            for (int i = 0; i < asd.getBannerColorCount(); i++)
            {
                tabBannerBaseColor.Items.Add(asd.getBannerColorStr(i));
                tabBannerColor.Items.Add(asd.getBannerColorStr(i));
            }
            clear();
        }
Esempio n. 2
0
        private void listFlush()
        {
            pageList.Items.Clear();
            AllSelData asd = new AllSelData();

            for (int i = 0; i <= tabBannerMaxIndex; i++)
            {
                if (i < globalBannerMaxIndex)
                {
                    int ii = i + 1;
                    pageList.Items.Add("[" + ii + "] " + asd.getBannerColorStr(globalBannerColor[i]) + asd.getBannerTypeStr(globalBannerType[i]));
                }
            }
        }