Example #1
0
 internal void InitForm(UCAddRentiranje uCAddRentiranje)
 {
     try
     {
         this.uCAddRentiranje = uCAddRentiranje;
         uCAddRentiranje.DgvStavka.DataSource = stavkeRentiranja;
         uCAddRentiranje.LblUkupnaCena.Text   = "0";
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Example #2
0
 internal void InitUCAddRentiranje(UCAddRentiranje uCAddRentiranje)
 {
     try
     {
         uCAddRentiranje.CbMusterija.DataSource = Communication.Communication.Instance.GetAllMusterija();
         DateTime dateTime = DateTime.Now;
         uCAddRentiranje.LblDatumShow.Text  = dateTime.ToString("MM/dd/yyyy");
         uCAddRentiranje.LblUkupnaCena.Text = "0";
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }