Persisting control dimension ratio
Mon, 25 Aug 2008 16:45:40 +0200
I have a form which contains some panels and controls.
Regarding a certain control (a picture box), I need that the ratio of its 2
dimensions remain constant when the user modifies the form size (the other
control may compensate for that).
Is that possible and how?
Regards
Ronny
...
|
How to capture the OnPaint of a textbox
Mon, 25 Aug 2008 07:37:31 -0700 (PDT)
I'm trying to make one of our perennial favorites - The Syntax Color
Editor. (Mostly as a learning exercise). I'm wondering if there is a
way to capture the Paint event of a textbox so I can render the text
myself.
I've tried to replicate the functionality of a textbox, but I think it
would be easier to simp ...
|
List: item already present
Mon, 25 Aug 2008 07:14:03 -0700
Hi all,
is there a way to verify that an item in already present in a List<string>,
like:
public List<string> codeCompositionList = new List<string>();
Thanks in advance.
--
Luigi
...
|
Native C#?
Mon, 25 Aug 2008 06:52:03 -0700
Is there a way to write native C# applications?
I used to write a lot of native applications, but we used Borland to do it.
These days, I work for a different company that fully embraces Microsoft, so
it isn't really an issue any more.
Now that I'm getting pretty good at C#, I am left wondering if all of ...
|
Design Question: Do I need a pluggable system?
Mon, 25 Aug 2008 06:30:30 -0700 (PDT)
I'm using C#, but I don't know that it matters for this question. I
know that many experienced folks are on here, so sorry for being off
topic. I am finally at a point where I want to and I think able to
design software that is modular and pluggable. The only problem is
that I'm not sure if I need to or if th ...
|
Use of Excel Interop within C#
Mon, 25 Aug 2008 06:22:01 -0700
I've been tasked to translate a C# program to VB. (Dot Net 2.0.)
I'm starting from scratch with no documentation and I'm trying to understand
what the original programmer did. (The 'original programmer' is conveniently
off on vacation so I can't ask him.) The program deals in some way with Excel
spreadshe ...
|
IEnumerable<T>
Mon, 25 Aug 2008 14:06:53 +0100
I've given this interface some thought, the benefits to using it seem to be
01: I can use "var" in a foreach
//Works
List<SomeClass> list = new List<SomeClass>();
foreach(var item in list)
item.MethodOnSomeClass();
//Doesn't work
ArrayList list2 = new ArrayList();
foreach(var item in list2)
item.M ...
|
|
|
Linq. Avoid Joins
Mon, 25 Aug 2008 05:33:12 -0700 (PDT)
Hello,
I have 3 tables: Posts, Tags and PostsTags.
PostsTags relates Posts with Tags and has 3 fields: PostID and TagID.
I have all the relationships between tables well defined!
I have the following query:
PostPaper paper = (from p in database.Posts
where p.PostID == i ...
|
List to CSV
Mon, 25 Aug 2008 05:22:57 -0700 (PDT)
Hello,
I have a Linq query which returns items of
List<Tag> Tags = new List<Tag> (from t in database.Tags
where
t.Category = MyCategory).ToList();
Each tag has three properties: ID, Name and Category
I need to convert this list to a CSV strin ...
|
AxWebBrowser show image
Mon, 25 Aug 2008 05:05:25 -0700 (PDT)
The application in question uses .NET 1.1 (cannot use 2.0 atm). An
html page is dynamically generate within the application and is
displayed using AxSHDocVw.AxWebBrowser.
The problem with this solution is that the web page displayed inside
AxSHDocVw.AxWebBrowser UI component doesn't show images referered to
i ...
|