Beispiel #1
0
        private void btnRaspored_Click(object sender, RoutedEventArgs e)
        {
            Raspored raspored = new Raspored();

            raspored.Show();
            this.Hide();
        }
Beispiel #2
0
        private void btnPrijava_Click(object sender, RoutedEventArgs e)
        {
            Trace.WriteLine("podaci: " + txtKorisnickoIme.Text.ToString() + " " + txtLozinka.Text.ToString());

            if (Autentifikacija(txtKorisnickoIme.Text.ToString(), txtLozinka.Text.ToString()))
            {
                this.Hide();
                Raspored raspored = new Raspored();
                raspored.Show();
            }
            else
            {
                MessageBox.Show("Pogrešni podaci!");
            }
        }