Exemple #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对象时使用
 }
Exemple #2
0
 private void Toos_printc_Click(object sender, EventArgs e)
 {
     printview = new DataSourceOpen.Come.Command.PrintTableView(GetTableDataSrouce(), this);
     printview.Print();
 }