1.轨道交通牵引供电系统C#源代码 下载本文

轨道交通牵引供电系统源代码

//

/* 基站信息 */ using System.Text;

using System.Web.Configuration;

using System.Web.UI.Design.WebControls; using System.Runtime.Remoting.Proxies; using System.Management;

using System.EnterpriseServices.CompensatingResourceManager; using System.Security.Cryptography.X509Certificates; public class Jzxx {

public DXVerticalGridRow UICategoryLayoutPropertyGridRow { get { if ((this.mUICategoryLayoutPropertyGridRow == null)) { this.mUICategoryLayoutPropertyGridRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryLayoutPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryLayoutPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryLayoutPropertyGridRow.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUICategoryLayoutPropertyGridRow; } } public DXVerticalGridRow UIRowAnchorPropertyGridRow { get { if ((this.mUIRowAnchorPropertyGridRow == null)) { this.mUIRowAnchorPropertyGridRow = new DXVerticalGridRow(this); #region Search Criteria this.mUIRowAnchorPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIRowAnchorPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ #endregion } return this.mUIRowAnchorPropertyGridRow; } } public DXVerticalGridRow UIRowForeColorPropertyGridRow { get {

//控制管理模块数据传出 if ((this.mUIRowForeColorPropertyGridRow == null)) { this.mUIRowForeColorPropertyGridRow = new DXVerticalGridRow(this); #region Search Criteria this.mUIRowForeColorPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.Na

轨道交通牵引供电系统源代码

me] = \ this.mUIRowForeColorPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ #endregion } return this.mUIRowForeColorPropertyGridRow; } } public DXVerticalGridRow UICategoryLayoutPropertyGridCategoryRow { get { if ((this.mUICategoryLayoutPropertyGridCategoryRow == null)) { this.mUICategoryLayoutPropertyGridCategoryRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryLayoutPropertyGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryLayoutPropertyGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryLayoutPropertyGridCategoryRow.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUICategoryLayoutPropertyGridCategoryRow; } } public DXVerticalGridRow UICategoryPropertiesPropertyGridRow { get { if ((this.mUICategoryPropertiesPropertyGridRow == null)) { this.mUICategoryPropertiesPropertyGridRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryPropertiesPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryPropertiesPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryPropertiesPropertyGridRow.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUICategoryPropertiesPropertyGridRow; } } public DXVerticalGridRow UICategoryToolTipPropertyGridRow { get { if ((this.mUICategoryToolTipPropertyGridRow == null)) { this.mUICategoryToolTipPropertyGridRow = new DXVerticalGridRow(this); #region Search Criteria

轨道交通牵引供电系统源代码

this.mUICategoryToolTipPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryToolTipPropertyGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryToolTipPropertyGridRow.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUICategoryToolTipPropertyGridRow; } } public DXVerticalGridRow UICategoryPropertiesPropertyGridCategoryRow { get { if ((this.mUICategoryPropertiesPropertyGridCategoryRow == null)) { //指令算法 this.mUICategoryPropertiesPropertyGridCategoryRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryPropertiesPropertyGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryPropertiesPropertyGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryPropertiesPropertyGridCategoryRow.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUICategoryPropertiesPropertyGridCategoryRow; } } public DXVerticalGridRow UICategoryToolTipPropertyGridCategoryRow { get { if ((this.mUICategoryToolTipPropertyGridCategoryRow == null)) { this.mUICategoryToolTipPropertyGridCategoryRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryToolTipPropertyGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryToolTipPropertyGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryToolTipPropertyGridCategoryRow.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUICategoryToolTipPropertyGridCategoryRow; } } #endregion #region Fields private UIRowBackColorPropertyGridRow1 mUIRowBackColorPropertyGridRow;

轨道交通牵引供电系统源代码

private UIRowFontPropertyGridRow1 mUIRowFontPropertyGridRow; private DXVerticalGridRow mUICategoryAppearancePropertyGridRow; private DXVerticalGridRow mUICategoryAppearancePropertyGridCategoryRow; private UIRowProperties_PicturPropertyGridRow mUIRowProperties_PicturPropertyGridRow; private DXScrollBar mUIVGridVertScrollBarScrollBarControl; private UIRowImagePropertyGridRow mUIRowImagePropertyGridRow; private UICategoryBarManagerPropertyGridRow mUICategoryBarManagerPropertyGridRow; private DXVerticalGridRow mUICategoryBarManagerPropertyGridCategoryRow; private DXVerticalGridRow mUIRowMenuManagerPropertyGridRow; private DXVerticalGridRow mUIRowProperties_SizeMoPropertyGridRow; private UIRowBorderStylePropertyGridRow1 mUIRowBorderStylePropertyGridRow; private DXVerticalGridRow mUIRowCursorPropertyGridRow; private UIRowPropertiesPropertyGridRow mUIRowPropertiesPropertyGridRow; private DXVerticalGridRow mUIRowSizePropertyGridRow; private DXVerticalGridRow mUIRowBackgroundImagePropertyGridRow; private DXVerticalGridRow mUIRowTabIndexPropertyGridRow; private DXVerticalGridRow mUICategoryBehaviorPropertyGridRow; private UIPropertyGridControl1Window mUIPropertyGridControl1Window; private DXVerticalGridRow mUICategoryDataPropertyGridCategoryRow; private UIRowLocationPropertyGridRow mUIRowLocationPropertyGridRow; private DXVerticalGridRow mUIRowImeModePropertyGridRow; private DXVerticalGridRow mUIRowBackgroundImageLaPropertyGridRow; private DXVerticalGridRow mUICategoryBehaviorPropertyGridCategoryRow; private DXVerticalGridRow mUIRowRightToLeftPropertyGridRow; private DXVerticalGridRow mUIRowUseWaitCursorPropertyGridRow; //登录信息 private DXVerticalGridRow mUICategoryDataPropertyGridRow; private DXVerticalGridRow mUICategoryLayoutPropertyGridRow; private DXVerticalGridRow mUIRowAnchorPropertyGridRow; private DXVerticalGridRow mUIRowForeColorPropertyGridRow; private DXVerticalGridRow mUICategoryLayoutPropertyGridCategoryRow; private DXVerticalGridRow mUICategoryPropertiesPropertyGridRow; private DXVerticalGridRow mUICategoryToolTipPropertyGridRow; private DXVerticalGridRow mUICategoryPropertiesPropertyGridCategoryRow; private DXVerticalGridRow mUICategoryToolTipPropertyGridCategoryRow; #endregion //自定义控制 } [GeneratedCode(\ public class UIRowBackColorPropertyGridRow1 : DXVerticalGridRow { public UIRowBackColorPropertyGridRow1(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\Rows\ #endregion } #region Properties public DXTestControl UIPropertyGridRowEdgePropertyGridRowEdge { get { if ((this.mUIPropertyGridRowEdgePropertyGridRowEdge == null)) { this.mUIPropertyGridRowEdgePropertyGridRowEdge = new DXTestControl(this);

轨道交通牵引供电系统源代码

#region Search Criteria this.mUIPropertyGridRowEdgePropertyGridRowEdge.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPropertyGridRowEdgePropertyGridRowEdge.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPropertyGridRowEdgePropertyGridRowEdge.WindowTitles.Add(\XtraVerticalGrid Suite by DevExpress (C# code) - Fixed Rows\ #endregion } return this.mUIPropertyGridRowEdgePropertyGridRowEdge; } } #endregion #region Fields private DXTestControl mUIPropertyGridRowEdgePropertyGridRowEdge; #endregion } [GeneratedCode(\ } /*

/* 信息查看 */

using System.Security.Policy;

using System.Windows.Forms.Design;

using System.Runtime.Remoting.Activation; public class Xxck {

protected void ReportRandomChanges(TextBox textBox, string description) {

textBox.Text = description; Application.DoEvents(); }

private void buttonRefreshOrders_Click(object sender, EventArgs e) { try {

//注册

string connectionString = GetConnectionString(); string commandString = \if (connectionString.Contains(\commandString += \else

commandString += \

SqlDataAdapter dataAdapter = new SqlDataAdapter(commandString, GetConnectionString()); DataTable dataTable = new DataTable();

dataAdapter.Fill(dataTable);

dataGridOrders.DataSource = dataTable; Application.DoEvents(); }

catch (Exception exp) {

MessageBox.Show(exp.Message); } }

private void buttonRefreshOrderDetails_Click(object sender, EventArgs e) { try

{

string commandString = \

SqlDataAdapter dataAdapter = new SqlDataAdapter(commandString, GetConnectionString());

轨道交通牵引供电系统源代码

DataTable dataTable = new DataTable(); dataAdapter.Fill(dataTable);

dataGridOrderDetails.DataSource = dataTable; Application.DoEvents(); } catch (Exception exp)

{

MessageBox.Show(exp.Message); } }

private void radioPeer1Orders_CheckedChanged(object sender, EventArgs e) {

buttonRefreshOrders_Click(sender, e); }

private void radioPeer2Orders_CheckedChanged(object sender, EventArgs e) {

buttonRefreshOrders_Click(sender, e); }

private void radioPeer3Orders_CheckedChanged(object sender, EventArgs e) {

buttonRefreshOrders_Click(sender, e); }

private void radioPeer1OrderDetails_CheckedChanged(object sender, EventArgs e) {

buttonRefreshOrderDetails_Click(sender, e); }

private void radioPeer2OrderDetails_CheckedChanged(object sender, EventArgs e) {

buttonRefreshOrderDetails_Click(sender, e); }

private void radioPeer3OrderDetails_CheckedChanged(object sender, EventArgs e) {

buttonRefreshOrderDetails_Click(sender, e); }

private void fromPeer1_CheckedChanged(object sender, EventArgs e) {

if (toPeer1.Checked) {

toPeer2.Checked = true; Application.DoEvents(); } }

// 数据库连接 }

///* 〓〓〓〓〓〓〓〓〓〓〓〓 using System.Timers;

信息设定 */ using System.Runtime.Remoting.Channels.Http; public class Xxsd {

public class UIVGridControl1VerticalGrid2 : DXVerticalGrid { public UIVGridControl1VerticalGrid2(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \\ this.SearchProperties[DXTestControl.PropertyNames.ClassName] this.WindowTitles.Add(\}

#endregion = 轨道交通牵引供电系统源代码

#region Properties public DXVerticalGridRow UICategoryRow1VerticalGridRow { get { if ((this.mUICategoryRow1VerticalGridRow == null)) { this.mUICategoryRow1VerticalGridRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryRow1VerticalGridRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryRow1VerticalGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryRow1VerticalGridRow.WindowTitles.Add(\(C# code)\ #endregion } return this.mUICategoryRow1VerticalGridRow; } } public DXVerticalGridRow UICategoryRow1VerticalGridCategoryRow { get { if ((this.mUICategoryRow1VerticalGridCategoryRow == null)) { this.mUICategoryRow1VerticalGridCategoryRow = new DXVerticalGridRow(this); #region Search Criteria this.mUICategoryRow1VerticalGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICategoryRow1VerticalGridCategoryRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICategoryRow1VerticalGridCategoryRow.WindowTitles.Add(\ #endregion } return this.mUICategoryRow1VerticalGridCategoryRow; } } public DXVerticalGridRow UIRowTitle_Of_CourtesyVerticalGridRow { //系统设置 get { if ((this.mUIRowTitle_Of_CourtesyVerticalGridRow == null)) { this.mUIRowTitle_Of_CourtesyVerticalGridRow = new DXVerticalGridRow(this); #region Search Criteria this.mUIRowTitle_Of_CourtesyVerticalGridRow.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIRowTitle_Of_CourtesyVerticalGridRow.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIRowTitle_Of_CourtesyVerticalGridRow.WindowTitles.Add(\ #endregion

轨道交通牵引供电系统源代码

//鼠标滑动 } return this.mUIRowTitle_Of_CourtesyVerticalGridRow; } } public UIRowTitleVerticalGridRow UIRowTitleVerticalGridRow { get { if ((this.mUIRowTitleVerticalGridRow == null)) { this.mUIRowTitleVerticalGridRow = new UIRowTitleVerticalGridRow(this); } return this.mUIRowTitleVerticalGridRow; } } public UIRowHome_PhoneVerticalGridRow1 UIRowHome_PhoneVerticalGridRow { get { if ((this.mUIRowHome_PhoneVerticalGridRow == null)) { this.mUIRowHome_PhoneVerticalGridRow = new UIRowHome_PhoneVerticalGridRow1(this); } return this.mUIRowHome_PhoneVerticalGridRow; } } #endregion #region Fields private DXVerticalGridRow mUICategoryRow1VerticalGridRow; private DXVerticalGridRow mUICategoryRow1VerticalGridCategoryRow; private DXVerticalGridRow mUIRowTitle_Of_CourtesyVerticalGridRow; private UIRowTitleVerticalGridRow mUIRowTitleVerticalGridRow; private UIRowHome_PhoneVerticalGridRow1 mUIRowHome_PhoneVerticalGridRow; #endregion } [GeneratedCode(\ public class UIRowTitleVerticalGridRow : DXVerticalGridRow { public UIRowTitleVerticalGridRow(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXVerticalGridHeaderCell UITitleVerticalGridHeaderCell { get { if ((this.mUITitleVerticalGridHeaderCell == null)) { //Dll抽取 this.mUITitleVerticalGridHeaderCell = new DXVerticalGridHeaderCell(this); #region Search Criteria

轨道交通牵引供电系统源代码

this.mUITitleVerticalGridHeaderCell.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUITitleVerticalGridHeaderCell.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUITitleVerticalGridHeaderCell.WindowTitles.Add(\(C# code)\ #endregion } return this.mUITitleVerticalGridHeaderCell; } } #endregion #region Fields private DXVerticalGridHeaderCell mUITitleVerticalGridHeaderCell; #endregion } [GeneratedCode(\ public class UIRowHome_PhoneVerticalGridRow1 : DXVerticalGridRow { public UIRowHome_PhoneVerticalGridRow1(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public UIHomePhoneVerticalGridHeaderCell1 UIHomePhoneVerticalGridHeaderCell { get { if ((this.mUIHomePhoneVerticalGridHeaderCell == null)) { this.mUIHomePhoneVerticalGridHeaderCell = new UIHomePhoneVerticalGridHeaderCell1(this); } return this.mUIHomePhoneVerticalGridHeaderCell; } } #endregion #region Fields private UIHomePhoneVerticalGridHeaderCell1 mUIHomePhoneVerticalGridHeaderCell; #endregion } [GeneratedCode(\ public class UIHomePhoneVerticalGridHeaderCell1 : DXVerticalGridHeaderCell { public UIHomePhoneVerticalGridHeaderCell1(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties

轨道交通牵引供电系统源代码

public DXTestControl UIVerticalGridHeaderCeVerticalGridHeaderCellImage { get { if ((this.mUIVerticalGridHeaderCeVerticalGridHeaderCellImage == null)) { this.mUIVerticalGridHeaderCeVerticalGridHeaderCellImage = new DXTestControl(this); #region Search Criteria //逻辑存储 this.mUIVerticalGridHeaderCeVerticalGridHeaderCellImage.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIVerticalGridHeaderCeVerticalGridHeaderCellImage.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIVerticalGridHeaderCeVerticalGridHeaderCellImage.WindowTitles.Add(\(C# code)\ #endregion } return this.mUIVerticalGridHeaderCeVerticalGridHeaderCellImage; } } #endregion #region Fields private DXTestControl mUIVerticalGridHeaderCeVerticalGridHeaderCellImage; #endregion } [GeneratedCode(\ public class UIPanel2Client1 : DXTestControl { public UIPanel2Client1(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXTextEdit UISpinEdit1Edit { get { if ((this.mUISpinEdit1Edit == null)) { this.mUISpinEdit1Edit = new DXTextEdit(this); #region Search Criteria this.mUISpinEdit1Edit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISpinEdit1Edit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISpinEdit1Edit.WindowTitles.Add(\ #endregion } return this.mUISpinEdit1Edit; } } public DXTextEdit UISpinEdit2Edit {

轨道交通牵引供电系统源代码

get { if ((this.mUISpinEdit2Edit == null)) { this.mUISpinEdit2Edit = new DXTextEdit(this); #region Search Criteria this.mUISpinEdit2Edit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISpinEdit2Edit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISpinEdit2Edit.WindowTitles.Add(\ #endregion //图标设置 } return this.mUISpinEdit2Edit; } } public DXTextEdit UISpinEdit3Edit { get { if ((this.mUISpinEdit3Edit == null)) { //线程数据更改 this.mUISpinEdit3Edit = new DXTextEdit(this); #region Search Criteria this.mUISpinEdit3Edit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISpinEdit3Edit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISpinEdit3Edit.WindowTitles.Add(\ #endregion } return this.mUISpinEdit3Edit; } } #endregion #region Fields private DXTextEdit mUISpinEdit1Edit; private DXTextEdit mUISpinEdit2Edit; private DXTextEdit mUISpinEdit3Edit; #endregion } [GeneratedCode(\ }

//++++++

/* 电路管理 */

using Telerik.WinControls.RichTextEditor.UI; using System.Runtime.Remoting.Contexts;

using System.Security.Cryptography.X509Certificates; using System; public class Dlgl {

public void BeginUpdate() { LockUpdateCount++; } public void EndUpdate() { if(LockUpdateCount == 0) return; LockUpdateCount--;

轨道交通牵引供电系统源代码

if(LockUpdateCount == 0) } OnItemChanged(\public void CancelUpdate() { if(LockUpdateCount == 0) return; LockUpdateCount--; } Guid guid = Guid.NewGuid(); bool ShouldSerializeId() { return Id != Guid.Empty; } [Browsable(false)] public Guid Id { get { return guid; } set { if(Id == value) Guid prev = Id; return; // guid = value; OnItemChanged(\ 位图刷新 } } ContextAnimationType animationType = ContextAnimationType.Default; [DefaultValue(ContextAnimationType.Default)] public get { return animationType; } ContextAnimationType AnimationType { set { if(AnimationType == value) return; ContextAnimationType prev = AnimationType; animationType = value; OnItemChanged(\ } } Image glyph; AssemblyInfo.SRAssemblyDesign, typeof(UITypeEditor))] [DefaultValue(null), Editor(\ public virtual Image Glyph { get { return glyph; } set { if(Glyph == value) return; Image prev = Glyph; glyph = value; OnItemChanged(\ } } AssemblyInfo.SRAssemblyDesign, typeof(UITypeEditor))] Image hoverGlyph; [DefaultValue(null), Editor(\ public virtual Image HoverGlyph { get { return hoverGlyph; } set { if(HoverGlyph == value) return; Image prev = HoverGlyph; hoverGlyph = value; OnItemChanged(\ } } ContextItemAlignment alignment = ContextItemAlignment.TopNear; [DefaultValue(ContextItemAlignment.TopNear)] public virtual ContextItemAlignment Alignment {

\+

\+

轨道交通牵引供电系统源代码

get { return alignment; } set { if(Alignment == value) return; ContextItemAlignment prev = Alignment; alignment = value; OnItemChanged(\ } } protected virtual internal Orientation Orientation { get { if(AnchorElement != null) return AnchorElement.Orientation; if(Alignment == ContextItemAlignment.NearTop || Alignment == ContextItemAlignment.NearCenter || Alignment == ContextItemAlignment.NearBottom) return System.Windows.Forms.Orientation.Vertical; if(Alignment == ContextItemAlignment.FarTop || Alignment == ContextItemAlignment.FarCenter || Alignment == ContextItemAlignment.FarBottom) return System.Windows.Forms.Orientation.Vertical; return System.Windows.Forms.Orientation.Horizontal; } } Size size = Size.Empty; void ResetSize() { Size = Size.Empty; } bool ShouldSerializeSize() { return !Size.IsEmpty; } [Browsable(false)] public Size Size { get { return size; } set { //秦九韶算法 value.Width = Math.Max(0, value.Width); value.Height = Math.Max(0, value.Height); if(Size == value) return; Size prev = Size; size = value; OnItemChanged(\ } } string name = string.Empty; [DefaultValue(\ public string Name { get { return name; } set { if(Name == value) return; string prev = Name; name = value; OnItemChanged(\ } } object tag; [DefaultValue(null)] public object Tag { get { return tag; } set { if(Tag == value) return; object prev = Tag; tag = value; OnItemChanged(\ } } bool enabled = true;

轨道交通牵引供电系统源代码

[DefaultValue(true)] public bool Enabled { get { return enabled; } set { if(Enabled == value) return; bool prev = enabled; enabled = value; OnItemChanged(\ } } ContextItemVisibility? forcedVisibility = null; [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public void SetForcedVisibility(ContextItemVisibility? forcedVisibility) { this.forcedVisibility = forcedVisibility; } internal bool IsForcedVisibilitySet { get { return forcedVisibility.HasValue; } } ContextItemVisibility visibility = ContextItemVisibility.Auto; [DefaultValue(ContextItemVisibility.Auto)] public ContextItemVisibility Visibility { get {

//控制管理模块网络设置 if(forcedVisibility.HasValue) return forcedVisibility.Value; return visibility; } set { if(Visibility == value) return; ContextItemVisibility prev = Visibility; visibility = value; OnItemChanged(\//控制管理模块数据存储 } } [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ContextItemCollection Collection { get; internal set; } protected IContextItemCollectionOwner CollectionOwner { get { return Collection == null ? null : Collection.Owner; } } int anchorIndent = 0; [DefaultValue(0)] public int AnchorIndent { get { return anchorIndent; } set { if(AnchorIndent == value) return; int prev = AnchorIndent; anchorIndent = value; OnItemChanged(\ } } Point anchorOffset = Point.Empty; void ResetAnchorOffset() { AnchorOffset = Point.Empty; } bool ShouldSerializeAnchorOffset() { return !AnchorOffset.IsEmpty; } public Point AnchorOffset { get { return anchorOffset; } set { if(AnchorOffset == value) return; Point prev = AnchorOffset; anchorOffset = value;

轨道交通牵引供电系统源代码

OnItemChanged(\ } } ContextItem anchorElement; [DefaultValue(null),

DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), Editor(\\+ AssemblyInfo.SRAssemblyEditorsDesign, typeof(UITypeEditor))] public ContextItem AnchorElement { get { return anchorElement; } set { if(AnchorElement == value) return; ContextItem prev = AnchorElement; anchorElement = value; OnAnchorElementChanged(prev, AnchorElement); } } [Editor(\\+ AssemblyInfo.SRAssemblyEditorsDesign, typeof(UITypeEditor))] public virtual SuperToolTip SuperTip { get; set; } protected virtual bool ShouldSerializeSuperTip() { return SuperTip != null && !SuperTip.IsEmpty; } public virtual void ResetSuperTip() { SuperTip = null; } [DefaultValue(\//设置管理模块数据管理 public virtual string ToolTip { get { return toolTip; } set { if(toolTip == value) return; toolTip = value; } } [DefaultValue(\ public virtual string ToolTipTitle { get { return toolTipTitle; } set { if(toolTipTitle == value) return; toolTipTitle = value; } } [DefaultValue(ToolTipIconType.None), Localizable(true)] public virtual ToolTipIconType ToolTipIconType { get { return toolTipIconType; } set { if(toolTipIconType == value) return; toolTipIconType = value; } } [DefaultValue(true)] public virtual bool ShowToolTips { get { return showToolTips; } set { if(showToolTips == value) return; showToolTips = value; } } protected virtual void OnAnchorElementChanged(ContextItem prev, ContextItem current) { AnchorElementId = current == null? Guid.Empty: current.Id;

轨道交通牵引供电系统源代码

OnItemChanged(\ } Guid anchorElementId = Guid.Empty; bool ShouldSerializeAnchorElementId() { return AnchorElementId != Guid.Empty; } [Browsable(false)] public Guid AnchorElementId { get { return anchorElementId; } set { if(AnchorElementId == value) return; Guid prev = AnchorElementId; anchorElementId = value; OnAnchorElementIdChanged(prev, AnchorElementId); } } private void OnAnchorElementIdChanged(Guid prev, Guid current) { if(current == Guid.Empty) { AnchorElement = null; return; } ContextItem item = GetAnchorElementById(current); if(item != null) AnchorElement = item; OnItemChanged(\ } protected internal virtual ContextItem GetAnchorElementById(Guid anchorId) { if(Collection == null) return null; foreach(ContextItem item in Collection) { if(item.Id == anchorId) return item; } return null; //要素管理 } AnchorAlignment anchorAlignment = AnchorAlignment.Default; [DefaultValue(AnchorAlignment.Default)] public AnchorAlignment AnchorAlignment { get { return anchorAlignment; } set { if(AnchorAlignment == value) return; AnchorAlignment prev = AnchorAlignment; anchorAlignment = value; OnItemChanged(\ } } protected internal virtual ContextItemViewInfo CreateViewInfo(ContextItemCollectionViewInfo collectionViewInfo) { return new ContextItemViewInfo(this, collectionViewInfo); } }

//~~~~~~~

/* 直流电路管理 */

using System.Security.Principal; using System.DirectoryServices; using Microsoft.JScript;

using System.Drawing.Imaging; using System.Data.Common;

using System.Runtime.Serialization.Formatters.Soap; public class Zldlgl {

public bool AllowLeaveFocusOnTab {

轨道交通牵引供电系统源代码

get { return (bool)GetValue(AllowLeaveFocusOnTabProperty); } set { SetValue(AllowLeaveFocusOnTabProperty, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\#endif

Category(Categories.OptionsBehavior), XtraSerializableProperty] public double WheelScrollLines { get { return (double)GetValue(WheelScrollLinesProperty); } set { SetValue(WheelScrollLinesProperty, value); } } [ Category(Categories.OptionsBehavior), XtraSerializableProperty] public double TouchScrollThreshold { get { return (double)GetValue(TouchScrollThresholdProperty); } set { SetValue(TouchScrollThresholdProperty, value); } } public object DetailHeaderContent { get { return GetValue(DetailHeaderContentProperty); } set { SetValue(DetailHeaderContentProperty, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\e\#endif //Kill线程

Category(Categories.OptionsBehavior), XtraSerializableProperty] public ItemsSourceErrorInfoShowMode ItemsSourceErrorInfoShowMode { get { return (ItemsSourceErrorInfoShowMode)GetValue(ItemsSourceErrorInfoShowModeProperty); } set { SetValue(ItemsSourceErrorInfoShowModeProperty, value); } } #if !SL [Browsable(false)] public bool ShouldSerializeColumnChooserColumns(System.Windows.Markup.XamlDesignerSerializationManager manager) { return false; } //节点属性 [Browsable(false)] public bool ShouldSerializeColumnChooserColumnsSortOrderComparer(System.Windows.Markup.XamlDesignerSerializationManager manager) { return false; } #endif public event RowAnimationEventHandler RowAnimationBegin { add { AddHandler(RowAnimationBeginEvent, value); } remove { RemoveHandler(RowAnimationBeginEvent, value); } } public static void SetColumnHeaderDragIndicatorSize(DependencyObject element, double value) { if(element == null) throw new ArgumentNullException(\ element.SetValue(ColumnHeaderDragIndicatorSizeProperty, value); } public static double GetColumnHeaderDragIndicatorSize(DependencyObject element) { if(element == null) throw new ArgumentNullException(\ return (double)element.GetValue(ColumnHeaderDragIndicatorSizeProperty);

轨道交通牵引供电系统源代码

} #if !SL [DevExpressXpfGridCoreLocalizedDescription(\#endif public BaseEdit ActiveEditor { get { return (BaseEdit)GetValue(ActiveEditorProperty); } private set { this.SetValue(ActiveEditorPropertyKey, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\#endif

XtraSerializableProperty, Category(Categories.OptionsBehavior)] public EditorShowMode EditorShowMode { get { return (EditorShowMode)GetValue(EditorShowModeProperty); } set { SetValue(EditorShowModeProperty, value); } } internal void SetActiveEditor() { SetActiveEditor((BaseEdit)BaseEditHelper.GetBaseEdit(InplaceEditorOwner.ActiveEditor)); } internal void SetActiveEditor(BaseEdit baseEdit) { IsEditing = baseEdit != null; ActiveEditor = baseEdit; } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\#endif

Category(Categories.OptionsBehavior), XtraSerializableProperty, CloneDetailMode(CloneDetailMode.Skip)] public GridViewNavigationStyle NavigationStyle { get { return (GridViewNavigationStyle)GetValue(NavigationStyleProperty); } set { SetValue(NavigationStyleProperty, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\//设置管理模块记录 #endif

Category(Categories.Appearance)] public bool ShowFocusedRectangle { get { return (bool)GetValue(ShowFocusedRectangleProperty); } set { SetValue(ShowFocusedRectangleProperty, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\#endif

Category(Categories.Appearance)] public ControlTemplate FocusedCellBorderTemplate { get { return (ControlTemplate)GetValue(FocusedCellBorderTemplateProperty); } set { SetValue(FocusedCellBorderTemplateProperty, value); } } public ControlTemplate FocusedGroupRowBorderTemplate { get { return (ControlTemplate)GetValue(FocusedGroupRowBorderTemplateProperty); } set { SetValue(FocusedGroupRowBorderTemplateProperty, value); } } [Obsolete(\the DataControlBase.ClipboardCopyMode property instead\Category(Categories.OptionsCopy), Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public bool ClipboardCopyWithHeaders {

轨道交通牵引供电系统源代码

get { return (bool)GetValue(ClipboardCopyWithHeadersProperty); } set { SetValue(ClipboardCopyWithHeadersProperty, value); } } protected internal virtual bool ActualClipboardCopyWithHeaders { get { return (DataControl == null || DataControl.ClipboardCopyMode == ClipboardCopyMode.Default) ? (bool)GetValue(ClipboardCopyWithHeadersProperty) : DataControl.ClipboardCopyMode == ClipboardCopyMode.IncludeHeader; } } [Obsolete(\the DataControlBase.ClipboardCopyMode property instead\Category(Categories.OptionsCopy), Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] public bool ClipboardCopyAllowed { get { return (bool)GetValue(ClipboardCopyAllowedProperty); } set { SetValue(ClipboardCopyAllowedProperty, value); } } protected internal virtual bool ActualClipboardCopyAllowed { get { return (DataControl == null || DataControl.ClipboardCopyMode == ClipboardCopyMode.Default) ? (bool)GetValue(ClipboardCopyAllowedProperty) : DataControl.ClipboardCopyMode != ClipboardCopyMode.None; } } [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool IsKeyboardFocusWithinView { get { return (bool)GetValue(IsKeyboardFocusWithinViewProperty); } private set { this.SetValue(IsKeyboardFocusWithinViewPropertyKey, value); } } [Obsolete(\the DataControlBase.SelectedItem/DataControlBase.CurrentItem property instead\ public object FocusedRow { get { return (object)GetValue(FocusedRowProperty); } set { SetValue(FocusedRowProperty, value); } } public bool IsSynchronizedWithCurrentItem { get { return (bool)GetValue(IsSynchronizedWithCurrentItemProperty); } set { SetValue(IsSynchronizedWithCurrentItemProperty, value); } } #if !SL [DevExpressXpfGridCoreLocalizedDescription(\#endif public RowData FocusedRowData { get { return (RowData)GetValue(FocusedRowDataProperty); } //删除响应 internal set { this.SetValue(FocusedRowDataPropertyKey, value); } } [Browsable(false), CloneDetailMode(CloneDetailMode.Skip)] public IColumnChooserFactory ColumnChooserFactory { get { return (IColumnChooserFactory)GetValue(ColumnChooserFactoryProperty); } set { SetValue(ColumnChooserFactoryProperty, value); } } [Browsable(false), CloneDetailMode(CloneDetailMode.Skip)] public bool IsHorizontalScrollBarVisible { get { return (bool)GetValue(IsHorizontalScrollBarVisibleProperty); } //控制管理模块运行设置 internal set { this.SetValue(IsHorizontalScrollBarVisiblePropertyKey, value); } } [Browsable(false), CloneDetailMode(CloneDetailMode.Skip)] public bool IsTouchScrollBarsMode { get { return (bool)GetValue(IsTouchScrollBarsModeProperty); } internal set { this.SetValue(IsTouchScrollBarsModePropertyKey, value); } } [ Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), XtraSerializableProperty(XtraSerializationVisibility.Content),

轨道交通牵引供电系统源代码

GridUIProperty, CloneDetailMode(CloneDetailMode.Skip) ] public IColumnChooserState ColumnChooserState { get { return (IColumnChooserState)GetValue(ColumnChooserStateProperty); } set { SetValue(ColumnChooserStateProperty, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\#endif

Category(Categories.Appearance)] public DataTemplate CellTemplate { get { return (DataTemplate)GetValue(CellTemplateProperty); } set { SetValue(CellTemplateProperty, value); } } [ #if !SL DevExpressXpfGridCoreLocalizedDescription(\#endif

DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), Category(Categories.Appearance)] public DataTemplateSelector CellTemplateSelector { get { return (DataTemplateSelector)GetValue(CellTemplateSelectorProperty); } set { SetValue(CellTemplateSelectorProperty, value); } } [Category(Categories.OptionsFilter)] public event FilterPopupEventHandler ShowFilterPopup { add { AddHandler(ShowFilterPopupEvent, value); } remove { RemoveHandler(ShowFilterPopupEvent, value); } } [Obsolete(\the DataControlBase.PastingFromClipboard event\Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] }

//◇◇◇◇◇◇◇◇◇◇ /* 电流设置 */

using System.Web.Caching; using System.Drawing.Imaging; using System.Threading;

using System.Runtime.Remoting.Contexts; using System.Data.Odbc; public class Dlsz {

public class UIGcContainerClient13 : DXTestControl { public UIGcContainerClient13(UITestControl searchLimitContainer) : //网络监控 base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion } #region Properties //设置管理模块监听 public UISplitPresentationCustom UISplitPresentationCustom { get

轨道交通牵引供电系统源代码

{ if ((this.mUISplitPresentationCustom == null)) { this.mUISplitPresentationCustom = new UISplitPresentationCustom(this); } return this.mUISplitPresentationCustom; } } #endregion #region Fields private UISplitPresentationCustom mUISplitPresentationCustom; #endregion } [GeneratedCode(\ public class UISplitPresentationCustom : DXTestControl { public UISplitPresentationCustom(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion } #region Properties public UILayoutControl1Custom2 UILayoutControl1Custom { get { if ((this.mUILayoutControl1Custom == null)) { this.mUILayoutControl1Custom = new UILayoutControl1Custom2(this); } return this.mUILayoutControl1Custom; } } #endregion #region Fields private UILayoutControl1Custom2 mUILayoutControl1Custom; #endregion } [GeneratedCode(\ public class UILayoutControl1Custom2 : DXTestControl { public UILayoutControl1Custom2(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \//线程异常 this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion } #region Properties

轨道交通牵引供电系统源代码

public UIGridSplitContainer1SplitContainerControl UIGridSplitContainer1SplitContainerControl { get { if ((this.mUIGridSplitContainer1SplitContainerControl == null)) { this.mUIGridSplitContainer1SplitContainerControl = new UIGridSplitContainer1SplitContainerControl(this); } return this.mUIGridSplitContainer1SplitContainerControl; } } public DXTextEdit UIEditLoanAmountEdit { get { if ((this.mUIEditLoanAmountEdit == null)) { this.mUIEditLoanAmountEdit = new DXTextEdit(this); #region Search Criteria this.mUIEditLoanAmountEdit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIEditLoanAmountEdit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIEditLoanAmountEdit.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUIEditLoanAmountEdit.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion } return this.mUIEditLoanAmountEdit; } } public DXButton UISbCalcButton { get { if ((this.mUISbCalcButton == null)) { this.mUISbCalcButton = new DXButton(this); #region Search Criteria this.mUISbCalcButton.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISbCalcButton.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISbCalcButton.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUISbCalcButton.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion } return this.mUISbCalcButton; } } public DXSplitContainerControl UIGridSplitContainer2SplitContainerControl { get

轨道交通牵引供电系统源代码

//设置管理模块运行管理 { if ((this.mUIGridSplitContainer2SplitContainerControl == null)) { this.mUIGridSplitContainer2SplitContainerControl = new DXSplitContainerControl(this); #region Search Criteria this.mUIGridSplitContainer2SplitContainerControl.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIGridSplitContainer2SplitContainerControl.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIGridSplitContainer2SplitContainerControl.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUIGridSplitContainer2SplitContainerControl.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion //设置管理模块信息列表 } return this.mUIGridSplitContainer2SplitContainerControl; } } public DXButton UISbRemoveSplitButton { get { if ((this.mUISbRemoveSplitButton == null)) { this.mUISbRemoveSplitButton = new DXButton(this); #region Search Criteria this.mUISbRemoveSplitButton.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISbRemoveSplitButton.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISbRemoveSplitButton.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUISbRemoveSplitButton.WindowTitles.Add(\Suite by DevExpress (C# code) - Split Presentation View\ #endregion } return this.mUISbRemoveSplitButton; } } #endregion #region Fields private UIGridSplitContainer1SplitContainerControl mUIGridSplitContainer1SplitContainerControl; private DXTextEdit mUIEditLoanAmountEdit; private DXButton mUISbCalcButton; private DXSplitContainerControl mUIGridSplitContainer2SplitContainerControl; private DXButton mUISbRemoveSplitButton; #endregion } [GeneratedCode(\ public class UIGridSplitContainer1SplitContainerControl : DXSplitContainerControl { public UIGridSplitContainer1SplitContainerControl(UITestControl

轨道交通牵引供电系统源代码

searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\XtraGrid Suite by DevExpress (C# code) - Split Presentation View\ #endregion } #region Properties public UISplitGroupPanelClient2 UISplitGroupPanelClient { get { if ((this.mUISplitGroupPanelClient == null)) { this.mUISplitGroupPanelClient = new UISplitGroupPanelClient2(this); } return this.mUISplitGroupPanelClient; } //递归序列 } public UISplitGroupPanelClient11 UISplitGroupPanelClient1 { get { if ((this.mUISplitGroupPanelClient1 == null)) { this.mUISplitGroupPanelClient1 = new UISplitGroupPanelClient11(this); } return this.mUISplitGroupPanelClient1; } //数据搜索 } #endregion #region Fields private UISplitGroupPanelClient2 mUISplitGroupPanelClient; private UISplitGroupPanelClient11 mUISplitGroupPanelClient1; #endregion } [GeneratedCode(\ public class UISplitGroupPanelClient2 : DXTestControl { public UISplitGroupPanelClient2(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ #endregion } #region Properties public UIGridControl1Table9 UIGridControl1Table { get {

轨道交通牵引供电系统源代码

if ((this.mUIGridControl1Table == null)) { this.mUIGridControl1Table = new UIGridControl1Table9(this); } return this.mUIGridControl1Table; } } #endregion #region Fields private UIGridControl1Table9 mUIGridControl1Table; #endregion } [GeneratedCode(\ public class UIGridControl1Table9 : DXGrid { public UIGridControl1Table9(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ #endregion } #region Properties }

//*****

/* 通入电压监控 */

using System.Xml.Serialization; //数值计算

using System.Web.Services.Description; using System.Runtime.Remoting.Messaging; using System.Web.Configuration; using System.Xml.XPath; using System.Configuration;

using Telerik.WinForms.Documents.Model.BibliographicReferences; public class Trdyjk {

public class UIRibbonPageGroup3RibbonPageGroup2 : DXRibbonPageGroup { public UIRibbonPageGroup3RibbonPageGroup2(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\ #endregion } #region Properties public UIFontStyleRibbonItem2 UIFontStyleRibbonItem { get { if ((this.mUIFontStyleRibbonItem == null)) { this.mUIFontStyleRibbonItem = new UIFontStyleRibbonItem2(this); } return this.mUIFontStyleRibbonItem;

轨道交通牵引供电系统源代码

} } #endregion #region Fields private UIFontStyleRibbonItem2 mUIFontStyleRibbonItem; #endregion } [GeneratedCode(\ public class UIFontStyleRibbonItem2 : DXRibbonItem { public UIFontStyleRibbonItem2(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXRibbonItem UIItalicRibbonItem { get

//设置管理模块网络设置 { if ((this.mUIItalicRibbonItem == null)) { this.mUIItalicRibbonItem = new DXRibbonItem(this); #region Search Criteria this.mUIItalicRibbonItem.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIItalicRibbonItem.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIItalicRibbonItem.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUIItalicRibbonItem.WindowTitles.Add(\Document 1* - Ribbon Simple Pad\ #endregion //存储区 } return this.mUIItalicRibbonItem; } } #endregion #region Fields private DXRibbonItem mUIItalicRibbonItem; #endregion } [GeneratedCode(\ public class UIRibbonPageGroup2RibbonPageGroup5 : DXRibbonPageGroup { public UIRibbonPageGroup2RibbonPageGroup5(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \

轨道交通牵引供电系统源代码

this.WindowTitles.Add(\ #endregion } #region Properties public DXRibbonItem UIPasteRibbonItem { get { if ((this.mUIPasteRibbonItem == null)) { this.mUIPasteRibbonItem = new DXRibbonItem(this); #region Search Criteria this.mUIPasteRibbonItem.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPasteRibbonItem.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPasteRibbonItem.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUIPasteRibbonItem.WindowTitles.Add(\Document 1* - Ribbon Simple Pad\ #endregion } return this.mUIPasteRibbonItem; } } public DXButton UIRibbonPageGroup2Button { get { if ((this.mUIRibbonPageGroup2Button == null)) { this.mUIRibbonPageGroup2Button = new DXButton(this); #region Search Criteria this.mUIRibbonPageGroup2Button.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIRibbonPageGroup2Button.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIRibbonPageGroup2Button.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUIRibbonPageGroup2Button.WindowTitles.Add(\Document 1* - Ribbon Simple Pad\ #endregion } //关联访问 return this.mUIRibbonPageGroup2Button; } } #endregion #region Fields private DXRibbonItem mUIPasteRibbonItem; private DXButton mUIRibbonPageGroup2Button; #endregion } [GeneratedCode(\ public class UIRibbonPageCategory1RibbonPageCategory2 : DXRibbonPageCategory //设置管理模块告警记录 { public UIRibbonPageCategory1RibbonPageCategory2(UITestControl

轨道交通牵引供电系统源代码

searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\ #endregion } #region Properties public UIRibbonPage4RibbonPage1 UIRibbonPage4RibbonPage { get { if ((this.mUIRibbonPage4RibbonPage == null)) { this.mUIRibbonPage4RibbonPage = new UIRibbonPage4RibbonPage1(this); } return this.mUIRibbonPage4RibbonPage; } } #endregion #region Fields private UIRibbonPage4RibbonPage1 mUIRibbonPage4RibbonPage; #endregion } [GeneratedCode(\ public class UIRibbonPage4RibbonPage1 : DXRibbonPage { public UIRibbonPage4RibbonPage1(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\ #endregion } #region Properties public UIRibbonPageGroup12RibbonPageGroup UIRibbonPageGroup12RibbonPageGroup { get { if ((this.mUIRibbonPageGroup12RibbonPageGroup == null)) { this.mUIRibbonPageGroup12RibbonPageGroup = new UIRibbonPageGroup12RibbonPageGroup(this); } return this.mUIRibbonPageGroup12RibbonPageGroup; } } #endregion //信息项 #region Fields private UIRibbonPageGroup12RibbonPageGroup mUIRibbonPageGroup12RibbonPageGroup; #endregion

轨道交通牵引供电系统源代码

} [GeneratedCode(\ public class UIRibbonPageGroup12RibbonPageGroup : DXRibbonPageGroup { public UIRibbonPageGroup12RibbonPageGroup(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXRibbonItem UICopyRibbonItem { get { if ((this.mUICopyRibbonItem == null)) { this.mUICopyRibbonItem = new DXRibbonItem(this); #region Search Criteria this.mUICopyRibbonItem.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICopyRibbonItem.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICopyRibbonItem.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.mUICopyRibbonItem.WindowTitles.Add(\Document 1* - Ribbon Simple Pad\ #endregion } return this.mUICopyRibbonItem; } } #endregion #region Fields private DXRibbonItem mUICopyRibbonItem; #endregion } [GeneratedCode(\ public class UIBackstageViewControlCustom1 : DXTestControl { public UIBackstageViewControlCustom1(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.SearchProperties[DXTestControl.PropertyNames.HierarchyLevel] = \ this.WindowTitles.Add(\ #endregion } #region Properties //控制管理模块重启

轨道交通牵引供电系统源代码

public UIBackstageViewClientCScrollableControl3 UIBackstageViewClientCScrollableControl { get { if ((this.mUIBackstageViewClientCScrollableControl == null)) { this.mUIBackstageViewClientCScrollableControl = new UIBackstageViewClientCScrollableControl3(this); } return this.mUIBackstageViewClientCScrollableControl; } //确切性 } #endregion #region Fields private UIBackstageViewClientCScrollableControl3 mUIBackstageViewClientCScrollableControl; #endregion } [GeneratedCode(\ }

//=======

/* 监控显示 */

using System.Runtime.Remoting.Proxies; using System.Web.Services.Protocols; using System.Drawing.Text; using System.Text;

using System.Runtime.Serialization; using System.Timers; public class Jkxs {

public abstract class Utf16EncodingDetector : EncodingDetectorBase { protected const int MinimumDataThreshold = 20; protected const int EnoughDataThreshold = 256; int index; int oddLowerByteCount; int evenLowerByteCount; protected Utf16EncodingDetector() { } public override float GetConfidence() { int byteCount = index + 1; if ((byteCount % 2) != 0) byteCount++; if (byteCount < MinimumDataThreshold) return 0.01f; float halfByteCount = byteCount / 2.0f; return GetConfidenceCore(oddLowerByteCount, evenLowerByteCount, halfByteCount); } protected internal abstract float GetConfidenceCore(int oddLowerByteCount, int evenLowerByteCount, float halfByteCount); protected internal override DetectionResult ForceAnalyseData(byte[] buffer, int from, int length) { int to = from + length; for (int i = from; i < to; i++, index++) { byte value = buffer[i]; if ((index % 2) == 0) { if (value <= 5) evenLowerByteCount++; } else {

轨道交通牵引供电系统源代码

if (value <= 5) oddLowerByteCount++; } } if (CurrentResult == DetectionResult.Detecting) if (GetConfidence() > ShortcutThreshold) return DetectionResult.Positive; return CurrentResult; //流量统计 } } #endregion #region Utf16LittleEndianEncodingDetector public class Utf16LittleEndianEncodingDetector : Utf16EncodingDetector { public override Encoding Encoding { get { return Encoding.Unicode; } } protected internal override float GetConfidenceCore(int oddLowerByteCount, int evenLowerByteCount, float halfByteCount) { if (oddLowerByteCount / halfByteCount > 0.8f && evenLowerByteCount / halfByteCount < 0.2f) return 0.9f + Math.Min(0.1f, 2 * halfByteCount * 0.1f / (EnoughDataThreshold - MinimumDataThreshold)); else return 0.01f; //步长管理 } } #endregion #region Utf16BigEndianEncodingDetector public class Utf16BigEndianEncodingDetector : Utf16EncodingDetector { public override Encoding Encoding { get { return DXEncoding.GetEncoding(1201); } } protected internal override float GetConfidenceCore(int oddLowerByteCount, int evenLowerByteCount, float halfByteCount) { if (evenLowerByteCount / halfByteCount > 0.8f && oddLowerByteCount / halfByteCount < 0.2f) return 0.9f + Math.Min(0.1f, 2 * halfByteCount * 0.1f / (EnoughDataThreshold - MinimumDataThreshold)); else return 0.01f; } } #endregion #region EastAsianEncodingDetector (abstract class) public abstract class EastAsianEncodingDetector : EncodingDetectorBase { readonly EncodingAnalyzer encodingAnalyzer; readonly CharacterDistributionAnalyzer distributionAnalyzer; readonly bool isPreferredLanguage; readonly byte[] lastCharBuffer; protected EastAsianEncodingDetector(bool preferredLanguage) { this.isPreferredLanguage = preferredLanguage; this.lastCharBuffer = new byte[2]; this.encodingAnalyzer = CreateEncodingAnalyzer(); this.distributionAnalyzer = CreateDistributionAnalyzer(); } protected internal abstract CharacterDistributionAnalyzer CreateDistributionAnalyzer(); protected internal abstract EncodingAnalyzer CreateEncodingAnalyzer(); public override float GetConfidence() { return Math.Max(GetContextAnalyzerConfidence(isPreferredLanguage), distributionAnalyzer.GetConfidence(isPreferredLanguage)); } protected internal override DetectionResult ForceAnalyseData(byte[] buffer, int from, int length) { int to = from + length; for (int i = from; i < to; i++) {

轨道交通牵引供电系统源代码

EAState encodingAnalyzerState = encodingAnalyzer.NextState(buffer[i]); if (encodingAnalyzerState == EAState.ItsMe) return DetectionResult.Positive; if (encodingAnalyzerState == EAState.Start) { int charLen = encodingAnalyzer.CurrentCharLength; if (i == 0) { lastCharBuffer[1] = buffer[0]; ContinueContextAnalysis(lastCharBuffer, 0, charLen); distributionAnalyzer.AnalyzeCharacter(lastCharBuffer, 0, charLen); } else { ContinueContextAnalysis(buffer, i - 1, charLen); distributionAnalyzer.AnalyzeCharacter(buffer, i - 1, charLen); } } } lastCharBuffer[0] = buffer[to - 1]; if (GotEnoughData() && GetConfidence() > ShortcutThreshold) return DetectionResult.Positive; return DetectionResult.Detecting; //安全设定 } protected internal virtual bool GotEnoughData() { return distributionAnalyzer.GotEnoughData(); } protected internal virtual void ContinueContextAnalysis(byte[] buffer, int from, int length) { } protected internal virtual float GetContextAnalyzerConfidence(bool isPreferredLanguage) { return 0.0f; } } #endregion #region MultiByteCharsetGroupDetector public class MultiByteCharsetGroupDetector : GroupDetector { readonly EncodingDetectorLanguageFilter languageFilter; int _keepNext; public MultiByteCharsetGroupDetector(EncodingDetectorLanguageFilter languageFilter) { this.languageFilter = languageFilter; CreateDetectors(); } protected internal override void PopulateDetectors() { Detectors.Add(new Utf8EncodingDetector()); if ((languageFilter & EncodingDetectorLanguageFilter.Japanese) != 0) { bool preferredLanguage = languageFilter == EncodingDetectorLanguageFilter.Japanese; Detectors.Add(new ShiftedJisEncodingDetector(preferredLanguage)); Detectors.Add(new EucJpEncodingDetector(preferredLanguage)); } if ((languageFilter & EncodingDetectorLanguageFilter.ChineseSimplified) != 0) Detectors.Add(new GB18030EncodingDetector(languageFilter == EncodingDetectorLanguageFilter.ChineseSimplified)); if ((languageFilter & EncodingDetectorLanguageFilter.Korean) != 0) Detectors.Add(new EucKrEncodingDetector(languageFilter == EncodingDetectorLanguageFilter.Korean)); if ((languageFilter & EncodingDetectorLanguageFilter.ChineseTraditional) != 0) { Detectors.Add(new Big5EncodingDetector((languageFilter == EncodingDetectorLanguageFilter.ChineseTraditional))); } } protected internal override DetectionResult ForceAnalyseData(byte[] buffer, int from,

轨道交通牵引供电系统源代码

int length) { int start = from; int keepNext = _keepNext; int to = from + length; for (int i = from; i < to; i++) { if (IsUpperAsciiByte(buffer[i])) { if (keepNext == 0) start = i; keepNext = 2; } else if (keepNext != 0) { if (--keepNext == 0) { DetectionResult result = AnalyseDataCore(buffer, start, i + 1 - start); if (result != DetectionResult.Detecting) return result; } } } if (keepNext != 0) { DetectionResult result = AnalyseDataCore(buffer, start, length - start); //预定设置 if (result != DetectionResult.Detecting) return result; } _keepNext = keepNext; return CurrentResult; } } #endregion #region EAState public struct EAState { //进程刷新 int value; EAState(int value) { this.value = value; } public static readonly EAState Start = new EAState(0); public static readonly EAState Error = new EAState(1); public static readonly EAState ItsMe = new EAState(2); public override bool Equals(object obj) { return ((obj is EAState) && (this.value == ((EAState)obj).value)); } public override int GetHashCode() { return value.GetHashCode(); } public static implicit operator int(EAState state) { return state.value; } public static explicit operator EAState(int state) { return new EAState(state); } public static bool operator ==(EAState pos1, EAState pos2) { return pos1.value == pos2.value; } public static bool operator !=(EAState pos1, EAState pos2) { return pos1.value != pos2.value; } } #endregion #region EncodingAnalyzer (abstract class) public abstract class EncodingAnalyzer { EAState currentState; int currentCharLength;

轨道交通牵引供电系统源代码

public int CurrentCharLength { get { return currentCharLength; } } public EAState NextState(byte c) { int byteCls = Unpack4Bits(c, ClassTable); if (currentState == EAState.Start) { currentCharLength = CharLenTable[byteCls]; } currentState = (EAState)Unpack4Bits((int)currentState * CharLenTable.Length + byteCls, StateTable); return currentState; } protected internal abstract int[] CharLenTable { get; } protected internal abstract int[] StateTable { get; } protected internal abstract int[] ClassTable { get; } internal protected static int Unpack4Bits(int i, int[] buffer) { int value = i; return (buffer[value >> 3] >> ((value & 7) << 2)) & 0x0000000F; } internal protected static int Pack4Bits(int a, int b, int c, int d, int e, int f, int g, int h) { System.Diagnostics.Debug.Assert(a < 16); System.Diagnostics.Debug.Assert(b < 16); System.Diagnostics.Debug.Assert(c < 16); System.Diagnostics.Debug.Assert(d < 16); System.Diagnostics.Debug.Assert(e < 16); System.Diagnostics.Debug.Assert(f < 16); System.Diagnostics.Debug.Assert(g < 16); //关联管理 System.Diagnostics.Debug.Assert(h < 16); return Pack8Bits((b << 4) | a, (d << 4) | c, (f << 4) | e, (h << 4) | g); } static int Pack8Bits(int a, int b, int c, int d) { return Pack16Bits((b << 8) | a, (d << 8) | c); } static int Pack16Bits(int a, int b) { return (b << 16) | a; } }

//数据查询 #endregion #region CharacterDistributionAnalyzer (abstract class) }

//◇◇◇◇◇◇◇◇◇◇ /* 空调管理 */

using System.Security.Cryptography.XML; using System.Web.Services; using System.Resources; public class Ktgl {

public virtual CheckStatusBarZoomBarValueAfterChangingViaPlusButtonExpectedValues CheckStatusBarZoomBarValueAfterChangingViaPlusButtonExpectedValues { get { if

((this.mCheckStatusBarZoomBarValueAfterChangingViaPlusButtonExpectedValues == null)) { this.mCheckStatusBarZoomBarValueAfterChangingViaPlusButtonExpectedValues = new CheckStatusBarZoomBarValueAfterChangingViaPlusButtonExpectedValues(); } return

this.mCheckStatusBarZoomBarValueAfterChangingViaPlusButtonExpectedValues; }

轨道交通牵引供电系统源代码

} public virtual SelectLargeIconViewTypeInListViewDemoModuleParams SelectLargeIconViewTypeInListViewDemoModuleParams { get { if ((this.mSelectLargeIconViewTypeInListViewDemoModuleParams == null)) { this.mSelectLargeIconViewTypeInListViewDemoModuleParams = new SelectLargeIconViewTypeInListViewDemoModuleParams(); } return this.mSelectLargeIconViewTypeInListViewDemoModuleParams; } } public virtual SelectSmallIconViewTypeInListViewDemoModuleParams SelectSmallIconViewTypeInListViewDemoModuleParams { get { if ((this.mSelectSmallIconViewTypeInListViewDemoModuleParams == null)) { this.mSelectSmallIconViewTypeInListViewDemoModuleParams = new SelectSmallIconViewTypeInListViewDemoModuleParams(); } return this.mSelectSmallIconViewTypeInListViewDemoModuleParams; } } public virtual SelectListViewTypeInListViewDemoModuleParams SelectListViewTypeInListViewDemoModuleParams { get { if ((this.mSelectListViewTypeInListViewDemoModuleParams == null)) { this.mSelectListViewTypeInListViewDemoModuleParams = new SelectListViewTypeInListViewDemoModuleParams(); } return this.mSelectListViewTypeInListViewDemoModuleParams; } //前景设置 } public virtual CheckBricksAfterChangingTableDemoModuleDataExpectedValues CheckBricksAfterChangingTableDemoModuleDataExpectedValues { get { if ((this.mCheckBricksAfterChangingTableDemoModuleDataExpectedValues == null)) { this.mCheckBricksAfterChangingTableDemoModuleDataExpectedValues = new CheckBricksAfterChangingTableDemoModuleDataExpectedValues(); } return

this.mCheckBricksAfterChangingTableDemoModuleDataExpectedValues; } } public virtual ChangeTableDemoModuleDataForChangingPrintPreviewParams ChangeTableDemoModuleDataForChangingPrintPreviewParams { get { if ((this.mChangeTableDemoModuleDataForChangingPrintPreviewParams == null))

轨道交通牵引供电系统源代码

{ this.mChangeTableDemoModuleDataForChangingPrintPreviewParams = new ChangeTableDemoModuleDataForChangingPrintPreviewParams(); } return this.mChangeTableDemoModuleDataForChangingPrintPreviewParams; } } public virtual CheckBricksAfterChangingGroupsDemoModuleDataExpectedValues CheckBricksAfterChangingGroupsDemoModuleDataExpectedValues { get { if ((this.mCheckBricksAfterChangingGroupsDemoModuleDataExpectedValues == null)) { this.mCheckBricksAfterChangingGroupsDemoModuleDataExpectedValues = new CheckBricksAfterChangingGroupsDemoModuleDataExpectedValues(); } return

this.mCheckBricksAfterChangingGroupsDemoModuleDataExpectedValues; } } public virtual CheckShowedDetailReportInMasterDetailDemoModuleViaCheckingBrickTextExpectedValues CheckShowedDetailReportInMasterDetailDemoModuleViaCheckingBrickTextExpectedValues { get { if

((this.mCheckShowedDetailReportInMasterDetailDemoModuleViaCheckingBrickTextExpectedValues == null)) { this.mCheckShowedDetailReportInMasterDetailDemoModuleViaCheckingBrickTextExpectedValues = new CheckShowedDetailReportInMasterDetailDemoModuleViaCheckingBrickTextExpectedValues(); } return

this.mCheckShowedDetailReportInMasterDetailDemoModuleViaCheckingBrickTextExpectedValues; } } public virtual PageInfoBrickSelectionViaMouseAndCopyViaCtrlCShortcutParams PageInfoBrickSelectionViaMouseAndCopyViaCtrlCShortcutParams { get { if ((this.mPageInfoBrickSelectionViaMouseAndCopyViaCtrlCShortcutParams == null)) { this.mPageInfoBrickSelectionViaMouseAndCopyViaCtrlCShortcutParams = new PageInfoBrickSelectionViaMouseAndCopyViaCtrlCShortcutParams(); } return

this.mPageInfoBrickSelectionViaMouseAndCopyViaCtrlCShortcutParams; //设置管理模块跟踪信息 } } public virtual CheckSwitchToLandscapePrintPreviewOrientationExpectedValues CheckSwitchToLandscapePrintPreviewOrientationExpectedValues { get

轨道交通牵引供电系统源代码

{ if ((this.mCheckSwitchToLandscapePrintPreviewOrientationExpectedValues == null)) { this.mCheckSwitchToLandscapePrintPreviewOrientationExpectedValues = new CheckSwitchToLandscapePrintPreviewOrientationExpectedValues(); }

//控制管理模块数据刷新 return

this.mCheckSwitchToLandscapePrintPreviewOrientationExpectedValues; } } public virtual CheckPostponedFormCountExpectedValues CheckPostponedFormCountExpectedValues { get { if ((this.mCheckPostponedFormCountExpectedValues == null)) { this.mCheckPostponedFormCountExpectedValues = new CheckPostponedFormCountExpectedValues(); } return this.mCheckPostponedFormCountExpectedValues; } } public virtual CheckChangedHiddenStateOfColumnExpectedValues CheckChangedHiddenStateOfColumnExpectedValues { get { if ((this.mCheckChangedHiddenStateOfColumnExpectedValues == null)) { this.mCheckChangedHiddenStateOfColumnExpectedValues = new CheckChangedHiddenStateOfColumnExpectedValues(); } return this.mCheckChangedHiddenStateOfColumnExpectedValues; } } public virtual CheckColumnHeaderAfterHidingColumnExpectedValues CheckColumnHeaderAfterHidingColumnExpectedValues { get { if ((this.mCheckColumnHeaderAfterHidingColumnExpectedValues == null)) { this.mCheckColumnHeaderAfterHidingColumnExpectedValues = new CheckColumnHeaderAfterHidingColumnExpectedValues(); } return this.mCheckColumnHeaderAfterHidingColumnExpectedValues; } } public virtual CheckDeletedSummaryExpectedValues CheckDeletedSummaryExpectedValues { get { if ((this.mCheckDeletedSummaryExpectedValues == null)) { this.mCheckDeletedSummaryExpectedValues = new CheckDeletedSummaryExpectedValues(); } return this.mCheckDeletedSummaryExpectedValues; }

轨道交通牵引供电系统源代码

} public virtual CheckRibbonItemAddedToQuickAccessToolbarExpectedValues CheckRibbonItemAddedToQuickAccessToolbarExpectedValues { get { if ((this.mCheckRibbonItemAddedToQuickAccessToolbarExpectedValues == null)) { this.mCheckRibbonItemAddedToQuickAccessToolbarExpectedValues = new CheckRibbonItemAddedToQuickAccessToolbarExpectedValues(); } //文本载入 return this.mCheckRibbonItemAddedToQuickAccessToolbarExpectedValues; } } public virtual CheckAddedConditionExpressionOnSimpleConditionsTabExpectedValues CheckAddedConditionExpressionOnSimpleConditionsTabExpectedValues { get { if

((this.mCheckAddedConditionExpressionOnSimpleConditionsTabExpectedValues == null)) { this.mCheckAddedConditionExpressionOnSimpleConditionsTabExpectedValues = new CheckAddedConditionExpressionOnSimpleConditionsTabExpectedValues(); } return

this.mCheckAddedConditionExpressionOnSimpleConditionsTabExpectedValues; } } public virtual CheckComplexFilteredDataExpectedValues CheckComplexFilteredDataExpectedValues { get { if ((this.mCheckComplexFilteredDataExpectedValues == null)) { this.mCheckComplexFilteredDataExpectedValues = new CheckComplexFilteredDataExpectedValues(); } return this.mCheckComplexFilteredDataExpectedValues; } } public virtual ChangeRichTextBoxValueForChangingPrintPreviewParams ChangeRichTextBoxValueForChangingPrintPreviewParams { get { if ((this.mChangeRichTextBoxValueForChangingPrintPreviewParams == null)) { this.mChangeRichTextBoxValueForChangingPrintPreviewParams = new ChangeRichTextBoxValueForChangingPrintPreviewParams(); } return this.mChangeRichTextBoxValueForChangingPrintPreviewParams; } } public virtual CheckChangedRichTextBoxValueViaCheckingBrickTextExpectedValues CheckChangedRichTextBoxValueViaCheckingBrickTextExpectedValues { get

轨道交通牵引供电系统源代码

{ if

((this.mCheckChangedRichTextBoxValueViaCheckingBrickTextExpectedValues == null)) { this.mCheckChangedRichTextBoxValueViaCheckingBrickTextExpectedValues = new CheckChangedRichTextBoxValueViaCheckingBrickTextExpectedValues(); } return

this.mCheckChangedRichTextBoxValueViaCheckingBrickTextExpectedValues; } } public virtual SearchInPrintPreviewViaSearchBarParams SearchInPrintPreviewViaSearchBarParams { get { if ((this.mSearchInPrintPreviewViaSearchBarParams == null)) { this.mSearchInPrintPreviewViaSearchBarParams = new SearchInPrintPreviewViaSearchBarParams(); } return this.mSearchInPrintPreviewViaSearchBarParams; } } public virtual SearchBrickViaCtrlFShortcutParams SearchBrickViaCtrlFShortcutParams { get { if ((this.mSearchBrickViaCtrlFShortcutParams == null)) { this.mSearchBrickViaCtrlFShortcutParams = new SearchBrickViaCtrlFShortcutParams(); //动态组合 } return this.mSearchBrickViaCtrlFShortcutParams; } } }

//☆☆☆☆☆☆☆☆ /* 网络设置 */

using System.Xml.Schema; using System.Reflection.Emit; using System.EnterpriseServices; using System.Threading; using System.Web.UI; public class Wlsz {

public class UICroakerTreeListCell : DXTreeListCell { public UICroakerTreeListCell(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXTextEdit UITextEditEdit {

轨道交通牵引供电系统源代码

get { if ((this.mUITextEditEdit == null)) { this.mUITextEditEdit = new DXTextEdit(this); #region Search Criteria this.mUITextEditEdit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUITextEditEdit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUITextEditEdit.WindowTitles.Add(\ #endregion } return this.mUITextEditEdit; } } public DXTextEdit UITextEditEdit1 { get { if ((this.mUITextEditEdit1 == null)) { this.mUITextEditEdit1 = new DXTextEdit(this); #region Search Criteria this.mUITextEditEdit1.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUITextEditEdit1.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUITextEditEdit1.WindowTitles.Add(\//语句控制 #endregion } return this.mUITextEditEdit1; } } #endregion #region Fields private DXTextEdit mUITextEditEdit; private DXTextEdit mUITextEditEdit1; #endregion //线程刷新设置 } [GeneratedCode(\ public class UICheckedTreeListCell2 : DXTreeListCell { public UICheckedTreeListCell2(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXCheckBox UICheckEditCheckBox { get { if ((this.mUICheckEditCheckBox == null)) {

轨道交通牵引供电系统源代码

this.mUICheckEditCheckBox = new DXCheckBox(this); #region Search Criteria this.mUICheckEditCheckBox.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUICheckEditCheckBox.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUICheckEditCheckBox.WindowTitles.Add(\ #endregion } return this.mUICheckEditCheckBox; } } #endregion #region Fields private DXCheckBox mUICheckEditCheckBox; #endregion } [GeneratedCode(\ public class UIItem30TreeListCell : DXTreeListCell { public UIItem30TreeListCell(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXTextEdit UISpinEditEdit { get { if ((this.mUISpinEditEdit == null)) { //紧急设定 this.mUISpinEditEdit = new DXTextEdit(this); #region Search Criteria this.mUISpinEditEdit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISpinEditEdit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISpinEditEdit.WindowTitles.Add(\ #endregion } return this.mUISpinEditEdit; } } #endregion #region Fields private DXTextEdit mUISpinEditEdit; #endregion } [GeneratedCode(\ public class UINode17TreeListNode : DXTreeListNode { public UINode17TreeListNode(UITestControl searchLimitContainer) : base(searchLimitContainer) {

轨道交通牵引供电系统源代码

#region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXTreeListCell UISpadefishTreeListCell { get { if ((this.mUISpadefishTreeListCell == null)) { this.mUISpadefishTreeListCell = new DXTreeListCell(this); #region Search Criteria this.mUISpadefishTreeListCell.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUISpadefishTreeListCell.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUISpadefishTreeListCell.WindowTitles.Add(\ #endregion } return this.mUISpadefishTreeListCell; } } #endregion #region Fields private DXTreeListCell mUISpadefishTreeListCell; #endregion } [GeneratedCode(\ public class UINode6TreeListNode : DXTreeListNode { public UINode6TreeListNode(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public UITestTreeListCell3 UITestTreeListCell { //消息响应 get { if ((this.mUITestTreeListCell == null)) { this.mUITestTreeListCell = new UITestTreeListCell3(this); } return this.mUITestTreeListCell; } } public DXTestControl UINode6TreeListRowIndicator { get {

轨道交通牵引供电系统源代码

if ((this.mUINode6TreeListRowIndicator == null)) { this.mUINode6TreeListRowIndicator = new DXTestControl(this); #region Search Criteria this.mUINode6TreeListRowIndicator.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUINode6TreeListRowIndicator.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUINode6TreeListRowIndicator.WindowTitles.Add(\(C# code)\ #endregion } return this.mUINode6TreeListRowIndicator; } } public DXTestControl UINode6TreeListNodeSelectImage { get { if ((this.mUINode6TreeListNodeSelectImage == null)) { this.mUINode6TreeListNodeSelectImage = new DXTestControl(this); #region Search Criteria this.mUINode6TreeListNodeSelectImage.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUINode6TreeListNodeSelectImage.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUINode6TreeListNodeSelectImage.WindowTitles.Add(\(C# code)\ #endregion } return this.mUINode6TreeListNodeSelectImage; } } public UIScorpionfishTreeListCell UIScorpionfishTreeListCell { get { if ((this.mUIScorpionfishTreeListCell == null)) { this.mUIScorpionfishTreeListCell = new UIScorpionfishTreeListCell(this); } return this.mUIScorpionfishTreeListCell; } } #endregion #region Fields //异步数据交换 private UITestTreeListCell3 mUITestTreeListCell; private DXTestControl mUINode6TreeListRowIndicator; private DXTestControl mUINode6TreeListNodeSelectImage; private UIScorpionfishTreeListCell mUIScorpionfishTreeListCell; #endregion } [GeneratedCode(\ public class UITestTreeListCell3 : DXTreeListCell { public UITestTreeListCell3(UITestControl searchLimitContainer) : base(searchLimitContainer)

轨道交通牵引供电系统源代码

//系统托盘 { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties public DXTextEdit UITextEditEdit { get { if ((this.mUITextEditEdit == null)) { this.mUITextEditEdit = new DXTextEdit(this); #region Search Criteria this.mUITextEditEdit.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUITextEditEdit.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUITextEditEdit.WindowTitles.Add(\ #endregion } return this.mUITextEditEdit; } } #endregion #region Fields private DXTextEdit mUITextEditEdit; #endregion } [GeneratedCode(\ public class UIScorpionfishTreeListCell : DXTreeListCell { public UIScorpionfishTreeListCell(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.WindowTitles.Add(\ #endregion } #region Properties }

//=======

/* 连接设置 */

using System.Security;

using System.CodeDom.Compiler; using System.Web.UI.WebControls; using System.Security.Principal; public class Ljsz {

public virtual void DrawArrows(VistaDateEditInfoArgs vdi) { //图表 vdi.LeftArrowInfo.Cache = vdi.Cache; vdi.RightArrowInfo.Cache = vdi.Cache; ButtonPainter.DrawObject(vdi.LeftArrowInfo); ButtonPainter.DrawObject(vdi.RightArrowInfo); }

轨道交通牵引供电系统源代码

protected virtual Rectangle CalcArrowRect(Rectangle ar, ScrollButton button) { int rectSide = Math.Min(ar.Width, ar.Height); Rectangle r = Rectangle.Empty; r.X = button == ScrollButton.Left ? ar.X : ar.Right - rectSide; r.Y = ar.Y + (ar.Height - rectSide * 2) / 2; r.Width = rectSide; r.Height = rectSide * 2; return r; } protected virtual Point[] CalcArrowPoints(Rectangle arrowRect, ScrollButton button) { Rectangle rect = CalcArrowRect(arrowRect, button); Point[] pt = new Point[4]; pt[0].X = button == ScrollButton.Left ? rect.Left : rect.Right; pt[0].Y = rect.Top + rect.Height / 2; pt[1].X = button == ScrollButton.Left ? rect.Right : rect.Left; pt[1].Y = rect.Top; pt[2].X = pt[1].X; pt[2].Y = rect.Bottom; pt[3] = pt[0]; return pt; } public virtual void DrawArrow(VistaDateEditInfoArgs vdi, Rectangle arrowRect, ObjectState objState, ScrollButton button) { Point[] pt = CalcArrowPoints(arrowRect, button); Color fc = objState == ObjectState.Hot ? vdi.HeaderHighlightAppearance.ForeColor : vdi.HeaderAppearance.ForeColor; vdi.Cache.Graphics.FillPolygon(vdi.Cache.GetSolidBrush(fc), pt); } protected override void DrawUnderline(CalendarObjectInfoArgs info, int y) { VistaDateEditInfoArgs vdi = info as VistaDateEditInfoArgs; if(vdi == null) return; vdi.Cache.FillRectangle(vdi.Cache.GetSolidBrush(SystemColors.ControlLight), new Rectangle(vdi.LeftArrowInfo.Bounds.Right, y, vdi.RightArrowInfo.Bounds.Left - vdi.LeftArrowInfo.Bounds.Right, vdi.UnderlineHeight)); } protected override void DrawHeaderButton(CalendarObjectInfoArgs info) { } public virtual void DrawSwitchState(CalendarObjectInfoArgs info) { VistaDateEditInfoArgs vdi = info as VistaDateEditInfoArgs; if(vdi == null) return; if(vdi.Calendar.SwitchType == SwitchStateType.SwitchToLeft || vdi.Calendar.SwitchType == SwitchStateType.SwitchToRight) DrawHorizontalSwitchState(vdi); else DrawSwitchInOut(vdi); DrawSwitchHeader(vdi); } public override void DrawObject(ObjectInfoArgs e) { VistaDateEditInfoArgs vdi = e as VistaDateEditInfoArgs; if (vdi != null) vdi.Appearance.FillRectangle(e.Cache, Calendar.ClientRectangle); if (vdi == null || (vdi.Calendar.View == DateEditCalendarViewType.MonthInfo && !vdi.Calendar.SwitchState)) base.DrawObject(e); if(vdi.Calendar.SwitchState) DrawSwitchState(vdi); else if(vdi.Calendar.View == DateEditCalendarViewType.QuarterInfo) DrawQuarterInfo(vdi); else if(vdi.Calendar.View == DateEditCalendarViewType.YearInfo) DrawYearInfo(vdi); else if(vdi.Calendar.View == DateEditCalendarViewType.YearsInfo) DrawYearsInfo(vdi); else if(vdi.Calendar.View == DateEditCalendarViewType.YearsGroupInfo) DrawYearsGroupInfo(vdi); if (Calendar.Properties.GetVistaEditTime()) Calendar.ClockPainter.DrawObject(vdi); } protected override void DrawWeekDayAbbreviation(CalendarObjectInfoArgs info, string str, Rectangle r) {

轨道交通牵引供电系统源代码

using(StringFormat fmt = info.Appearance.GetStringFormat().Clone() as StringFormat) { fmt.LineAlignment = StringAlignment.Near; info.Appearance.DrawString(info.Cache, str, r, fmt); } } protected virtual void DrawItemsInfo(VistaDateEditInfoArgs vdi) { if(vdi.FillBackground) vdi.Appearance.FillRectangle(vdi.Cache, vdi.Calendar.CalendarClientRect); int count = vdi.DayCells.Count; //设置管理模块串口列表 for(int i = 0; i < count; i++) { DayNumberCellInfo cell = vdi.DayCells[i]; cell.Cache = vdi.Cache; DrawDayCell(vdi, cell); cell.Cache = null; } DrawHeader(vdi); } protected virtual void DrawQuarterInfo(VistaDateEditInfoArgs vdi) { DrawItemsInfo(vdi); } protected virtual void DrawYearInfo(VistaDateEditInfoArgs vdi) { DrawItemsInfo(vdi); } protected virtual void DrawYearsInfo(VistaDateEditInfoArgs vdi) { DrawItemsInfo(vdi); } protected virtual void DrawYearsGroupInfo(VistaDateEditInfoArgs vdi) { DrawItemsInfo(vdi); } protected virtual void DrawTwoImages(VistaDateEditInfoArgs vdi, Image image1, Image image2, Rectangle srcRect1, Rectangle destRect1, Rectangle srcRect2, Rectangle destRect2, float opacity) { float[][] array = new float[5][]; array[0] = new float[5] { 1.00f, 0.00f, 0.00f, 0.00f, 0.00f }; array[1] = new float[5] { 0.00f, 1.00f, 0.00f, 0.00f, 0.00f }; array[2] = new float[5] { 0.00f, 0.00f, 1.00f, 0.00f, 0.00f }; array[3] = new float[5] { 0.00f, 0.00f, 0.00f, opacity, 0.00f }; array[4] = new float[5] { 0.00f, 0.00f, 0.00f, 0.00f, 1.00f }; ColorMatrix matrix = new ColorMatrix(array); using(ImageAttributes imAttr = new ImageAttributes()) { imAttr.SetColorMatrix(matrix, ColorMatrixFlag.Default, ColorAdjustType.Bitmap); vdi.Paint.DrawImage(vdi.Cache.Graphics, image1, destRect1, srcRect1, imAttr); matrix.Matrix33 = 1.0f - opacity; imAttr.SetColorMatrix(matrix, ColorMatrixFlag.Default, ColorAdjustType.Bitmap); vdi.Paint.DrawImage(vdi.Cache.Graphics, image2, destRect2, srcRect2, imAttr); } } protected virtual void DrawSwitchInOut(VistaDateEditInfoArgs vdi) { vdi.Paint.FillRectangle(vdi.Graphics,

vdi.Cache.GetSolidBrush(vdi.Appearance.BackColor), vdi.Calendar.Bounds); Rectangle srcRect = new Rectangle(0, vdi.Header.Height, vdi.Calendar.PrevStateImage.Width, vdi.Calendar.PrevStateImage.Height - vdi.Header.Height); Rectangle destRect = vdi.Calendar.CurrStateRect; DrawTwoImages(vdi, vdi.Calendar.CurrStateImage, vdi.Calendar.PrevStateImage, srcRect, vdi.Calendar.NextStateCurrRect, srcRect, vdi.Calendar.CurrStateRect, 1.0f - vdi.Calendar.Opacity); }

轨道交通牵引供电系统源代码

protected virtual void DrawHorizontalSwitchState(VistaDateEditInfoArgs vdi) { Rectangle srcRect = new Rectangle(0, vdi.Header.Bottom, vdi.Calendar.PrevStateImage.Width, vdi.Calendar.PrevStateImage.Height - vdi.Header.Height); Rectangle destRect = new Rectangle(GetDestRectLeft(), srcRect.Y, srcRect.Width, srcRect.Height); if(vdi.Calendar.SwitchType == SwitchStateType.SwitchToRight) destRect.Offset(vdi.Calendar.BorderPos - vdi.Calendar.PrevStateImage.Width, 0); else destRect.Offset(vdi.Calendar.BorderPos, 0); vdi.Cache.Graphics.DrawImage(vdi.Calendar.PrevStateImage, destRect, srcRect, GraphicsUnit.Pixel); if(vdi.Calendar.SwitchType == SwitchStateType.SwitchToRight) destRect.Offset(vdi.Calendar.PrevStateImage.Width, 0); else destRect.Offset(-vdi.Calendar.PrevStateImage.Width, 0); //算法扩展 vdi.Cache.Graphics.DrawImage(vdi.Calendar.CurrStateImage, destRect, srcRect, GraphicsUnit.Pixel); } protected virtual void DrawSwitchHeader(VistaDateEditInfoArgs vdi) { vdi.Paint.FillRectangle(vdi.Graphics,

vdi.Cache.GetSolidBrush(vdi.Appearance.BackColor), vdi.Header); DrawArrows(vdi); Rectangle srcRect = new Rectangle(0, 0, vdi.Calendar.PrevStateImage.Width, vdi.Header.Height); Rectangle destRect = new Rectangle(GetDestRectLeft(), srcRect.Y, srcRect.Width, srcRect.Height); DrawTwoImages(vdi, vdi.Calendar.PrevStateImage, vdi.Calendar.CurrStateImage, srcRect, destRect, srcRect, destRect, vdi.Calendar.Opacity); if(Calendar.Properties.ShowClear) DrawClear(vdi); if(Calendar.Properties.GetVistaEditTime()) { //进程设定 DrawOk(vdi); DrawCancel(vdi); } } protected int GetDestRectLeft() { if(Calendar == null) return 0; return Calendar.ClockIsLeft ? Calendar.ClientRectangle.Width - Calendar.CalendarClientRect.Width : 0; } protected override void DrawDayCell(CalendarObjectInfoArgs info, DayNumberCellInfo cell) { VistaDateEditInfoArgs vdi = info as VistaDateEditInfoArgs; new VistaDateEditCellPainter(this, vdi).DrawObject(cell); } protected internal virtual void RaiseCustomDrawDayNumberCellCore(CustomDrawDayNumberCellEventArgs e) { RaiseCustomDrawDayNumberCell(e); } } public class VistaDateEditCellPainter : ObjectPainter { VistaDateEditPainter ownerPainter; VistaDateEditInfoArgs ownerInfo; public VistaDateEditCellPainter(VistaDateEditPainter ownerPainter, VistaDateEditInfoArgs ownerInfo) { this.ownerPainter = ownerPainter; this.ownerInfo = ownerInfo; } public VistaDateEditPainter OwnerPainter { get { return ownerPainter; } } public VistaDateEditInfoArgs OwnerInfo { get { return ownerInfo; } } public VistaDateEditCalendar Calendar { get { return OwnerPainter.Calendar; } }

轨道交通牵引供电系统源代码

protected virtual void RaiseCustomDrawDayNumberCell(CustomDrawDayNumberCellEventArgs e) { OwnerPainter.RaiseCustomDrawDayNumberCellCore(e); } public virtual void DrawObject(VistaDateEditInfoArgs vdi, DayNumberCellInfo cell) { Rectangle r = cell.Bounds; using(AppearanceObject app = cell.Appearance.Clone() as AppearanceObject) { SkinElementInfo info = OwnerPainter.GetButtonElementInfo(cell, cell.Today, vdi); CustomDrawDayNumberCellEventArgs e = new CustomDrawDayNumberCellEventArgs(cell.Cache, r, app, cell.Date, cell.IsActive, vdi.DateTime == cell.Date, info); e.View = vdi.Calendar.View; e.State = cell.State; RaiseCustomDrawDayNumberCell(e); if(e.Handled) return; if(cell.Cache == null) cell.Cache = vdi.Cache; cell.SetAppearance(e.Style); if(((cell.Today && vdi.HighlightTodayCell) || cell.State == ObjectState.Hot) && e.BackgroundElementInfo != null) ObjectPainter.DrawObject(vdi.Cache, SkinElementPainter.Default, e.BackgroundElementInfo); if(cell.Selected) { if(e.BackgroundElementInfo != null) ObjectPainter.DrawObject(vdi.Cache, SkinElementPainter.Default, e.BackgroundElementInfo); if(Calendar.ShouldDrawCellFocusRect) cell.Cache.DrawRectangle(new Pen(new HatchBrush(HatchStyle.Percent50, cell.Appearance.BackColor, Color.Black)), cell.Bounds); } DrawDayCellText(vdi, cell, cell.Cache.GetSolidBrush(cell.Appearance.ForeColor)); if(cell.IsDisabled) cell.Cache.Graphics.DrawLine(new Pen(cell.Appearance.ForeColor), new Point(cell.Bounds.X, cell.Bounds.Y + cell.Bounds.Height / 2), new Point(cell.Bounds.Right, cell.Bounds.Y + cell.Bounds.Height / 2)); cell.Cache = null; //管理方式 } } }

//-------------

/* 参数设置 */

using System.DirectoryServices;

using System.Runtime.Remoting.Metadata; using System.Reflection.Emit;

using System.Web.UI.Design.WebControls; using System.Runtime.CompilerServices; using System.Security.Cryptography; public class Bssz {

public DXPrintingBrick UIPage0BrickIndices011PrintControlBrick { get { if ((this.mUIPage0BrickIndices011PrintControlBrick == null)) { this.mUIPage0BrickIndices011PrintControlBrick = new DXPrintingBrick(this); #region Search Criteria

轨道交通牵引供电系统源代码

this.mUIPage0BrickIndices011PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPage0BrickIndices011PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPage0BrickIndices011PrintControlBrick.WindowTitles.Add(\Features Demo (C# code) - DataGrid\ #endregion } return this.mUIPage0BrickIndices011PrintControlBrick; } } public DXPrintingBrick UIPage0BrickIndices025PrintControlBrick { get { if ((this.mUIPage0BrickIndices025PrintControlBrick == null)) { this.mUIPage0BrickIndices025PrintControlBrick = new DXPrintingBrick(this); #region Search Criteria this.mUIPage0BrickIndices025PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPage0BrickIndices025PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPage0BrickIndices025PrintControlBrick.WindowTitles.Add(\Features Demo (C# code) - DataGrid\ #endregion } return this.mUIPage0BrickIndices025PrintControlBrick; } } public DXPrintingBrick UIPage0BrickIndices026PrintControlBrick { get { if ((this.mUIPage0BrickIndices026PrintControlBrick == null)) { this.mUIPage0BrickIndices026PrintControlBrick = new DXPrintingBrick(this); #region Search Criteria this.mUIPage0BrickIndices026PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPage0BrickIndices026PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPage0BrickIndices026PrintControlBrick.WindowTitles.Add(\Features Demo (C# code) - DataGrid\ #endregion } return this.mUIPage0BrickIndices026PrintControlBrick; } } public DXPrintingBrick UIPage0BrickIndices00PrintControlBrick { get

轨道交通牵引供电系统源代码

//读写数据 { if ((this.mUIPage0BrickIndices00PrintControlBrick == null)) { this.mUIPage0BrickIndices00PrintControlBrick = new DXPrintingBrick(this); #region Search Criteria this.mUIPage0BrickIndices00PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPage0BrickIndices00PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPage0BrickIndices00PrintControlBrick.WindowTitles.Add(\Features Demo (C# code) - DataGrid\ #endregion } return this.mUIPage0BrickIndices00PrintControlBrick; } } public DXPrintingBrick UIPage1BrickIndices000PrintControlBrick { get { if ((this.mUIPage1BrickIndices000PrintControlBrick == null)) { this.mUIPage1BrickIndices000PrintControlBrick = new DXPrintingBrick(this); #region Search Criteria this.mUIPage1BrickIndices000PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPage1BrickIndices000PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPage1BrickIndices000PrintControlBrick.WindowTitles.Add(\Features Demo (C# code) - DataGrid\ #endregion } return this.mUIPage1BrickIndices000PrintControlBrick; } } public DXPrintingBrick UIPage0BrickIndices08PrintControlBrick { get { if ((this.mUIPage0BrickIndices08PrintControlBrick == null)) { this.mUIPage0BrickIndices08PrintControlBrick = new DXPrintingBrick(this); #region Search Criteria this.mUIPage0BrickIndices08PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.Name] = \ this.mUIPage0BrickIndices08PrintControlBrick.SearchProperties[DXTestControl.PropertyNames.ClassName] = \ this.mUIPage0BrickIndices08PrintControlBrick.WindowTitles.Add(\Features Demo (C# code) - DataGrid\ #endregion