示例#1
0
        public void Start()
        {
            _viewModel.Power.Watchers.ActivePowerScheme.Changed += ChangedActivePowerScheme;

            _viewModel.NotifyIcon.MouseClick += NotifyIcon_MouseClick;

            _viewModel.NotifyIcon.Visible = true;

            UpdateIcon();

            _viewModel.Power.Watchers.Start();
            _viewModel.BuildAllMenu();
        }