示例#1
0
        private void MonitorForm_Load(object sender, EventArgs e)
        {
            counterManager.SysMonHelper = sysMonHelper;
            monView.SysMonHelper        = sysMonHelper;

            monView.AddNewMonitorTab("Default");
            monView.LoadTabs(Path.Combine(Application.StartupPath, "tabs.xml"));
            counterManager.LoadCounters(Path.Combine(Application.StartupPath, "counters.xml"));
            counterManager.ActivateDefaultNode();
        }