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