| | |
Using multiple .cs files and a tabbed progarm
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 9
Reputation:
Solved Threads: 0
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!
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!
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
![]() |
Similar Threads
- parsing multiple files in current directory (Perl)
- Moving multiple files to specific subfolders (Visual Basic 4 / 5 / 6)
- Selecting Multiple Files And/Or Folder (JavaScript / DHTML / AJAX)
- Question related to using multiple files (C++)
- Help get me started, create multiple files from list (Shell Scripting)
- read multiple files (VB.NET)
- reading multiple files in loop (C++)
- Multiple files (C)
- problems writing multiple files (Perl)
- How to Rename Multiple Files with Windows Explorer (Windows tips 'n' tweaks)
Other Threads in the C# Forum
- Previous Thread: How to connect MSAccess database in ASP.NET
- Next Thread: Debug Error
| Thread Tools | Search this Thread |
.net access ado.net algorithm array backup barchart bitmap box broadcast buttons c# check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime decryption degrees development draganddrop drawing encryption enum event excel file files form format forms function gdi+ httpwebrequest i18n image imageprocessing index input install java label list listbox listener mandelbrot math mouseclick mysql operator path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer update uploadatextfile usercontrol users validation view visualstudio webbrowser whileloop windows winforms wpf xml






