Exemplo n.º 1
0
        private void btnTsQiuckSch_Click(object sender, EventArgs e)
        {
            FrmTsdQuickSch sch = new FrmTsdQuickSch();

            if (sch.ShowDialog() == DialogResult.OK)
            {
                DataSet ds = sch.ds;
                this.lvwTSD.Items.Clear();
                if (((ds != null) && (ds.Tables.Count > 0)) && (ds.Tables[0].Rows.Count > 0))
                {
                    PlArchivManage.SetLvwClsValues(this.hsCols, this.lvwTSD, this.lstOrder, ds.Tables[0], "DQDOSSIERPRINT");
                }
                this.lvwTSD.Refresh();
            }
        }
Exemplo n.º 2
0
 private void btnTsQiuckSch_Click(object sender, EventArgs e)
 {
     FrmTsdQuickSch sch = new FrmTsdQuickSch();
     if (sch.ShowDialog() == DialogResult.OK)
     {
         DataSet ds = sch.ds;
         this.lvwTSD.Items.Clear();
         if (((ds != null) && (ds.Tables.Count > 0)) && (ds.Tables[0].Rows.Count > 0))
         {
             PlArchivManage.SetLvwClsValues(this.hsCols, this.lvwTSD, this.lstOrder, ds.Tables[0], "DQDOSSIERPRINT");
         }
         this.lvwTSD.Refresh();
     }
 }