コード例 #1
0
        private void ToolStripLogoff_Click(object sender, EventArgs e)
        {
            frmTelaLogin objfrmTelaPrincipal = new frmTelaLogin();

            objfrmTelaPrincipal.Show();;
            Close();
        }
コード例 #2
0
        private void logoffToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            frmTelaLogin objfrmTelaPrincipal = new frmTelaLogin();

            objfrmTelaPrincipal.Show();
            Close();
        }