SVN r1184
SVN-Revision: r1184
This commit is contained in:
@@ -7,33 +7,30 @@
|
|||||||
* 修改备注:
|
* 修改备注:
|
||||||
* 版本:1.0.0.0
|
* 版本:1.0.0.0
|
||||||
******************************/
|
******************************/
|
||||||
using System;
|
using DevExpress.Utils;
|
||||||
using System.Collections.Generic;
|
using DevExpress.XtraTab;
|
||||||
using System.Linq;
|
using Lskj.Business;
|
||||||
using System.Text;
|
using Lskj.Business.Impl;
|
||||||
using System.Windows.Forms;
|
using Lskj.Control;
|
||||||
using Lskj.Control.Model;
|
using Lskj.Control.Model;
|
||||||
using Lskj.Core;
|
using Lskj.Core;
|
||||||
using DevExpress.XtraEditors;
|
|
||||||
using Lskj.Control;
|
|
||||||
using Lskj.Data;
|
using Lskj.Data;
|
||||||
using System.Threading;
|
|
||||||
using Lskj.Business;
|
|
||||||
using System.Data;
|
|
||||||
using Lskj.Model;
|
using Lskj.Model;
|
||||||
using DevExpress.XtraTab;
|
|
||||||
using Lskj.Util;
|
using Lskj.Util;
|
||||||
using DevExpress.Utils;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using Lskj.Business.Impl;
|
|
||||||
using System.IO;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using System.Net;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Web;
|
|
||||||
using Lskj.Web.Core.Util;
|
using Lskj.Web.Core.Util;
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Threading;
|
||||||
|
using System.Web;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace Lskj.Main.Model
|
namespace Lskj.Main.Model
|
||||||
{
|
{
|
||||||
@@ -162,7 +159,7 @@ namespace Lskj.Main.Model
|
|||||||
{
|
{
|
||||||
WhenConstraintLogin();
|
WhenConstraintLogin();
|
||||||
LockApplication();
|
LockApplication();
|
||||||
if (SystemInfo.Instance.SubscriptRefreshTime > 0 && !SystemInfo.Instance.RefreshNotify)RefreshSubscript();
|
if (SystemInfo.Instance.SubscriptRefreshTime > 0 && !SystemInfo.Instance.RefreshNotify) RefreshSubscript();
|
||||||
if (_frmMain != null)
|
if (_frmMain != null)
|
||||||
{
|
{
|
||||||
if (ERPInfo.Instance.WatermarkForm != null)
|
if (ERPInfo.Instance.WatermarkForm != null)
|
||||||
@@ -824,6 +821,7 @@ namespace Lskj.Main.Model
|
|||||||
{
|
{
|
||||||
DBConfig.Instance.ServerName = controlAfgs[0];
|
DBConfig.Instance.ServerName = controlAfgs[0];
|
||||||
DBConfig.Instance.DataBase = controlAfgs[1];
|
DBConfig.Instance.DataBase = controlAfgs[1];
|
||||||
|
DBConfig.Instance.ServerType = "SqlServer";
|
||||||
string Connection = "Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5;MultipleActiveResultSets=true";
|
string Connection = "Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5;MultipleActiveResultSets=true";
|
||||||
string dephistr = "Provider=SQLOLEDB.1;Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5";
|
string dephistr = "Provider=SQLOLEDB.1;Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5";
|
||||||
Connection = AESUtil.Encrypt(Connection);
|
Connection = AESUtil.Encrypt(Connection);
|
||||||
|
|||||||
Reference in New Issue
Block a user