예제 #1
0
 public OdrzavanjeSmartPart()
 {
     base.Load += new EventHandler(this.Zap1_Load);
     this.da    = new sp_maticni_kartonDataAdapter();
     this.ds    = new sp_maticni_kartonDataSet();
     this.InitializeComponent();
 }
예제 #2
0
 public virtual int FillPage(sp_maticni_kartonDataSet dataSet, string godina, int idradnik_od, int idradnik_do, bool zbirni, bool ukljucenobruto, bool ukljucenodoprinosiiz, bool ukljucenodoprinosina, bool ukljucenoporezi, bool ukljucenooo, bool ukljucenoobustave, bool ukljucenoolaksice, bool ukljucenonetoplaca, bool ukljucenonetonaknade, bool ukljucenoisplata, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.sp_maticni_kartonSet = dataSet;
     this.rowsp_maticni_karton = this.sp_maticni_kartonSet.sp_maticni_karton.Newsp_maticni_kartonRow();
     this.SetFillParameters(godina, idradnik_od, idradnik_do, zbirni, ukljucenobruto, ukljucenodoprinosiiz, ukljucenodoprinosina, ukljucenoporezi, ukljucenooo, ukljucenoobustave, ukljucenoolaksice, ukljucenonetoplaca, ukljucenonetonaknade, ukljucenoisplata);
     this.AV8godina  = godina;
     this.AV9idradni = idradnik_od;
     this.AV10idradn = idradnik_do;
     this.AV11zbirni = zbirni;
     this.AV12ukljuc = ukljucenobruto;
     this.AV13ukljuc = ukljucenodoprinosiiz;
     this.AV14ukljuc = ukljucenodoprinosina;
     this.AV15ukljuc = ukljucenoporezi;
     this.AV16ukljuc = ukljucenooo;
     this.AV17ukljuc = ukljucenoobustave;
     this.AV18ukljuc = ukljucenoolaksice;
     this.AV19ukljuc = ukljucenonetoplaca;
     this.AV20ukljuc = ukljucenonetonaknade;
     this.AV21ukljuc = ukljucenoisplata;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
예제 #3
0
 public UnosNazivaBaze()
 {
     base.Load += new EventHandler(this.UnosNazivaBaze_Load);
     this.da    = new sp_maticni_kartonDataAdapter();
     this.ds    = new sp_maticni_kartonDataSet();
     this.InitializeComponent();
 }
예제 #4
0
 public virtual int FillPage(sp_maticni_kartonDataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), int.Parse(this.fillDataParameters[1].Value.ToString()), int.Parse(this.fillDataParameters[2].Value.ToString()), bool.Parse(this.fillDataParameters[3].Value.ToString()), bool.Parse(this.fillDataParameters[4].Value.ToString()), bool.Parse(this.fillDataParameters[5].Value.ToString()), bool.Parse(this.fillDataParameters[6].Value.ToString()), bool.Parse(this.fillDataParameters[7].Value.ToString()), bool.Parse(this.fillDataParameters[8].Value.ToString()), bool.Parse(this.fillDataParameters[9].Value.ToString()), bool.Parse(this.fillDataParameters[10].Value.ToString()), bool.Parse(this.fillDataParameters[11].Value.ToString()), bool.Parse(this.fillDataParameters[12].Value.ToString()), bool.Parse(this.fillDataParameters[13].Value.ToString()), startRow, maxRows);
     return(0);
 }
예제 #5
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dssp_maticni_kartonDataSet1 = new sp_maticni_kartonDataSet();
     this.m_StartRow    = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
예제 #6
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.sp_maticni_kartonSet = (sp_maticni_kartonDataSet)dataSet;
     if (this.sp_maticni_kartonSet != null)
     {
         return(this.FillPage(this.sp_maticni_kartonSet, startRow, maxRows));
     }
     this.sp_maticni_kartonSet = new sp_maticni_kartonDataSet();
     this.FillPage(this.sp_maticni_kartonSet, startRow, maxRows);
     dataSet.Merge(this.sp_maticni_kartonSet);
     return(0);
 }
예제 #7
0
 public virtual int Fill(DataSet dataSet)
 {
     this.sp_maticni_kartonSet = (sp_maticni_kartonDataSet)dataSet;
     if (this.sp_maticni_kartonSet != null)
     {
         return(this.Fill(this.sp_maticni_kartonSet));
     }
     this.sp_maticni_kartonSet = new sp_maticni_kartonDataSet();
     this.Fill(this.sp_maticni_kartonSet);
     dataSet.Merge(this.sp_maticni_kartonSet);
     return(0);
 }