private void lblRelacijaLogout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Visible = false;
            frmStudentskaSluzbaMainMenuAdmin parentForm = new frmStudentskaSluzbaMainMenuAdmin(lblRelacijaLoginPrikaz.Text);

            parentForm.Show();
        }
Esempio n. 2
0
        //Povratak na glavni meni
        private void lnkIzborneListeStudentaLogout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Visible = false;
            frmStudentskaSluzbaMainMenuAdmin mainForm = new frmStudentskaSluzbaMainMenuAdmin(lblIzborneListeStudenataLoginPrikaz.Text);

            mainForm.Show();
        }
 private void linkStatistikaLogout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (lblStatistikaLoginPrikaz.Text.Equals("GOST"))
     {
         this.Visible = false;
         frmStudentskaSluzbaLogin mainForm = new frmStudentskaSluzbaLogin();
         mainForm.Show();
     }
     else if (lblStatistikaLoginPrikaz.Text.Equals("ADMIN"))
     {
         this.Visible = false;
         frmStudentskaSluzbaMainMenuAdmin mainForm = new frmStudentskaSluzbaMainMenuAdmin(lblStatistikaLoginPrikaz.Text);
         mainForm.Show();
     }
     else
     {
         MessageBox.Show("Greska u logovanju");
         this.Visible = false;
         frmStudentskaSluzbaLogin mainForm = new frmStudentskaSluzbaLogin();
         mainForm.Show();
     }
 }