Click here to Skip to main content
15,881,248 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionQuery Designer Pin
Mohammad Al Hoss2-Oct-08 0:05
Mohammad Al Hoss2-Oct-08 0:05 
AnswerRe: Query Designer Pin
Giorgi Dalakishvili2-Oct-08 0:23
mentorGiorgi Dalakishvili2-Oct-08 0:23 
GeneralRe: Query Designer Pin
Paul Conrad3-Oct-08 6:38
professionalPaul Conrad3-Oct-08 6:38 
QuestionHow to tell when a form is opened? Pin
jpsstavares1-Oct-08 0:52
jpsstavares1-Oct-08 0:52 
AnswerRe: How to tell when a form is opened? Pin
Giorgi Dalakishvili1-Oct-08 1:21
mentorGiorgi Dalakishvili1-Oct-08 1:21 
GeneralRe: How to tell when a form is opened? Pin
jpsstavares1-Oct-08 5:39
jpsstavares1-Oct-08 5:39 
GeneralRe: How to tell when a form is opened? Pin
Giorgi Dalakishvili1-Oct-08 5:40
mentorGiorgi Dalakishvili1-Oct-08 5:40 
QuestionValueMember with sorted ComboBox Pin
Nigel Mackay30-Sep-08 19:16
Nigel Mackay30-Sep-08 19:16 
Have a struct:
struct propStruct
{
    private int TheIndex;
    public int theIndex
    {
        get
        {
            return TheIndex;
        }
        set
        {
            TheIndex = value;
        }
    }
    private string Addr1;
    public string addr1
    {
        get
        {
            return Addr1;
        }
        set
        {
            Addr1 = value;
        }
    }
    ....
}

On MainForm I have an ArrayList, Props, filled with propStruct.
On another form I have a SORTED combobox:
cboProperty.DataSource = MainForm.Props;
cboProperty.DisplayMember = "addr1";
cboProperty.ValueMember = "theIndex";

ValueMember is always the same value as SelectedIndex, which of course is wrong, due to sorting.
Tried converting propStruct to a class, but same result.

Nigel
QuestionAdd 2 number in Crystal Report Pin
tungcan5diop30-Sep-08 17:26
tungcan5diop30-Sep-08 17:26 
AnswerRe: Add 2 number in Crystal Report Pin
TheCardinal30-Sep-08 20:16
TheCardinal30-Sep-08 20:16 
GeneralRe: Add 2 number in Crystal Report Pin
tungcan5diop1-Oct-08 16:19
tungcan5diop1-Oct-08 16:19 
QuestionCustom scrollbar + ownerdraw listview scrolling Pin
Nedim Sabic30-Sep-08 4:04
Nedim Sabic30-Sep-08 4:04 
QuestionRe: Custom scrollbar + ownerdraw listview scrolling Pin
led mike30-Sep-08 4:45
led mike30-Sep-08 4:45 
AnswerRe: Custom scrollbar + ownerdraw listview scrolling Pin
Nedim Sabic30-Sep-08 8:50
Nedim Sabic30-Sep-08 8:50 
QuestionHow to set the Brightness, Color, Contrast of Video using SliderBars or Track Bars ( While Recording) Pin
balaji_vbr30-Sep-08 2:43
balaji_vbr30-Sep-08 2:43 
QuestionPrint Window Pin
PaulaM30-Sep-08 0:11
PaulaM30-Sep-08 0:11 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili30-Sep-08 0:52
mentorGiorgi Dalakishvili30-Sep-08 0:52 
QuestionFill Combo Box with Database Names? Pin
astrovirgin29-Sep-08 23:36
astrovirgin29-Sep-08 23:36 
AnswerRe: Fill Combo Box with Database Names? Pin
Giorgi Dalakishvili29-Sep-08 23:53
mentorGiorgi Dalakishvili29-Sep-08 23:53 
Questiontext box custom behaviour during edition Pin
Witoldek26-Sep-08 1:01
Witoldek26-Sep-08 1:01 
AnswerRe: text box custom behaviour during edition Pin
Ashfield26-Sep-08 1:29
Ashfield26-Sep-08 1:29 
AnswerRe: text box custom behaviour during edition Pin
John Ad26-Sep-08 7:54
John Ad26-Sep-08 7:54 
AnswerRe: text box custom behaviour during edition Pin
Paul Conrad29-Sep-08 6:38
professionalPaul Conrad29-Sep-08 6:38 
QuestionPlease provide information about Live Video Streaming through C#.NET Pin
nareshkumar4you25-Sep-08 23:00
nareshkumar4you25-Sep-08 23:00 
AnswerRe: Please provide information about Live Video Streaming through C#.NET Pin
Ashfield26-Sep-08 1:31
Ashfield26-Sep-08 1:31 

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.