Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

Ware Work

@Ware Work
About
Posts
61
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C# threading question: Invoke() fails with ObjectDisposedException
    W Ware Work

    at ProgressForm.SetProgressDescription(String description)

    It appears to be calling SetProgressDescription and not SetProgressValue that you have included previously. Is this the issue?

    WarePhreak Programmers are tools to convert caffiene to code.

    C# question csharp debugging help announcement

  • goto loops
    W Ware Work

    Generally I do not use gotos in c# but there is one exception with regards to switch (cases) where you want to process multiple cases. For example, I have a data driven website where certain css classes are listed in data and applied to a user control in order. They are all optional but want to process each one specified in a specific way, so I created something like:

    char sepChar = '|';
    string[] array = dataString.Split(sepChar);

    switch (array.length)
    {
    case 3:
    dosomeassign(array[2], element5);
    goto 2;
    case 2:
    dosomeotherassign(array[1], element4);
    goto 1;
    case 1:
    dosomeassign(array[0], element2);
    break;
    }

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge csharp question

  • What is the best font for programming?
    W Ware Work

    I have used this on and off at various times.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge question workspace

  • Anyone fancy a game of word association? I'm starting Bored
    W Ware Work

    Island

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge game-dev question

  • Of all the words that could be the millionth, why did it have to be this one?
    W Ware Work

    at least slumdog is one word. I don't buy the "phrasal noun" garbage. But either way 2.0 isn't a valid word in itself.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge csharp php css wpf com

  • why <insert your sucking tool> sucks today
    W Ware Work

    That does feel better. ;P

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge help question com tutorial announcement

  • job post setting up for failure?
    W Ware Work

    I got a consultant position (to pay bills between permanent positions) for a company based out of Atlanta that had a local office. I was trying to get a full time position from them for the benefits. The came back with an offer like this one (about 2/3 what I made previously) and said that is what the market was paying. When my consulting position ended, I started a new full time position for another company making almost exactly what I had previously been making. Obviously the Atlanta company wasn't localizing pay to their office locations, and I believe the Atlanta market to be paying poorly for IT.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge csharp career database sysadmin windows-admin

  • Eyeball game
    W Ware Work

    Got 4.31 myself on first try.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge php visual-studio linq com game-dev

  • Interface Inheritance Q?
    W Ware Work

    You got into the implementation. I want to define the contract so that any object that satifies IBaseObject will by nature satisfy ICalulatable and be usable as such. Is using new on FirstPaymentDate the correct way to do so? I tried using virtual/override and it wouldn't let me do that. So I am beginnining to believe it must be. Thanks all for the help.

    WarePhreak Programmers are tools to convert caffiene to code.

    C# tools oop help question

  • Interface Inheritance Q?
    W Ware Work

    led mike wrote:

    Perhaps reading Allen Holub discuss why Getters and Setters are Evil[^] will help you.

    Read the article but it is focused more on the class design. If I understand it correctly, I am doing fine because I am creating an interface to define the contract that will be passed around. I will have a calculator object that accepts the ICalculatable as a parameter to a RunCalc method. This will ensure I have access to the values I need to do the calculation. BaseObject is a business object. The calculator object will be business intelligence. I don't care about the actual implementation under the covers. How do I define IBaseObject to imply that the FirstPaymentDate property is the same in both the IBaseObject definition and the ICalculatable definition?

    WarePhreak Programmers are tools to convert caffiene to code.

    C# tools oop help question

  • Interface Inheritance Q?
    W Ware Work

    I have created the following:

    public interface ICalculatable
    {
    DateTime FirstPaymentDate { get; }
    decimal MonthlyCompoundingRate { get; }
    }

    public interface IBaseObject : ICalculatable
    {
    string Identifier { get; }
    // Input Value
    DateTime FirstPaymentDate { get; set; }
    // Input Value
    decimal InterestRate { get; set; }
    }

    public class BaseObject : IBaseObject
    {
    ...
    }

    I get a compiler error that need new to hide inherited member. I am trying to figure out if that is the correct thing or I need to use virtual/override/etc.. instead. I will be accessing the BaseObject as ICalculatable in other code and the FirstPaymentDate properties should be the same value/source. Thanks in advance.

    WarePhreak Programmers are tools to convert caffiene to code.

    C# tools oop help question

  • They must be really desperate...
    W Ware Work

    That's kinda what I was thinking. They'll sell you part of their list, but they just expanded their list too.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge

  • Hard-copy storage
    W Ware Work

    Documentation, who needs stinking documentation. :laugh:

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge wpf help question

  • Treat warnings as errors ?
    W Ware Work

    I've used the #pragma on Crystal reports too. I have it turned on and level 4 and XML docs on.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge question

  • What Sci-Fi planet would you like to live on?
    W Ware Work

    Simon Stevens wrote:

    My favourite was always Djelibeybi.

    Sounds/Looks interesting but I'm not familiar with this. What series/book?

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge com question

  • Code, women do it better
    W Ware Work

    MrPlankton wrote:

    [modified added link to what a molley is /]

    hell some even comment their post edits! ;P

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge com

  • if...AND...else! [modified]
    W Ware Work

    What I find even worse are some of those same users who have some "tool" (i.e. Access) that they believe makes them a programmer. And then you look at what they've done and it is magic it even works.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Weird and The Wonderful question

  • Help! Trying to remember book title from cnug
    W Ware Work

    I guess I deserved that one.

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge csharp com business tools help

  • if...AND...else! [modified]
    W Ware Work

    love the sig!

    WarePhreak Programmers are tools to convert caffiene to code.

    The Weird and The Wonderful question

  • Help! Trying to remember book title from cnug
    W Ware Work

    I met a fellow CPian (and I can't remember his name) at the last cnug[^] meeting. There was a particular book that was being raffled he recommended (and I can't remember its title). If you're out there and read this, please help me remember which book it is. I believe it was an Apress with a cover similar to Expert C# Business Objects[^]. I looked at the Apress site but didn't see any that struck me as the one. I was running the widescreen VPC on 1G RAM that was so slow... Thanks,

    WarePhreak Programmers are tools to convert caffiene to code.

    The Lounge csharp com business tools help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups