예제 #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();
 }
예제 #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();
        }