Visualizzazione dei risultati da 1 a 4 su 4

Discussione: [C#] Table Layout

  1. #1

    [C#] Table Layout

    Ragazzi come posso creare un table layout in C#??

    ho trovato questo....

    // Create a table with 2 rows and 1 column
    Table tableLayout = new Table(2, 1, false);
    Label longLabel = new Label("This is a label that spans at least two Entry widgets");

    // Attach the label over the entire first row
    tableLayout.Attach(longLabel, 0, 2, 0, 1);
    // Attach an entry to each cell in the second row
    tableLayout.Attach(new Entry(), 0, 1, 1, 2);
    tableLayout.Attach(new Entry(), 1, 2, 1, 2);


    ma non riesco a capire a cosa corrispondono le coordinate nel metodo Attach....
    datemi una mano per favore!

  2. #2
    Utente di HTML.it L'avatar di Stoicenko
    Registrato dal
    Feb 2004
    Messaggi
    2,254
    prova a cercare sull'msdn on-line quel metodo.. http://msdn.microsoft.com/it-it/library/default.aspx

  3. #3
    ho provato ma nn ho trovato nulla..........

  4. #4
    Utente di HTML.it L'avatar di Stoicenko
    Registrato dal
    Feb 2004
    Messaggi
    2,254
    mah guara sinceramente non ho nemmeno trovato la classe table nemmeno in visual studio..

    in che namespace è?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.