public ServerWindow() { InitializeComponent(); server = LdpServer.GetInstance(); labelStatus = LdpLabelStatus.GetInstance(); lblConnectionStatus.DataContext = labelStatus; OS_SUPPORTED = LdpUtils.CheckStartupWindowsVersion(this); if (OS_SUPPORTED) StartServer(); }
public ServerWindow() { InitializeComponent(); server = LdpServer.GetInstance(); labelStatus = LdpLabelStatus.GetInstance(); lblConnectionStatus.DataContext = labelStatus; OS_SUPPORTED = LdpUtils.CheckStartupWindowsVersion(this); if (OS_SUPPORTED) { StartServer(); } }