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(); }
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])); } } }