Esempio n. 1
0
 private void btnPrint_Click(object sender, EventArgs e)
 {
     DataTable dt = dsCards.memberdata.Copy();
     //for (int i = dt.Rows.Count - 1; i >= 0; i--)
     //{
     //    if ((bool)dt.Rows[i]["chk"] == false)
     //        dt.Rows.RemoveAt(i);
     //}
     XRepCard front = new XRepCard(dt);
     front.ShowPreview();
 }
Esempio n. 2
0
        private void btnPrintEditor_Click(object sender, EventArgs e)
        {
            DataTable dt = dsCards.memberdata.Copy();
            for (int i = dt.Rows.Count - 1; i >= 0; i--)
            {
                if ((bool)dt.Rows[i]["chk"] == false)
                    dt.Rows.RemoveAt(i);
            }

            XRepCard front = new XRepCard(dt);
            front.ShowDesigner();
        }