void PrintForm_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { this.DetailReport.FilterString = this.DetailReport1.FilterString = this.DetailReport2.FilterString = string.Format("BillDemandId='{0}'", ((DataSet)this.DataSource).Tables["V_Report_BillDemand"].Rows[e.CurrentRow]["Id"]); }
private void RO4_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { { a = a + Convert.ToInt32(string.IsNullOrEmpty(this.xrTable1.Rows[0].Cells[5].Text) ? "0" : this.xrTable1.Rows[0].Cells[5].Text); } this.xrLabelHeji.Text = a.ToString(); this.xrLabelZongji.Text = (Convert.ToInt32(this.xrLabelHeji.Text) + Convert.ToInt32(this.xrLabelZherang.Text)).ToString(); }
private void RO3_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { //int b = e.CurrentRow; // for (int i = 0; i <4; i++) { a = a + Convert.ToInt32(string.IsNullOrEmpty(this.xrTable1.Rows[0].Cells[5].Text) ? "0" : this.xrTable1.Rows[0].Cells[5].Text); } this.xrLabelHeji.Text = a.ToString(); }
private void rpReports_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { //if(HeaderDataset.CompanyInfo.Rows.Count > 0) // if (HeaderDataset.CompanyInfo.Rows[0]["Logo"].ToString() != "") // { // byte[] image = (byte[])HeaderDataset.CompanyInfo.Rows[0]["Logo"]; // System.IO.MemoryStream stream = new System.IO.MemoryStream(image, 0, image.Length, false); // this.Watermark.Image = System.Drawing.Image.FromStream(stream); // this.Watermark.ImageTransparency = 200; // } }
private void DetailReport4_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { if (((MainWindowViewModel)((BindingSource)((DetailReportBand)sender).DataSource).DataSource) .ModesForReport[e.CurrentRow].mode.MEASURING_FOR_REPORT.Where(p => p.MFR_F_BEGIN != 0 && p.MFR_F_END != 0) .Count() > 0) { labelSP.Visible = true; xrTableSPHeader.Visible = true; } else { labelSP.Visible = false; xrTableSPHeader.Visible = false; } }
private void rBoleto_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { int iNota_Fiscal_Duplicata = Convert.ToInt32(GetCurrentColumnValue("Nota_Fiscal_Duplicata")); if (ilBB.ContainsKey(iNota_Fiscal_Duplicata)) { bb = ilBB[iNota_Fiscal_Duplicata]; //-- Seta o boleto como impresso. CNAB.CNAB.Grava_Boleto_Impresso(iNota_Fiscal_Duplicata); } else { bb = null; } }
private void XtraReport_MasterDetail_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { // }
private void YearsInService_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { }
protected override void OnDataSourceRowChanged(DataSourceRowEventArgs e) { //lineNo.Text = itemsCounter.ToString(); //++itemsCounter; base.OnDataSourceRowChanged(e); }
private void BulletinPage_DataSourceRowChanged(object sender, DataSourceRowEventArgs e) { //TestePourcent(); }