mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-02-05 15:33:57 +00:00
DnsApp: added service status refresh for context menu.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user