Exemple #1
0
        private void logoutBtn_Click(object sender, EventArgs e)
        {
            var newLogIn = new LogInForm();

            newLogIn.Show();
            this.Close();
        }
Exemple #2
0
        public MainForm()
        {
            WindowState   = FormWindowState.Minimized;
            ShowInTaskbar = false;
            Visible       = false;

            InitializeComponent();
            var newLogInForm = new LogInForm();

            newLogInForm.Show();
        }