Search:
Type: Posts; User: kender_a
Search:
Search took 0.03 seconds.
-
July 11th, 2015, 09:03 PM
Colleagues,
Is Template Method design pattern and Hook the same thing by different names?
Odd thing is, when I look up hook design pattern on Google, 90% of search results go to pages that...
-
February 22nd, 2015, 05:52 PM
The types will not be known in advance. That's the reason why XmlSerializer looks appealing. I can extract the type information, so I shouldn't need to know it ahead of time
XmlSerializer...
-
February 21st, 2015, 12:17 AM
Folks,
Is it possible to achieve random access with XmlSerializer? I would like to be able able to store multiple objects of different types in the same XML file (adding them at different times,...
-
February 20th, 2015, 01:01 PM
Folks,
As far as I understand, browsers use UTC to check cookies for expiration. That allows to avoid the following situation. Suppose, a server wants to set a cookie with a lifetime of 2 hours....
-
October 21st, 2014, 02:12 PM
Folks,
I need to make a fairly simple WinForms custom control. It will have about hundred or so graphics shapes (lines, circles). Little to no animation. At the moment of writing, I don't...
-
October 20th, 2014, 11:58 PM
My resume for this thread.
The original post had this hypothesis:
The hypothesis withstood the peer review.
P.S. This question was also mirrored here.
-
October 15th, 2014, 12:53 PM
Folks,
I’ve come across this blog article: Implicit Conversion Operators are Bad. The article discourages the use of implicit conversion with reference types. In the beginning, the article has...
-
October 12th, 2014, 01:21 AM
Thank you for the insight. I went ahead and created a struct and ran into the following problem.
I can't have an explicit parameterless constructor. I can't have an instance field initializer...
-
October 8th, 2014, 03:06 PM
Folks,
I’m making a C# type for working with fractions, and trying to follow best practices. My question is: should a type like this be a class (reference type) or a struct (value type)?
...
-
September 1st, 2011, 05:52 PM
Folks,
I used to be an enthusiastic C++ writer. Currently, I’m going up the learning curve of .NET and C#.
From what I’m reading on the web, only the C# built-in types may be declared as...
-
June 15th, 2011, 05:58 PM
Folks,
Properties window in visual studio is built around a nice grid control (or tree-grid control even). Does Microsoft provide a control like that to developers? I’d like to use it on my...
-
February 8th, 2011, 09:50 PM
Hey Bill,
Actually, I was able to find the article from the GUID in the original version of the link. :D
The article, however, deals with custom controls. It suggests to call the protected...
-
February 8th, 2011, 12:27 AM
That was illuminating. Thanks.
One thing that makes this problem a little more interesting is that one of the controls is a picture with irregular outline. The image itself is drawn with only a...
-
February 7th, 2011, 03:56 PM
Folks,
As everyone have noticed, the Form class has the Opacity property. It sets the opacity of the form and all of the controls. But is it possible to have opaque controls (e.g. picture boxes)...
-
January 29th, 2011, 11:27 PM
Colleagues,
What I'm trying to achieve is kind of an undocking behavior, where a control can undock from one form and float in a different form. My code is based on a working reference design. ...
-
January 29th, 2011, 08:57 PM
Folks,
There is a panel which contains 2 components: a label and a TreeView. The hierarchy, obviously, looks like this:
panel1 // handles Enter event
- label1
- treeView1
I need...
-
January 25th, 2011, 06:51 PM
Is there a difference between the following 2 lines of code?
m_ctrPanel.Leave += this.OnLeave;
and
m_ctrPanel.Leave += new System.EventHandler(this.OnLeave);
Obviously, they serve the same...
-
January 23rd, 2011, 06:12 PM
That solved my problem.
Thank you, BigEd!
-
January 23rd, 2011, 04:29 PM
Sometimes recursion helps answer questions like yours. What you're describing sounds like a tree-like structure (by the way, posting a diagram wouldn't hurt, if you can make one). Get a text book...
-
January 23rd, 2011, 04:18 PM
Colleagues,
I’m doing some recreational programming. I'm trying to display a semi-transparent form (overlay) over a control. (The purpose of the overlay is to show that a control can be a target...
-
January 1st, 2011, 11:03 PM
Attributes in my struct weren't correct. I've figure that out with some help from the community.
http://stackoverflow.com/questions/4542894/ptrtostructure-generates-safearraytypemismatchexception...
-
December 27th, 2010, 06:19 PM
Folks,
Please help me chase out a SafeArrayTypeMismatchException that I keep getting. I need to pass a struct to unmanaged DLL. One of the struct members is a variable-length array. Unmanaged...
-
November 27th, 2010, 10:43 PM
In plain C, I would do this:
void GetArray(
mytype* pBuff // [out] Pointer to the buffer in which array is returned to the calling code.
int iBuffLen); // [in] Length of the buffer...
-
February 17th, 2010, 04:49 PM
You've posted how you've resolved it. Now everyone is curious what the problem actually was... :)
-
February 17th, 2010, 12:51 PM
That's what I'm looking for. I know the name of the object (of my own class) and the property. How can I set-up the binding using Visual Studio designer tools?
P.S. I know how I would set up...
|
Click Here to Expand Forum to Full Width
|