예제 #1
0
 public void Alis()
 {
     AlSat.frmAlis frm = new AlSat.frmAlis();
     frm.MdiParent   = Form.ActiveForm;
     frm.WindowState = FormWindowState.Maximized;
     frm.Show();
 }
예제 #2
0
        private void Alis()
        {
            AlSat.frmAlis als = Application.OpenForms["frmAlis"] as AlSat.frmAlis;
            pAlis         cr  = new pAlis();
            var           srg = (from s in _db.vwAlis
                                 where s.PurNo == int.Parse(als.txtAlisNo.Text)
                                 select s).ToList();
            PrintYardim ch = new PrintYardim();
            DataTable   dt = ch.ConvertTo(srg);

            cr.SetDataSource(dt);
            crvPrint.ReportSource = cr;
        }