Exemplo n.º 1
0
 private void Toos_preview_Click(object sender, EventArgs e)
 {
     printview  = new DataSourceOpen.Come.Command.PrintTableView(GetTableDataSrouce(), this);
     RunPreview = new RunPreviewDelegateHandler(printview.Preview);
     printview.Preview();
     //RunPreview.BeginInvoke(null, null);//在没有跨线程操作Control对象时使用
 }
Exemplo n.º 2
0
 private void Toos_printc_Click(object sender, EventArgs e)
 {
     printview = new DataSourceOpen.Come.Command.PrintTableView(GetTableDataSrouce(), this);
     printview.Print();
 }