Click here to Skip to main content
15,891,774 members
Home / Discussions / C#
   

C#

 
QuestionPage Navigation Pin
pravin_mun14-Nov-11 18:43
pravin_mun14-Nov-11 18:43 
AnswerRe: Page Navigation Pin
Hum Dum14-Nov-11 19:28
Hum Dum14-Nov-11 19:28 
GeneralRe: Page Navigation Pin
pravin_mun14-Nov-11 19:50
pravin_mun14-Nov-11 19:50 
AnswerRe: Page Navigation Pin
Łukasz Nowakowski15-Nov-11 3:06
Łukasz Nowakowski15-Nov-11 3:06 
QuestionPassing Generic List<> to other forms Pin
Kendall Bodkin14-Nov-11 13:36
Kendall Bodkin14-Nov-11 13:36 
AnswerRe: Passing Generic List to other forms Pin
Luc Pattyn14-Nov-11 16:07
sitebuilderLuc Pattyn14-Nov-11 16:07 
GeneralRe: Passing Generic List to other forms Pin
Kendall Bodkin14-Nov-11 16:54
Kendall Bodkin14-Nov-11 16:54 
AnswerRe: Passing Generic List to other forms Pin
Luc Pattyn14-Nov-11 17:51
sitebuilderLuc Pattyn14-Nov-11 17:51 
This is horrible code simply by (A) your extremely poor choice of identifier names and (B) you making everything public. This causes total confusion to you and everyone else.

Examples:

1. class iattachmentlist does not represent a list, it seems to represent an attachment, which later on might or might not go into a list. Do you call your house a homecity just because it is your home and part of the city you live in, I think not.

The right name would be: class Attachment, notice an existing word, explaining exactly what it is, starting with an uppercase as it is public, and absolutely not beginning with "I" as it isn't an interface.

2. class emailattachment : Form is equally bad, the class does not represent an attachment, it probably is a Form going to be used to do something to an attachment. So maybe it should be class EditAttachmentForm.

3. inside class emailattachment you have both a public member iattachmentagents and a public property pass using said member; that does not make sense at all.


I am not going to spend more time here, it is up to you to untangle this mess. Sorry.

Frown | :(
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Passing Generic List to other forms Pin
_Maxxx_14-Nov-11 18:15
professional_Maxxx_14-Nov-11 18:15 
GeneralRe: Passing Generic List to other forms Pin
BillWoodruff14-Nov-11 21:34
professionalBillWoodruff14-Nov-11 21:34 
GeneralRe: Passing Generic List to other forms Pin
Kendall Bodkin15-Nov-11 5:33
Kendall Bodkin15-Nov-11 5:33 
GeneralRe: Passing Generic List to other forms Pin
Pete O'Hanlon15-Nov-11 10:17
mvePete O'Hanlon15-Nov-11 10:17 
GeneralRe: Passing Generic List to other forms Pin
Kendall Bodkin15-Nov-11 10:24
Kendall Bodkin15-Nov-11 10:24 
QuestionNext Linq Question Pin
Kevin Marois14-Nov-11 12:44
professionalKevin Marois14-Nov-11 12:44 
AnswerRe: Next Linq Question Pin
BobJanova15-Nov-11 1:00
BobJanova15-Nov-11 1:00 
AnswerRe: Next Linq Question Pin
NeillJam17-Nov-11 22:50
NeillJam17-Nov-11 22:50 
QuestionLinq To Objects - How To Create Nested Objects Pin
Kevin Marois14-Nov-11 12:18
professionalKevin Marois14-Nov-11 12:18 
AnswerRe: Linq To Objects - How To Create Nested Objects Pin
BillWoodruff14-Nov-11 21:52
professionalBillWoodruff14-Nov-11 21:52 
QuestionConvert XslTransform to XslCompiledTransform Pin
Melanie Peterson14-Nov-11 6:22
Melanie Peterson14-Nov-11 6:22 
QuestionUDP send /recieve problem... well mainly recieve Pin
Alberto Bar-Noy14-Nov-11 3:58
Alberto Bar-Noy14-Nov-11 3:58 
AnswerRe: UDP send /recieve problem... well mainly recieve Pin
Luc Pattyn14-Nov-11 4:45
sitebuilderLuc Pattyn14-Nov-11 4:45 
GeneralRe: UDP send /recieve problem... well mainly recieve Pin
Alberto Bar-Noy14-Nov-11 4:49
Alberto Bar-Noy14-Nov-11 4:49 
AnswerRe: UDP send /recieve problem... well mainly recieve Pin
Luc Pattyn14-Nov-11 5:14
sitebuilderLuc Pattyn14-Nov-11 5:14 
GeneralRe: UDP send /recieve problem... well mainly recieve Pin
Alberto Bar-Noy14-Nov-11 5:25
Alberto Bar-Noy14-Nov-11 5:25 
GeneralRe: UDP send /recieve problem... well mainly recieve Pin
Rob Philpott14-Nov-11 5:34
Rob Philpott14-Nov-11 5:34 

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.