Example #1
0
        private void btnGlavniIzbornik_Click(object sender, EventArgs e)
        {
            Kuharica openForm = new Kuharica();

            openForm.Show();
            Visible = false;
        }
Example #2
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            string user = tbKIme.Text;
            string pass = tbLozinka.Text;

            if (login.LoggedIn(user, pass))
            {
                Kuharica openForm = new Kuharica();
                openForm.Show();
                Visible = false;
            }
        }