Click here to Skip to main content
15,891,033 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralData Entry with Linked Combos Pin
Brady Kelly30-May-09 7:15
Brady Kelly30-May-09 7:15 
GeneralRe: Data Entry with Linked Combos Pin
Jimmanuel1-Jun-09 4:53
Jimmanuel1-Jun-09 4:53 
QuestionA tagging system (like html), support on the model please Pin
Quake2Player29-May-09 16:52
Quake2Player29-May-09 16:52 
AnswerRe: A tagging system (like html), support on the model please Pin
Quake2Player29-May-09 16:58
Quake2Player29-May-09 16:58 
QuestionParameters Pin
CodingYoshi29-May-09 7:11
CodingYoshi29-May-09 7:11 
AnswerRe: Parameters Pin
Luc Pattyn29-May-09 8:45
sitebuilderLuc Pattyn29-May-09 8:45 
Questionlooking for a design pattern Pin
NaNg1524129-May-09 3:38
NaNg1524129-May-09 3:38 
AnswerRe: looking for a design pattern Pin
CodingYoshi29-May-09 8:22
CodingYoshi29-May-09 8:22 
That is the pattern, pass A to B in its constructor. Or make B an inner class of A so only A can create it and without A its creation will be impossible. Here is a snippet:

A a = new A();
B b = a.CreateB();

public class A
{
...
public void CreateB()
{
A a = new A(this);
return a;
}
...

public class B // Or other access depending on your needs
{
B(A a)
{
this.a = a;
}
}
}

CodingYoshi

Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

GeneralRe: looking for a design pattern Pin
NaNg1524129-May-09 11:27
NaNg1524129-May-09 11:27 
GeneralRe: looking for a design pattern Pin
CodingYoshi1-Jun-09 4:13
CodingYoshi1-Jun-09 4:13 
AnswerRe: looking for a design pattern Pin
Keld Ølykke8-Jun-09 23:30
Keld Ølykke8-Jun-09 23:30 
QuestionRequirements, SRS, Validation, Verification - - - - oh my god [modified] Pin
Frygreen24-May-09 6:39
Frygreen24-May-09 6:39 
AnswerRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
CodingYoshi27-May-09 3:23
CodingYoshi27-May-09 3:23 
AnswerRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Robin_Roy23-Jul-09 16:11
Robin_Roy23-Jul-09 16:11 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Frygreen24-Jul-09 9:15
Frygreen24-Jul-09 9:15 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Robin_Roy26-Jul-09 17:40
Robin_Roy26-Jul-09 17:40 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Frygreen27-Jul-09 7:42
Frygreen27-Jul-09 7:42 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Robin_Roy27-Jul-09 16:43
Robin_Roy27-Jul-09 16:43 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Frygreen7-Oct-09 6:45
Frygreen7-Oct-09 6:45 
QuestionSaving Business Objects Pin
CodingYoshi20-May-09 7:44
CodingYoshi20-May-09 7:44 
AnswerRe: Saving Business Objects Pin
Luc Pattyn20-May-09 8:22
sitebuilderLuc Pattyn20-May-09 8:22 
GeneralRe: Saving Business Objects Pin
CodingYoshi20-May-09 8:59
CodingYoshi20-May-09 8:59 
QuestionDeveloping a LMS software. Pin
RajpootRohan18-May-09 19:13
professionalRajpootRohan18-May-09 19:13 
AnswerRe: Developing a LMS software. Pin
riced18-May-09 22:51
riced18-May-09 22:51 
AnswerRe: Developing a LMS software. Pin
Robin_Roy23-Jul-09 16:31
Robin_Roy23-Jul-09 16:31 

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.