Esempio n. 1
0
        /// <summary>
        /// Pritiskom na tipku otvara se forma za unos novog partnera
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void noviPartnerbutton_Click(object sender, EventArgs e)
        {
            NoviPartnerForm forma = new NoviPartnerForm();

            forma.ShowDialog();
            PrikaziPartnere();
        }
Esempio n. 2
0
        /// <summary>
        /// Pritskom na tipku otvara se forma za izmjenu partnera ukoliko je označen partner
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void urediButton_Click(object sender, EventArgs e)
        {
            Partner selekitraniPartner = partnerBindingSource.Current as Partner;

            if (selekitraniPartner != null)
            {
                NoviPartnerForm forma = new NoviPartnerForm(selekitraniPartner);
                forma.ShowDialog();
                PrikaziPartnere();
            }
        }