Exemple #1
0
        private void btnOdjava_Click(object sender, EventArgs e)
        {
            FrmPrijava formaPrijava = new FrmPrijava();

            formaPrijava.FormClosing += (s, ea) => this.Show();
            this.Hide();
            formaPrijava.ShowDialog();
        }
Exemple #2
0
        private void FrmIzbornik_Load(object sender, EventArgs e)
        {
            FrmPrijava formaPrijava = new FrmPrijava();

            formaPrijava.ShowDialog();

            pbStol1.BackColor = Color.Transparent;
            pbStol2.BackColor = Color.Transparent;
            pbStol3.BackColor = Color.Transparent;
            pbStol4.BackColor = Color.Transparent;
            pbStol5.BackColor = Color.Transparent;
            pbStol6.BackColor = Color.Transparent;
        }