Files
2026-07-10 15:25:05 +08:00

50 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CommonLib.utils;
using CommonLib;
using Lskj.PubBroser;
namespace Lskj.PubBrowser
{
/// <summary>
/// c#库被调用统一接口类
/// </summary>
public sealed class DllBaseClass : IForm {
public DllBaseClass() {
}
public DllBaseClass(string[] obj) {
try {
frmBrowser main = new frmBrowser();
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];
main.ModuleId = obj[5];
if (obj.Length > 6)
main.ModuleDllId = obj[6];
}
catch (Exception ex) {
PubUtil.WriteLog("Lskj.PubBrowser.dll----参数错误" + ex.Message);
}
}
/// <summary>
/// 窗口
/// </summary>
public Form SubForm { get; set; }
}
}