|
LOL. People these days. They don't even bother to use search engines.
|
|
|
|
|
AK wrote:
They don't even bother to use search engines
You know I sometimes imagine people reading posts that tell them to use a search engine or Google and this little Ralph Wigham voice says "What's a search engine?"
Do you want to know more?
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
|
|
|
|
|
Colin Angus Mackay wrote:
You know I sometimes imagine people reading posts that tell them to use a search engine or Google and this little Ralph Wigham voice says "What's a search engine?"
I don't like googles. Googles make my tummy hurt.
Charlie
if(!curlies){ return; }
|
|
|
|
|
|
search engine has many result, good and bad link, i guess he's just consulting you experts, maybe you answer is prefered than search engines
|
|
|
|
|
You must be new here.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles]
|
|
|
|
|
try to look at Janus Controls
www.janusys.com
let me know if this help
|
|
|
|
|
When I've created my own class derived from a Form or UserControl or the like, is there some way to filter (at least temporarily) the drop down list of methods/properties/events to just those I defined in my class, rather than the several billion that are inherited? More generally, this would be filtering to the child-most class.
Matt Gerrans
|
|
|
|
|
I'm afraid that there are no built in options for that. There's probably a tool with intellisense the way you want to have it. But, most of the tools that I've tried are not too professional and make the VS.net more complex and probably more annoying than helpful.
Anyone out there actually have a tool with better intellisense than VS.net?
|
|
|
|
|
Has anyone run into a problem where you would register a C# project for com interop, look at the .tlb file that gets generated, and have all the interfaces in your project be missing? This is exactly the problem I'm having and it's driving me nuts. All other projects I've ever done the interfaces showed up like they should. I even have all their ComVisible attributes set to true. Any ideas?
|
|
|
|
|
i have a listview set up as detail view, and would like the text to wrap to next line for each column. i have LabelWrap set to true, but it still appends the "..." after the text.
|
|
|
|
|
According to MSDN:
When the LabelWrap property is set to true, the item text is wrapped to the next line of text if needed. If the text is longer than two lines of text, the text is shortened.
Seems like you're limited to two lines. You can rewrite the painting code.
|
|
|
|
|
Hello,
I have a Form of a Smart Device Application with a constructor and a defined Form_Load event. When i the form is created which method is first executed - the constructor or the Form_Load??
regards
pat
|
|
|
|
|
You can quickly check this by putting breakpoint in both Constructor and Form_Load method and run it. See which one gets called first...
Sandeep Naik
|
|
|
|
|
Or with logic: does it make sense for any method to be called before a constructor?
By the way, if you have multiple constructors and you're using the debugger method suggested, may want to put breakpoints in all of them.
Matt Gerrans
|
|
|
|
|
Yes, static methods and type constructors.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles]
|
|
|
|
|
Well, yes, if you want to pick nits.
If you insist, instead of "does it make sense for any method to be called before a constructor?" it should be "does it make sense for any instance method to be called before a constructor?" or perhaps "does it make sense for any static method to be called before a type constructor?" or maybe the two combined.
Matt Gerrans
|
|
|
|
|
When instantiating ANY class, the constructor is always the first thing that is called.
Do you want to know more?
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
|
|
|
|
|
Well, heck, if you were just going to blurt it out, couldn't you have done it in the form of a Vogon poem?
Matt Gerrans
|
|
|
|
|
Matt Gerrans wrote:
couldn't you have done it in the form of a Vogon poem?
I tried once, but I got these intestinal cramps and an inexplicable urge to gnaw off my right leg.
Do you want to know more?
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
|
|
|
|
|
Actually, the static initializer (.cctor) is the first thing ever called, but only the first time for a type within a given AppDomain. But as far as instances go, yes you're right.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles]
|
|
|
|
|
Hi,
I am adding items to a listview and want to make some items bold depending on a condition and some left as normal. The items.Bold property in the ListViewitems collection is a read only property and so i cannot set it. Is there a way to achieve this?
Thanks for the help.
Stephen
|
|
|
|
|
Set the items Font property
Ex:
item.Font = new Font("Microsoft Sans Serif",8,System.Drawing.FontStyle.Bold);
Sandeep Naik
|
|
|
|
|
Hello,
I have a C# program that reads data from an Excel sheet, and creates an Xml file from it. The Excel sheets are not modified, and the Excel app is hidden from the user.
Everything works fine exept when I quit my program before it finishes. When I do this, Excel stays open. The only way to tell this is to look in the task bar; the first time I did this I was surprised to see 8 Excel processes running!
There must be a way to tell Excel to quit when the process that started it quits... anybody know how I can do this? Thanks!
Jeremy O
PM Logic
http://www.jeremyo.com
|
|
|
|
|
If you using Excel automation com library from MS then it should be very simple. If your running Excel in any other way then I guess you can just kill the process.
|
|
|
|