87 lines
3.0 KiB
C#
87 lines
3.0 KiB
C#
using DevExpress.XtraGrid.Views.Grid;
|
|
using DevExpress.XtraTab;
|
|
using Lskj.Control.ZKFinger;
|
|
using Lskj.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Lskj.Control.Model
|
|
{
|
|
public static class StaticControl
|
|
{
|
|
/// <summary>
|
|
/// 记录当前U盾权限窗口
|
|
/// </summary>
|
|
public static List<XtraTabPage> DogVerifyModuleForms = new List<XtraTabPage>();
|
|
public static List<IForm> DogVerifyNoPageForms = new List<IForm>();
|
|
/// <summary>
|
|
///模块打开时的条件界面
|
|
/// </summary>
|
|
public static Dictionary<string, ModuleConditionsPanelEx> ConditionsPanelDic = new Dictionary<string, ModuleConditionsPanelEx>();
|
|
/// <summary>
|
|
/// 表格拖拽类,key值为源表
|
|
/// </summary>
|
|
public static Dictionary<GridView, List<GridDragGrid>> GridViewDragGridDic = new Dictionary<GridView, List<GridDragGrid>>();
|
|
/// <summary>
|
|
/// 表格拖拽类,key值为目标表
|
|
/// </summary>
|
|
public static Dictionary<GridView, List<GridDragGrid>> TargetViewDragGridDic = new Dictionary<GridView, List<GridDragGrid>>();
|
|
/// <summary>
|
|
/// 当前拖拽源表格
|
|
/// </summary>
|
|
public static GridView SourceDragGridView;
|
|
/// <summary>
|
|
/// 指纹识别模块
|
|
/// </summary>
|
|
public static FingerHelper fingerHelper;
|
|
///// <summary>
|
|
///// 外部exe进程
|
|
///// </summary>
|
|
//public static Dictionary<ExeType, Process> loadExeProcess = new Dictionary<ExeType, Process>();
|
|
/// <summary>
|
|
/// 打开的Add模块对应的父表格控件(模块编号,GridControlEx)
|
|
/// </summary>
|
|
public static KeyValuePair<string, GridControlEx> AddParentGrid = new KeyValuePair<string, GridControlEx>();
|
|
/// <summary>
|
|
/// 当前右键点击时的表格
|
|
/// </summary>
|
|
public static GridView _RightMenuGridView;
|
|
public static GridView RightMenuGridView
|
|
{
|
|
get
|
|
{
|
|
return StaticControl._RightMenuGridView;
|
|
}
|
|
set
|
|
{
|
|
StaticControl._RightMenuGridView = value;
|
|
StaticControl.Comprefix = "";
|
|
StaticControl.ReturnRowLisy.Clear();
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
/// bom附件修改时的关联页签
|
|
/// </summary>
|
|
public static XtraTabPage BomUnionPage;
|
|
/// <summary>
|
|
/// 当前右键点击时的控件对象
|
|
/// </summary>
|
|
public static MyControl RightMenuMyControl;
|
|
/// <summary>
|
|
/// 当前右键点击时的表格的列前缀
|
|
/// </summary>
|
|
public static string Comprefix;
|
|
/// <summary>
|
|
/// 浏览器返回数据
|
|
/// </summary>
|
|
public static List<DataRow> ReturnRowLisy = new List<DataRow>();
|
|
|
|
|
|
}
|
|
} |