Click here to Skip to main content
15,899,935 members
Home / Discussions / C#
   

C#

 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Mathi Mani22-May-15 11:14
Mathi Mani22-May-15 11:14 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell22-May-15 11:23
Norris Chappell22-May-15 11:23 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Mathi Mani22-May-15 11:27
Mathi Mani22-May-15 11:27 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell22-May-15 11:36
Norris Chappell22-May-15 11:36 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Mathi Mani22-May-15 11:46
Mathi Mani22-May-15 11:46 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell22-May-15 12:01
Norris Chappell22-May-15 12:01 
AnswerRe: Trying to make a DataGridView field a color if a condition is met. Pin
Mathi Mani22-May-15 12:20
Mathi Mani22-May-15 12:20 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell22-May-15 12:25
Norris Chappell22-May-15 12:25 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell22-May-15 12:47
Norris Chappell22-May-15 12:47 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Mathi Mani22-May-15 12:49
Mathi Mani22-May-15 12:49 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell22-May-15 12:52
Norris Chappell22-May-15 12:52 
AnswerRe: Trying to make a DataGridView field a color if a condition is met. Pin
Mathi Mani22-May-15 13:00
Mathi Mani22-May-15 13:00 
GeneralRe: Trying to make a DataGridView field a color if a condition is met. Pin
Norris Chappell23-May-15 11:11
Norris Chappell23-May-15 11:11 
Questionway around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff22-May-15 6:49
professionalBillWoodruff22-May-15 6:49 
AnswerRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Sascha Lefèvre22-May-15 7:04
professionalSascha Lefèvre22-May-15 7:04 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff22-May-15 21:12
professionalBillWoodruff22-May-15 21:12 
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
Sascha Lefèvre24-May-15 3:33
professionalSascha Lefèvre24-May-15 3:33 
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 
While I can see where you're coming from with this Bill, a couple of thoughts occur to me.

The first is, if you want to hide the setter (for example), this should not form part of your public interface. In this case, you would omit the set from the interface, which does not prevent you from adding it in the actual implementation, it merely prevents you from calling it via your interface.

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 isn't always the case, but, in most cases I've seen like this, this holds true.
GeneralRe: way around limitations of WinForms treatment of Public Proprties implementing an Interface ? Pin
BillWoodruff22-May-15 21:33
professionalBillWoodruff22-May-15 21:33 

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.