Click here to Skip to main content
15,889,403 members
Home / Discussions / C#
   

C#

 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff24-May-15 22:42
professionalBillWoodruff24-May-15 22:42 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Sascha Lefèvre25-May-15 4:21
professionalSascha Lefèvre25-May-15 4:21 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff25-May-15 7:54
professionalBillWoodruff25-May-15 7:54 
AnswerRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Richard Deeming22-May-15 7:11
mveRichard Deeming22-May-15 7:11 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff22-May-15 21:27
professionalBillWoodruff22-May-15 21:27 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff24-May-15 22:46
professionalBillWoodruff24-May-15 22:46 
AnswerRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Pete O'Hanlon22-May-15 8:06
mvePete O'Hanlon22-May-15 8:06 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff22-May-15 21:33
professionalBillWoodruff22-May-15 21:33 
Thanks, Pete. I'm exploring the omit-the-setter strategy, today.
Pete O'Hanlon wrote:
The second part is more architectural. It sounds to me like the problem you are trying to solve is most likely one that indicates that you aren't separating concerns. In other words, you are mixing the behaviour of the interface with the form.
This really intrigues me since I don't understand it, but sense it contains your (always valued) wisdom.

As I wrote to Sascha (here, today): "My goal here is that these Properties are initialized by a Static Class, not by any code in the Forms in which the custom Component(s) are placed/instantiated. Since, in a way, control of the instances of these custom Components, no matter what "container" they are in, is a kind of "cross-cutting concern" (to mis-use a term from the AOP religion), I do think using an ApplicationContext here may be the best way to go, and it's an alternative WinForm architecture (better to say it's the "real" WinForm architecture behind-the-scenes whether or not the programmer ever realizes that) I am very familiar with."

I'm going to be thinking about your response, and the responses from Sascha, Richard D., and Alan N., today, and doing some more experimenting.
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut, Jr.

GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Pete O'Hanlon22-May-15 21:47
mvePete O'Hanlon22-May-15 21:47 
AnswerRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Alan N22-May-15 14:15
Alan N22-May-15 14:15 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff22-May-15 21:35
professionalBillWoodruff22-May-15 21:35 
QuestionHow to get the directory where DDL is installed Pin
Antonio Guedes22-May-15 6:14
Antonio Guedes22-May-15 6:14 
AnswerRe: How to get the directory where DDL is installed Pin
Eddy Vluggen22-May-15 6:56
professionalEddy Vluggen22-May-15 6:56 
GeneralRe: How to get the directory where DDL is installed Pin
Antonio Guedes22-May-15 10:06
Antonio Guedes22-May-15 10:06 
GeneralRe: How to get the directory where DDL is installed Pin
Richard Andrew x6422-May-15 12:28
professionalRichard Andrew x6422-May-15 12:28 
QuestionHow to implement Save As functionality in C# Pin
RajuPrasad8222-May-15 3:49
professionalRajuPrasad8222-May-15 3:49 
AnswerRe: How to implement Save As functionality in C# Pin
Dave Kreskowiak22-May-15 4:09
mveDave Kreskowiak22-May-15 4:09 
GeneralRe: How to implement Save As functionality in C# Pin
RajuPrasad8222-May-15 4:24
professionalRajuPrasad8222-May-15 4:24 
GeneralRe: How to implement Save As functionality in C# Pin
Dave Kreskowiak22-May-15 4:49
mveDave Kreskowiak22-May-15 4:49 
AnswerRe: How to implement Save As functionality in C# Pin
Eddy Vluggen22-May-15 4:23
professionalEddy Vluggen22-May-15 4:23 
GeneralRe: How to implement Save As functionality in C# Pin
RajuPrasad8222-May-15 5:49
professionalRajuPrasad8222-May-15 5:49 
GeneralRe: How to implement Save As functionality in C# Pin
Sascha Lefèvre22-May-15 5:57
professionalSascha Lefèvre22-May-15 5:57 
GeneralRe: How to implement Save As functionality in C# Pin
RajuPrasad8222-May-15 6:01
professionalRajuPrasad8222-May-15 6:01 
GeneralRe: How to implement Save As functionality in C# Pin
Sascha Lefèvre22-May-15 6:33
professionalSascha Lefèvre22-May-15 6:33 
AnswerRe: How to implement Save As functionality in C# Pin
CHill6022-May-15 8:14
mveCHill6022-May-15 8:14 

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.