void showReport() { if (checkRTable.IsChecked == true && radio1.IsChecked == true) { SubViewer sub2 = new SubViewer(); sub2.mode = 1; sub2.Show(); sub2.Width = 200; sub2.setDataGrid(lastResult); } if (checkReport.IsChecked == true && radio2.IsChecked == true) { Report r = new Report(); r.Show(); r.setText(TheWeka.txt_report_full); } }
//--------------------------- void doTransform(int type) { sub = new SubViewer(); save_setName = getExportFileName(); sub.fileName = save_setName; sub.setTitle("P-Analysis"); sub.Show(); sub.path_saveRoot = TheURL.totalView_path_saveRoot; //------------------------------------ sub_t = new SubViewer_Extend(); sub_t.path_saveRoot = TheURL.totalView_path_saveRoot; sub_t.folder_forSave = save_setName; sub_t.saveSubTable = checkSaveSub.IsChecked.Value; sub_t.showSample = checkSample.IsChecked.Value; sub_t.subViewer = sub; sub_t.decimalNum = this.decimalNum; // sub_t.normaliz_method = getNormalizeCode(type); sub_t.getMainTable_byPathTable(dataTable.Copy()); //------------------------------------ }