/// <summary> /// 预览数据 /// </summary> /// <param name="sender">事件发送者</param> /// <param name="e">事件</param> private void bView_Click(object sender, EventArgs e) { PreViewForm pForm = new PreViewForm(); pForm.ShowData(dataTable); pForm.ShowDialog(); }