Example #1
0
        // <summary>
        /// Metoda koja otvara formu za dodavanje nove usluge
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void dodajUsluguToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmNovaUsluga novaUsluga = new frmNovaUsluga();

            novaUsluga.MdiParent = this;
            novaUsluga.Show();
        }
Example #2
0
        /// <summary>
        /// event na klik otvara formu za unos nove usluge
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnNovi_Click(object sender, EventArgs e)
        {
            frmNovaUsluga novaUsluga = new frmNovaUsluga();

            novaUsluga.ShowDialog();
            uslugaSetBindingSource.DataSource = osvjezi.PrikaziUsluge();
        }