private void MainForm_DocumentTitleChanged(object sender, NetDimension.NanUI.Browser.DocumentTitleChangedEventArgs e) { try { if (Wnconfig.GetUrl().Contains(e.Title)) { return; } this.Title = e.Title; this.Subtitle = ""; Wnconfig.SetAppsettingValue("Title", this.Title); Wnconfig.SetAppsettingValue("Subtitle", this.Subtitle); if (this.Title != "社区卫生信息系统") { ShortCutHelper.SetWinningBrowerShortcut(this.Title, Application.ExecutablePath); } } catch (Exception) { } //throw new NotImplementedException(); }
private void MainWindow_DocumentTitleChanged(object sender, NetDimension.NanUI.Browser.DocumentTitleChangedEventArgs e) { Subtitle = e.Title; // 修改标题变更 }
private void OnDocumentTitleChanged(object sender, NetDimension.NanUI.Browser.DocumentTitleChangedEventArgs e) { Subtitle = e.Title; }