Using multiple .cs files and a tabbed progarm

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2008
Posts: 9
Reputation: Evil Genius is an unknown quantity at this point 
Solved Threads: 0
Evil Genius Evil Genius is offline Offline
Newbie Poster

Using multiple .cs files and a tabbed progarm

 
0
  #1
Oct 14th, 2009
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!
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,657
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 474
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven
 
0
  #2
Oct 16th, 2009
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
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC