Click here to Skip to main content
16,006,006 members
Home / Discussions / C#
   

C#

 
GeneralRe: Picture-strange Pin
nc3b22-Jul-05 7:18
nc3b22-Jul-05 7:18 
GeneralRe: Picture-strange Pin
nc3b22-Jul-05 10:42
nc3b22-Jul-05 10:42 
GeneralRe: Picture-strange Pin
malharone22-Jul-05 10:43
malharone22-Jul-05 10:43 
GeneralRe: Picture-strange Pin
nc3b22-Jul-05 10:47
nc3b22-Jul-05 10:47 
GeneralRe: Picture-strange Pin
malharone22-Jul-05 11:21
malharone22-Jul-05 11:21 
GeneralReading from Applet WEB page Pin
amh00000121-Jul-05 11:20
amh00000121-Jul-05 11:20 
GeneralApplication architecture Pin
Zanathel21-Jul-05 9:50
Zanathel21-Jul-05 9:50 
GeneralRe: Application architecture Pin
Christian Graus21-Jul-05 13:45
protectorChristian Graus21-Jul-05 13:45 
Zanathel wrote:
Is it somehow possible to set important fields to absolutly public? Or am I fishing in the wrong waters - are my idea of the optimal architecture incorrect?

Having everything public is NOT good architecture....

First the bad news - stuff C++ does that you can't do here. Two things spring to mind - no multiple inheritance and no friend classes.

You simulate multiple inheritance through interfaces, you can have a base class and impliment as many interfaces as you like. I find when I use C++ now, I tend to create classes to mimic the interface concept, it's not so bad.

No friend classes is a PITA though. There's really no way around this that I can see.

Zanathel wrote:
want an application where I might converse between classes without sending them as attributes all the time.

The good news is that you have delegates to send messages between classes now, which come in very handy, very often. You should look into using them to define communication between classes.


Christian Graus - Microsoft MVP - C++
GeneralPassword Auth Against local machine user accounts Pin
ezekiel6121-Jul-05 9:27
ezekiel6121-Jul-05 9:27 
GeneralPassword Auth Against local machine user accounts Pin
ezekiel6121-Jul-05 9:26
ezekiel6121-Jul-05 9:26 
GeneralCrystal Reports 9 Pin
Member 177347421-Jul-05 9:15
Member 177347421-Jul-05 9:15 
GeneralRe: Crystal Reports 9 Pin
AmmuRaj21-Jul-05 22:23
AmmuRaj21-Jul-05 22:23 
GeneralRe: Crystal Reports 9 Pin
AmmuRaj24-Jul-05 21:57
AmmuRaj24-Jul-05 21:57 
Generalpanel transparent as splitter moved Pin
Sasuko21-Jul-05 9:05
Sasuko21-Jul-05 9:05 
GeneralOleDbException error Pin
theStorminMormon21-Jul-05 9:02
theStorminMormon21-Jul-05 9:02 
GeneralRe: OleDbException error Pin
squawk21-Jul-05 9:12
squawk21-Jul-05 9:12 
GeneralRe: OleDbException error Pin
theStorminMormon21-Jul-05 9:23
theStorminMormon21-Jul-05 9:23 
GeneralRe: OleDbException error Pin
squawk21-Jul-05 9:31
squawk21-Jul-05 9:31 
GeneralRe: OleDbException error Pin
theStorminMormon21-Jul-05 9:41
theStorminMormon21-Jul-05 9:41 
GeneralRe: OleDbException error Pin
Rob Graham21-Jul-05 9:42
Rob Graham21-Jul-05 9:42 
GeneralRe: OleDbException error Pin
theStorminMormon21-Jul-05 9:46
theStorminMormon21-Jul-05 9:46 
GeneralRe: OleDbException error Pin
squawk21-Jul-05 10:01
squawk21-Jul-05 10:01 
GeneralRe: OleDbException error Pin
Luis Alonso Ramos21-Jul-05 10:40
Luis Alonso Ramos21-Jul-05 10:40 
Generalrefresh form from another form Pin
webhay21-Jul-05 8:35
webhay21-Jul-05 8:35 
GeneralRe: refresh form from another form Pin
Piovra_21-Jul-05 21:32
Piovra_21-Jul-05 21:32 

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.