init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using CommonLib.utils;
|
||||
using CommonLib;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.PubModuleCard
|
||||
{
|
||||
public class DllBaseClass : IForm
|
||||
{
|
||||
public DllBaseClass() {
|
||||
|
||||
}
|
||||
|
||||
public DllBaseClass(string[] obj)
|
||||
{
|
||||
try
|
||||
{
|
||||
FrmMain main = new FrmMain();
|
||||
this.SubForm = main;
|
||||
main.FormText = obj[0];
|
||||
main.OperatorId = obj[1];
|
||||
main.OperatorName = obj[2];
|
||||
|
||||
main.Privilege = obj[3];
|
||||
main.DLLCoid = obj[4];
|
||||
main.ModuleId = obj[5];
|
||||
if (obj.Length > 6)
|
||||
main.ModuleDllId = obj[6];
|
||||
if (obj.Length > 7)
|
||||
main.UnionWhere = obj[7];
|
||||
main.Params = new string[10];
|
||||
for (int i = 8; i < obj.Length; i++)
|
||||
{
|
||||
main.Params[i - 8] = obj[i];
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
PubUtil.WriteLog("Lskj.PubModule.dll----参数错误" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user