private void pretragaToolStripMenuItem3_Click(object sender, EventArgs e)
        {
            frmKorisnici frm = new frmKorisnici();

            frm.MdiParent = this;
            frm.Show();
        }
        private void pretragaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmKorisnici frm = new frmKorisnici();

            frm.MdiParent = this;
            //frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            frmKorisnici frm = new frmKorisnici();

            //frm.MdiParent = this;
            //frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
        private void klijentiListaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new frmKorisnici();

            frm.MdiParent   = this;
            frm.WindowState = FormWindowState.Maximized;

            frm.Show();
        }
        //Pregled korisnika
        private void btnKorisnici_Click(object sender, EventArgs e)
        {
            frmKorisnici frm = new frmKorisnici();

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.TopLevel        = false;
            pnlMjesto.Controls.Clear();

            pnlMjesto.Controls.Add(frm);
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }
        private void KorisniciButton_Click(object sender, EventArgs e)
        {
            panel.Controls.Clear();
            frmKorisnici frm = new frmKorisnici();

            frm.FormBorderStyle = FormBorderStyle.None;
            frm.TopLevel        = false;
            frm.AutoScroll      = true;
            frm.Dock            = DockStyle.Fill;
            panel.Controls.Add(frm);
            frm.Show();
        }
        private void FrmIndex_Load(object sender, EventArgs e)
        {
            logiraniKorisnik.Text     += APIService.Username;
            logiraniKorisnik.ForeColor = Color.White;
            btnOdjava.ForeColor        = Color.White;

            frmKorisnici frm = new frmKorisnici();

            frm.MdiParent = this;
            frm.Dock      = DockStyle.Fill;
            frm.Show();
        }
        //Pregled korisnika
        private void btnKorisnici_Click(object sender, EventArgs e)
        {
            pnlStats.Top    = btnKorisnici.Top;
            pnlStats.Height = btnKorisnici.Height;
            frmKorisnici frm = new frmKorisnici(ulogaAdmin, ulogaMenadzer, ulogaUposlenik);

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.TopLevel        = false;
            pnlMjesto.Controls.Clear();

            pnlMjesto.Controls.Add(frm);
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }
        private void PretragaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if ((Application.OpenForms["frmKorisnici"] as frmKorisnici) != null)
            {
                //Forma otvorena
            }
            else
            {
                foreach (Form fr in this.MdiChildren)
                {
                    fr.Dispose();
                    fr.Close();
                }

                frmKorisnici frm = new frmKorisnici();
                frm.MdiParent = this;
                frm.Dock      = DockStyle.Fill;
                frm.Show();
            }
        }
Exemple #10
0
        private void korisniciToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmKorisnici korisnici = new frmKorisnici();

            korisnici.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            frmKorisnici frm = new frmKorisnici();

            frm.Show();
        }
Exemple #12
0
        private void pretragaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new frmKorisnici();

            frm.Show();
        }