Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do we List Down All User Names and Passwords in SQL Server? Pin
Dave Kreskowiak5-Aug-05 4:50
mveDave Kreskowiak5-Aug-05 4:50 
GeneralLoop through combobox items Pin
fady_sayegh5-Aug-05 0:06
fady_sayegh5-Aug-05 0:06 
GeneralRe: Loop through combobox items Pin
Pradyumna Gogte5-Aug-05 0:20
Pradyumna Gogte5-Aug-05 0:20 
GeneralRe: Loop through combobox items Pin
Guffa5-Aug-05 0:21
Guffa5-Aug-05 0:21 
GeneralRe: Loop through combobox items Pin
fady_sayegh5-Aug-05 0:29
fady_sayegh5-Aug-05 0:29 
GeneralRe: Loop through combobox items Pin
Guffa5-Aug-05 4:43
Guffa5-Aug-05 4:43 
Generalcapturing the right click and paste mouse events Pin
pjoseph9994-Aug-05 23:33
pjoseph9994-Aug-05 23:33 
General.net equivalent of ddx + q about anchoring Pin
roel_4-Aug-05 22:58
roel_4-Aug-05 22:58 
Hi,

I'm quite new to c# and windows.forms, so these are probably very basic questions Smile | :)

The first one is: what's the .net equivalent of ddx in mfc? Meaning, how do I associate the values of textboxes and checkboxes etc on forms with members of that forms? I've found ControlBindingsCollection and friends but that seems to be only for binding to databases, I want to bind to normal variables.

Secondly, in my dialog I have the following:

|---|       |---|
| A |  XXX  | B |
|---|       |---|


where the two squares A and B are list boxes and the XXX is a button. Now what I want is when the dialog is resized that the button stays the same size and that the two listboxes take up the rest of the space, so that the distance between the right of A and the left of the button stays the same, and the distance between the left of B and the right of the button stays the same as well. I cannot simply set the 'Anchor' property of A and B to 'Left,Top,Right' because that will make them overlap each other, which in turn is caused by the fact that the Anchor is relative to the parent container which is the dialog in this case. How do I do this? (Apart from overriding the dialog's OnSize and positioning everything manually).

cheers,

roel
GeneralRe: .net equivalent of ddx + q about anchoring Pin
Pradyumna Gogte5-Aug-05 0:17
Pradyumna Gogte5-Aug-05 0:17 
GeneralRe: .net equivalent of ddx + q about anchoring Pin
roel_5-Aug-05 1:17
roel_5-Aug-05 1:17 
GeneralRe: .net equivalent of ddx + q about anchoring Pin
Pradyumna Gogte5-Aug-05 2:01
Pradyumna Gogte5-Aug-05 2:01 
GeneralRe: .net equivalent of ddx + q about anchoring Pin
Dan Neely5-Aug-05 2:04
Dan Neely5-Aug-05 2:04 
Questionhow to define length of double dimension array Pin
Anonymous4-Aug-05 22:48
Anonymous4-Aug-05 22:48 
AnswerRe: how to define length of double dimension array Pin
mav.northwind4-Aug-05 22:58
mav.northwind4-Aug-05 22:58 
GeneralRe: how to define length of double dimension array Pin
Anonymous4-Aug-05 23:08
Anonymous4-Aug-05 23:08 
GeneralRe: how to define length of double dimension array Pin
Guffa4-Aug-05 23:52
Guffa4-Aug-05 23:52 
GeneralDelete related record problem Pin
Ming Luo4-Aug-05 22:33
Ming Luo4-Aug-05 22:33 
GeneralSql Paraments C# Pin
| Muhammad Waqas Butt |4-Aug-05 21:39
professional| Muhammad Waqas Butt |4-Aug-05 21:39 
GeneralRe: Sql Paraments C# Pin
J4amieC4-Aug-05 22:14
J4amieC4-Aug-05 22:14 
GeneralRe: Sql Paraments C# Pin
| Muhammad Waqas Butt |4-Aug-05 22:32
professional| Muhammad Waqas Butt |4-Aug-05 22:32 
GeneralRe: Sql Paraments C# Pin
J4amieC4-Aug-05 23:44
J4amieC4-Aug-05 23:44 
GeneralRe: Sql Paraments C# Pin
Guffa4-Aug-05 23:55
Guffa4-Aug-05 23:55 
GeneralRe: Sql Paraments C# Pin
Dead Skin Mask5-Aug-05 3:05
Dead Skin Mask5-Aug-05 3:05 
GeneralC# as scripting lang in MFC App Pin
Ning Hu4-Aug-05 21:19
Ning Hu4-Aug-05 21:19 
GeneralRe: C# as scripting lang in MFC App Pin
WillemM5-Aug-05 1:05
WillemM5-Aug-05 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.