Click here to Skip to main content
15,790,440 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionQuery Designer Pin
Mohammad Al Hoss2-Oct-08 1:05
Mohammad Al Hoss2-Oct-08 1:05 
AnswerRe: Query Designer Pin
Giorgi Dalakishvili2-Oct-08 1:23
mentorGiorgi Dalakishvili2-Oct-08 1:23 
GeneralRe: Query Designer Pin
Paul Conrad3-Oct-08 7:38
professionalPaul Conrad3-Oct-08 7:38 
QuestionHow to tell when a form is opened? Pin
jpsstavares1-Oct-08 1:52
jpsstavares1-Oct-08 1:52 
AnswerRe: How to tell when a form is opened? Pin
Giorgi Dalakishvili1-Oct-08 2:21
mentorGiorgi Dalakishvili1-Oct-08 2:21 
GeneralRe: How to tell when a form is opened? Pin
jpsstavares1-Oct-08 6:39
jpsstavares1-Oct-08 6:39 
GeneralRe: How to tell when a form is opened? Pin
Giorgi Dalakishvili1-Oct-08 6:40
mentorGiorgi Dalakishvili1-Oct-08 6:40 
QuestionValueMember with sorted ComboBox Pin
Nigel Mackay30-Sep-08 20:16
Nigel Mackay30-Sep-08 20: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 18:26
tungcan5diop30-Sep-08 18:26 
AnswerRe: Add 2 number in Crystal Report Pin
TheCardinal30-Sep-08 21:16
TheCardinal30-Sep-08 21:16 
GeneralRe: Add 2 number in Crystal Report Pin
tungcan5diop1-Oct-08 17:19
tungcan5diop1-Oct-08 17:19 
QuestionCustom scrollbar + ownerdraw listview scrolling Pin
Nedim Sabic30-Sep-08 5:04
Nedim Sabic30-Sep-08 5:04 
QuestionRe: Custom scrollbar + ownerdraw listview scrolling Pin
led mike30-Sep-08 5:45
led mike30-Sep-08 5:45 
AnswerRe: Custom scrollbar + ownerdraw listview scrolling Pin
Nedim Sabic30-Sep-08 9:50
Nedim Sabic30-Sep-08 9:50 
QuestionHow to set the Brightness, Color, Contrast of Video using SliderBars or Track Bars ( While Recording) Pin
balaji_vbr30-Sep-08 3:43
balaji_vbr30-Sep-08 3:43 
QuestionPrint Window Pin
PaulaM30-Sep-08 1:11
PaulaM30-Sep-08 1:11 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili30-Sep-08 1:52
mentorGiorgi Dalakishvili30-Sep-08 1:52 
QuestionFill Combo Box with Database Names? Pin
astrovirgin30-Sep-08 0:36
astrovirgin30-Sep-08 0:36 
AnswerRe: Fill Combo Box with Database Names? Pin
Giorgi Dalakishvili30-Sep-08 0:53
mentorGiorgi Dalakishvili30-Sep-08 0:53 
Questiontext box custom behaviour during edition Pin
Witoldek26-Sep-08 2:01
Witoldek26-Sep-08 2:01 
AnswerRe: text box custom behaviour during edition Pin
Ashfield26-Sep-08 2:29
Ashfield26-Sep-08 2:29 
AnswerRe: text box custom behaviour during edition Pin
John Ad26-Sep-08 8:54
John Ad26-Sep-08 8:54 
AnswerRe: text box custom behaviour during edition Pin
Paul Conrad29-Sep-08 7:38
professionalPaul Conrad29-Sep-08 7:38 
QuestionPlease provide information about Live Video Streaming through C#.NET Pin
nareshkumar4you26-Sep-08 0:00
nareshkumar4you26-Sep-08 0:00 
AnswerRe: Please provide information about Live Video Streaming through C#.NET Pin
Ashfield26-Sep-08 2:31
Ashfield26-Sep-08 2: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.