Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: updating DataBase Problem (delete row) Pin
Ami8-Dec-07 9:01
Ami8-Dec-07 9:01 
GeneralRe: updating DataBase Problem (delete row) Pin
Giorgi Dalakishvili8-Dec-07 9:16
mentorGiorgi Dalakishvili8-Dec-07 9:16 
GeneralUsing SQL Server Database Pin
AndyHug8-Dec-07 8:17
AndyHug8-Dec-07 8:17 
GeneralCheckBoxList Pin
anupamwb8-Dec-07 7:50
anupamwb8-Dec-07 7:50 
AnswerRe: CheckBoxList Pin
Ravi Bhavnani8-Dec-07 8:00
professionalRavi Bhavnani8-Dec-07 8:00 
GeneralRe: CheckBoxList Pin
Xmen Real 8-Dec-07 16:41
professional Xmen Real 8-Dec-07 16:41 
GeneralCheck multiple rows in datagridview without losing selection Pin
Hynkar8-Dec-07 7:46
Hynkar8-Dec-07 7:46 
QuestionClass Libraries Pin
Poolee8-Dec-07 7:30
Poolee8-Dec-07 7:30 
Hi everyone

I'm still quite new to Object Oriented Programming, so please forgive me for this newbie question.

I'm building an application with a main form and a couple of sub-forms. There is also an assocated service that goes with the application.

- Should the class library only code that doesn't deal directly with processing events on the forms, or just methods that are used more than once?
- Should each form then have its own class library, or should I create a single class library for the whole application and the service to use?
- Or should I be creating separate class libraries based on their usage to enable later reuse of the class library?

I've trawled through MSDN and found some best practices but they don't mention what to do in the above scenarios... I gotta say I'm leaning towards the last point here, but I really don't know... Frown | :(

Any help you gurus can provide would be greatly appreciated!

Cheers
Paul

One day I want to be a code monkey. Right now, I'm more like a code amoeba...

AnswerRe: Class Libraries Pin
Ravi Bhavnani8-Dec-07 8:29
professionalRavi Bhavnani8-Dec-07 8:29 
GeneralRe: Class Libraries Pin
Poolee8-Dec-07 9:21
Poolee8-Dec-07 9:21 
GeneralRe: Class Libraries Pin
Ravi Bhavnani8-Dec-07 9:23
professionalRavi Bhavnani8-Dec-07 9:23 
GeneralRe: Class Libraries Pin
Poolee8-Dec-07 9:28
Poolee8-Dec-07 9:28 
Questionselectively passing different classes to a function - C# Pin
karthikde19808-Dec-07 7:19
karthikde19808-Dec-07 7:19 
GeneralRe: selectively passing different classes to a function - C# Pin
karthikde19808-Dec-07 8:49
karthikde19808-Dec-07 8:49 
GeneralRe: selectively passing different classes to a function - C# Pin
Christian Graus8-Dec-07 9:07
protectorChristian Graus8-Dec-07 9:07 
GeneralRe: selectively passing different classes to a function - C# Pin
Christian Graus8-Dec-07 9:05
protectorChristian Graus8-Dec-07 9:05 
QuestionRe: selectively passing different classes to a function - C# Pin
karthikde19808-Dec-07 10:05
karthikde19808-Dec-07 10:05 
GeneralRe: selectively passing different classes to a function - C# Pin
Christian Graus8-Dec-07 10:36
protectorChristian Graus8-Dec-07 10:36 
GeneralTCP/IP Sockets Pin
half-life8-Dec-07 6:42
half-life8-Dec-07 6:42 
GeneralRe: TCP/IP Sockets Pin
Kristian Sixhøj8-Dec-07 6:45
Kristian Sixhøj8-Dec-07 6:45 
GeneralRe: TCP/IP Sockets Pin
half-life8-Dec-07 6:55
half-life8-Dec-07 6:55 
GeneralRe: TCP/IP Sockets [modified] Pin
Kristian Sixhøj8-Dec-07 7:07
Kristian Sixhøj8-Dec-07 7:07 
GeneralRe: TCP/IP Sockets Pin
half-life8-Dec-07 8:46
half-life8-Dec-07 8:46 
GeneralGetting Data from DataReader Pin
tr_thorn8-Dec-07 2:55
tr_thorn8-Dec-07 2:55 
GeneralRe: Getting Data from DataReader Pin
Ennis Ray Lynch, Jr.8-Dec-07 3:12
Ennis Ray Lynch, Jr.8-Dec-07 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.