Hi,

My C# Skill level : Beginner
Using WPF

I'm working on a Visual C# Program in Visual Studio 2008 Pro.
The program has 4 tabs and there are couple of things same in each and also will perform the same action.

Like a Title box and clear form button and so.

Now since i can't give same label to 2 items the way i see i have to give all the items a unique name and make a bloody long code that will process them out.

I do plan on using functions that will let me reuse the code rather then all the hassle.

But can i make a .cs file for each tab, add their data in it and then link it to the xaml.cs file so it grabs all the code.

Please advise.

Thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.