| Thread | Last Post | Replies |
|
| Exposing enums, properties and variables | 02 Mar 2008 17:34 GMT | 7 |
I created dll class library which I exposed methods on it. I want to expose enums, properties and variables. The problem is that I don't have an idea. This is what I do:
|
| enum questions | 02 Mar 2008 14:23 GMT | 2 |
I have 2 questions about enums: 1) How can I recognize defined enum in other projects ,do I have to add the full namespace path before it such as: Projects.New Project.Test.MessageType (MessageType is an enum) - each
|
| Alternative to static property in interface? | 02 Mar 2008 13:52 GMT | 1 |
I would like to get a static property of classes through an interface. But static isn't allowed in interface. The class types are implementing an interface, and loaded from external assemblies (this is my plug-in architecture). So, if the property is not static I
|
| RSS feed XML linq | 02 Mar 2008 13:19 GMT | 2 |
I'm readming values from an rss feed, by way of the suplied xml file. Using linq I can get the title and description, but need to know the last download time. Can some one through me a hint. A snipit of the xml file .
|
| calling base constructor | 02 Mar 2008 12:53 GMT | 20 |
Is it possible to call a different base constructor (or just different parameters) in the body of a constructor in C#? Something like: public class test
|
| Tricky VB to C# conversion | 02 Mar 2008 10:29 GMT | 7 |
I am trying to convert some VB that uses Linq into C# Is there anyone out there who is kind enough (clever enough) to show me how to convert the following Sub loadAddress into C# for me. Sub DoIt()
|
| Lazy load of properties in DLinq | 02 Mar 2008 10:20 GMT | 14 |
I tried query like var list=Db.Customers.ToList(); and noticed that all properties are retrieved immediately. Only few properties are actually used in each unit of work.
|
| 16bppGrayScale | 02 Mar 2008 02:10 GMT | 4 |
Anyone know how to create a 16bppGrayScale? The following code crashes at the save statement with an OutOfMemory exception: bmpTemp = new Bitmap(bmpBuffer.Width, bmpBuffer.Height, PixelFormat.Format16bppGrayScale);
|
| How do I marshal a C# string to call a C++ function that needs a L | 02 Mar 2008 01:59 GMT | 2 |
Hi, I need to call a funciton in a C++ Dll that requires 2 LPCWSTR parameters. How do I marshall this in my DLLIMPORT statement in C# (string trpe)? Thank you.?
|
| Implement Interface | 01 Mar 2008 23:24 GMT | 8 |
I have a generic BinaryTree called Tree<T> below where I have implemented the IEnumerable<T> interface. The class header is shown below. public class Tree<T> : IEnumerable<T> where T : IComparable<T>
|
| "The name 'Filepath' does not exist in the current context" | 01 Mar 2008 23:10 GMT | 2 |
Please assist. New to C#. This below code is in a book it was used in VS 2005. I'm using VS 2008. On this line:
|
| Some miscellaneous newbie 2005/.Net 2 questions | 01 Mar 2008 18:23 GMT | 1 |
These have all been bugging me for a while. 1. myBuffer.Render I use manual double buffering, it works well (no flicker, and suits the logic of my app). Accordingly my on_Paint override is:
|
| How to get events assigned to ToolStripMenuItem.Click | 01 Mar 2008 17:54 GMT | 11 |
In the code below I Call CopyToolStripMenuItem which effectively copies the properties of saveToolStripMenuItem one at a time into newItem. The next statement changes the Text of newItem to "New"
|
| What property defines a controls paint bounds? | 01 Mar 2008 13:51 GMT | 14 |
I am creating a custom control and I'm trying to get the painting of it correct. I'd like to simply use: e.Graphics.FillRectangle(Brushes.White, DisplayRectangle); ... or ...
|
| Problem in executing the file? | 01 Mar 2008 12:32 GMT | 1 |
Hi friends, Iam new to this group. I have problem with executing the output(exe) file in a new system. I have created and compiled in a VS 2005 tool. when i run the exe file in a new system. its prompting me
|