Click here to Skip to main content
15,925,505 members
Home / Discussions / C#
   

C#

 
GeneralRe: RowFilter Pin
pedrito6827-Jul-05 6:37
pedrito6827-Jul-05 6:37 
GeneralRe: RowFilter Pin
zaboboa27-Jul-05 7:45
zaboboa27-Jul-05 7:45 
GeneralRe: RowFilter Pin
boodi_8128-Jul-05 3:42
boodi_8128-Jul-05 3:42 
GeneralHttpWebRequest Pin
Neel0727-Jul-05 5:50
Neel0727-Jul-05 5:50 
GeneralRowFilter question. Pin
zaboboa27-Jul-05 5:30
zaboboa27-Jul-05 5:30 
Generalcircular dependencies Pin
ppp00127-Jul-05 4:48
ppp00127-Jul-05 4:48 
GeneralRe: circular dependencies Pin
Member 146675427-Jul-05 5:11
Member 146675427-Jul-05 5:11 
GeneralRe: circular dependencies Pin
pedrito6827-Jul-05 6:31
pedrito6827-Jul-05 6:31 
If you have circular dependencies, you really need to think about redesigning the code. Circular dependencies are a design flaw. I've never found one that I couldn't fix with a better design.

I'll give you an example: In our project, we have a number of custom controls.

One is a general control library that contains a collection of basic controls.

Another is a grid control which uses a number of controls from the general library.

A third is a library of less basic controls that tend to be composite controls of the general or grid control. It also contains things like our custom modal form class.

We ran into a problem where the grid needed to use the custom modal form to display grid configuration information. Obviously, this would have created a circular reference since the third library already has a dependency on the grid control. The solution was to make the custom form control a "general control", which in the end made more sense.

As the previous poster pointed out, the solution is often a third library.


GeneralRe: circular dependencies Pin
Alomgir Miah27-Jul-05 6:47
Alomgir Miah27-Jul-05 6:47 
QuestionReading Version# from Setup? Pin
Ariadne27-Jul-05 4:45
Ariadne27-Jul-05 4:45 
AnswerRe: Reading Version# from Setup? Pin
mav.northwind27-Jul-05 19:58
mav.northwind27-Jul-05 19:58 
GeneralRe: Reading Version# from Setup? Pin
Ariadne27-Jul-05 20:07
Ariadne27-Jul-05 20:07 
GeneralRe: Reading Version# from Setup? Pin
mav.northwind28-Jul-05 20:10
mav.northwind28-Jul-05 20:10 
GeneralRe: Reading Version# from Setup? Pin
Ariadne28-Jul-05 20:40
Ariadne28-Jul-05 20:40 
GeneralDrop text in a TextBox at the Mouseposition Pin
jvbragt27-Jul-05 4:42
jvbragt27-Jul-05 4:42 
QuestionSystem.Diagnostics on NT4.0? Pin
Dr Herbie27-Jul-05 4:18
Dr Herbie27-Jul-05 4:18 
GeneralCode changes when switching from design to code view Pin
Vikram A Punathambekar27-Jul-05 4:15
Vikram A Punathambekar27-Jul-05 4:15 
GeneralRe: Code changes when switching from design to code view Pin
J4amieC27-Jul-05 4:40
J4amieC27-Jul-05 4:40 
GeneralRe: Code changes when switching from design to code view Pin
Vikram A Punathambekar27-Jul-05 5:13
Vikram A Punathambekar27-Jul-05 5:13 
GeneralRe: Code changes when switching from design to code view Pin
Patric_J27-Jul-05 4:51
Patric_J27-Jul-05 4:51 
GeneralRe: Code changes when switching from design to code view Pin
Vikram A Punathambekar27-Jul-05 5:12
Vikram A Punathambekar27-Jul-05 5:12 
GeneralRe: Code changes when switching from design to code view Pin
Dan Neely27-Jul-05 5:44
Dan Neely27-Jul-05 5:44 
GeneralBitarray Pin
felopater27-Jul-05 4:08
felopater27-Jul-05 4:08 
GeneralRe: Bitarray Pin
Patric_J27-Jul-05 5:27
Patric_J27-Jul-05 5:27 
GeneralSQL C#.Net Pin
| Muhammad Waqas Butt |27-Jul-05 3:44
professional| Muhammad Waqas Butt |27-Jul-05 3:44 

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.