init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
@@ -0,0 +1,65 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib;
using CommonLib.utils;
using System.Windows.Forms;
using Lskj.MyControl;
namespace Lskj.PubModuleDetailInfo
{
/// <summary>
/// c#库被调用统一接口类
/// </summary>
public sealed 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];
GridControlEx.OperatorId = main.OperatorId;
GridControlEx.OperatorName = main.OperatorName;
main.Privilege = obj[3];
main.DLLCoid = obj[4];
if (obj.Length > 5)
{
main.ModuleId = obj[5];
}
if (obj.Length > 6)
main.ModuleDllId = obj[6];
if (obj.Length > 7)
main.dllSql = obj[7].TrimStart('#');
main.Params = new string[10];
for (int i = 8; i < obj.Length; i++)
{
main.Params[i - 8] = obj[i];
}
if (obj.Length > 15)
{
main.MenuSaveState = obj[15];
}
}
catch (Exception ex)
{
PubUtil.WriteLog("Lskj.PubModuleDetailInfo.dll----参数错误" + ex.Message);
}
}
/// <summary>
/// 窗口
/// </summary>
public Form SubForm { get; set; }
}
}