Click here to Skip to main content
15,507,266 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: How to avoid color changes when button is disabled Pin
Dave Kreskowiak11-Sep-13 6:10
mveDave Kreskowiak11-Sep-13 6:10 
AnswerRe: How to avoid color changes when button is disabled Pin
xstoneheartx25-Dec-14 17:46
xstoneheartx25-Dec-14 17:46 
QuestionGrid View Column Pin
Mahdi_kishislan23-Jul-13 11:41
Mahdi_kishislan23-Jul-13 11:41 
AnswerRe: Grid View Column Pin
Dave Kreskowiak23-Jul-13 12:23
mveDave Kreskowiak23-Jul-13 12:23 
AnswerRe: Grid View Column Pin
John D. Sanders4-Feb-14 10:21
John D. Sanders4-Feb-14 10:21 
GeneralRe: Grid View Column Pin
Dave Kreskowiak4-Feb-14 11:13
mveDave Kreskowiak4-Feb-14 11:13 
GeneralRe: Grid View Column Pin
John D. Sanders4-Feb-14 11:16
John D. Sanders4-Feb-14 11:16 
GeneralDatabinding to TextBox Pin
Wild Thing21-Jul-13 3:02
Wild Thing21-Jul-13 3:02 
Hi everybody,

I'm trying to bind a class variable to a textbox.

the data class looks like:

C#
<pre lang="c#">

    public class route
    {
        public string name { get; set; }
        public int adress { get; set; }

        public route()
        {
            name = "";
            adress = 0;
        }
    }
    public class adr
    {
        public int index { get; set; }

        public route r1 { get; set; }
        public route r2 { get; set; }
        public adr()
        {
            index = 0;
            r1 = new route();
            r2 = new route();
        }
    }

    public class para
    {
        public int i1 { get; set; }
        public int i2 { get; set; }
    }

    public class adrData
    {
        public string label { get; set; }
        public adr ad { get; set; }
        public para pa { get; set; }
    }


When I try to bind f.e. ad.r1.name to a textbox text via designer, it offers only label, ad and pa for binding.

What am I missing here?

Thnx adv for your answers.

modified 21-Jul-13 10:42am.

GeneralRe: Databinding to TextBox Pin
Eddy Vluggen24-Jul-13 9:07
professionalEddy Vluggen24-Jul-13 9:07 
GeneralRe: Databinding to TextBox Pin
Wild Thing25-Jul-13 6:23
Wild Thing25-Jul-13 6:23 
GeneralRe: Databinding to TextBox Pin
BillWoodruff27-Aug-13 19:13
mveBillWoodruff27-Aug-13 19:13 
QuestionLogging for Windows Form application Pin
lol240317-Jul-13 4:25
lol240317-Jul-13 4:25 
AnswerRe: Logging for Windows Form application Pin
NotPolitcallyCorrect17-Jul-13 5:09
NotPolitcallyCorrect17-Jul-13 5:09 
QuestionWinforms - automated retrieve static image Pin
fincity11-Jul-13 8:51
fincity11-Jul-13 8:51 
AnswerRe: Winforms - automated retrieve static image Pin
Richard MacCutchan11-Jul-13 22:16
mveRichard MacCutchan11-Jul-13 22:16 
AnswerRe: Winforms - automated retrieve static image Pin
Eddy Vluggen9-Oct-13 8:30
professionalEddy Vluggen9-Oct-13 8:30 
QuestionError during tableAdapterManager.UpdateAll unable to resolve Pin
Member 838780830-Jun-13 9:02
Member 838780830-Jun-13 9:02 
AnswerRe: Error during tableAdapterManager.UpdateAll unable to resolve Pin
Eddy Vluggen4-Jul-13 6:05
professionalEddy Vluggen4-Jul-13 6:05 
QuestionListBox does not update when DataSource is changed Pin
rbsbscrp17-May-13 6:36
rbsbscrp17-May-13 6:36 
AnswerRe: ListBox does not update when DataSource is changed Pin
rbsbscrp17-May-13 7:59
rbsbscrp17-May-13 7:59 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen24-May-13 3:59
professionalEddy Vluggen24-May-13 3:59 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak24-May-13 6:23
mveDave Kreskowiak24-May-13 6:23 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp24-May-13 21:03
rbsbscrp24-May-13 21:03 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen25-May-13 0:03
professionalEddy Vluggen25-May-13 0:03 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak25-May-13 4:55
mveDave Kreskowiak25-May-13 4:55 

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.