Click here to Skip to main content
15,890,825 members
Home / Discussions / C#
   

C#

 
QuestionPropertyGrid Mouse Events not behaving Pin
hype_rides12-Mar-06 0:06
hype_rides12-Mar-06 0:06 
AnswerRe: PropertyGrid Mouse Events not behaving Pin
Ed.Poore12-Mar-06 4:42
Ed.Poore12-Mar-06 4:42 
QuestionDataGrid & ListView Pin
mehrdadc4811-Mar-06 20:33
mehrdadc4811-Mar-06 20:33 
QuestionCollection & Datagrid Pin
mehrdadc4811-Mar-06 20:16
mehrdadc4811-Mar-06 20:16 
AnswerRe: Collection & Datagrid Pin
Stanciu Vlad11-Mar-06 23:18
Stanciu Vlad11-Mar-06 23:18 
QuestionWord's Table Control? Pin
Beringer11-Mar-06 18:42
Beringer11-Mar-06 18:42 
QuestionCoding Pattern Question Pin
Richard Andrew x6411-Mar-06 17:25
professionalRichard Andrew x6411-Mar-06 17:25 
AnswerRe: Coding Pattern Question Pin
Marc Clifton12-Mar-06 3:04
mvaMarc Clifton12-Mar-06 3:04 
Troposphere wrote:
Is it more appropriate to put this code into the Form class of the dialog box itself, or to have a separate class whose job it is to control the dialog box, and interface with it?


IMO, neither. Use data binding to connect an autonomous class that contains the properties for the data with the dialog. The data binding ensures that neither the dialog nor the underlying container class needs to know about each other, which makes your application more flexible and extensible. Here's[^] an article I wrote on the subject.

Marc

Pensieve
Functional Entanglement vs. Code Entanglement
Static Classes Make For Rigid Architectures
GeneralRe: Coding Pattern Question Pin
Richard Andrew x6412-Mar-06 5:34
professionalRichard Andrew x6412-Mar-06 5:34 
QuestionChanging background colour of tabcontrol Pin
2hdass11-Mar-06 17:06
2hdass11-Mar-06 17:06 
QuestionDrawing String on tabpage Pin
2hdass11-Mar-06 15:48
2hdass11-Mar-06 15:48 
AnswerRe: Drawing String on tabpage Pin
Ravi Bhavnani11-Mar-06 16:12
professionalRavi Bhavnani11-Mar-06 16:12 
QuestionA Not-So-Neat Balancing Act Pin
IceWater4211-Mar-06 15:21
IceWater4211-Mar-06 15:21 
AnswerRe: A Not-So-Neat Balancing Act Pin
Ravi Bhavnani11-Mar-06 16:05
professionalRavi Bhavnani11-Mar-06 16:05 
GeneralRe: A Not-So-Neat Balancing Act Pin
IceWater4211-Mar-06 16:20
IceWater4211-Mar-06 16:20 
QuestionTabpage : Scoll without scroll bar Pin
2hdass11-Mar-06 15:04
2hdass11-Mar-06 15:04 
QuestionIcons Pin
Sean8911-Mar-06 13:19
Sean8911-Mar-06 13:19 
AnswerRe: Icons Pin
Ravi Bhavnani11-Mar-06 13:42
professionalRavi Bhavnani11-Mar-06 13:42 
GeneralRe: Icons Pin
Sean8911-Mar-06 15:03
Sean8911-Mar-06 15:03 
Questionmobile agent Pin
karthik.N.Rao11-Mar-06 8:05
karthik.N.Rao11-Mar-06 8:05 
QuestionC# Static Inheritance Question Pin
tgiphil11-Mar-06 7:29
tgiphil11-Mar-06 7:29 
AnswerRe: C# Static Inheritance Question Pin
Daniel Grunwald11-Mar-06 8:21
Daniel Grunwald11-Mar-06 8:21 
GeneralRe: C# Static Inheritance Question Pin
tgiphil12-Mar-06 5:05
tgiphil12-Mar-06 5:05 
Questiontransferring global variable values from one form to another Pin
freak200411-Mar-06 5:46
freak200411-Mar-06 5:46 
AnswerRe: transferring global variable values from one form to another Pin
sa_keles11-Mar-06 7:35
sa_keles11-Mar-06 7:35 

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.