protected override void OnShown(EventArgs e) { base.OnShown(e); _handler.StatusUpdate += HandlerOnStatusUpdate; _handler.Start(); }
protected override void OnShown(EventArgs e) { base.OnShown(e); _handler.StatusUpdate += HandlerOnStatusUpdate; _handler.Start(); if (_handler.IsDaemon) { WindowState = FormWindowState.Minimized; } timerOpacity.Start(); }