예제 #1
0
파일: CategoryTab.cs 프로젝트: Su33ke/kurs
 protected override void TopPanelInitialize()
 {
     KeyValuePair <string, string>[] TopPanelContent = new KeyValuePair <string, string>[]
     {
         new KeyValuePair <string, string>("Name", "Name".PadRight(FormatContants.CATEGORY_NAME_LENGHT)),
         new KeyValuePair <string, string>("Description", "Description".PadRight(FormatContants.CATEGORY_DESCRIPT_LENGHT)),
     };
     TopPanel = new TabTopPanel(TopPanelContent);
 }
예제 #2
0
파일: GoodTab.cs 프로젝트: Su33ke/kurs
 protected void TopPanelInitialize()
 {
     KeyValuePair <string, string>[] TopPanelContent = new KeyValuePair <string, string>[]
     {
         new KeyValuePair <string, string>("Name", "Name".PadRight(FormatContants.GOOD_NAME_LENGTH)),
         new KeyValuePair <string, string>("BrandName", "BrandName".PadRight(FormatContants.GOOD_BRANDNAME_LENGHT)),
         new KeyValuePair <string, string>("Price", "Price".PadRight(FormatContants.GOOD_PRICE_LENGTH)),
         new KeyValuePair <string, string>("Count", "Count".PadRight(FormatContants.GOOD_COUNT_LENGTH)),
     };
     TopPanel = new TabTopPanel(TopPanelContent);
 }