private void Button_ServicePreview_Click(object sender, RoutedEventArgs e) { TryNotice.Current.Invoke(ServiceProcess.Instance.State, "服务未启动或异常", () => PageContainer.Open(ServerEnvironment.Instance.WebAddress)); }