静态资源样式引用到自定义控件

This commit is contained in:
wule committed 2026-06-16 03:45:05 +08:00
1 parent 167885814e
commit 3fe394c8da
18 files changed
+191 -51

No files matched your search

@@ -29,8 +29,15 @@ namespace _29WxOrderWpf.LoginWindows
private void BaseWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
if (BaseMsgForm.ShowConfirm("是否关闭软件?\r\n必须登录账户才能使用,无账户请先注册一个", "请先登录或者注册").DialogResult == System.Windows.Forms.DialogResult.OK)
//if (BaseMsgForm.ShowConfirm("是否关闭软件?\r\n必须登录账户才能使用,无账户请先注册一个", "请先登录或者注册").DialogResult == System.Windows.Forms.DialogResult.OK)
// Process.GetCurrentProcess().Kill();
//else
// e.Cancel = true;
if (BaseMsgWindow.ShowConfirm(this, "是否关闭软件?\r\n必须登录账户才能使用,无账户请先注册一个", "请先登录或者注册").DialogResult == true)
Process.GetCurrentProcess().Kill();
else
e.Cancel = true;
}
}
}