59 lines
2.2 KiB
C#
59 lines
2.2 KiB
C#
using DevExpress.XtraGrid.Views.BandedGrid;
|
|
using DevExpress.XtraGrid.Views.Grid;
|
|
using Lskj.Control.ZKFinger;
|
|
using System.Collections.Generic;
|
|
using Lskj.Util;
|
|
using DevExpress.XtraTab;
|
|
|
|
namespace Lskj.Control.Model
|
|
{
|
|
/// <summary>
|
|
/// Static registries for banded-grid drag helpers. The helpers unregister
|
|
/// themselves from these dictionaries when their GridView is disposed;
|
|
/// module closing therefore does not need to scan a control tree.
|
|
/// </summary>
|
|
public static class StaticBandedControl
|
|
{
|
|
// Keep the old public fields as aliases so already deployed plug-ins
|
|
// loaded from lib do not fail with MissingFieldException.
|
|
[System.Obsolete("请使用 StaticControl.DogVerifyModuleForms")]
|
|
public static List<XtraTabPage> DogVerifyModuleForms =
|
|
StaticControl.DogVerifyModuleForms;
|
|
[System.Obsolete("请使用 StaticControl.DogVerifyNoPageForms")]
|
|
public static List<IForm> DogVerifyNoPageForms =
|
|
StaticControl.DogVerifyNoPageForms;
|
|
[System.Obsolete("请使用 StaticControl.ConditionsPanelDic")]
|
|
public static Dictionary<string, ModuleConditionsPanelEx> ConditionsPanelDic =
|
|
StaticControl.ConditionsPanelDic;
|
|
|
|
/// <summary>
|
|
/// 表格拖拽类,key值为源表,多表格
|
|
/// </summary>
|
|
public static Dictionary<BandedGridView, List<BandedGridDragGrid>>
|
|
BandedGridViewDragGridDic =
|
|
new Dictionary<BandedGridView, List<BandedGridDragGrid>>();
|
|
|
|
/// <summary>
|
|
/// 表格拖拽类,key值为目标表
|
|
/// </summary>
|
|
public static Dictionary<GridView, List<BandedGridDragGrid>>
|
|
BandedTargetViewDragGridDic =
|
|
new Dictionary<GridView, List<BandedGridDragGrid>>();
|
|
|
|
/// <summary>
|
|
/// 当前拖拽源表格
|
|
/// </summary>
|
|
public static BandedGridView SourceDragBandedGridView;
|
|
|
|
/// <summary>
|
|
/// 指纹识别模块
|
|
/// </summary>
|
|
public static FingerHelper fingerHelper;
|
|
|
|
/// <summary>
|
|
/// 进度条
|
|
/// </summary>
|
|
public static FrmProgressBar frmProgressBar;
|
|
}
|
|
}
|