DnsApp: added service status refresh for context menu.

This commit is contained in:
Shreyas Zare
2020-02-22 12:27:49 +05:30
parent 05750d7cb3
commit 497cedfdd7

View File

@@ -1,6 +1,6 @@
/*
Technitium DNS Server
Copyright (C) 2019 Shreyas Zare (shreyas@technitium.com)
Copyright (C) 2020 Shreyas Zare (shreyas@technitium.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -463,6 +463,8 @@ namespace DnsServerSystemTrayApp
try
{
_service.Refresh();
switch (_service.Status)
{
case ServiceControllerStatus.Stopped: