944,083 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 461
  • C# RSS
Oct 14th, 2009
0

Using multiple .cs files and a tabbed progarm

Expand Post »
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!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Evil Genius is offline Offline
11 posts
since Nov 2008
Oct 16th, 2009
0
Re: Using multiple .cs files and a tabbed progarm
I don't think your work is [b]wpf/b] related. Please take a look at this article - http://www.c-sharpcorner.com/UploadF...abControl.aspx
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Copying data from one database to another
Next Thread in C# Forum Timeline: Debug Error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC