Particular OOP modelling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?THVpZ2k=?=

    Particular OOP modelling

    Hi all,
    I have some trouble to modelling, with some OOP principles, a situation like
    this.
    I have some controls, with unique name, that check equality between sums of
    Excel cells, like:

    "Control1"

    Sheet1.A1 + Sheet2.A2 = Sheet1.B1 + Sheet2B2

    and so on.

    Has anyone any idea?
    I'm using C# 2.0.

    Thanks a lot
    --
    Luigi

  • Stefan Hoffmann

    #2
    Re: Particular OOP modelling

    hi Luigi,

    Luigi wrote:
    I have some controls, with unique name, that check equality between sums of
    Excel cells, like:
    >
    "Control1"
    >
    Sheet1.A1 + Sheet2.A2 = Sheet1.B1 + Sheet2B2
    >
    and so on.
    >
    Has anyone any idea?
    Sounds like an Observer:

    Learn how to use the C# Observer design pattern to notify objects of changes to other objects, with quick and easy examples. 100% Source code.




    mfG
    --stefan <--

    Comment

    • Peter Morris

      #3
      Re: Particular OOP modelling

      Any idea about what? You tell us what you have and what it does, but then
      don't ask a question.


      --
      Pete
      ====



      Comment

      • =?Utf-8?B?THVpZ2k=?=

        #4
        Re: Particular OOP modelling

        "Peter Morris" wrote:
        Any idea about what? You tell us what you have and what it does, but then
        don't ask a question.
        How write in C# this situation, having good OOP principles in mind.
        It's better to write a class from which I inherited?
        A manager that create these checks?
        And so on?

        Luigi

        Comment

        Working...