Tabs Ui

Apr 10, 2010 at 10:04 PM

Hi, i am using your source code. I love the application btw and the code is clean to me.

Im wanting to make tabs in the page and then not give the user the option to add, edit and rename tabs. I can do the last 3 but i'm not sure how to make the tabs in the code and compile it with the tabs created.

Any help would be great thanks :) I am still learning c# so i find it a bit challenging, but playing around with other peoples source code is how i learn :)

Coordinator
Apr 15, 2010 at 6:14 PM

Hello, malcomhfc,

 

This is great that you so enthusiastic.

You can create tabs at TabsUC user control. There is method LoadTabs which loads all the tabs. This method uses the SettingsManager.CurrentSettings.TabInfoList tab collection. You can clear this collection and programmatically fill it with your tabs. Than just call LoadTabs method. You can also add new tabs programmatically with AddTab method (TabUC user control).

Good luck!

Alexey,

Coordinator
Apr 16, 2010 at 10:43 AM

Hi!

Can you please share why are you modifying the ME?

I'm so curious!

 

Alex.