Пример #1
0
        private void LogOff_Click(object sender, EventArgs e)
        {
            FrmLogIn login = new FrmLogIn();

            this.Hide();
            login.ShowDialog();
        }
Пример #2
0
        private void LogOff_Click(object sender, EventArgs e)
        {
            FrmLogIn login = new FrmLogIn();

            login.CS = CS;
            this.Close();
            login.Show();
        }