コード例 #1
0
 private void clienteBtn1_Click(object sender, EventArgs e)
 {
     if (telaCliente == null)
     {
         telaCliente           = new TelaCliente();
         telaCliente.Disposed += new EventHandler(telaCliente_Disposed);
         telaCliente.Show();
     }
 }
コード例 #2
0
 void telaCliente_Disposed(object sender, EventArgs e)
 {
     telaCliente = null;
 }