
15/05/2008, 14:48
|
 | Colaborador | | Fecha de Ingreso: septiembre-2007 Ubicación: San Francisco, United States
Mensajes: 3.858
Antigüedad: 17 años, 7 meses Puntos: 87 | |
Re: panel y listbox visibles yo me iria a q primerio hicieras tu metodo visibleSL
public void VisibleSL()
{
....
}
y despues hicieras una relacion de dueño, no como mdi si no asi
private void button1_Click(object sender, EventArgs e)
{
Form2 fm = new Form2();
fm.Owner= this;
fm.ShowDialog();
}
y en la forma 2
private void button1_Click(object sender, EventArgs e)
{
((Form1)(this.Owner)).VisibleSL();
this.Close();
} |