init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
+138
View File
@@ -0,0 +1,138 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubChart", "Lskj.PubChart\Lskj.PubChart.csproj", "{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Report", "..\Lskj.Report\Lskj.Report\Lskj.Report.csproj", "{516750E8-FFF8-499F-B167-C2B781E70F35}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Common", "..\..\..\..\..\V30\插件库\Lskj.PubModule\Lskj.Common\Lskj.Common.csproj", "{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChartTest", "ChartTest\ChartTest.csproj", "{A72C5A59-8FD2-424B-9B85-E4672929C7BF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModule", "..\Lskj.PubModule\Lskj.PubModule\Lskj.PubModule.csproj", "{EC847F73-0E0A-4828-9291-7195EF4C94DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.MyControl", "..\..\..\..\..\V30\插件库\Lskj.MyControl\Lskj.MyControl.csproj", "{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubAdd3", "..\Lskj.PubAdd3\Lskj.PubAdd3\Lskj.PubAdd3.csproj", "{BD50FF9A-A360-4F32-9E51-A280B34072CC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBill", "..\Lskj.PubBill\Lskj.PubBill\Lskj.PubBill.csproj", "{3099E8AC-E422-4E31-968C-97BDFD082632}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.BaseAccraditation", "..\Lskj.BaseAccraditation\Lskj.BaseAccraditation\Lskj.BaseAccraditation.csproj", "{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubAccraditation", "..\Lskj.PubAccraditation\Lskj.PubAccraditation\Lskj.PubAccraditation.csproj", "{781A5A97-921F-40F7-990A-42200E88204F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Any CPU.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Mixed Platforms.Build.0 = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|x86.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|x86.Build.0 = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Any CPU.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Mixed Platforms.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Mixed Platforms.Build.0 = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|x86.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|x86.Build.0 = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|Any CPU.ActiveCfg = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|Mixed Platforms.Build.0 = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|x86.ActiveCfg = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|x86.Build.0 = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|Any CPU.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|Mixed Platforms.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|Mixed Platforms.Build.0 = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|x86.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|x86.Build.0 = Release|x86
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|x86.ActiveCfg = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Any CPU.Build.0 = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|x86.ActiveCfg = Release|Any CPU
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Debug|Any CPU.ActiveCfg = Debug|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Debug|Mixed Platforms.Build.0 = Debug|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Debug|x86.ActiveCfg = Debug|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Debug|x86.Build.0 = Debug|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Release|Any CPU.ActiveCfg = Release|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Release|Mixed Platforms.ActiveCfg = Release|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Release|Mixed Platforms.Build.0 = Release|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Release|x86.ActiveCfg = Release|x86
{A72C5A59-8FD2-424B-9B85-E4672929C7BF}.Release|x86.Build.0 = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|Any CPU.ActiveCfg = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|Mixed Platforms.Build.0 = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|x86.ActiveCfg = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|x86.Build.0 = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|Any CPU.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|Mixed Platforms.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|Mixed Platforms.Build.0 = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|x86.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|x86.Build.0 = Release|x86
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|x86.ActiveCfg = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Any CPU.Build.0 = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|x86.ActiveCfg = Release|Any CPU
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|Any CPU.ActiveCfg = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|Mixed Platforms.Build.0 = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|x86.ActiveCfg = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|x86.Build.0 = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|Any CPU.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|Mixed Platforms.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|Mixed Platforms.Build.0 = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|x86.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|x86.Build.0 = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|Any CPU.ActiveCfg = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|Mixed Platforms.Build.0 = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|x86.ActiveCfg = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|x86.Build.0 = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|Any CPU.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|Mixed Platforms.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|Mixed Platforms.Build.0 = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|x86.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|x86.Build.0 = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Any CPU.ActiveCfg = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Mixed Platforms.Build.0 = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|x86.ActiveCfg = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|x86.Build.0 = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Any CPU.ActiveCfg = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Mixed Platforms.ActiveCfg = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Mixed Platforms.Build.0 = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|x86.ActiveCfg = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|x86.Build.0 = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|Any CPU.ActiveCfg = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|Mixed Platforms.Build.0 = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|x86.ActiveCfg = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|x86.Build.0 = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|Any CPU.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|Mixed Platforms.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|Mixed Platforms.Build.0 = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|x86.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lskj.PubChart {
public class ChartType {
public static int bar = 2; //树状图
public static int pie = 3; //饼图
public static int line = 1; //线
}
}
@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib;
using CommonLib.utils;
using System.Windows.Forms;
namespace Lskj.PubChart {
/// <summary>
/// c#库被调用统一接口类
/// </summary>
public sealed class DllBaseClass : IForm {
public DllBaseClass() {
}
//以数组传入参数,容易扩展
public DllBaseClass(string[] obj) {
try {
FrmMain _FrmMain = new FrmMain();
SubForm = _FrmMain;
_FrmMain.FormText = obj[0];
_FrmMain.OperatorId = obj[1];
_FrmMain.OperatorName = obj[2];
_FrmMain.Privilege = obj[3];
_FrmMain.DLLCoid = obj[4];
_FrmMain.ModuleId = obj[5];
if (obj.Length > 6)
_FrmMain.ModuleDllId = obj[6];
_FrmMain.Params = new string[10];
for (int i = 8; i < obj.Length; i++)
{
_FrmMain.Params[i - 8] = obj[i];
}
}
catch (Exception ex) {
MessageBox.Show(ex.Message);
}
}
/// <summary>
/// 窗口
/// </summary>
public Form SubForm { get; set; }
}
}
+158
View File
@@ -0,0 +1,158 @@
namespace Lskj.PubChart {
partial class FrmMain {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel1 = new DevExpress.XtraCharts.PointSeriesLabel();
DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();
this.pl_main = new System.Windows.Forms.Panel();
this.chartMain = new DevExpress.XtraCharts.ChartControl();
this.pl_right_where = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.gcMain = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.pl_main.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.chartMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
this.SuspendLayout();
//
// pl_main
//
this.pl_main.Controls.Add(this.chartMain);
this.pl_main.Controls.Add(this.pl_right_where);
this.pl_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_main.Location = new System.Drawing.Point(0, 0);
this.pl_main.Name = "pl_main";
this.pl_main.Size = new System.Drawing.Size(929, 313);
this.pl_main.TabIndex = 0;
//
// chartMain
//
simpleDiagram1.EqualPieSize = false;
this.chartMain.Diagram = simpleDiagram1;
this.chartMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.chartMain.Location = new System.Drawing.Point(0, 45);
this.chartMain.Name = "chartMain";
pieSeriesLabel1.LineVisible = true;
piePointOptions1.PointView = DevExpress.XtraCharts.PointView.ArgumentAndValues;
piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.General;
pieSeriesLabel1.PointOptions = piePointOptions1;
series1.Label = pieSeriesLabel1;
series1.Name = "Series 1";
pieSeriesView1.RuntimeExploding = false;
series1.View = pieSeriesView1;
this.chartMain.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
pointSeriesLabel1.LineVisible = true;
this.chartMain.SeriesTemplate.Label = pointSeriesLabel1;
this.chartMain.SeriesTemplate.View = lineSeriesView1;
this.chartMain.Size = new System.Drawing.Size(929, 268);
this.chartMain.TabIndex = 0;
//
// pl_right_where
//
this.pl_right_where.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_right_where.Location = new System.Drawing.Point(0, 0);
this.pl_right_where.Name = "pl_right_where";
this.pl_right_where.Size = new System.Drawing.Size(929, 45);
this.pl_right_where.TabIndex = 1;
//
// panel1
//
this.panel1.Controls.Add(this.gcMain);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 313);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(929, 184);
this.panel1.TabIndex = 1;
//
// gcMain
//
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcMain.Location = new System.Drawing.Point(0, 0);
this.gcMain.MainView = this.gridView1;
this.gcMain.Name = "gcMain";
this.gcMain.Size = new System.Drawing.Size(929, 184);
this.gcMain.TabIndex = 1;
this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1});
//
// gridView1
//
this.gridView1.GridControl = this.gcMain;
this.gridView1.Name = "gridView1";
this.gridView1.OptionsBehavior.Editable = false;
this.gridView1.OptionsView.ShowGroupPanel = false;
//
// FrmMain
//
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Appearance.Options.UseFont = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(929, 497);
this.Controls.Add(this.pl_main);
this.Controls.Add(this.panel1);
this.LookAndFeel.SkinName = "Office 2010 Blue";
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.Name = "FrmMain";
this.Text = "图形报表";
this.pl_main.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.chartMain)).EndInit();
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pl_main;
private System.Windows.Forms.Panel panel1;
private DevExpress.XtraGrid.GridControl gcMain;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private DevExpress.XtraCharts.ChartControl chartMain;
private System.Windows.Forms.Panel pl_right_where;
}
}
@@ -0,0 +1,284 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CommonLib.data;
using CommonLib;
using Lskj.Common;
using System.Data.SqlClient;
using DevExpress.XtraCharts;
using DevExpress.Utils;
using DevExpress.XtraEditors;
namespace Lskj.PubChart {
public partial class FrmMain : FormBase {
private Color[] colorList = { Color.Red, Color.Orange, Color.Black, Color.Blue, Color.BlueViolet, Color.BlanchedAlmond };
private string Formkey;
private string CondKey;
private DataTable dtTypeChart;
private DataTable dtData;
private String SQL;
public int AutoQuery { get; set; }
public string[] Params { get; set; }
public FrmMain() {
InitializeComponent();
}
public string reportSql = string.Empty;
protected override void OnLoad(EventArgs e) {
DLLCoid = string.IsNullOrEmpty(ModuleDllId) ? DLLCoid : ModuleDllId;
String SQL = String.Format("select * from p_systemdlltab where dllcoid='{0}'", DLLCoid);
DataTable dtSystemdlltab = SqlHelper.ExecuteDataSet(SQL).Tables[0];
if (dtSystemdlltab != null && dtSystemdlltab.Rows.Count > 0) {
reportSql = dtSystemdlltab.Rows[0]["SQL"] + "";
if (dtSystemdlltab.Rows.Count > 0) {
Formkey = dtSystemdlltab.Rows[0]["formKey"] + "";
CondKey = dtSystemdlltab.Rows[0]["CondKey"] + "";
}
SqlParameter[] p =
{
new SqlParameter("@modid",SqlDbType.VarChar,50),
new SqlParameter("@operatorname",SqlDbType.VarChar,50)
};
p[0].Value = DLLCoid;
p[1].Value = OperatorName;
DataTable dtFileds = SqlHelper.ExecuteDataSet(CommandType.StoredProcedure, "p_getBaseModuleField", "temp", p).Tables[0];
PubControl.SetColumns(gcMain, dtFileds);
String chartSql = String.Format("select * from p_systemdlltabchart where tab='{0}' and isVisible=0", DLLCoid);
dtTypeChart = SqlHelper.ExecuteDataSet(chartSql).Tables[0];
//dtData = SqlHelper.ExecuteDataSet(reportSql).Tables[0];
//CreateChart();
//添加右键菜单
DataRow dtSystemwordbooktaNo = SqlHelper.ExecuteDataSet("select top 1 * from P_systemwordbooktab where tab='" + DLLCoid + "' order by orderid").Tables[0].Rows[0];
GridMenu gm = new GridMenu(FormText, OperatorId, OperatorName, Privilege, DLLCoid, "", gcMain);
gm.DirId = dtSystemdlltab.Rows[0]["dirid"] + "";
gm.filedKey = dtSystemwordbooktaNo["fieldname"].ToString();
gm.BindGridMenuWQ(DLLCoid);
}
gcMain.DataSource = dtData;
SearchCraeteControl();
}
public void SearchCraeteControl() {
string sql = string.Format("exec p_getControlLocation '{0}','{1}','{2}'", CondKey, DLLCoid, OperatorName);
DataTable dt = SqlHelper.ExecuteDataSet(sql).Tables[0];
string condSql = string.Format("select * from p_systembillsourcecond where formKey='{0}'", CondKey);
MySearchCreateControl mcc = new MySearchCreateControl();
mcc.onSearchClick += new EventHandler(mcc_onSearchClick);
mcc.LoginId = OperatorId;
mcc.LoginName = OperatorName;
mcc.SearchSql = reportSql;
mcc.otherParams = Params;
mcc.ctr = pl_right_where;
mcc.gce = gcMain;
mcc.condDt = SqlHelper.ExecuteDataSet(condSql).Tables[0];
if (dt != null && dt.Rows.Count > 0) {
CreateControlModel cm = new CreateControlModel();
cm.dt = dt;
cm.ctr = pl_right_where;
cm.loginid = OperatorId;
cm.loginname = OperatorName;
int height = mcc.CreateControlByModel(cm);
pl_right_where.Height = height;
Control[] ctl = pl_right_where.Controls.Find("btnCondSearch", true);
if ((ctl != null) && (ctl.Length > 0)) {
(ctl[0] as SimpleButton).Width = 72;
//pnlFunc.Left = (ctl[0] as SimpleButton).Left + 72;
//pnlFunc.Top = (ctl[0] as SimpleButton).Top - 7;
}
else {
//pnlFunc.Anchor = AnchorStyles.Right | AnchorStyles.Top;
}
}
if (AutoQuery == 1) {
mcc.runQuery();
}
}
void mcc_onSearchClick(object sender, EventArgs e) {
dtData = gcMain.DataSource as DataTable;
CreateChart();
}
private void CreateChart() {
chartMain.Series.Clear();
for (int i = 0; i < dtTypeChart.Rows.Count; i++) {
DataRow row = dtTypeChart.Rows[i];
int chartType = Convert.ToInt32(row["chartType"]);
int YAxisShared = Convert.ToInt32(row["YAxisShared"]);
String YAxisTitle = row["YAxisTitle"] + "";
int chart3D = Convert.ToInt32(row["chart3D"]);
Series series = null;
if (chartType == ChartType.line) {
if (chart3D == 1) {
series = new Series(YAxisTitle, ViewType.Line3D);
}
else {
series = new Series(YAxisTitle, ViewType.Line);
}
}
else if (chartType == ChartType.bar) {
if (chart3D == 1) {
series = new Series(YAxisTitle, ViewType.Bar3D);
}
else {
series = new Series(YAxisTitle, ViewType.Bar);
}
}
else if (chartType == ChartType.pie) {
if (chart3D == 1) {
series = new Series(YAxisTitle, ViewType.Doughnut3D);
((PiePointOptions)series.LegendPointOptions).PointView = PointView.ArgumentAndValues;
Doughnut3DSeriesView view = series.View as Doughnut3DSeriesView;
view.ExplodeMode = PieExplodeMode.All;
series.LegendPointOptions.ValueNumericOptions.Format = NumericFormat.Percent;
series.LabelsVisibility = DefaultBoolean.True;
PiePointOptions options = series.Label.PointOptions as PiePointOptions;
if (options != null) {
options.PercentOptions.ValueAsPercent = true;
options.PointView = PointView.ArgumentAndValues;
}
}
else {
series = new Series(YAxisTitle, ViewType.Pie);
PiePointOptions options = series.Label.PointOptions as PiePointOptions;
series.LegendPointOptions.ValueNumericOptions.Format = NumericFormat.Percent;
((PiePointOptions)series.LegendPointOptions).PointView = PointView.ArgumentAndValues;
PieSeriesView view = series.View as PieSeriesView;
view.ExplodeMode = PieExplodeMode.All;
view.Rotation = 50;
view.RuntimeExploding = true;
series.LabelsVisibility = DefaultBoolean.True;
if (options != null) {
options.PercentOptions.ValueAsPercent = true;
options.PointView = PointView.ArgumentAndValues;
}
}
}
if (series != null) {
//series.View.Color = System.Drawing.ColorTranslator.FromHtml(row["chartColor"] + "");
}
foreach (DataRow dr in dtData.Rows) {
String XLabelField = row["XLabelField"] + "";
String YValueField = row["YValueField"] + "";
if (chartType == ChartType.pie) {
if (chart3D == 1) {
CreateSeriesPie3D(dr[XLabelField] + "", dr[YValueField] + "", series);
}
else {
CreateSeriesPie(dr[XLabelField] + "", dr[YValueField] + "", series);
}
}
else if (chartType == ChartType.bar) {
if (chart3D == 1) {
CreateSeriesBar3D(dr[XLabelField] + "", dr[YValueField] + "", series);
}
else {
CreateSeries(dr[XLabelField] + "", dr[YValueField] + "", series);
}
}
else {
CreateSeries(dr[XLabelField] + "", dr[YValueField] + "", series);
}
}
if (YAxisShared == 0) {
CreateAxisY(series);
}
chartMain.Series.Add(series);
}
chartMain.Legend.Visible = true;
chartMain.SeriesTemplate.LabelsVisibility = DefaultBoolean.True;
chartMain.CrosshairEnabled = DefaultBoolean.True;
chartMain.ToolTipEnabled = DefaultBoolean.True;
}
/// <summary>
/// 根据数据创建一个图形展现
/// </summary>
/// <param name="caption">图形标题</param>
/// <param name="viewType">图形类型</param>
/// <param name="dt">数据DataTable</param>
/// <param name="rowIndex">图形数据的行序号</param>
/// <returns></returns>
private Series CreateSeriesBar3D(String colName, String colValue, Series series) {
series.Points.Add(new SeriesPoint(colName + "" == "" ? "*指标为空*" : colName, new double[] { Convert.ToDouble(colValue + "" == "" ? "0" : colValue) }));
return series;
}
/// <summary>
/// 根据数据创建一个图形展现
/// </summary>
/// <param name="caption">图形标题</param>
/// <param name="viewType">图形类型</param>
/// <param name="dt">数据DataTable</param>
/// <param name="rowIndex">图形数据的行序号</param>
/// <returns></returns>
private Series CreateSeriesPie3D(String colName, String colValue, Series series) {
series.Points.Add(new SeriesPoint(colName+""==""?"*指标为空*":colName, new double[] { Convert.ToDouble(colValue+""==""?"0":colValue) }));
return series;
}
/// <summary>
/// 根据数据创建一个图形展现
/// </summary>
/// <param name="caption">图形标题</param>
/// <param name="viewType">图形类型</param>
/// <param name="dt">数据DataTable</param>
/// <param name="rowIndex">图形数据的行序号</param>
/// <returns></returns>
private Series CreateSeriesPie(String colName, String colValue, Series series) {
series.Points.Add(new SeriesPoint(colName + "" == "" ? "*指标为空*" : colName, new double[] { Convert.ToDouble(colValue + "" == "" ? "0" : colValue) }));
return series;
}
/// <summary>
/// 根据数据创建一个图形展现
/// </summary>
/// <param name="caption">图形标题</param>
/// <param name="viewType">图形类型</param>
/// <param name="dt">数据DataTable</param>
/// <param name="rowIndex">图形数据的行序号</param>
/// <returns></returns>
private Series CreateSeries(String colName, String colValue, Series series) {
series.Points.Add(new SeriesPoint(colName + "" == "" ? "*指标为空*" : colName, colValue + "" == "" ? "0" : colValue));
series.ArgumentScaleType = ScaleType.Qualitative;
series.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;//显示标注标签
return series;
}
/// <summary>
/// 创建图表的第二坐标系
/// </summary>
/// <param name="series">Series对象</param>
/// <returns></returns>
private SecondaryAxisY CreateAxisY(Series series) {
SecondaryAxisY myAxis = new SecondaryAxisY(series.Name);
((XYDiagram)chartMain.Diagram).SecondaryAxesY.Add(myAxis);
((LineSeriesView)series.View).AxisY = myAxis;
myAxis.Title.Text = series.Name;
myAxis.Title.Alignment = StringAlignment.Far; //顶部对齐
myAxis.Title.Visible = true; //显示标题
myAxis.Title.Font = new Font("宋体", 9.0f);
Color color = series.View.Color;//设置坐标的颜色和图表线条颜色一致
myAxis.Title.TextColor = color;
myAxis.Label.TextColor = color;
myAxis.Color = color;
return myAxis;
}
public string ModuleDllId { get; set; }
}
}
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,191 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Lskj.PubChart</RootNamespace>
<AssemblyName>Lskj.PubChart</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\publish\lib\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="CommonLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7ff69f2be1369550, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\CommonLib.dll</HintPath>
</Reference>
<Reference Include="ControlLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\ControlLib.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Charts.v13.1.Core, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.Charts.v13.1.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.Data.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.Tutorials.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.Tutorials.v13.1.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraBars.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraBars.v13.1.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraCharts.v13.1.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1.Extensions, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraCharts.v13.1.Extensions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1.UI, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraCharts.v13.1.UI.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1.Web, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraCharts.v13.1.Web.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1.Wizard, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\DevExpress\DXperience 13.1\Bin\Framework\DevExpress.XtraCharts.v13.1.Wizard.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraEditors.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraGrid.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraLayout.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a">
<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraTreeList.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\publish\DevExpress.XtraTreeList.v13.1.dll</HintPath>
</Reference>
<Reference Include="Dxper.LocalizationCHS.Win.v13.1.5, Version=13.1.5.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Dxper.LocalizationCHS.Win.v13.1.5.dll</HintPath>
</Reference>
<Reference Include="Lskj.DBUtility, Version=2.1.156.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Lskj.DBUtility.dll</HintPath>
</Reference>
<Reference Include="Lskj.DevFx, Version=2.1.156.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Lskj.DevFx.dll</HintPath>
</Reference>
<Reference Include="Lskj.MyControl, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\publish\Lskj.MyControl.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ChartType.cs" />
<Compile Include="DllBaseClass.cs" />
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="a.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Lskj.Common\Lskj.Common.csproj">
<Project>{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}</Project>
<Name>Lskj.Common</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Lskj.Attachment")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Lskj.Attachment")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 使此程序集中的类型
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
// 则将该类型上的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("8d043aea-aeb3-4672-8686-0b0fd6549cee")]
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 内部版本号
// 修订号
//
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.4")]
@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.1
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Lskj.PubChart.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lskj.PubChart.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 使用此强类型资源类,为所有资源查找
/// 重写当前线程的 CurrentUICulture 属性。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.1
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Lskj.PubChart.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
@@ -0,0 +1,3 @@
DevExpress.Patch.InMemoryPatch, DevExpress.Patch.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7fc7bfca2443de66
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraCharts.ChartControl, DevExpress.XtraCharts.v13.1.UI, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB