|
Name your threads something useful Download windows embedded 6.0, select your device type and get the .NET compact framework and go to town.
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Wow! Could your question be any more vague??
How about gather the customers requirements, come up with a design, write some code, test it, fix it, rinse and repeat.
|
|
|
|
|
Dave Kreskowiak wrote: Could your question be any more vague??
Yes, but only just. He was very close to a full vagueness factor...
By wording it as "would you please give some suggestions how to make a system. please just give me a hint what to do."
|
|
|
|
|
|
I think you'll have no trouble developing a Piece Of Sh** system all on your own.
|
|
|
|
|
I was just about to say that I see POS projects all the time. Beat me to it.
|
|
|
|
|
|
MasterSharp wrote: So much negativity...
Come on. Feel the love.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
POS means "Point of Sale" doesn't it?
So I guess what you are asking is for help in creating an electronic cashtill.
If this is the case I'd suggest you start off by designing a simple calculator and take it from there.
That is assuming I've understood what you mean by POS.
You always pass failure on the way to success.
|
|
|
|
|
I have been know to develop such systems :p
Actually, your best bet is to purchase Quick Books or some other cots and then use its extensibility model.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
I want to hide the + or - sign in the PropertyGrid. For instance, if there are 1 main root level and has 2 child roots levels I only want to display everything expanded but again without having the options to click to minimize or maximize.
MainFolder
|
|
|_____
|
|SubFolder1
|
|SubFolder2
Thanks
|
|
|
|
|
That's not something the PropertyGrid control allows you to suppress.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
In order to do this, you'd have to take over drawing the property grid yourself. It seems like a lot of effort for not really much gain.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
Today I opened the definition of Excel.ApplicationClass and I observed that it implements two interfaces called application and _application. Interface _application contains lot of members but interface application is empty and only implements interface _application. So the hierarchy is like this;
interface _application (interface with members in it)
interface application (empty interface) : _application
ApplicationClass (class) : _application, application
So the class ApplicationClass provides definitions to all members in topmost interface _application. My question is that why does this class need to implement the interface _application if it is already implemented by interface application?
Thanks in advance for all the answers by you.
Anil
|
|
|
|
|
A M SOMAN wrote: My question is that why does this class need to implement the interface _application if it is already implemented by interface application?
Good question. I would expect that the answer is because it's autogenerated so don't actually expect it to do anything clever there.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Assume I have class1.
class class1
{
public class1(class1 c1)
{
}
}
What this means ? Why a class needs another instance of the same class to be passed as parameter. I have seen this type of behavior in XmlSerializerNamespaces[^] class. It accepts XmlSerializerNamespaces object in the constructor ? Any idea ?
|
|
|
|
|
This is called a copy constructor[^]. It is used to create a copy of the given object. In .Net, the class should really implement ICloneable[^] though.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
That's new to me. Do you have any c# links explaining this ? Why we use this ? I found that it is making a copy of object, so how parameters are passed to constructor ?
|
|
|
|
|
The link I provided is for C++, but the same concept applies to C#.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
And yet is still isn't generic
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
TJoe wrote: In .Net, the class should really implement ICloneable
Not so quick, read Community Content down there
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
I did and I doubt Jonathan speaks for Microsoft. I agree with wekempf's last post. Copy constructor does specify whether it's a deep or shallow copy either. In addition, the ICloneable allows derived classes to more easily override the copy behavior. Finally, there is no way (aside from reflection) to tell if an object has a copy constructor. With the ICloneable interface, you can easy do "if (obj is ICloneable)".
-- Update: I see now that the MS guidelines recommend to not use it. But there are still applications for this interface.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
I'm not going to join debate about copy ctor vs ICloneable now However I wanted to point out there is a debate.
TJoe wrote: -- Update: I see now that the MS guidelines recommend to not use it.
This is where I first saw that
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
N a v a n e e t h wrote: Why a class needs another instance of the same class to be passed as parameter.
You can use this pattern when you want to inicalize your instance using copy of data from another instance.
If you look at XmlSerializerNamespaces with Reflector, you see:
public XmlSerializerNamespaces(XmlSerializerNamespaces namespaces)
{
this.namespaces = null;
this.namespaces = (Hashtable) namespaces.Namespaces.Clone();
}
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Yes that made it clear. Thanks
|
|
|
|