private void ALL_CheckEdit_CheckedChanged(object sender, EventArgs e) { //if (ALL_CheckEdit.Checked) //{ // ReportItem_CheckedListBox.CheckAll(); //} //else //{ // ReportItem_CheckedListBox.UnCheckAll(); //} ReportList.ForEach(o => o.IsPrintReport = ALLReport_CheckEdit.Checked); Main_GridView.RefreshData(); }
private void ALLExcel_CheckEdit_CheckedChanged(object sender, EventArgs e) { ReportList.ForEach(o => o.IsExportExcel = ALLExcel_CheckEdit.Checked); Main_GridView.RefreshData(); }