SVN r1163

SVN-Revision: r1163
This commit is contained in:
cyf
2026-05-09 07:57:46 +00:00
parent 6f97314c83
commit 52e6d8bd34
2 changed files with 12 additions and 3 deletions
@@ -54,10 +54,19 @@ namespace Lskj.Control.BrowserSetting2
{
if ((SystemInfo.Instance.HiddenUrl && ERPInfo.Instance.UserName.Equals("管理员")) || !SystemInfo.Instance.HiddenUrl)
{
//弹出当前网址
string NUrl = browser.GetMainFrame().Url + "";
MessageBox.Show(string.Format("Url:{0}已复制到粘贴板", NUrl));
System.Windows.Forms.Clipboard.SetText(NUrl);
if (string.IsNullOrWhiteSpace(NUrl))
{
MessageBox.Show("地址还未加载");
}
else
{
//弹出当前网址
MessageBox.Show(string.Format("Url:{0}已复制到粘贴板", NUrl));
System.Windows.Forms.Clipboard.SetText(NUrl);
}
}
}