Пример #1
0
        private void PretragaToolStripMenuItem7_Click(object sender, EventArgs e)
        {
            frmZaposlenici frm = new frmZaposlenici();

            frm.MdiParent = this;
            frm.Show();
        }
Пример #2
0
        private void btnZaposleniciHome_Click(object sender, EventArgs e)
        {
            frmZaposlenici frm = new frmZaposlenici();

            frm.MdiParent   = frmHome.ActiveForm;
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
Пример #3
0
 public frmZaposlenikEditor(frmZaposlenici pForma, string pGbText)
 {
     InitializeComponent();
     Forma          = pForma;
     groupBox1.Text = pGbText;
     Id             = 0;
     Ime            = Prezime = Adresa = Oib = SpolId = "";
 }
Пример #4
0
        private void pregledZaposlenika_Click(object sender, EventArgs e)
        {
            frmZaposlenici forma = frmZaposlenici.Instance;

            forma.MdiParent   = this;
            forma.WindowState = FormWindowState.Maximized;
            forma.Show();
            PostaviListuOtvorenihProzora();
        }
Пример #5
0
        private void btnZaposlenici_Click(object sender, EventArgs e)
        {
            foreach (Form childForm in MdiChildren)
            {
                childForm.Close();
            }
            frmZaposlenici frm = new frmZaposlenici();

            frm.MdiParent   = frmMain.ActiveForm;
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }