Пример #1
0
        private void lblOdjava_Click(object sender, EventArgs e)
        {
            FrmPrijava forma = new FrmPrijava();

            this.Hide();
            forma.ShowDialog();
            this.Close();
        }
        /// <summary>
        /// Zatvara trenutnu formu i vraća se na formu za prijavu.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnOdjaviSe_Click(object sender, EventArgs e)
        {
            this.Hide();
            FrmPrijava formaPrijava = new FrmPrijava();

            formaPrijava.ShowDialog();
            this.Close();
        }