Ejemplo n.º 1
0
 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"]);
 }
Ejemplo n.º 2
0
 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"]);
 }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 4
0
 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();
 }
Ejemplo n.º 5
0
 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;
     //    }
 }
Ejemplo n.º 6
0
 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;
     }
 }
Ejemplo n.º 7
0
        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;
            }
        }
Ejemplo n.º 8
0
 private void XtraReport_MasterDetail_DataSourceRowChanged(object sender, DataSourceRowEventArgs e)
 {
     //
 }
Ejemplo n.º 9
0
 private void YearsInService_DataSourceRowChanged(object sender, DataSourceRowEventArgs e)
 {
 }
Ejemplo n.º 10
0
 protected override void OnDataSourceRowChanged(DataSourceRowEventArgs e)
 {
     //lineNo.Text = itemsCounter.ToString();
     //++itemsCounter;
     base.OnDataSourceRowChanged(e);
 }
 private void BulletinPage_DataSourceRowChanged(object sender, DataSourceRowEventArgs e)
 {
     //TestePourcent();
 }