protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == (Keys.Control | Keys.F)) { SearchNode dlg = new SearchNode(rptFiles.RptFileTable); dlg.Show(); dlg.SearchNodeByName += new EventHandler <NodeEventArgs>(SearchNodeByName); } if (keyData == (Keys.Control | Keys.B)) { if (Function.Confirm("是否进行批量点击测试?", "提示")) { ReportList.ExpandAll(); Timer t = new Timer(); t.Interval = 1000; t.Tick += new EventHandler(t_Tick); t.Start(); } } if (keyData == Keys.Escape) { bStop = true; } return(base.ProcessCmdKey(ref msg, keyData)); }
private void ReportList_NodesReloaded(object sender, EventArgs e) { ReportList.ExpandAll(); }
void ReportBatchSet_Load(object sender, EventArgs e) { ReportList.ExpandAll(); }