PDA

View Full Version : [C#] TabControl


cech
26-04-2009, 15:18
ciao a tutti come faccio ad aprire una nuova tab della funzione tabcontrol premendo un tasto?

MarcoGG
27-04-2009, 08:14
"Funzione" Tabcontrol ? Intendi aggiungere una nuova tabPage ad un controllo TabControl ?

cech
27-04-2009, 13:45
si devo aprirla tramite un pulsante

RaouL_BennetH
27-04-2009, 13:51
private void button1_Click(object sender, EventArgs e)
{
tabControl1.TabPages.Add("nome_del_tab_che_vuoi");
}

cech
27-04-2009, 13:58
Grazie mille, per caso sai anche come mettere dentro a una textbox l'url del sito che stai visitando?