Click here to Skip to main content
14,930,017 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Grid View Column Pin
Dave Kreskowiak23-Jul-13 11:23
mveDave Kreskowiak23-Jul-13 11:23 
AnswerRe: Grid View Column Pin
John D. Sanders4-Feb-14 9:21
MemberJohn D. Sanders4-Feb-14 9:21 
GeneralRe: Grid View Column Pin
Dave Kreskowiak4-Feb-14 10:13
mveDave Kreskowiak4-Feb-14 10:13 
GeneralRe: Grid View Column Pin
John D. Sanders4-Feb-14 10:16
MemberJohn D. Sanders4-Feb-14 10:16 
GeneralDatabinding to TextBox Pin
Wild Thing21-Jul-13 2:02
MemberWild Thing21-Jul-13 2:02 
GeneralRe: Databinding to TextBox Pin
Eddy Vluggen24-Jul-13 8:07
professionalEddy Vluggen24-Jul-13 8:07 
GeneralRe: Databinding to TextBox Pin
Wild Thing25-Jul-13 5:23
MemberWild Thing25-Jul-13 5:23 
GeneralRe: Databinding to TextBox Pin
BillWoodruff27-Aug-13 18:13
mveBillWoodruff27-Aug-13 18:13 
First, I think you need to add a constructor to 'adrData:
public class adrData
{
    public string label { get; set; }
    public adr ad { get; set; }
    public para pa { get; set; }

    // ctor
    public adrData()
    {
        label = "";
        ad = new adr();
        pa = new para();
    }
}
Then, in code, you can do something like this:
adrData newAdrData = new adrData();

newAdrData.ad.r1.name = "Route Name #1";

textBox1.DataBindings.Add("Text", newAdrData, "ad.r1.name");
To bind to a specific instance of 'adrData. Unless you create a new instance of 'ad, within 'adrData, then you never initialize the 'routes: because only creating a new instance of 'adr will initialize the 'routes.

~
“This isn't right; this isn't even wrong." Wolfgang Pauli, commenting on a physics paper submitted for a journal

QuestionLogging for Windows Form application Pin
lol240317-Jul-13 3:25
Memberlol240317-Jul-13 3:25 
AnswerRe: Logging for Windows Form application PinPopular
NotPolitcallyCorrect17-Jul-13 4:09
MemberNotPolitcallyCorrect17-Jul-13 4:09 
QuestionWinforms - automated retrieve static image Pin
fincity11-Jul-13 7:51
Memberfincity11-Jul-13 7:51 
AnswerRe: Winforms - automated retrieve static image Pin
Richard MacCutchan11-Jul-13 21:16
mveRichard MacCutchan11-Jul-13 21:16 
AnswerRe: Winforms - automated retrieve static image Pin
Eddy Vluggen9-Oct-13 7:30
professionalEddy Vluggen9-Oct-13 7:30 
QuestionError during tableAdapterManager.UpdateAll unable to resolve Pin
Member 838780830-Jun-13 8:02
MemberMember 838780830-Jun-13 8:02 
AnswerRe: Error during tableAdapterManager.UpdateAll unable to resolve Pin
Eddy Vluggen4-Jul-13 5:05
professionalEddy Vluggen4-Jul-13 5:05 
QuestionListBox does not update when DataSource is changed Pin
rbsbscrp17-May-13 5:36
Memberrbsbscrp17-May-13 5:36 
AnswerRe: ListBox does not update when DataSource is changed Pin
rbsbscrp17-May-13 6:59
Memberrbsbscrp17-May-13 6:59 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen24-May-13 2:59
professionalEddy Vluggen24-May-13 2:59 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak24-May-13 5:23
mveDave Kreskowiak24-May-13 5:23 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp24-May-13 20:03
Memberrbsbscrp24-May-13 20:03 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen24-May-13 23:03
professionalEddy Vluggen24-May-13 23:03 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak25-May-13 3:55
mveDave Kreskowiak25-May-13 3:55 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp30-May-13 14:16
Memberrbsbscrp30-May-13 14:16 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak30-May-13 16:19
mveDave Kreskowiak30-May-13 16:19 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp30-May-13 17:38
Memberrbsbscrp30-May-13 17:38 

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.