Click here to Skip to main content
15,914,010 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: DLL Configuration-error Pin
Jaymz66613-May-05 3:14
Jaymz66613-May-05 3:14 
Generalbuilding architecture. Pin
montu337711-May-05 0:37
montu337711-May-05 0:37 
GeneralRe: building architecture. Pin
Christian Graus11-May-05 13:54
protectorChristian Graus11-May-05 13:54 
GeneralRe: building architecture. Pin
montu337711-May-05 21:47
montu337711-May-05 21:47 
GeneralRe: building architecture. Pin
montu337712-May-05 2:04
montu337712-May-05 2:04 
GeneralRe: building architecture. Pin
Christian Graus15-May-05 18:18
protectorChristian Graus15-May-05 18:18 
GeneralRe: building architecture. Pin
montu337717-May-05 0:08
montu337717-May-05 0:08 
GeneralRe: building architecture. Pin
Christian Graus17-May-05 12:58
protectorChristian Graus17-May-05 12:58 
montu3377 wrote:
As all methods are very unique and calls only 1-2 times from mainform so if i put those forms methods into one class and make dll then is that good way to do that?

They don't need to go into the one class, no.

montu3377 wrote:
if i am doing that i have to pass controls as parameters of those methods.

Don't pass controls to middle tier methods, that ties them to the presentation tier. Perhaps create an enum, and a method that generates an enum value from a control value, as a helper function in the presentation tier.

montu3377 wrote:
can you tell me that if i put those forms methods into one class and make dll then is that good way?

If your product is a paint program, then creating a layer that is distinct from the presentation layer will be harder to do right, because it's all about what you display. Certainly don't put everything in one class, that will be more of a hinderance than having no middle tier is. To be honest, I've written some big paint programs, and I've focused on a good class structure, and not on loading anything via dlls. The only way that can be good is if you can write the main program to be generic, and to dynamically load tools from a dll, then you can distribute a new dll to add new tools, or fix tool bugs.


Christian Graus - Microsoft MVP - C++
GeneralRe: building architecture. Pin
montu337723-May-05 4:49
montu337723-May-05 4:49 
GeneralRe: building architecture. Pin
Christian Graus23-May-05 11:43
protectorChristian Graus23-May-05 11:43 
GeneralRe: building architecture. Pin
montu337724-May-05 7:50
montu337724-May-05 7:50 
GeneralRe: building architecture. Pin
Christian Graus24-May-05 11:45
protectorChristian Graus24-May-05 11:45 
GeneralRe: building architecture. Pin
montu337724-May-05 23:26
montu337724-May-05 23:26 
GeneralRe: building architecture. Pin
Christian Graus25-May-05 12:48
protectorChristian Graus25-May-05 12:48 
GeneralIncorrect value returned from this.getType ().Assembly.Location for C# COM-addin Pin
Barry G10-May-05 18:27
Barry G10-May-05 18:27 
GeneralRe: Incorrect value returned from this.getType ().Assembly.Location for C# COM-addin Pin
Barry G11-May-05 18:26
Barry G11-May-05 18:26 
QuestionHow to create a reminder notification in Pocket PC Pin
Member 19358809-May-05 21:03
Member 19358809-May-05 21:03 
QuestionHow to find a pattern in an image Pin
Tad McClellan9-May-05 16:40
professionalTad McClellan9-May-05 16:40 
AnswerRe: How to find a pattern in an image Pin
Christian Graus9-May-05 17:19
protectorChristian Graus9-May-05 17:19 
AnswerRe: How to find a pattern in an image Pin
abcxyz8224-May-05 4:56
abcxyz8224-May-05 4:56 
GeneralA few questions regarding Whidbey Beta 2 Pin
Carl Mercier9-May-05 12:35
Carl Mercier9-May-05 12:35 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
MoustafaS9-May-05 12:43
MoustafaS9-May-05 12:43 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Carl Mercier9-May-05 13:18
Carl Mercier9-May-05 13:18 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Christian Graus9-May-05 13:20
protectorChristian Graus9-May-05 13:20 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Christian Graus9-May-05 13:19
protectorChristian Graus9-May-05 13:19 

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.