private void bt_trace_Click(object sender, EventArgs e) { try { Hide(); switch (ts) { case TraceStyle.tracedown: TopologyTrace.TraceDown(_startfid); break; case TraceStyle.traceup: TopologyTrace.TraceUp(_startfid); break; case TraceStyle.traceall: TopologyTrace.TraceAll(_startfid); break; case TraceStyle.tracep2p: TopologyTrace.TraceP2P(_startfid, _endfid); break; } } catch (Exception ex) { PublicMethod.Instance.ShowMessage(ex.Message); } finally { acapi.UpdateScreen(); Show(); } }
private void AllTraceItem_Click(object sender, EventArgs e) { if (!IsLoadDataSource()) { return; } if (!PublicMethod.Instance.IsExecuteSystemCMD("")) { FixEntity.Instance.ResetOldEntity(); ConnectManager.CleanSelcol(); TopologyTrace.TraceAll(); } }