SVN r1192
SVN-Revision: r1192
This commit is contained in:
@@ -1180,6 +1180,21 @@ namespace Lskj.Main
|
||||
this.SetLanguage();
|
||||
this.SetLedgers();
|
||||
this.SetUsers();
|
||||
|
||||
//弹出提示框
|
||||
if (SystemInfo.Instance.LoginAnnouncement)
|
||||
{
|
||||
if (BaseImpl.HasExistsTable("p_ErpProUpdateInfo")&& BaseImpl.HasExistsColumn("p_ErpProUpdateInfo", "AnnouncementDisplay"))
|
||||
{
|
||||
bool result = "1".Equals(BaseImpl.GetResult("select 1 from p_ErpProUpdateInfo where AnnouncementDisplay=1 order by updateDate desc") + "");
|
||||
if (result)
|
||||
{
|
||||
FrmAnnouncement frmAnnouncement = new FrmAnnouncement();
|
||||
frmAnnouncement.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user