コード例 #1
0
        private void frmSesion_FormClosed(object sender, FormClosedEventArgs e)
        {
            PuertoSerie.Close();
            CerrarSesion cs = new CerrarSesion(principal);

            principal.finSesion();
            this.Dispose();
            cs.Show();
        }
コード例 #2
0
        private void regresarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PuertoSerie.Close();
            CerrarSesion cs = new CerrarSesion(principal);

            principal.finSesion();
            this.Dispose();
            cs.Show();
        }