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.
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.
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.
I have used this on and off at various times.
WarePhreak Programmers are tools to convert caffiene to code.
Island
WarePhreak Programmers are tools to convert caffiene to code.
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.
That does feel better. ;P
WarePhreak Programmers are tools to convert caffiene to code.
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.
Got 4.31 myself on first try.
WarePhreak Programmers are tools to convert caffiene to code.
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.
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.
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.
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.
Documentation, who needs stinking documentation. :laugh:
WarePhreak Programmers are tools to convert caffiene to code.
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.
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.
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.
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.
I guess I deserved that one.
WarePhreak Programmers are tools to convert caffiene to code.
love the sig!
WarePhreak Programmers are tools to convert caffiene to code.
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.