예제 #1
0
 public virtual int Fill(S_DD_POTVRDADataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, this.fillDataParameters[0].Value.ToString());
     return(0);
 }
예제 #2
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsS_DD_POTVRDADataSet1 = new S_DD_POTVRDADataSet();
     this.m_StartRow             = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
예제 #3
0
 public virtual int FillPage(S_DD_POTVRDADataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), startRow, maxRows);
     return(0);
 }
예제 #4
0
 public PotvrdaSmartPart()
 {
     base.Load          += new EventHandler(this.IP1SmartPart_Load);
     this.d              = new S_DD_POTVRDADataAdapter();
     this.ds             = new S_DD_POTVRDADataSet();
     this.smartPartInfo1 = new SmartPartInfo("IP-1Obrazac", "IP-1Obrazac");
     this.infoProvider   = new SmartPartInfoProvider();
     this.infoProvider.Items.Add(this.smartPartInfo1);
     this.InitializeComponent();
 }
예제 #5
0
 public virtual int Fill(DataSet dataSet)
 {
     this.S_DD_POTVRDASet = (S_DD_POTVRDADataSet)dataSet;
     if (this.S_DD_POTVRDASet != null)
     {
         return(this.Fill(this.S_DD_POTVRDASet));
     }
     this.S_DD_POTVRDASet = new S_DD_POTVRDADataSet();
     this.Fill(this.S_DD_POTVRDASet);
     dataSet.Merge(this.S_DD_POTVRDASet);
     return(0);
 }
예제 #6
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_DD_POTVRDASet = (S_DD_POTVRDADataSet)dataSet;
     if (this.S_DD_POTVRDASet != null)
     {
         return(this.FillPage(this.S_DD_POTVRDASet, startRow, maxRows));
     }
     this.S_DD_POTVRDASet = new S_DD_POTVRDADataSet();
     this.FillPage(this.S_DD_POTVRDASet, startRow, maxRows);
     dataSet.Merge(this.S_DD_POTVRDASet);
     return(0);
 }
예제 #7
0
 public virtual int FillPage(S_DD_POTVRDADataSet dataSet, string gODINAISPLATE, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_DD_POTVRDASet = dataSet;
     this.rowS_DD_POTVRDA = this.S_DD_POTVRDASet.S_DD_POTVRDA.NewS_DD_POTVRDARow();
     this.SetFillParameters(gODINAISPLATE);
     this.AV8GODINAI = gODINAISPLATE;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }