This commit is contained in:
rnchg
2026-07-14 21:33:39 +08:00
commit 4b28b75e57
2227 changed files with 768410 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
+428
View File
@@ -0,0 +1,428 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
*.env
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
[Dd]ebug/x64/
[Dd]ebugPublic/x64/
[Rr]elease/x64/
[Rr]eleases/x64/
bin/x64/
obj/x64/
[Dd]ebug/x86/
[Dd]ebugPublic/x86/
[Rr]elease/x86/
[Rr]eleases/x86/
bin/x86/
obj/x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
[Aa][Rr][Mm]64[Ee][Cc]/
bld/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/
# Build results on 'Bin' directories
**/[Bb]in/*
# Uncomment if you have tasks that rely on *.refresh files to move binaries
# (https://github.com/github/gitignore/pull/3736)
#!**/[Bb]in/*.refresh
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*.trx
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Approval Tests result files
*.received.*
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.idb
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
# but not Directory.Build.rsp, as it configures directory-level build defaults
!Directory.Build.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
# *.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
*.ncb
*.aps
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
**/.paket/paket.exe
paket-files/
# FAKE - F# Make
**/.fake/
# CodeRush personal settings
**/.cr/personal
# Python Tools for Visual Studio (PTVS)
**/__pycache__/
*.pyc
# Cake - Uncomment if you are using it
#tools/**
#!tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
MSBuild_Logs/
# AWS SAM Build and Temporary Artifacts folder
.aws-sam
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
**/.mfractor/
# Local History for Visual Studio
**/.localhistory/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
**/.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
View File
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
@@ -0,0 +1,922 @@
namespace FASS.App.Areas.Account.Forms.Permission
{
partial class Index
{
/// <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()
{
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.btnDisable = new Sunny.UI.UIButton();
this.btnEnable = new Sunny.UI.UIButton();
this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
this.tvPermission = new Sunny.UI.UITreeView();
this.palDetail = new Sunny.UI.UIPanel();
this.txtParentCode = new Sunny.UI.UITextBox();
this.uiLabel9 = new Sunny.UI.UILabel();
this.txtTarget = new Sunny.UI.UITextBox();
this.uiLabel8 = new Sunny.UI.UILabel();
this.uiLabel7 = new Sunny.UI.UILabel();
this.chkIsEnable = new Sunny.UI.UICheckBox();
this.txtSortNumber = new Sunny.UI.UITextBox();
this.uiLabel6 = new Sunny.UI.UILabel();
this.cmbMethod = new Sunny.UI.UIComboBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.txtIcon = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.cmbType = new Sunny.UI.UIComboBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtCode = new Sunny.UI.UITextBox();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel10 = new Sunny.UI.UILabel();
this.uiLabel11 = new Sunny.UI.UILabel();
this.btnCancel = new Sunny.UI.UIButton();
this.btnOK = new Sunny.UI.UIButton();
this.txtCodeQuery = new Sunny.UI.UITextBox();
this.txtNameQuery = new Sunny.UI.UITextBox();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel1 = new Sunny.UI.UILabel();
this.btnReset = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.palQuery = new Sunny.UI.UITitlePanel();
this.uiTitlePanel1.SuspendLayout();
this.palDetail.SuspendLayout();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(356, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 7;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(466, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 8;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(576, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// btnDisable
//
this.btnDisable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDisable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDisable.Location = new System.Drawing.Point(796, 140);
this.btnDisable.Margin = new System.Windows.Forms.Padding(5);
this.btnDisable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDisable.Name = "btnDisable";
this.btnDisable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Size = new System.Drawing.Size(100, 30);
this.btnDisable.Style = Sunny.UI.UIStyle.Purple;
this.btnDisable.TabIndex = 11;
this.btnDisable.Text = "禁用";
this.btnDisable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDisable.Click += new System.EventHandler(this.btnDisable_Click);
//
// btnEnable
//
this.btnEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEnable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnEnable.Location = new System.Drawing.Point(686, 140);
this.btnEnable.Margin = new System.Windows.Forms.Padding(5);
this.btnEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEnable.Name = "btnEnable";
this.btnEnable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Size = new System.Drawing.Size(100, 30);
this.btnEnable.Style = Sunny.UI.UIStyle.Purple;
this.btnEnable.TabIndex = 10;
this.btnEnable.Text = "启用";
this.btnEnable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnEnable.Click += new System.EventHandler(this.btnEnable_Click);
//
// uiTitlePanel1
//
this.uiTitlePanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.uiTitlePanel1.Controls.Add(this.tvPermission);
this.uiTitlePanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.uiTitlePanel1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiTitlePanel1.Location = new System.Drawing.Point(4, 40);
this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel1.Name = "uiTitlePanel1";
this.uiTitlePanel1.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.uiTitlePanel1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.uiTitlePanel1.ShowCollapse = true;
this.uiTitlePanel1.ShowText = false;
this.uiTitlePanel1.Size = new System.Drawing.Size(343, 596);
this.uiTitlePanel1.Style = Sunny.UI.UIStyle.Purple;
this.uiTitlePanel1.TabIndex = 1;
this.uiTitlePanel1.Text = "权限树";
this.uiTitlePanel1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.uiTitlePanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiTitlePanel1.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.uiTitlePanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// tvPermission
//
this.tvPermission.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvPermission.FillColor = System.Drawing.Color.White;
this.tvPermission.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.tvPermission.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.tvPermission.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.tvPermission.Location = new System.Drawing.Point(0, 35);
this.tvPermission.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tvPermission.MinimumSize = new System.Drawing.Size(1, 1);
this.tvPermission.Name = "tvPermission";
this.tvPermission.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.tvPermission.ShowLines = true;
this.tvPermission.ShowText = false;
this.tvPermission.Size = new System.Drawing.Size(343, 561);
this.tvPermission.Style = Sunny.UI.UIStyle.Purple;
this.tvPermission.TabIndex = 0;
this.tvPermission.Text = "uiTreeView1";
this.tvPermission.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.tvPermission.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.tvPermission.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvPermission_AfterSelect);
//
// palDetail
//
this.palDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palDetail.Controls.Add(this.txtParentCode);
this.palDetail.Controls.Add(this.uiLabel9);
this.palDetail.Controls.Add(this.txtTarget);
this.palDetail.Controls.Add(this.uiLabel8);
this.palDetail.Controls.Add(this.uiLabel7);
this.palDetail.Controls.Add(this.chkIsEnable);
this.palDetail.Controls.Add(this.txtSortNumber);
this.palDetail.Controls.Add(this.uiLabel6);
this.palDetail.Controls.Add(this.cmbMethod);
this.palDetail.Controls.Add(this.uiLabel5);
this.palDetail.Controls.Add(this.txtIcon);
this.palDetail.Controls.Add(this.uiLabel3);
this.palDetail.Controls.Add(this.cmbType);
this.palDetail.Controls.Add(this.uiLabel4);
this.palDetail.Controls.Add(this.txtCode);
this.palDetail.Controls.Add(this.txtName);
this.palDetail.Controls.Add(this.uiLabel10);
this.palDetail.Controls.Add(this.uiLabel11);
this.palDetail.Enabled = false;
this.palDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palDetail.Location = new System.Drawing.Point(356, 180);
this.palDetail.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.palDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.palDetail.Name = "palDetail";
this.palDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palDetail.Size = new System.Drawing.Size(1139, 416);
this.palDetail.Style = Sunny.UI.UIStyle.Purple;
this.palDetail.TabIndex = 53;
this.palDetail.Text = null;
this.palDetail.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtParentCode
//
this.txtParentCode.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtParentCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParentCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtParentCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtParentCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParentCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtParentCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtParentCode.ButtonSymbol = 61761;
this.txtParentCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtParentCode.Enabled = false;
this.txtParentCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtParentCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtParentCode.Location = new System.Drawing.Point(405, 31);
this.txtParentCode.Margin = new System.Windows.Forms.Padding(5);
this.txtParentCode.MaxLength = 50;
this.txtParentCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtParentCode.Name = "txtParentCode";
this.txtParentCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParentCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParentCode.ShowText = false;
this.txtParentCode.Size = new System.Drawing.Size(480, 30);
this.txtParentCode.Style = Sunny.UI.UIStyle.Purple;
this.txtParentCode.TabIndex = 12;
this.txtParentCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtParentCode.Watermark = "";
this.txtParentCode.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel9
//
this.uiLabel9.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel9.Location = new System.Drawing.Point(275, 31);
this.uiLabel9.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(120, 30);
this.uiLabel9.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel9.TabIndex = 69;
this.uiLabel9.Text = "上级";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtTarget
//
this.txtTarget.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtTarget.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTarget.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtTarget.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtTarget.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTarget.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtTarget.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtTarget.ButtonSymbol = 61761;
this.txtTarget.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtTarget.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtTarget.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtTarget.Location = new System.Drawing.Point(405, 271);
this.txtTarget.Margin = new System.Windows.Forms.Padding(5);
this.txtTarget.MaxLength = 50;
this.txtTarget.MinimumSize = new System.Drawing.Size(1, 1);
this.txtTarget.Name = "txtTarget";
this.txtTarget.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTarget.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTarget.ShowText = false;
this.txtTarget.Size = new System.Drawing.Size(480, 30);
this.txtTarget.Style = Sunny.UI.UIStyle.Purple;
this.txtTarget.TabIndex = 18;
this.txtTarget.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtTarget.Watermark = "";
this.txtTarget.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel8
//
this.uiLabel8.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel8.Location = new System.Drawing.Point(275, 271);
this.uiLabel8.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(120, 30);
this.uiLabel8.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel8.TabIndex = 67;
this.uiLabel8.Text = "目标";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel7
//
this.uiLabel7.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel7.Location = new System.Drawing.Point(275, 351);
this.uiLabel7.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(120, 30);
this.uiLabel7.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel7.TabIndex = 66;
this.uiLabel7.Text = "有效性";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// chkIsEnable
//
this.chkIsEnable.Anchor = System.Windows.Forms.AnchorStyles.None;
this.chkIsEnable.CheckBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.chkIsEnable.Checked = true;
this.chkIsEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.chkIsEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkIsEnable.Location = new System.Drawing.Point(405, 351);
this.chkIsEnable.Margin = new System.Windows.Forms.Padding(5);
this.chkIsEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.chkIsEnable.Name = "chkIsEnable";
this.chkIsEnable.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.chkIsEnable.Size = new System.Drawing.Size(480, 30);
this.chkIsEnable.Style = Sunny.UI.UIStyle.Purple;
this.chkIsEnable.TabIndex = 20;
this.chkIsEnable.Text = "是否启用";
this.chkIsEnable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtSortNumber
//
this.txtSortNumber.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtSortNumber.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSortNumber.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtSortNumber.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtSortNumber.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSortNumber.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtSortNumber.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtSortNumber.ButtonSymbol = 61761;
this.txtSortNumber.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtSortNumber.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtSortNumber.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtSortNumber.Location = new System.Drawing.Point(405, 311);
this.txtSortNumber.Margin = new System.Windows.Forms.Padding(5);
this.txtSortNumber.Maximum = 999D;
this.txtSortNumber.Minimum = 0D;
this.txtSortNumber.MinimumSize = new System.Drawing.Size(1, 1);
this.txtSortNumber.Name = "txtSortNumber";
this.txtSortNumber.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSortNumber.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSortNumber.ShowText = false;
this.txtSortNumber.Size = new System.Drawing.Size(480, 30);
this.txtSortNumber.Style = Sunny.UI.UIStyle.Purple;
this.txtSortNumber.TabIndex = 19;
this.txtSortNumber.Text = "0";
this.txtSortNumber.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtSortNumber.Type = Sunny.UI.UITextBox.UIEditType.Integer;
this.txtSortNumber.Watermark = "";
this.txtSortNumber.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel6
//
this.uiLabel6.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(275, 311);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 63;
this.uiLabel6.Text = "排序";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// cmbMethod
//
this.cmbMethod.Anchor = System.Windows.Forms.AnchorStyles.None;
this.cmbMethod.DataSource = null;
this.cmbMethod.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbMethod.FillColor = System.Drawing.Color.White;
this.cmbMethod.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbMethod.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbMethod.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbMethod.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbMethod.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbMethod.Location = new System.Drawing.Point(405, 231);
this.cmbMethod.Margin = new System.Windows.Forms.Padding(5);
this.cmbMethod.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbMethod.Name = "cmbMethod";
this.cmbMethod.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbMethod.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbMethod.Size = new System.Drawing.Size(480, 30);
this.cmbMethod.Style = Sunny.UI.UIStyle.Purple;
this.cmbMethod.TabIndex = 17;
this.cmbMethod.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbMethod.Watermark = "";
this.cmbMethod.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel5
//
this.uiLabel5.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(275, 231);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 61;
this.uiLabel5.Text = "方法";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtIcon
//
this.txtIcon.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtIcon.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIcon.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtIcon.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtIcon.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIcon.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtIcon.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtIcon.ButtonSymbol = 61761;
this.txtIcon.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtIcon.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtIcon.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtIcon.Location = new System.Drawing.Point(405, 191);
this.txtIcon.Margin = new System.Windows.Forms.Padding(5);
this.txtIcon.MaxLength = 50;
this.txtIcon.MinimumSize = new System.Drawing.Size(1, 1);
this.txtIcon.Name = "txtIcon";
this.txtIcon.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIcon.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIcon.ShowText = false;
this.txtIcon.Size = new System.Drawing.Size(480, 30);
this.txtIcon.Style = Sunny.UI.UIStyle.Purple;
this.txtIcon.TabIndex = 16;
this.txtIcon.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtIcon.Watermark = "";
this.txtIcon.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel3
//
this.uiLabel3.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(275, 191);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 59;
this.uiLabel3.Text = "图标";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// cmbType
//
this.cmbType.Anchor = System.Windows.Forms.AnchorStyles.None;
this.cmbType.DataSource = null;
this.cmbType.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbType.FillColor = System.Drawing.Color.White;
this.cmbType.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbType.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbType.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbType.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbType.Location = new System.Drawing.Point(405, 71);
this.cmbType.Margin = new System.Windows.Forms.Padding(5);
this.cmbType.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbType.Name = "cmbType";
this.cmbType.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbType.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbType.Size = new System.Drawing.Size(480, 30);
this.cmbType.Style = Sunny.UI.UIStyle.Purple;
this.cmbType.TabIndex = 13;
this.cmbType.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbType.Watermark = "";
this.cmbType.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel4
//
this.uiLabel4.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(275, 71);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 57;
this.uiLabel4.Text = "类型";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtCode
//
this.txtCode.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(405, 111);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ShowText = false;
this.txtCode.Size = new System.Drawing.Size(480, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 14;
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtCode.Watermark = "";
this.txtCode.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtName
//
this.txtName.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(405, 151);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(480, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 15;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel10
//
this.uiLabel10.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel10.Location = new System.Drawing.Point(275, 151);
this.uiLabel10.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(120, 30);
this.uiLabel10.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel10.TabIndex = 54;
this.uiLabel10.Text = "名称";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel10.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel11
//
this.uiLabel11.Anchor = System.Windows.Forms.AnchorStyles.None;
this.uiLabel11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel11.Location = new System.Drawing.Point(275, 111);
this.uiLabel11.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel11.Name = "uiLabel11";
this.uiLabel11.Size = new System.Drawing.Size(120, 30);
this.uiLabel11.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel11.TabIndex = 53;
this.uiLabel11.Text = "编码";
this.uiLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel11.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnCancel.Location = new System.Drawing.Point(1395, 606);
this.btnCancel.Margin = new System.Windows.Forms.Padding(5);
this.btnCancel.MinimumSize = new System.Drawing.Size(1, 1);
this.btnCancel.Name = "btnCancel";
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Size = new System.Drawing.Size(100, 30);
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 22;
this.btnCancel.Text = "取消";
this.btnCancel.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnOK.Location = new System.Drawing.Point(1285, 606);
this.btnOK.Margin = new System.Windows.Forms.Padding(5);
this.btnOK.MinimumSize = new System.Drawing.Size(1, 1);
this.btnOK.Name = "btnOK";
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Size = new System.Drawing.Size(100, 30);
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 21;
this.btnOK.Text = "确定";
this.btnOK.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// txtCodeQuery
//
this.txtCodeQuery.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCodeQuery.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCodeQuery.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCodeQuery.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCodeQuery.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCodeQuery.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCodeQuery.ButtonSymbol = 61761;
this.txtCodeQuery.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCodeQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCodeQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCodeQuery.Location = new System.Drawing.Point(80, 45);
this.txtCodeQuery.Margin = new System.Windows.Forms.Padding(5);
this.txtCodeQuery.MaxLength = 50;
this.txtCodeQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCodeQuery.Name = "txtCodeQuery";
this.txtCodeQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCodeQuery.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCodeQuery.ShowText = false;
this.txtCodeQuery.Size = new System.Drawing.Size(200, 30);
this.txtCodeQuery.Style = Sunny.UI.UIStyle.Purple;
this.txtCodeQuery.TabIndex = 3;
this.txtCodeQuery.Tag = "";
this.txtCodeQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtCodeQuery.Watermark = "";
this.txtCodeQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtNameQuery
//
this.txtNameQuery.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNameQuery.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtNameQuery.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtNameQuery.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNameQuery.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtNameQuery.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtNameQuery.ButtonSymbol = 61761;
this.txtNameQuery.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtNameQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtNameQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtNameQuery.Location = new System.Drawing.Point(360, 45);
this.txtNameQuery.Margin = new System.Windows.Forms.Padding(5);
this.txtNameQuery.MaxLength = 50;
this.txtNameQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.txtNameQuery.Name = "txtNameQuery";
this.txtNameQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNameQuery.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNameQuery.ShowText = false;
this.txtNameQuery.Size = new System.Drawing.Size(200, 30);
this.txtNameQuery.Style = Sunny.UI.UIStyle.Purple;
this.txtNameQuery.TabIndex = 4;
this.txtNameQuery.Tag = "";
this.txtNameQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtNameQuery.Watermark = "";
this.txtNameQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(919, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 5;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1029, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 6;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtNameQuery);
this.palQuery.Controls.Add(this.txtCodeQuery);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(356, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1139, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 2;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.palDetail);
this.Controls.Add(this.uiTitlePanel1);
this.Controls.Add(this.btnDisable);
this.Controls.Add(this.btnEnable);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.PageIndex = 2000;
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 361498;
this.Text = "权限管理";
this.uiTitlePanel1.ResumeLayout(false);
this.palDetail.ResumeLayout(false);
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UIButton btnDisable;
private Sunny.UI.UIButton btnEnable;
private Sunny.UI.UITitlePanel uiTitlePanel1;
private Sunny.UI.UITreeView tvPermission;
private Sunny.UI.UIPanel palDetail;
private Sunny.UI.UITextBox txtParentCode;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UITextBox txtTarget;
private Sunny.UI.UILabel uiLabel8;
private Sunny.UI.UILabel uiLabel7;
private Sunny.UI.UICheckBox chkIsEnable;
private Sunny.UI.UITextBox txtSortNumber;
private Sunny.UI.UILabel uiLabel6;
private Sunny.UI.UIComboBox cmbMethod;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UITextBox txtIcon;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UIComboBox cmbType;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UILabel uiLabel11;
private Sunny.UI.UIButton btnCancel;
private Sunny.UI.UIButton btnOK;
private Sunny.UI.UITextBox txtCodeQuery;
private Sunny.UI.UITextBox txtNameQuery;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITitlePanel palQuery;
}
}
@@ -0,0 +1,315 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Dtos.Frame;
using Common.Frame.Models.Account;
using Common.Frame.Services.Account;
using Common.Frame.Services.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Models;
using FASS.App.Utility;
using FASS.Service.Dtos.Setting;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
using System.Linq;
namespace FASS.App.Areas.Account.Forms.Permission
{
public partial class Index : UIPage
{
private readonly IDistributedCache _distributedCache;
private readonly IPermissionService _permissionService;
private LoginUser _loginUser;
private List<DictItemDto> _dictItemDtos;
public event Action InitMenuAction;
public Index()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_permissionService = ServiceHelper.GetService<IPermissionService>();
InitializeData();
InitializeControl();
InitializeDetailControl();
}
private void InitializeData()
{
_loginUser = _distributedCache.Get<LoginUser>(Cache.Login.User);
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
txtCodeQuery.Tag = @"{""Field"":""Code"",""Operator"":""Contains""}";
txtNameQuery.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
treeQuery();
}
public void GetPermissionTree(IEnumerable<PermissionModel> menus, TreeNodeCollection nodes)
{
foreach (var menu in menus)
{
var node = new TreeNode()
{
Tag = menu.Data,
Name = menu.Id,
Text = menu.Name
};
nodes.Add(node);
if (menu.Children != null && menu.Children.Any())
{
GetPermissionTree(menu.Children, node.Nodes);
}
}
}
private void treeQuery()
{
var menus = _permissionService.GetPermissionModels(_loginUser.User.Id);
tvPermission.Nodes.Clear();
var root = new TreeNode() { Tag = new PermissionDto() { Id = null, Code = "Root", Name = "菜单" }, Name = null, Text = "菜单" };
tvPermission.Nodes.Add(root);
GetPermissionTree(menus, tvPermission.Nodes[0].Nodes);
tvPermission.ExpandAll();
}
private void tvPermission_AfterSelect(object sender, TreeViewEventArgs e)
{
PermissionDto = tvPermission.SelectedNode.Tag as PermissionDto;
palDetail.Enabled = false;
ButtonActionType = ActionType.Nothing;
}
private void btnQuery_Click(object sender, EventArgs e)
{
treeQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtCode.Text = "";
txtName.Text = "";
treeQuery();
}
private void btnAdd_Click(object sender, EventArgs e)
{
if (tvPermission.SelectedNode == null)
{
ShowSuccessTip("请选择一项进行操作");
return;
}
ButtonActionType = ActionType.Add;
var permissionDto = tvPermission.SelectedNode.Tag as PermissionDto;
PermissionDto = new PermissionDto() { ParentId = permissionDto.Id, ParentCode = permissionDto.Code };
palDetail.Enabled = true;
}
private void btnUpdate_Click(object sender, EventArgs e)
{
if (tvPermission.SelectedNode == null)
{
ShowSuccessTip("请选择一项进行操作");
return;
}
ButtonActionType = ActionType.Update;
var permissionDto = tvPermission.SelectedNode.Tag as PermissionDto;
PermissionDto = permissionDto;
palDetail.Enabled = true;
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (tvPermission.SelectedNode == null)
{
ShowSuccessTip("请选择一项进行操作");
return;
}
ButtonActionType = ActionType.Delete;
var permissionDto = tvPermission.SelectedNode.Tag as PermissionDto;
PermissionDto = permissionDto;
palDetail.Enabled = false;
}
private void btnEnable_Click(object sender, EventArgs e)
{
if (tvPermission.SelectedNode == null)
{
ShowSuccessTip("请选择一项进行操作");
return;
}
ButtonActionType = ActionType.Enable;
var permissionDto = tvPermission.SelectedNode.Tag as PermissionDto;
permissionDto.IsEnable = true;
PermissionDto = permissionDto;
palDetail.Enabled = false;
}
private void btnDisable_Click(object sender, EventArgs e)
{
if (tvPermission.SelectedNode == null)
{
ShowSuccessTip("请选择一项进行操作");
return;
}
ButtonActionType = ActionType.Disable;
var permissionDto = tvPermission.SelectedNode.Tag as PermissionDto;
permissionDto.IsEnable = false;
PermissionDto = permissionDto;
palDetail.Enabled = false;
}
private async void btnOK_Click(object sender, EventArgs e)
{
if (_actionType == ActionType.Nothing)
{
ShowSuccessTip("请选择操作按钮进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
switch (ButtonActionType)
{
case ActionType.Add:
await _permissionService.AddAsync(PermissionDto);
break;
case ActionType.Update:
await _permissionService.UpdateAsync(PermissionDto);
break;
case ActionType.Delete:
await _permissionService.RemoveAsync(PermissionDto.Id);
break;
case ActionType.Enable:
await _permissionService.EnableAsync(PermissionDto.Id);
break;
case ActionType.Disable:
await _permissionService.DisableAsync(PermissionDto.Id);
break;
}
treeQuery();
InitMenuAction?.Invoke();
ShowSuccessTip("操作成功");
ButtonActionType = ActionType.Nothing;
}
private void btnCancel_Click(object sender, EventArgs e)
{
tvPermission.SelectedNode = null;
PermissionDto = new PermissionDto();
palDetail.Enabled = false;
ButtonActionType = ActionType.Nothing;
}
private ActionType _actionType;
public ActionType ButtonActionType
{
get
{
return _actionType;
}
set
{
if (_actionType != value)
{
btnAdd.Style = UIStyle.Purple;
btnUpdate.Style = UIStyle.Purple;
btnDelete.Style = UIStyle.Purple;
btnEnable.Style = UIStyle.Purple;
btnDisable.Style = UIStyle.Purple;
switch (value)
{
case ActionType.Add:
btnAdd.Style = UIStyle.Orange;
break;
case ActionType.Update:
btnUpdate.Style = UIStyle.Orange;
break;
case ActionType.Delete:
btnDelete.Style = UIStyle.Orange;
break;
case ActionType.Enable:
btnEnable.Style = UIStyle.Orange;
break;
case ActionType.Disable:
btnDisable.Style = UIStyle.Orange;
break;
}
}
_actionType = value;
}
}
private PermissionDto _permissionDto;
public PermissionDto PermissionDto
{
get
{
if (_permissionDto == null)
{
_permissionDto = new PermissionDto();
}
_permissionDto.Type = cmbType.SelectedValue.ToString();
_permissionDto.Code = txtCode.Text.Trim();
_permissionDto.Name = txtName.Text.Trim();
_permissionDto.Icon = txtIcon.Text.Trim();
_permissionDto.Method = cmbMethod.SelectedValue.ToString();
_permissionDto.Target = txtTarget.Text.Trim();
_permissionDto.SortNumber = txtSortNumber.IntValue;
_permissionDto.IsEnable = chkIsEnable.Checked;
return _permissionDto;
}
set
{
_permissionDto = value;
txtParentCode.Text = _permissionDto.ParentCode;
if (_permissionDto.Type != null)
{
cmbType.SelectedValue = _permissionDto.Type;
}
else
{
cmbType.SelectedIndex = 0;
}
txtCode.Text = _permissionDto.Code;
txtName.Text = _permissionDto.Name;
txtIcon.Text = _permissionDto.Icon;
if (_permissionDto.Method != null)
{
cmbMethod.SelectedValue = _permissionDto.Method;
}
else
{
cmbMethod.SelectedIndex = 0;
}
txtTarget.Text = _permissionDto.Target;
txtSortNumber.IntValue = _permissionDto.SortNumber;
chkIsEnable.Checked = _permissionDto.IsEnable;
}
}
private void InitializeDetailControl()
{
cmbType.ValueMember = "Id";
cmbType.DisplayMember = "Code";
cmbType.DataSource = _dictItemDtos.Where(e => e.DictCode == "PermissionType").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
cmbMethod.ValueMember = "Id";
cmbMethod.DisplayMember = "Code";
cmbMethod.DataSource = _dictItemDtos.Where(e => e.DictCode == "PermissionMethod").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
}
public enum ActionType
{
Nothing = 0,
Add = 1,
Update = 2,
Delete = 3,
Enable = 4,
Disable = 5
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,173 @@
namespace FASS.App.Areas.Account.Forms.Role
{
partial class Detail
{
/// <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()
{
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel7 = new Sunny.UI.UILabel();
this.chkIsEnable = new Sunny.UI.UICheckBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 4;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 3;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(293, 238);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(423, 238);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 1;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel7
//
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel7.Location = new System.Drawing.Point(293, 278);
this.uiLabel7.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(120, 30);
this.uiLabel7.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel7.TabIndex = 23;
this.uiLabel7.Text = "有效性";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// chkIsEnable
//
this.chkIsEnable.CheckBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.chkIsEnable.Checked = true;
this.chkIsEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.chkIsEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkIsEnable.Location = new System.Drawing.Point(423, 278);
this.chkIsEnable.Margin = new System.Windows.Forms.Padding(5);
this.chkIsEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.chkIsEnable.Name = "chkIsEnable";
this.chkIsEnable.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.chkIsEnable.Size = new System.Drawing.Size(240, 30);
this.chkIsEnable.Style = Sunny.UI.UIStyle.Purple;
this.chkIsEnable.TabIndex = 2;
this.chkIsEnable.Text = "是否启用";
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.uiLabel7);
this.Controls.Add(this.chkIsEnable);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel2);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.chkIsEnable, 0);
this.Controls.SetChildIndex(this.uiLabel7, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel7;
private Sunny.UI.UICheckBox chkIsEnable;
}
}
@@ -0,0 +1,45 @@
using Common.Frame.Dtos.Account;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.Role
{
public partial class Detail : UIEditForm
{
private RoleDto _role;
public RoleDto Role
{
get
{
if (_role == null)
{
_role = new RoleDto();
}
_role.Name = txtName.Text.Trim();
_role.IsEnable = chkIsEnable.Checked;
return _role;
}
set
{
_role = value;
txtName.Text = _role.Name;
chkIsEnable.Checked = _role.IsEnable;
}
}
protected override bool CheckData()
{
return CheckEmpty(txtName, "请输入名称");
}
public Detail()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,499 @@
namespace FASS.App.Areas.Account.Forms.Role
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
this.btnDisable = new Sunny.UI.UIButton();
this.btnEnable = new Sunny.UI.UIButton();
this.btnUser = new Sunny.UI.UIButton();
this.btnPermission = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 4;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 3;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(80, 45);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 2;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "名称";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 13;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 14;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 5;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 6;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 7;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 8;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDisable
//
this.btnDisable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDisable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDisable.Location = new System.Drawing.Point(555, 140);
this.btnDisable.Margin = new System.Windows.Forms.Padding(5);
this.btnDisable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDisable.Name = "btnDisable";
this.btnDisable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Size = new System.Drawing.Size(100, 30);
this.btnDisable.Style = Sunny.UI.UIStyle.Purple;
this.btnDisable.TabIndex = 10;
this.btnDisable.Text = "禁用";
this.btnDisable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDisable.Click += new System.EventHandler(this.btnDisable_Click);
//
// btnEnable
//
this.btnEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEnable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnEnable.Location = new System.Drawing.Point(445, 140);
this.btnEnable.Margin = new System.Windows.Forms.Padding(5);
this.btnEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEnable.Name = "btnEnable";
this.btnEnable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Size = new System.Drawing.Size(100, 30);
this.btnEnable.Style = Sunny.UI.UIStyle.Purple;
this.btnEnable.TabIndex = 9;
this.btnEnable.Text = "启用";
this.btnEnable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnEnable.Click += new System.EventHandler(this.btnEnable_Click);
//
// btnUser
//
this.btnUser.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUser.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUser.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUser.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUser.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUser.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUser.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUser.Location = new System.Drawing.Point(665, 140);
this.btnUser.Margin = new System.Windows.Forms.Padding(5);
this.btnUser.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUser.Name = "btnUser";
this.btnUser.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUser.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUser.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUser.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUser.Size = new System.Drawing.Size(100, 30);
this.btnUser.Style = Sunny.UI.UIStyle.Purple;
this.btnUser.TabIndex = 11;
this.btnUser.Text = "管理用户";
this.btnUser.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUser.Click += new System.EventHandler(this.btnUser_Click);
//
// btnPermission
//
this.btnPermission.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnPermission.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnPermission.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnPermission.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnPermission.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnPermission.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnPermission.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnPermission.Location = new System.Drawing.Point(775, 140);
this.btnPermission.Margin = new System.Windows.Forms.Padding(5);
this.btnPermission.MinimumSize = new System.Drawing.Size(1, 1);
this.btnPermission.Name = "btnPermission";
this.btnPermission.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnPermission.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnPermission.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnPermission.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnPermission.Size = new System.Drawing.Size(100, 30);
this.btnPermission.Style = Sunny.UI.UIStyle.Purple;
this.btnPermission.TabIndex = 12;
this.btnPermission.Text = "管理权限";
this.btnPermission.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnPermission.Click += new System.EventHandler(this.btnPermission_Click);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnPermission);
this.Controls.Add(this.btnUser);
this.Controls.Add(this.btnDisable);
this.Controls.Add(this.btnEnable);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 361632;
this.Text = "角色管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
private Sunny.UI.UIButton btnDisable;
private Sunny.UI.UIButton btnEnable;
private Sunny.UI.UIButton btnUser;
private Sunny.UI.UIButton btnPermission;
}
}
@@ -0,0 +1,181 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Account;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.Role
{
public partial class Index : UIPage
{
private readonly IRoleService _roleService;
public Index()
{
InitializeComponent();
_roleService = ServiceHelper.GetService<IRoleService>();
InitializeControl();
}
private void InitializeControl()
{
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "名称", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewCheckBoxColumn() { HeaderText = "是否启用", DataPropertyName = "IsEnable", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private async void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = await _roleService.ToPageAsync(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = ((UIButton)sender).Text;
form.Role = (RoleDto)dgvData.SelectedRows[0].DataBoundItem;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = ((UIButton)sender).Text;
form.ShowDialog();
if (form.IsOK)
{
await _roleService.AddAsync(form.Role);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = ((UIButton)sender).Text;
form.Role = (RoleDto)dgvData.SelectedRows[0].DataBoundItem;
form.ShowDialog();
if (form.IsOK)
{
await _roleService.UpdateAsync(form.Role);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as RoleDto;
await _roleService.RemoveAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnEnable_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as RoleDto;
await _roleService.EnableAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnDisable_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as RoleDto;
await _roleService.DisableAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private void btnUser_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as RoleDto;
var form = new User(dto.Id);
form.Text = ((UIButton)sender).Text;
form.ShowDialog();
}
private void btnPermission_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as RoleDto;
var form = new Permission(dto.Id);
form.Text = ((UIButton)sender).Text;
form.ShowDialog();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,118 @@
namespace FASS.App.Areas.Account.Forms.Role
{
partial class Permission
{
/// <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()
{
this.tvPermission = new Sunny.UI.UITreeView();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 662);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(478, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(350, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 3;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(235, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 2;
this.btnOK.Click += new System.EventHandler(this.btnOk_Click);
//
// tvPermission
//
this.tvPermission.CheckBoxes = true;
this.tvPermission.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvPermission.FillColor = System.Drawing.Color.White;
this.tvPermission.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.tvPermission.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.tvPermission.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.tvPermission.Location = new System.Drawing.Point(1, 35);
this.tvPermission.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tvPermission.MinimumSize = new System.Drawing.Size(1, 1);
this.tvPermission.Name = "tvPermission";
this.tvPermission.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.tvPermission.ShowLines = true;
this.tvPermission.Size = new System.Drawing.Size(478, 627);
this.tvPermission.Style = Sunny.UI.UIStyle.Purple;
this.tvPermission.TabIndex = 1;
this.tvPermission.Text = "uiTreeView1";
this.tvPermission.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// Permission
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(480, 720);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.tvPermission);
this.Name = "Permission";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.tvPermission, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UITreeView tvPermission;
}
}
@@ -0,0 +1,92 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Models.Account;
using Common.Frame.Services.Account;
using Common.Utility.Helper;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.Role
{
public partial class Permission : UIEditForm
{
private readonly IRoleService _roleService;
private readonly string _userId;
public Permission(string userId)
{
InitializeComponent();
_roleService = ServiceHelper.GetService<IRoleService>();
_userId = userId;
InitializeControl();
}
public List<PermissionDto> Permissions { get; set; } = new List<PermissionDto>();
private void InitializeControl()
{
var permissions = _roleService.PermissionGetTree(_userId);
GetPermissionTree(permissions, tvPermission.Nodes);
tvPermission.ExpandAll();
}
public void GetPermissionTree(IEnumerable<PermissionModel> permissions, TreeNodeCollection nodes)
{
foreach (var permission in permissions)
{
var node = new TreeNode()
{
Tag = permission.Data,
Text = permission.Name,
Checked = permission.Checked
};
nodes.Add(node);
if (permission.Children != null && permission.Children.Count() > 0)
{
GetPermissionTree(permission.Children, node.Nodes);
}
}
}
private void btnOk_Click(object sender, EventArgs e)
{
Permissions.Clear();
GetPermissionTreeChecked(tvPermission.Nodes);
if (Permissions.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
_roleService.PermissionSubmit(_userId, Permissions);
}
public void GetPermissionTreeChecked(TreeNodeCollection nodes)
{
foreach (TreeNode node in nodes)
{
if ((node.Checked || IsCheckNodes(node.Nodes)) && node.Tag is PermissionDto)
{
Permissions.Add(node.Tag as PermissionDto);
}
if (node.Nodes != null && node.Nodes.Count > 0)
{
GetPermissionTreeChecked(node.Nodes);
}
}
}
public bool IsCheckNodes(TreeNodeCollection nodes)
{
foreach (TreeNode node in nodes)
{
if (node.Checked)
{
return true;
}
if (node.Nodes != null && node.Nodes.Count > 0)
{
return IsCheckNodes(node.Nodes);
}
}
return false;
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>55</value>
</metadata>
</root>
@@ -0,0 +1,472 @@
namespace FASS.App.Areas.Account.Forms.Role
{
partial class User
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.palQuery = new Sunny.UI.UIPanel();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.txtPhone = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtUsername = new Sunny.UI.UITextBox();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel1 = new Sunny.UI.UILabel();
this.btnDelete = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnDetail = new Sunny.UI.UIButton();
this.pagData = new Sunny.UI.UIPagination();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pnlBtm.SuspendLayout();
this.palQuery.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 662);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(1198, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(1070, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(955, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
//
// palQuery
//
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.Controls.Add(this.txtPhone);
this.palQuery.Controls.Add(this.uiLabel3);
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtUsername);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(6, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.Size = new System.Drawing.Size(1188, 60);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = null;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1065, 15);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 6;
this.btnReset.Text = "重置";
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(955, 15);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 5;
this.btnQuery.Text = "查询";
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// txtPhone
//
this.txtPhone.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonSymbol = 61761;
this.txtPhone.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPhone.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPhone.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPhone.Location = new System.Drawing.Point(645, 15);
this.txtPhone.Margin = new System.Windows.Forms.Padding(5);
this.txtPhone.MaxLength = 50;
this.txtPhone.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPhone.Name = "txtPhone";
this.txtPhone.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.Size = new System.Drawing.Size(200, 30);
this.txtPhone.Style = Sunny.UI.UIStyle.Purple;
this.txtPhone.TabIndex = 4;
this.txtPhone.Tag = "";
this.txtPhone.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(575, 15);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(60, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 50;
this.uiLabel3.Text = "电话";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(365, 15);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtUsername
//
this.txtUsername.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonSymbol = 61761;
this.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUsername.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtUsername.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtUsername.Location = new System.Drawing.Point(85, 15);
this.txtUsername.Margin = new System.Windows.Forms.Padding(5);
this.txtUsername.MaxLength = 50;
this.txtUsername.MinimumSize = new System.Drawing.Size(1, 1);
this.txtUsername.Name = "txtUsername";
this.txtUsername.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.Size = new System.Drawing.Size(200, 30);
this.txtUsername.Style = Sunny.UI.UIStyle.Purple;
this.txtUsername.TabIndex = 2;
this.txtUsername.Tag = "";
this.txtUsername.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(295, 15);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 45;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(15, 15);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 44;
this.uiLabel1.Text = "帐号";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(226, 110);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(116, 110);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 8;
this.btnAdd.Text = "新增";
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(6, 110);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 7;
this.btnDetail.Text = "查看";
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(6, 617);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.Size = new System.Drawing.Size(1188, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 11;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(6, 150);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1188, 457);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 10;
//
// User
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1200, 720);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Controls.Add(this.palQuery);
this.Name = "User";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.palQuery, 0);
this.Controls.SetChildIndex(this.dgvData, 0);
this.Controls.SetChildIndex(this.pagData, 0);
this.Controls.SetChildIndex(this.btnDetail, 0);
this.Controls.SetChildIndex(this.btnAdd, 0);
this.Controls.SetChildIndex(this.btnDelete, 0);
this.pnlBtm.ResumeLayout(false);
this.palQuery.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIPanel palQuery;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UITextBox txtPhone;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtUsername;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UILabel uiLabel1;
}
}
@@ -0,0 +1,111 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Account;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.Role
{
public partial class User : UIEditForm
{
private readonly IRoleService _roleService;
private readonly string _userId;
public User(string userId)
{
InitializeComponent();
_roleService = ServiceHelper.GetService<IRoleService>();
_userId = userId;
InitializeControl();
}
private void InitializeControl()
{
txtUsername.Tag = @"{""Field"":""Username"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
txtPhone.Tag = @"{""Field"":""Phone"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "帐号", DataPropertyName = "UserName", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "姓名", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "电话", DataPropertyName = "Phone", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "邮箱", DataPropertyName = "Mail", ReadOnly = true, Visible = true },
new DataGridViewCheckBoxColumn() { HeaderText = "是否启用", DataPropertyName = "IsEnable", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private async void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = await _roleService.UserToPageAsync(_userId, page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtUsername.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Forms.User.Detail();
form.Text = (sender as UIButton).Text;
form.User = dgvData.SelectedRows[0].DataBoundItem as UserDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnAdd_Click(object sender, EventArgs e)
{
var form = new Forms.User.Select();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
await _roleService.UserAddAsync(_userId, form.Users.ToList());
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var users = dgvData.SelectedRows.Cast<DataGridViewRow>().Select(r => r.DataBoundItem as UserDto);
await _roleService.UserRemoveAsync(_userId, users.ToList());
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>55</value>
</metadata>
</root>
@@ -0,0 +1,556 @@
namespace FASS.App.Areas.Account.Forms.User
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel7 = new Sunny.UI.UILabel();
this.chkIsEnable = new Sunny.UI.UICheckBox();
this.txtNick = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.txtUsername = new Sunny.UI.UITextBox();
this.uiLabel6 = new Sunny.UI.UILabel();
this.txtPhone = new Sunny.UI.UITextBox();
this.uiLabel8 = new Sunny.UI.UILabel();
this.txtMail = new Sunny.UI.UITextBox();
this.uiLabel9 = new Sunny.UI.UILabel();
this.txtQQ = new Sunny.UI.UITextBox();
this.uiLabel10 = new Sunny.UI.UILabel();
this.txtWeixin = new Sunny.UI.UITextBox();
this.uiLabel11 = new Sunny.UI.UILabel();
this.uiLabel3 = new Sunny.UI.UILabel();
this.chkisSystem = new Sunny.UI.UICheckBox();
this.cmbGender = new Sunny.UI.UIComboBox();
this.dpBirthday = new Sunny.UI.UIDatePicker();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 13;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 12;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(107, 240);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "性别";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(107, 280);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "生日";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel7
//
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel7.Location = new System.Drawing.Point(487, 240);
this.uiLabel7.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(120, 30);
this.uiLabel7.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel7.TabIndex = 25;
this.uiLabel7.Text = "有效性";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// chkIsEnable
//
this.chkIsEnable.CheckBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.chkIsEnable.Checked = true;
this.chkIsEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.chkIsEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkIsEnable.Location = new System.Drawing.Point(617, 240);
this.chkIsEnable.Margin = new System.Windows.Forms.Padding(5);
this.chkIsEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.chkIsEnable.Name = "chkIsEnable";
this.chkIsEnable.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.chkIsEnable.Size = new System.Drawing.Size(240, 30);
this.chkIsEnable.Style = Sunny.UI.UIStyle.Purple;
this.chkIsEnable.TabIndex = 11;
this.chkIsEnable.Text = "是否启用";
//
// txtNick
//
this.txtNick.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtNick.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtNick.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtNick.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtNick.ButtonSymbol = 61761;
this.txtNick.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtNick.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtNick.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtNick.Location = new System.Drawing.Point(237, 200);
this.txtNick.Margin = new System.Windows.Forms.Padding(5);
this.txtNick.MaxLength = 50;
this.txtNick.MinimumSize = new System.Drawing.Size(1, 1);
this.txtNick.Name = "txtNick";
this.txtNick.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.Size = new System.Drawing.Size(240, 30);
this.txtNick.Style = Sunny.UI.UIStyle.Purple;
this.txtNick.TabIndex = 3;
this.txtNick.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(107, 200);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 26;
this.uiLabel4.Text = "呢称";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(237, 160);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 2;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(107, 160);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 12;
this.uiLabel5.Text = "姓名";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtUsername
//
this.txtUsername.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonSymbol = 61761;
this.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUsername.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtUsername.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtUsername.Location = new System.Drawing.Point(237, 120);
this.txtUsername.Margin = new System.Windows.Forms.Padding(5);
this.txtUsername.MaxLength = 50;
this.txtUsername.MinimumSize = new System.Drawing.Size(1, 1);
this.txtUsername.Name = "txtUsername";
this.txtUsername.ReadOnly = true;
this.txtUsername.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.Size = new System.Drawing.Size(240, 30);
this.txtUsername.Style = Sunny.UI.UIStyle.Purple;
this.txtUsername.TabIndex = 1;
this.txtUsername.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel6
//
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(107, 120);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 12;
this.uiLabel6.Text = "帐号";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPhone
//
this.txtPhone.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonSymbol = 61761;
this.txtPhone.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPhone.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPhone.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPhone.Location = new System.Drawing.Point(237, 320);
this.txtPhone.Margin = new System.Windows.Forms.Padding(5);
this.txtPhone.MaxLength = 50;
this.txtPhone.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPhone.Name = "txtPhone";
this.txtPhone.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.Size = new System.Drawing.Size(240, 30);
this.txtPhone.Style = Sunny.UI.UIStyle.Purple;
this.txtPhone.TabIndex = 6;
this.txtPhone.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel8
//
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel8.Location = new System.Drawing.Point(107, 320);
this.uiLabel8.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(120, 30);
this.uiLabel8.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel8.TabIndex = 28;
this.uiLabel8.Text = "手机";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtMail
//
this.txtMail.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtMail.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtMail.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtMail.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtMail.ButtonSymbol = 61761;
this.txtMail.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtMail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtMail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtMail.Location = new System.Drawing.Point(237, 360);
this.txtMail.Margin = new System.Windows.Forms.Padding(5);
this.txtMail.MaxLength = 50;
this.txtMail.MinimumSize = new System.Drawing.Size(1, 1);
this.txtMail.Name = "txtMail";
this.txtMail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.Size = new System.Drawing.Size(240, 30);
this.txtMail.Style = Sunny.UI.UIStyle.Purple;
this.txtMail.TabIndex = 7;
this.txtMail.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel9
//
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel9.Location = new System.Drawing.Point(107, 360);
this.uiLabel9.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(120, 30);
this.uiLabel9.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel9.TabIndex = 6;
this.uiLabel9.Text = "邮箱";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtQQ
//
this.txtQQ.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtQQ.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtQQ.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtQQ.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtQQ.ButtonSymbol = 61761;
this.txtQQ.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtQQ.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtQQ.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtQQ.Location = new System.Drawing.Point(617, 120);
this.txtQQ.Margin = new System.Windows.Forms.Padding(5);
this.txtQQ.MaxLength = 50;
this.txtQQ.MinimumSize = new System.Drawing.Size(1, 1);
this.txtQQ.Name = "txtQQ";
this.txtQQ.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.Size = new System.Drawing.Size(240, 30);
this.txtQQ.Style = Sunny.UI.UIStyle.Purple;
this.txtQQ.TabIndex = 8;
this.txtQQ.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel10
//
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel10.Location = new System.Drawing.Point(487, 120);
this.uiLabel10.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(120, 30);
this.uiLabel10.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel10.TabIndex = 30;
this.uiLabel10.Text = "QQ";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtWeixin
//
this.txtWeixin.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtWeixin.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtWeixin.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtWeixin.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtWeixin.ButtonSymbol = 61761;
this.txtWeixin.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtWeixin.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtWeixin.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtWeixin.Location = new System.Drawing.Point(617, 160);
this.txtWeixin.Margin = new System.Windows.Forms.Padding(5);
this.txtWeixin.MaxLength = 50;
this.txtWeixin.MinimumSize = new System.Drawing.Size(1, 1);
this.txtWeixin.Name = "txtWeixin";
this.txtWeixin.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.Size = new System.Drawing.Size(240, 30);
this.txtWeixin.Style = Sunny.UI.UIStyle.Purple;
this.txtWeixin.TabIndex = 9;
this.txtWeixin.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel11
//
this.uiLabel11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel11.Location = new System.Drawing.Point(487, 160);
this.uiLabel11.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel11.Name = "uiLabel11";
this.uiLabel11.Size = new System.Drawing.Size(120, 30);
this.uiLabel11.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel11.TabIndex = 32;
this.uiLabel11.Text = "微信";
this.uiLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(487, 200);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 37;
this.uiLabel3.Text = "系统用户";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// chkisSystem
//
this.chkisSystem.CheckBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.chkisSystem.Cursor = System.Windows.Forms.Cursors.Hand;
this.chkisSystem.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkisSystem.Location = new System.Drawing.Point(617, 200);
this.chkisSystem.Margin = new System.Windows.Forms.Padding(5);
this.chkisSystem.MinimumSize = new System.Drawing.Size(1, 1);
this.chkisSystem.Name = "chkisSystem";
this.chkisSystem.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.chkisSystem.Size = new System.Drawing.Size(240, 30);
this.chkisSystem.Style = Sunny.UI.UIStyle.Purple;
this.chkisSystem.TabIndex = 10;
this.chkisSystem.Text = "是否启用";
//
// cmbGender
//
this.cmbGender.DataSource = null;
this.cmbGender.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbGender.FillColor = System.Drawing.Color.White;
this.cmbGender.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbGender.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbGender.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbGender.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbGender.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbGender.Location = new System.Drawing.Point(237, 240);
this.cmbGender.Margin = new System.Windows.Forms.Padding(5);
this.cmbGender.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbGender.Name = "cmbGender";
this.cmbGender.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbGender.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbGender.Size = new System.Drawing.Size(240, 30);
this.cmbGender.Style = Sunny.UI.UIStyle.Purple;
this.cmbGender.TabIndex = 4;
this.cmbGender.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// dpBirthday
//
this.dpBirthday.FillColor = System.Drawing.Color.White;
this.dpBirthday.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dpBirthday.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dpBirthday.Location = new System.Drawing.Point(237, 280);
this.dpBirthday.Margin = new System.Windows.Forms.Padding(5);
this.dpBirthday.MaxLength = 10;
this.dpBirthday.MinimumSize = new System.Drawing.Size(63, 0);
this.dpBirthday.Name = "dpBirthday";
this.dpBirthday.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dpBirthday.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dpBirthday.Size = new System.Drawing.Size(240, 30);
this.dpBirthday.Style = Sunny.UI.UIStyle.Purple;
this.dpBirthday.SymbolDropDown = 61555;
this.dpBirthday.SymbolNormal = 61555;
this.dpBirthday.TabIndex = 5;
this.dpBirthday.Text = "2021-11-25";
this.dpBirthday.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dpBirthday.Value = new System.DateTime(2021, 11, 25, 20, 23, 34, 907);
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.dpBirthday);
this.Controls.Add(this.cmbGender);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.chkisSystem);
this.Controls.Add(this.txtWeixin);
this.Controls.Add(this.uiLabel11);
this.Controls.Add(this.txtQQ);
this.Controls.Add(this.uiLabel10);
this.Controls.Add(this.txtMail);
this.Controls.Add(this.uiLabel9);
this.Controls.Add(this.txtPhone);
this.Controls.Add(this.uiLabel8);
this.Controls.Add(this.txtUsername);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.txtNick);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.uiLabel7);
this.Controls.Add(this.chkIsEnable);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.chkIsEnable, 0);
this.Controls.SetChildIndex(this.uiLabel7, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.txtNick, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.uiLabel6, 0);
this.Controls.SetChildIndex(this.txtUsername, 0);
this.Controls.SetChildIndex(this.uiLabel8, 0);
this.Controls.SetChildIndex(this.txtPhone, 0);
this.Controls.SetChildIndex(this.uiLabel9, 0);
this.Controls.SetChildIndex(this.txtMail, 0);
this.Controls.SetChildIndex(this.uiLabel10, 0);
this.Controls.SetChildIndex(this.txtQQ, 0);
this.Controls.SetChildIndex(this.uiLabel11, 0);
this.Controls.SetChildIndex(this.txtWeixin, 0);
this.Controls.SetChildIndex(this.chkisSystem, 0);
this.Controls.SetChildIndex(this.uiLabel3, 0);
this.Controls.SetChildIndex(this.cmbGender, 0);
this.Controls.SetChildIndex(this.dpBirthday, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UILabel uiLabel7;
private Sunny.UI.UICheckBox chkIsEnable;
private Sunny.UI.UITextBox txtNick;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UITextBox txtUsername;
private Sunny.UI.UILabel uiLabel6;
private Sunny.UI.UITextBox txtPhone;
private Sunny.UI.UILabel uiLabel8;
private Sunny.UI.UITextBox txtMail;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UITextBox txtQQ;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UITextBox txtWeixin;
private Sunny.UI.UILabel uiLabel11;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UICheckBox chkisSystem;
private Sunny.UI.UIComboBox cmbGender;
private Sunny.UI.UIDatePicker dpBirthday;
}
}
@@ -0,0 +1,98 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Account;
using Common.Frame.Services.Frame;
using Common.Utility.Helper;
using FASS.App.Models;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.User
{
public partial class Detail : UIEditForm
{
private readonly IUserService _userService;
private readonly IDictItemService _dictItemService;
private UserDto _user;
public UserDto User
{
get
{
if (_user == null)
{
_user = new UserDto();
}
if (IsAdd)
{
_user.Username = txtUsername.Text.Trim();
}
_user.Name = txtName.Text.Trim();
_user.Nick = txtNick.Text.Trim();
_user.Gender = cmbGender.SelectedValue.ToString();
_user.Birthday = dpBirthday.Value;
_user.Phone = txtPhone.Text.Trim();
_user.Mail = txtMail.Text.Trim();
_user.QQ = txtQQ.Text.Trim();
_user.Weixin = txtWeixin.Text.Trim();
_user.IsSystem = chkisSystem.Checked;
_user.IsEnable = chkIsEnable.Checked;
return _user;
}
set
{
_user = value;
txtUsername.Text = _user.Username;
txtName.Text = _user.Name;
txtNick.Text = _user.Nick;
cmbGender.SelectedValue = _user.Gender;
if (_user.Birthday.HasValue)
{
dpBirthday.Value = _user.Birthday.Value;
}
txtPhone.Text = _user.Phone;
txtMail.Text = _user.Mail;
txtQQ.Text = _user.QQ;
txtWeixin.Text = _user.Weixin;
chkisSystem.Checked = _user.IsSystem;
chkIsEnable.Checked = _user.IsEnable;
}
}
protected override bool CheckData()
{
var result = CheckEmpty(txtName, "请输入姓名");
if (IsAdd)
{
result = result && !_userService.ExistUsername(txtUsername.Text.Trim());
if (!result)
{
ShowErrorTip("帐号重复");
}
}
return result;
}
public bool IsAdd { get; set; }
public Detail(bool isAdd = false)
{
InitializeComponent();
_userService = ServiceHelper.GetService<IUserService>();
_dictItemService = ServiceHelper.GetService<IDictItemService>();
InitializeControl();
IsAdd = isAdd;
if (IsAdd)
{
txtUsername.ReadOnly = false;
}
}
private void InitializeControl()
{
cmbGender.ValueMember = "Id";
cmbGender.DisplayMember = "Code";
cmbGender.DataSource = _dictItemService.ToList(e => e.DictCode == "UserGender").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,566 @@
namespace FASS.App.Areas.Account.Forms.User
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtUsername = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
this.txtPhone = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.btnEnable = new Sunny.UI.UIButton();
this.btnDisable = new Sunny.UI.UIButton();
this.btnResetPassword = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 6;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 5;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(360, 45);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtUsername
//
this.txtUsername.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonSymbol = 61761;
this.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUsername.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtUsername.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtUsername.Location = new System.Drawing.Point(80, 45);
this.txtUsername.Margin = new System.Windows.Forms.Padding(5);
this.txtUsername.MaxLength = 50;
this.txtUsername.MinimumSize = new System.Drawing.Size(1, 1);
this.txtUsername.Name = "txtUsername";
this.txtUsername.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ShowText = false;
this.txtUsername.Size = new System.Drawing.Size(200, 30);
this.txtUsername.Style = Sunny.UI.UIStyle.Purple;
this.txtUsername.TabIndex = 2;
this.txtUsername.Tag = "";
this.txtUsername.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtUsername.Watermark = "";
this.txtUsername.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "帐号";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 14;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 15;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 7;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 8;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 9;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 10;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtPhone);
this.palQuery.Controls.Add(this.uiLabel3);
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtUsername);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtPhone
//
this.txtPhone.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonSymbol = 61761;
this.txtPhone.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPhone.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPhone.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPhone.Location = new System.Drawing.Point(640, 45);
this.txtPhone.Margin = new System.Windows.Forms.Padding(5);
this.txtPhone.MaxLength = 50;
this.txtPhone.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPhone.Name = "txtPhone";
this.txtPhone.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ShowText = false;
this.txtPhone.Size = new System.Drawing.Size(200, 30);
this.txtPhone.Style = Sunny.UI.UIStyle.Purple;
this.txtPhone.TabIndex = 4;
this.txtPhone.Tag = "";
this.txtPhone.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtPhone.Watermark = "";
this.txtPhone.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(570, 45);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(60, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 42;
this.uiLabel3.Text = "电话";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnEnable
//
this.btnEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEnable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnEnable.Location = new System.Drawing.Point(445, 140);
this.btnEnable.Margin = new System.Windows.Forms.Padding(5);
this.btnEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEnable.Name = "btnEnable";
this.btnEnable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Size = new System.Drawing.Size(100, 30);
this.btnEnable.Style = Sunny.UI.UIStyle.Purple;
this.btnEnable.TabIndex = 11;
this.btnEnable.Text = "启用";
this.btnEnable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnEnable.Click += new System.EventHandler(this.btnEnable_Click);
//
// btnDisable
//
this.btnDisable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDisable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDisable.Location = new System.Drawing.Point(555, 140);
this.btnDisable.Margin = new System.Windows.Forms.Padding(5);
this.btnDisable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDisable.Name = "btnDisable";
this.btnDisable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Size = new System.Drawing.Size(100, 30);
this.btnDisable.Style = Sunny.UI.UIStyle.Purple;
this.btnDisable.TabIndex = 12;
this.btnDisable.Text = "禁用";
this.btnDisable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDisable.Click += new System.EventHandler(this.btnDisable_Click);
//
// btnResetPassword
//
this.btnResetPassword.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnResetPassword.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnResetPassword.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnResetPassword.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnResetPassword.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnResetPassword.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnResetPassword.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnResetPassword.Location = new System.Drawing.Point(665, 140);
this.btnResetPassword.Margin = new System.Windows.Forms.Padding(5);
this.btnResetPassword.MinimumSize = new System.Drawing.Size(1, 1);
this.btnResetPassword.Name = "btnResetPassword";
this.btnResetPassword.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnResetPassword.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnResetPassword.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnResetPassword.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnResetPassword.Size = new System.Drawing.Size(100, 30);
this.btnResetPassword.Style = Sunny.UI.UIStyle.Purple;
this.btnResetPassword.TabIndex = 13;
this.btnResetPassword.Text = "重置密码";
this.btnResetPassword.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnResetPassword.Click += new System.EventHandler(this.btnResetPassword_Click);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnResetPassword);
this.Controls.Add(this.btnDisable);
this.Controls.Add(this.btnEnable);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 362470;
this.Text = "用户管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtUsername;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
private Sunny.UI.UITextBox txtPhone;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UIButton btnEnable;
private Sunny.UI.UIButton btnDisable;
private Sunny.UI.UIButton btnResetPassword;
}
}
@@ -0,0 +1,178 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Account;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.User
{
public partial class Index : UIPage
{
private readonly IUserService _userService;
public Index()
{
InitializeComponent();
_userService = ServiceHelper.GetService<IUserService>();
InitializeControl();
}
private void InitializeControl()
{
txtUsername.Tag = @"{""Field"":""Username"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
txtPhone.Tag = @"{""Field"":""Phone"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "帐号", DataPropertyName = "UserName", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "姓名", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "电话", DataPropertyName = "Phone", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "邮箱", DataPropertyName = "Mail", ReadOnly = true, Visible = true },
new DataGridViewCheckBoxColumn() { HeaderText = "是否启用", DataPropertyName = "IsEnable", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private async void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = await _userService.ToPageAsync(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtUsername.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.User = dgvData.SelectedRows[0].DataBoundItem as UserDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail(true);
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
await _userService.AddAsync(form.User);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.User = dgvData.SelectedRows[0].DataBoundItem as UserDto;
form.ShowDialog();
if (form.IsOK)
{
await _userService.UpdateAsync(form.User);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as UserDto;
await _userService.RemoveAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnEnable_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as UserDto;
await _userService.EnableAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnDisable_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as UserDto;
await _userService.DisableAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnResetPassword_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as UserDto;
await _userService.PasswordAsync(dto.Id, SecurityHelper.HashMD5("123456"));
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,229 @@
namespace FASS.App.Areas.Account.Forms.User
{
partial class Password
{
/// <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()
{
this.txtPasswordNewConfirm = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtPasswordNew = new Sunny.UI.UITextBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.txtPasswordOrigin = new Sunny.UI.UITextBox();
this.uiLabel6 = new Sunny.UI.UILabel();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 5;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 4;
this.btnOK.Click += new System.EventHandler(this.btnOk_Click);
//
// txtPasswordNewConfirm
//
this.txtPasswordNewConfirm.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNewConfirm.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPasswordNewConfirm.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPasswordNewConfirm.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNewConfirm.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPasswordNewConfirm.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPasswordNewConfirm.ButtonSymbol = 61761;
this.txtPasswordNewConfirm.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPasswordNewConfirm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPasswordNewConfirm.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPasswordNewConfirm.Location = new System.Drawing.Point(426, 287);
this.txtPasswordNewConfirm.Margin = new System.Windows.Forms.Padding(5);
this.txtPasswordNewConfirm.MaxLength = 50;
this.txtPasswordNewConfirm.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPasswordNewConfirm.Name = "txtPasswordNewConfirm";
this.txtPasswordNewConfirm.PasswordChar = '*';
this.txtPasswordNewConfirm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNewConfirm.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNewConfirm.Size = new System.Drawing.Size(240, 30);
this.txtPasswordNewConfirm.Style = Sunny.UI.UIStyle.Purple;
this.txtPasswordNewConfirm.TabIndex = 3;
this.txtPasswordNewConfirm.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(296, 287);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 26;
this.uiLabel4.Text = "确认新密码";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPasswordNew
//
this.txtPasswordNew.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNew.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPasswordNew.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPasswordNew.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNew.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPasswordNew.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPasswordNew.ButtonSymbol = 61761;
this.txtPasswordNew.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPasswordNew.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPasswordNew.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPasswordNew.Location = new System.Drawing.Point(426, 247);
this.txtPasswordNew.Margin = new System.Windows.Forms.Padding(5);
this.txtPasswordNew.MaxLength = 50;
this.txtPasswordNew.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPasswordNew.Name = "txtPasswordNew";
this.txtPasswordNew.PasswordChar = '*';
this.txtPasswordNew.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNew.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordNew.Size = new System.Drawing.Size(240, 30);
this.txtPasswordNew.Style = Sunny.UI.UIStyle.Purple;
this.txtPasswordNew.TabIndex = 2;
this.txtPasswordNew.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(296, 247);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 12;
this.uiLabel5.Text = "新密码";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPasswordOrigin
//
this.txtPasswordOrigin.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordOrigin.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPasswordOrigin.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPasswordOrigin.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordOrigin.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPasswordOrigin.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPasswordOrigin.ButtonSymbol = 61761;
this.txtPasswordOrigin.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPasswordOrigin.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPasswordOrigin.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPasswordOrigin.Location = new System.Drawing.Point(426, 207);
this.txtPasswordOrigin.Margin = new System.Windows.Forms.Padding(5);
this.txtPasswordOrigin.MaxLength = 50;
this.txtPasswordOrigin.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPasswordOrigin.Name = "txtPasswordOrigin";
this.txtPasswordOrigin.PasswordChar = '*';
this.txtPasswordOrigin.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordOrigin.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPasswordOrigin.Size = new System.Drawing.Size(240, 30);
this.txtPasswordOrigin.Style = Sunny.UI.UIStyle.Purple;
this.txtPasswordOrigin.TabIndex = 1;
this.txtPasswordOrigin.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel6
//
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(296, 207);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 12;
this.uiLabel6.Text = "原密码";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// Password
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtPasswordOrigin);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.txtPasswordNew);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.txtPasswordNewConfirm);
this.Controls.Add(this.uiLabel4);
this.Name = "Password";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.txtPasswordNewConfirm, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.txtPasswordNew, 0);
this.Controls.SetChildIndex(this.uiLabel6, 0);
this.Controls.SetChildIndex(this.txtPasswordOrigin, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UITextBox txtPasswordNewConfirm;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UITextBox txtPasswordNew;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UITextBox txtPasswordOrigin;
private Sunny.UI.UILabel uiLabel6;
}
}
@@ -0,0 +1,64 @@
using Common.Frame.Services.Account;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Models;
using FASS.App.Utility;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.User
{
public partial class Password : UIEditForm
{
private readonly IUserService _userService;
private readonly IDistributedCache _distributedCache;
private LoginUser _loginUser;
protected override bool CheckData()
{
return CheckEmpty(txtPasswordOrigin, "请输入原密码")
&& CheckEmpty(txtPasswordNew, "请输入新密码")
&& CheckEmpty(txtPasswordNewConfirm, "请输入确认新密码")
&& CheckPassword();
}
public Password()
{
InitializeComponent();
_userService = ServiceHelper.GetService<IUserService>();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_loginUser = _distributedCache.Get<LoginUser>(Cache.Login.User);
}
private void InitializeControl()
{
}
private bool CheckPassword()
{
if (txtPasswordNew.Text != txtPasswordNewConfirm.Text)
{
ShowErrorTip("新密码输入不一致");
return false;
}
if (_loginUser.User.Password != SecurityHelper.HashMD5(txtPasswordOrigin.Text))
{
ShowErrorTip("原密码输入错误");
return false;
}
return true;
}
private async void btnOk_Click(object sender, EventArgs e)
{
await _userService.PasswordAsync(_loginUser.User.Id, SecurityHelper.HashMD5(txtPasswordNew.Text));
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,485 @@
namespace FASS.App.Areas.Account.Forms.User
{
partial class Provider
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtNick = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.txtUsername = new Sunny.UI.UITextBox();
this.uiLabel6 = new Sunny.UI.UILabel();
this.txtPhone = new Sunny.UI.UITextBox();
this.uiLabel8 = new Sunny.UI.UILabel();
this.txtMail = new Sunny.UI.UITextBox();
this.uiLabel9 = new Sunny.UI.UILabel();
this.txtQQ = new Sunny.UI.UITextBox();
this.uiLabel10 = new Sunny.UI.UILabel();
this.txtWeixin = new Sunny.UI.UITextBox();
this.uiLabel11 = new Sunny.UI.UILabel();
this.cmbGender = new Sunny.UI.UIComboBox();
this.dpBirthday = new Sunny.UI.UIDatePicker();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 11;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 10;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(107, 240);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "性别";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(107, 280);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "生日";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtNick
//
this.txtNick.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtNick.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtNick.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtNick.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtNick.ButtonSymbol = 61761;
this.txtNick.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtNick.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtNick.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtNick.Location = new System.Drawing.Point(237, 200);
this.txtNick.Margin = new System.Windows.Forms.Padding(5);
this.txtNick.MaxLength = 50;
this.txtNick.MinimumSize = new System.Drawing.Size(1, 1);
this.txtNick.Name = "txtNick";
this.txtNick.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtNick.Size = new System.Drawing.Size(240, 30);
this.txtNick.Style = Sunny.UI.UIStyle.Purple;
this.txtNick.TabIndex = 3;
this.txtNick.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(107, 200);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 26;
this.uiLabel4.Text = "呢称";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(237, 160);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 2;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(107, 160);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 12;
this.uiLabel5.Text = "姓名";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtUsername
//
this.txtUsername.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonSymbol = 61761;
this.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUsername.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtUsername.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtUsername.Location = new System.Drawing.Point(237, 120);
this.txtUsername.Margin = new System.Windows.Forms.Padding(5);
this.txtUsername.MaxLength = 50;
this.txtUsername.MinimumSize = new System.Drawing.Size(1, 1);
this.txtUsername.Name = "txtUsername";
this.txtUsername.ReadOnly = true;
this.txtUsername.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.Size = new System.Drawing.Size(240, 30);
this.txtUsername.Style = Sunny.UI.UIStyle.Purple;
this.txtUsername.TabIndex = 1;
this.txtUsername.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel6
//
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(107, 120);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 12;
this.uiLabel6.Text = "帐号";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPhone
//
this.txtPhone.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonSymbol = 61761;
this.txtPhone.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPhone.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPhone.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPhone.Location = new System.Drawing.Point(237, 320);
this.txtPhone.Margin = new System.Windows.Forms.Padding(5);
this.txtPhone.MaxLength = 50;
this.txtPhone.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPhone.Name = "txtPhone";
this.txtPhone.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.Size = new System.Drawing.Size(240, 30);
this.txtPhone.Style = Sunny.UI.UIStyle.Purple;
this.txtPhone.TabIndex = 6;
this.txtPhone.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel8
//
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel8.Location = new System.Drawing.Point(107, 320);
this.uiLabel8.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(120, 30);
this.uiLabel8.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel8.TabIndex = 28;
this.uiLabel8.Text = "手机";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtMail
//
this.txtMail.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtMail.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtMail.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtMail.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtMail.ButtonSymbol = 61761;
this.txtMail.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtMail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtMail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtMail.Location = new System.Drawing.Point(237, 360);
this.txtMail.Margin = new System.Windows.Forms.Padding(5);
this.txtMail.MaxLength = 50;
this.txtMail.MinimumSize = new System.Drawing.Size(1, 1);
this.txtMail.Name = "txtMail";
this.txtMail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtMail.Size = new System.Drawing.Size(240, 30);
this.txtMail.Style = Sunny.UI.UIStyle.Purple;
this.txtMail.TabIndex = 7;
this.txtMail.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel9
//
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel9.Location = new System.Drawing.Point(107, 360);
this.uiLabel9.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(120, 30);
this.uiLabel9.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel9.TabIndex = 6;
this.uiLabel9.Text = "邮箱";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtQQ
//
this.txtQQ.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtQQ.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtQQ.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtQQ.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtQQ.ButtonSymbol = 61761;
this.txtQQ.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtQQ.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtQQ.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtQQ.Location = new System.Drawing.Point(617, 120);
this.txtQQ.Margin = new System.Windows.Forms.Padding(5);
this.txtQQ.MaxLength = 50;
this.txtQQ.MinimumSize = new System.Drawing.Size(1, 1);
this.txtQQ.Name = "txtQQ";
this.txtQQ.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtQQ.Size = new System.Drawing.Size(240, 30);
this.txtQQ.Style = Sunny.UI.UIStyle.Purple;
this.txtQQ.TabIndex = 8;
this.txtQQ.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel10
//
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel10.Location = new System.Drawing.Point(487, 120);
this.uiLabel10.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(120, 30);
this.uiLabel10.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel10.TabIndex = 30;
this.uiLabel10.Text = "QQ";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtWeixin
//
this.txtWeixin.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtWeixin.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtWeixin.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtWeixin.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtWeixin.ButtonSymbol = 61761;
this.txtWeixin.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtWeixin.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtWeixin.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtWeixin.Location = new System.Drawing.Point(617, 160);
this.txtWeixin.Margin = new System.Windows.Forms.Padding(5);
this.txtWeixin.MaxLength = 50;
this.txtWeixin.MinimumSize = new System.Drawing.Size(1, 1);
this.txtWeixin.Name = "txtWeixin";
this.txtWeixin.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtWeixin.Size = new System.Drawing.Size(240, 30);
this.txtWeixin.Style = Sunny.UI.UIStyle.Purple;
this.txtWeixin.TabIndex = 9;
this.txtWeixin.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel11
//
this.uiLabel11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel11.Location = new System.Drawing.Point(487, 160);
this.uiLabel11.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel11.Name = "uiLabel11";
this.uiLabel11.Size = new System.Drawing.Size(120, 30);
this.uiLabel11.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel11.TabIndex = 32;
this.uiLabel11.Text = "微信";
this.uiLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbGender
//
this.cmbGender.DataSource = null;
this.cmbGender.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbGender.FillColor = System.Drawing.Color.White;
this.cmbGender.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbGender.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbGender.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbGender.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbGender.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbGender.Location = new System.Drawing.Point(237, 240);
this.cmbGender.Margin = new System.Windows.Forms.Padding(5);
this.cmbGender.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbGender.Name = "cmbGender";
this.cmbGender.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbGender.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbGender.Size = new System.Drawing.Size(240, 30);
this.cmbGender.Style = Sunny.UI.UIStyle.Purple;
this.cmbGender.TabIndex = 4;
this.cmbGender.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// dpBirthday
//
this.dpBirthday.FillColor = System.Drawing.Color.White;
this.dpBirthday.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dpBirthday.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dpBirthday.Location = new System.Drawing.Point(237, 280);
this.dpBirthday.Margin = new System.Windows.Forms.Padding(5);
this.dpBirthday.MaxLength = 10;
this.dpBirthday.MinimumSize = new System.Drawing.Size(63, 0);
this.dpBirthday.Name = "dpBirthday";
this.dpBirthday.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dpBirthday.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dpBirthday.Size = new System.Drawing.Size(240, 30);
this.dpBirthday.Style = Sunny.UI.UIStyle.Purple;
this.dpBirthday.SymbolDropDown = 61555;
this.dpBirthday.SymbolNormal = 61555;
this.dpBirthday.TabIndex = 5;
this.dpBirthday.Text = "2021-11-25";
this.dpBirthday.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dpBirthday.Value = new System.DateTime(2021, 11, 25, 20, 23, 34, 907);
//
// Provider
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.dpBirthday);
this.Controls.Add(this.cmbGender);
this.Controls.Add(this.txtWeixin);
this.Controls.Add(this.uiLabel11);
this.Controls.Add(this.txtQQ);
this.Controls.Add(this.uiLabel10);
this.Controls.Add(this.txtMail);
this.Controls.Add(this.uiLabel9);
this.Controls.Add(this.txtPhone);
this.Controls.Add(this.uiLabel8);
this.Controls.Add(this.txtUsername);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.txtNick);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Provider";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.txtNick, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.uiLabel6, 0);
this.Controls.SetChildIndex(this.txtUsername, 0);
this.Controls.SetChildIndex(this.uiLabel8, 0);
this.Controls.SetChildIndex(this.txtPhone, 0);
this.Controls.SetChildIndex(this.uiLabel9, 0);
this.Controls.SetChildIndex(this.txtMail, 0);
this.Controls.SetChildIndex(this.uiLabel10, 0);
this.Controls.SetChildIndex(this.txtQQ, 0);
this.Controls.SetChildIndex(this.uiLabel11, 0);
this.Controls.SetChildIndex(this.txtWeixin, 0);
this.Controls.SetChildIndex(this.cmbGender, 0);
this.Controls.SetChildIndex(this.dpBirthday, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtNick;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UITextBox txtUsername;
private Sunny.UI.UILabel uiLabel6;
private Sunny.UI.UITextBox txtPhone;
private Sunny.UI.UILabel uiLabel8;
private Sunny.UI.UITextBox txtMail;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UITextBox txtQQ;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UITextBox txtWeixin;
private Sunny.UI.UILabel uiLabel11;
private Sunny.UI.UIComboBox cmbGender;
private Sunny.UI.UIDatePicker dpBirthday;
}
}
@@ -0,0 +1,69 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Frame;
using Common.Utility.Helper;
using FASS.App.Models;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.User
{
public partial class Provider : UIEditForm
{
private readonly IDictItemService _dictItemService;
private UserDto _user;
public UserDto User
{
get
{
if (_user == null)
{
_user = new UserDto();
}
_user.Name = txtName.Text.Trim();
_user.Nick = txtNick.Text.Trim();
_user.Gender = cmbGender.SelectedValue.ToString();
_user.Birthday = dpBirthday.Value;
_user.Phone = txtPhone.Text.Trim();
_user.Mail = txtMail.Text.Trim();
_user.QQ = txtQQ.Text.Trim();
_user.Weixin = txtWeixin.Text.Trim();
return _user;
}
set
{
_user = value;
txtUsername.Text = _user.Username;
txtName.Text = _user.Name;
txtNick.Text = _user.Nick;
cmbGender.SelectedValue = _user.Gender;
if (_user.Birthday.HasValue)
{
dpBirthday.Value = _user.Birthday.Value;
}
txtPhone.Text = _user.Phone;
txtMail.Text = _user.Mail;
txtQQ.Text = _user.QQ;
txtWeixin.Text = _user.Weixin;
}
}
protected override bool CheckData()
{
return CheckEmpty(txtName, "请输入姓名");
}
public Provider()
{
InitializeComponent();
_dictItemService = ServiceHelper.GetService<IDictItemService>();
InitializeControl();
}
private void InitializeControl()
{
cmbGender.ValueMember = "Id";
cmbGender.DisplayMember = "Code";
cmbGender.DataSource = _dictItemService.ToList(e => e.DictCode == "UserGender").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,418 @@

namespace FASS.App.Areas.Account.Forms.User
{
partial class Select
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.palQuery = new Sunny.UI.UIPanel();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.txtPhone = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtUsername = new Sunny.UI.UITextBox();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel1 = new Sunny.UI.UILabel();
this.btnDetail = new Sunny.UI.UIButton();
this.pagData = new Sunny.UI.UIPagination();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pnlBtm.SuspendLayout();
this.palQuery.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 662);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(1198, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(1070, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(955, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.Click += new System.EventHandler(this.btnOk_Click);
//
// palQuery
//
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.Controls.Add(this.txtPhone);
this.palQuery.Controls.Add(this.uiLabel3);
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtUsername);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(6, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.Size = new System.Drawing.Size(1188, 60);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = null;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1065, 15);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 6;
this.btnReset.Text = "重置";
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(955, 15);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 5;
this.btnQuery.Text = "查询";
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// txtPhone
//
this.txtPhone.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPhone.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPhone.ButtonSymbol = 61761;
this.txtPhone.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPhone.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPhone.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPhone.Location = new System.Drawing.Point(645, 15);
this.txtPhone.Margin = new System.Windows.Forms.Padding(5);
this.txtPhone.MaxLength = 50;
this.txtPhone.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPhone.Name = "txtPhone";
this.txtPhone.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPhone.Size = new System.Drawing.Size(200, 30);
this.txtPhone.Style = Sunny.UI.UIStyle.Purple;
this.txtPhone.TabIndex = 4;
this.txtPhone.Tag = "";
this.txtPhone.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(575, 15);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(60, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 50;
this.uiLabel3.Text = "电话";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(365, 15);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtUsername
//
this.txtUsername.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonSymbol = 61761;
this.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUsername.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtUsername.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtUsername.Location = new System.Drawing.Point(85, 15);
this.txtUsername.Margin = new System.Windows.Forms.Padding(5);
this.txtUsername.MaxLength = 50;
this.txtUsername.MinimumSize = new System.Drawing.Size(1, 1);
this.txtUsername.Name = "txtUsername";
this.txtUsername.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.Size = new System.Drawing.Size(200, 30);
this.txtUsername.Style = Sunny.UI.UIStyle.Purple;
this.txtUsername.TabIndex = 2;
this.txtUsername.Tag = "";
this.txtUsername.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(295, 15);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 45;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(15, 15);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 44;
this.uiLabel1.Text = "帐号";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(6, 110);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 7;
this.btnDetail.Text = "查看";
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(6, 617);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.Size = new System.Drawing.Size(1188, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 9;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(6, 150);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1188, 457);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 8;
//
// Select
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1200, 720);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Controls.Add(this.palQuery);
this.Name = "Select";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.palQuery, 0);
this.Controls.SetChildIndex(this.dgvData, 0);
this.Controls.SetChildIndex(this.pagData, 0);
this.Controls.SetChildIndex(this.btnDetail, 0);
this.pnlBtm.ResumeLayout(false);
this.palQuery.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIPanel palQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UITextBox txtPhone;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtUsername;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIDataGridView dgvData;
}
}
@@ -0,0 +1,91 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Account;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.User
{
public partial class Select : UIEditForm
{
private readonly IUserService _userService;
public Select()
{
InitializeComponent();
_userService = ServiceHelper.GetService<IUserService>();
InitializeControl();
}
public IEnumerable<UserDto> Users { get; set; }
private void InitializeControl()
{
txtUsername.Tag = @"{""Field"":""Username"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
txtPhone.Tag = @"{""Field"":""Phone"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "帐号", DataPropertyName = "UserName", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "姓名", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "电话", DataPropertyName = "Phone", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "邮箱", DataPropertyName = "Mail", ReadOnly = true, Visible = true },
new DataGridViewCheckBoxColumn() { HeaderText = "是否启用", DataPropertyName = "IsEnable", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private async void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = await _userService.ToPageAsync(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtUsername.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.User = dgvData.SelectedRows[0].DataBoundItem as UserDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private void btnOk_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
Users = dgvData.SelectedRows.Cast<DataGridViewRow>().Select(r => r.DataBoundItem as UserDto);
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>55</value>
</metadata>
</root>
@@ -0,0 +1,226 @@

namespace FASS.App.Areas.Account.Forms.UserLog
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtController = new Sunny.UI.UITextBox();
this.txtUsername = new Sunny.UI.UITextBox();
this.txtAction = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 5;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 4;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(293, 198);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "用户";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(293, 238);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "菜单路径";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtController
//
this.txtController.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtController.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtController.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtController.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtController.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtController.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtController.ButtonSymbol = 61761;
this.txtController.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtController.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtController.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtController.Location = new System.Drawing.Point(423, 238);
this.txtController.Margin = new System.Windows.Forms.Padding(5);
this.txtController.MaxLength = 50;
this.txtController.MinimumSize = new System.Drawing.Size(1, 1);
this.txtController.Name = "txtController";
this.txtController.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtController.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtController.Size = new System.Drawing.Size(240, 30);
this.txtController.Style = Sunny.UI.UIStyle.Purple;
this.txtController.TabIndex = 2;
this.txtController.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtUsername
//
this.txtUsername.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtUsername.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtUsername.ButtonSymbol = 61761;
this.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUsername.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtUsername.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtUsername.Location = new System.Drawing.Point(423, 198);
this.txtUsername.Margin = new System.Windows.Forms.Padding(5);
this.txtUsername.MaxLength = 50;
this.txtUsername.MinimumSize = new System.Drawing.Size(1, 1);
this.txtUsername.Name = "txtUsername";
this.txtUsername.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtUsername.Size = new System.Drawing.Size(240, 30);
this.txtUsername.Style = Sunny.UI.UIStyle.Purple;
this.txtUsername.TabIndex = 1;
this.txtUsername.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtAction
//
this.txtAction.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAction.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtAction.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtAction.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAction.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtAction.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtAction.ButtonSymbol = 61761;
this.txtAction.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtAction.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtAction.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtAction.Location = new System.Drawing.Point(423, 278);
this.txtAction.Margin = new System.Windows.Forms.Padding(5);
this.txtAction.MaxLength = 50;
this.txtAction.MinimumSize = new System.Drawing.Size(1, 1);
this.txtAction.Name = "txtAction";
this.txtAction.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAction.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAction.Size = new System.Drawing.Size(240, 30);
this.txtAction.Style = Sunny.UI.UIStyle.Purple;
this.txtAction.TabIndex = 3;
this.txtAction.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(293, 278);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 6;
this.uiLabel3.Text = "菜单名称";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtAction);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.txtUsername);
this.Controls.Add(this.txtController);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtController, 0);
this.Controls.SetChildIndex(this.txtUsername, 0);
this.Controls.SetChildIndex(this.uiLabel3, 0);
this.Controls.SetChildIndex(this.txtAction, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtController;
private Sunny.UI.UITextBox txtUsername;
private Sunny.UI.UITextBox txtAction;
private Sunny.UI.UILabel uiLabel3;
}
}
@@ -0,0 +1,47 @@
using Common.Frame.Dtos.Account;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.UserLog
{
public partial class Detail : UIEditForm
{
private UserLogDto _userLog;
public UserLogDto UserLog
{
get
{
if (_userLog == null)
{
_userLog = new UserLogDto();
}
_userLog.Username = txtUsername.Text.Trim();
_userLog.Controller = txtController.Text.Trim();
_userLog.Action = txtAction.Text.Trim();
return _userLog;
}
set
{
_userLog = value;
txtUsername.Text = _userLog.Username;
txtController.Text = _userLog.Controller;
txtAction.Text = _userLog.Action;
}
}
protected override bool CheckData()
{
return false;
}
public Detail()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,519 @@

namespace FASS.App.Areas.Account.Forms.UserLog
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnRemoveW1 = new Sunny.UI.UIButton();
this.btnRemoveM1 = new Sunny.UI.UIButton();
this.btnRemoveM3 = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
this.dpEndTime = new Sunny.UI.UIDatePicker();
this.uiLabel2 = new Sunny.UI.UILabel();
this.dpStartTime = new Sunny.UI.UIDatePicker();
this.btnRemoveAll = new Sunny.UI.UIButton();
this.btnExport = new Sunny.UI.UIButton();
this.btnRemoveD1 = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(90, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "开始时间";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 12;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 13;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(115, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 7;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnRemoveW1
//
this.btnRemoveW1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveW1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveW1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveW1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveW1.Location = new System.Drawing.Point(1175, 140);
this.btnRemoveW1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveW1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveW1.Name = "btnRemoveW1";
this.btnRemoveW1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveW1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveW1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveW1.StyleCustomMode = true;
this.btnRemoveW1.TabIndex = 8;
this.btnRemoveW1.Text = "保留近一周";
this.btnRemoveW1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveW1.Click += new System.EventHandler(this.btnRemoveW1_Click);
//
// btnRemoveM1
//
this.btnRemoveM1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveM1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveM1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveM1.Location = new System.Drawing.Point(1065, 140);
this.btnRemoveM1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveM1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveM1.Name = "btnRemoveM1";
this.btnRemoveM1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveM1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveM1.StyleCustomMode = true;
this.btnRemoveM1.TabIndex = 9;
this.btnRemoveM1.Text = "保留近一月";
this.btnRemoveM1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveM1.Click += new System.EventHandler(this.btnRemoveM1_Click);
//
// btnRemoveM3
//
this.btnRemoveM3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveM3.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveM3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveM3.Location = new System.Drawing.Point(955, 140);
this.btnRemoveM3.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveM3.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveM3.Name = "btnRemoveM3";
this.btnRemoveM3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.Size = new System.Drawing.Size(100, 30);
this.btnRemoveM3.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveM3.StyleCustomMode = true;
this.btnRemoveM3.TabIndex = 10;
this.btnRemoveM3.Text = "保留近三月";
this.btnRemoveM3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveM3.Click += new System.EventHandler(this.btnRemoveM3_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.dpEndTime);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.dpStartTime);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dpEndTime
//
this.dpEndTime.FillColor = System.Drawing.Color.White;
this.dpEndTime.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dpEndTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dpEndTime.Location = new System.Drawing.Point(417, 45);
this.dpEndTime.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.dpEndTime.MaxLength = 10;
this.dpEndTime.MinimumSize = new System.Drawing.Size(63, 0);
this.dpEndTime.Name = "dpEndTime";
this.dpEndTime.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dpEndTime.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dpEndTime.Size = new System.Drawing.Size(200, 30);
this.dpEndTime.Style = Sunny.UI.UIStyle.Purple;
this.dpEndTime.SymbolDropDown = 61555;
this.dpEndTime.SymbolNormal = 61555;
this.dpEndTime.TabIndex = 3;
this.dpEndTime.Text = "2021-11-25";
this.dpEndTime.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dpEndTime.Value = new System.DateTime(2021, 11, 25, 23, 12, 49, 245);
this.dpEndTime.Watermark = "";
this.dpEndTime.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(318, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(90, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 41;
this.uiLabel2.Text = "结束时间";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dpStartTime
//
this.dpStartTime.FillColor = System.Drawing.Color.White;
this.dpStartTime.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dpStartTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dpStartTime.Location = new System.Drawing.Point(109, 45);
this.dpStartTime.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.dpStartTime.MaxLength = 10;
this.dpStartTime.MinimumSize = new System.Drawing.Size(63, 0);
this.dpStartTime.Name = "dpStartTime";
this.dpStartTime.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dpStartTime.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dpStartTime.Size = new System.Drawing.Size(200, 30);
this.dpStartTime.Style = Sunny.UI.UIStyle.Purple;
this.dpStartTime.SymbolDropDown = 61555;
this.dpStartTime.SymbolNormal = 61555;
this.dpStartTime.TabIndex = 2;
this.dpStartTime.Text = "2021-11-25";
this.dpStartTime.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dpStartTime.Value = new System.DateTime(2021, 11, 25, 23, 12, 49, 245);
this.dpStartTime.Watermark = "";
this.dpStartTime.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnRemoveAll
//
this.btnRemoveAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveAll.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveAll.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveAll.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveAll.Location = new System.Drawing.Point(1395, 140);
this.btnRemoveAll.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveAll.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveAll.Name = "btnRemoveAll";
this.btnRemoveAll.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveAll.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.Size = new System.Drawing.Size(100, 30);
this.btnRemoveAll.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveAll.StyleCustomMode = true;
this.btnRemoveAll.TabIndex = 11;
this.btnRemoveAll.Text = "清除全部";
this.btnRemoveAll.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveAll.Click += new System.EventHandler(this.btnRemoveAll_Click);
//
// btnExport
//
this.btnExport.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnExport.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnExport.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnExport.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnExport.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnExport.Location = new System.Drawing.Point(5, 140);
this.btnExport.Margin = new System.Windows.Forms.Padding(5);
this.btnExport.MinimumSize = new System.Drawing.Size(1, 1);
this.btnExport.Name = "btnExport";
this.btnExport.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnExport.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnExport.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.Size = new System.Drawing.Size(100, 30);
this.btnExport.Style = Sunny.UI.UIStyle.Purple;
this.btnExport.TabIndex = 6;
this.btnExport.Text = "导出";
this.btnExport.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
//
// btnRemoveD1
//
this.btnRemoveD1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveD1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveD1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveD1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveD1.Location = new System.Drawing.Point(1285, 140);
this.btnRemoveD1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveD1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveD1.Name = "btnRemoveD1";
this.btnRemoveD1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveD1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveD1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveD1.StyleCustomMode = true;
this.btnRemoveD1.TabIndex = 18;
this.btnRemoveD1.Text = "保留近一天";
this.btnRemoveD1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveD1.Click += new System.EventHandler(this.btnRemoveD1_Click);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnRemoveD1);
this.Controls.Add(this.btnExport);
this.Controls.Add(this.btnRemoveAll);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnRemoveM3);
this.Controls.Add(this.btnRemoveM1);
this.Controls.Add(this.btnRemoveW1);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 361788;
this.Text = "用户日志";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnRemoveW1;
private Sunny.UI.UIButton btnRemoveM1;
private Sunny.UI.UIButton btnRemoveM3;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
private Sunny.UI.UIDatePicker dpStartTime;
private Sunny.UI.UIDatePicker dpEndTime;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnRemoveAll;
private Sunny.UI.UIButton btnExport;
private Sunny.UI.UIButton btnRemoveD1;
}
}
@@ -0,0 +1,158 @@
using Common.Frame.Dtos.Account;
using Common.Frame.Services.Account;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Account.Forms.UserLog
{
public partial class Index : UIPage
{
private readonly IUserLogService _userLogService;
public Index()
{
InitializeComponent();
_userLogService = ServiceHelper.GetService<IUserLogService>();
InitializeControl();
}
private void InitializeControl()
{
dpStartTime.Tag = @"{""Field"":""CreateAt"",""Operator"":""GreaterEqual""}";
dpEndTime.Tag = @"{""Field"":""CreateAt"",""Operator"":""LessEqual""}";
dpStartTime.Value = DateTime.Now;
dpEndTime.Value = dpStartTime.Value.AddDays(1);
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "用户", DataPropertyName = "Username", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "菜单路径", DataPropertyName = "Controller", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "菜单名称", DataPropertyName = "Action", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", Name="CreateAt", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
dgvData.Columns["CreateAt"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = _userLogService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
dpStartTime.Value = DateTime.Now;
dpEndTime.Value = dpStartTime.Value.AddDays(1);
dataQuery();
}
private void btnExport_Click(object sender, EventArgs e)
{
var page = Pager.GetPage(palQuery, pagData);
var data = _userLogService.GetPage(page);
var saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = @"CSV文件 (*.csv)|*.csv";
if (saveFileDialog.ShowDialog() == DialogResult.Cancel)
{
return;
}
var csvContent = data.Select(e => new
{
e.Username,
e.Controller,
e.Action,
e.CreateAt
});
var csvColumn = "用户,菜单路径,菜单名称,创建时间";
var csvString = CsvHelper.ListToCsv(csvContent, csvColumn);
File.WriteAllText(saveFileDialog.FileName, csvString, System.Text.Encoding.UTF8);
ShowInfoNotifier("保存成功");
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.UserLog = dgvData.SelectedRows[0].DataBoundItem as UserLogDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnRemoveD1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _userLogService.RemoveD1Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveW1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _userLogService.RemoveW1Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveM1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _userLogService.RemoveM1Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveM3_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _userLogService.RemoveM3Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveAll_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _userLogService.RemoveAllAsync();
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,182 @@

namespace FASS.App.Areas.Data.Forms.Area
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtCode = new Sunny.UI.UITextBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 4;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 3;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(293, 198);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(293, 238);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(423, 238);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 2;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(423, 198);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.Size = new System.Drawing.Size(240, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 1;
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtCode);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.txtCode, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtCode;
}
}
@@ -0,0 +1,45 @@
using FASS.Service.Dtos.Agv;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Area
{
public partial class Detail : UIEditForm
{
private AreaDto _area;
public AreaDto Area
{
get
{
if (_area == null)
{
_area = new AreaDto();
}
_area.Code = txtCode.Text.Trim();
_area.Name = txtName.Text.Trim();
return _area;
}
set
{
_area = value;
txtCode.Text = _area.Code;
txtName.Text = _area.Name;
}
}
protected override bool CheckData()
{
return CheckEmpty(txtCode, "请输入编码");
}
public Detail()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
+438
View File
@@ -0,0 +1,438 @@

namespace FASS.App.Areas.Data.Forms.Area
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtCode = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(360, 45);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(80, 45);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ShowText = false;
this.txtCode.Size = new System.Drawing.Size(200, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 2;
this.txtCode.Tag = "";
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtCode.Watermark = "";
this.txtCode.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 12;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 13;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 6;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 7;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 8;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtCode);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 361672;
this.Text = "区域管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
}
}
@@ -0,0 +1,122 @@
using Common.Utility.Helper;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Area
{
public partial class Index : UIPage
{
private readonly IAreaService _areaService;
public Index()
{
InitializeComponent();
_areaService = ServiceHelper.GetService<IAreaService>();
InitializeControl();
}
private void InitializeControl()
{
txtCode.Tag = @"{""Field"":""Code"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "编码", DataPropertyName = "Code", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "名称", DataPropertyName = "Name", ReadOnly = true, Visible = true },
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = _areaService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtCode.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Area = dgvData.SelectedRows[0].DataBoundItem as AreaDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
_areaService.Add(form.Area);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Area = dgvData.SelectedRows[0].DataBoundItem as AreaDto;
form.ShowDialog();
if (form.IsOK)
{
_areaService.Update(form.Area);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as AreaDto;
_areaService.Remove(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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>
+517
View File
@@ -0,0 +1,517 @@

namespace FASS.App.Areas.Data.Forms.Car
{
partial class Detail
{
/// <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()
{
this.uiLabel6 = new Sunny.UI.UILabel();
this.cmbNextNode = new Sunny.UI.UIComboBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.cmbPrevNode = new Sunny.UI.UIComboBox();
this.uiLabel10 = new Sunny.UI.UILabel();
this.cmbDirectionType = new Sunny.UI.UIComboBox();
this.uiLabel9 = new Sunny.UI.UILabel();
this.cmbCurrentNode = new Sunny.UI.UIComboBox();
this.uiLabel7 = new Sunny.UI.UILabel();
this.chkIsEnable = new Sunny.UI.UICheckBox();
this.txtPort = new Sunny.UI.UITextBox();
this.uiLabel8 = new Sunny.UI.UILabel();
this.cmbArea = new Sunny.UI.UIComboBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtIpAddress = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel1 = new Sunny.UI.UILabel();
this.txtCode = new Sunny.UI.UITextBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 12;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 11;
//
// uiLabel6
//
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(295, 195);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 71;
this.uiLabel6.Text = "后置地标";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbNextNode
//
this.cmbNextNode.DataSource = null;
this.cmbNextNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbNextNode.FillColor = System.Drawing.Color.White;
this.cmbNextNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbNextNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbNextNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbNextNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbNextNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbNextNode.Location = new System.Drawing.Point(425, 195);
this.cmbNextNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbNextNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbNextNode.Name = "cmbNextNode";
this.cmbNextNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbNextNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbNextNode.Size = new System.Drawing.Size(240, 30);
this.cmbNextNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbNextNode.TabIndex = 4;
this.cmbNextNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(295, 115);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 69;
this.uiLabel5.Text = "前置地标";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbPrevNode
//
this.cmbPrevNode.DataSource = null;
this.cmbPrevNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbPrevNode.FillColor = System.Drawing.Color.White;
this.cmbPrevNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbPrevNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbPrevNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbPrevNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbPrevNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbPrevNode.Location = new System.Drawing.Point(425, 115);
this.cmbPrevNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbPrevNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbPrevNode.Name = "cmbPrevNode";
this.cmbPrevNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbPrevNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbPrevNode.Size = new System.Drawing.Size(240, 30);
this.cmbPrevNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbPrevNode.TabIndex = 2;
this.cmbPrevNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel10
//
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel10.Location = new System.Drawing.Point(295, 395);
this.uiLabel10.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(120, 30);
this.uiLabel10.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel10.TabIndex = 67;
this.uiLabel10.Text = "方向类型";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbDirectionType
//
this.cmbDirectionType.DataSource = null;
this.cmbDirectionType.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbDirectionType.FillColor = System.Drawing.Color.White;
this.cmbDirectionType.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbDirectionType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbDirectionType.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbDirectionType.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbDirectionType.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbDirectionType.Location = new System.Drawing.Point(425, 395);
this.cmbDirectionType.Margin = new System.Windows.Forms.Padding(5);
this.cmbDirectionType.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbDirectionType.Name = "cmbDirectionType";
this.cmbDirectionType.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbDirectionType.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbDirectionType.Size = new System.Drawing.Size(240, 30);
this.cmbDirectionType.Style = Sunny.UI.UIStyle.Purple;
this.cmbDirectionType.TabIndex = 9;
this.cmbDirectionType.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel9
//
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel9.Location = new System.Drawing.Point(295, 155);
this.uiLabel9.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(120, 30);
this.uiLabel9.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel9.TabIndex = 65;
this.uiLabel9.Text = "当前地标";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbCurrentNode
//
this.cmbCurrentNode.DataSource = null;
this.cmbCurrentNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbCurrentNode.FillColor = System.Drawing.Color.White;
this.cmbCurrentNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbCurrentNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbCurrentNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbCurrentNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbCurrentNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbCurrentNode.Location = new System.Drawing.Point(425, 155);
this.cmbCurrentNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbCurrentNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbCurrentNode.Name = "cmbCurrentNode";
this.cmbCurrentNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbCurrentNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbCurrentNode.Size = new System.Drawing.Size(240, 30);
this.cmbCurrentNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbCurrentNode.TabIndex = 3;
this.cmbCurrentNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel7
//
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel7.Location = new System.Drawing.Point(295, 435);
this.uiLabel7.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(120, 30);
this.uiLabel7.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel7.TabIndex = 63;
this.uiLabel7.Text = "有效性";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// chkIsEnable
//
this.chkIsEnable.CheckBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.chkIsEnable.Checked = true;
this.chkIsEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.chkIsEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkIsEnable.Location = new System.Drawing.Point(425, 435);
this.chkIsEnable.Margin = new System.Windows.Forms.Padding(5);
this.chkIsEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.chkIsEnable.Name = "chkIsEnable";
this.chkIsEnable.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.chkIsEnable.Size = new System.Drawing.Size(240, 30);
this.chkIsEnable.Style = Sunny.UI.UIStyle.Purple;
this.chkIsEnable.TabIndex = 10;
this.chkIsEnable.Text = "是否启用";
//
// txtPort
//
this.txtPort.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPort.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPort.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPort.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPort.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPort.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPort.ButtonSymbol = 61761;
this.txtPort.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPort.DoubleValue = 10000D;
this.txtPort.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPort.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPort.IntValue = 10000;
this.txtPort.Location = new System.Drawing.Point(425, 275);
this.txtPort.Margin = new System.Windows.Forms.Padding(5);
this.txtPort.Maximum = 65535D;
this.txtPort.MaxLength = 50;
this.txtPort.Minimum = 1D;
this.txtPort.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPort.Name = "txtPort";
this.txtPort.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPort.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPort.Size = new System.Drawing.Size(240, 30);
this.txtPort.Style = Sunny.UI.UIStyle.Purple;
this.txtPort.TabIndex = 6;
this.txtPort.Text = "10000";
this.txtPort.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtPort.Type = Sunny.UI.UITextBox.UIEditType.Integer;
//
// uiLabel8
//
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel8.Location = new System.Drawing.Point(295, 275);
this.uiLabel8.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(120, 30);
this.uiLabel8.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel8.TabIndex = 60;
this.uiLabel8.Text = "端口";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbArea
//
this.cmbArea.DataSource = null;
this.cmbArea.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbArea.FillColor = System.Drawing.Color.White;
this.cmbArea.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbArea.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbArea.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbArea.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbArea.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbArea.Location = new System.Drawing.Point(425, 75);
this.cmbArea.Margin = new System.Windows.Forms.Padding(5);
this.cmbArea.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbArea.Name = "cmbArea";
this.cmbArea.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbArea.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbArea.Size = new System.Drawing.Size(240, 30);
this.cmbArea.Style = Sunny.UI.UIStyle.Purple;
this.cmbArea.TabIndex = 1;
this.cmbArea.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(295, 75);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 57;
this.uiLabel4.Text = "所属区域";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtIpAddress
//
this.txtIpAddress.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIpAddress.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtIpAddress.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtIpAddress.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIpAddress.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtIpAddress.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtIpAddress.ButtonSymbol = 61761;
this.txtIpAddress.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtIpAddress.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtIpAddress.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtIpAddress.Location = new System.Drawing.Point(425, 235);
this.txtIpAddress.Margin = new System.Windows.Forms.Padding(5);
this.txtIpAddress.MaxLength = 50;
this.txtIpAddress.MinimumSize = new System.Drawing.Size(1, 1);
this.txtIpAddress.Name = "txtIpAddress";
this.txtIpAddress.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIpAddress.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtIpAddress.Size = new System.Drawing.Size(240, 30);
this.txtIpAddress.Style = Sunny.UI.UIStyle.Purple;
this.txtIpAddress.TabIndex = 5;
this.txtIpAddress.Text = "127.0.0.1";
this.txtIpAddress.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(295, 235);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 55;
this.uiLabel3.Text = "IP地址";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(425, 355);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 8;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(295, 355);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 53;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(295, 315);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 52;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(425, 315);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.Size = new System.Drawing.Size(240, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 7;
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtCode);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.cmbNextNode);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.cmbPrevNode);
this.Controls.Add(this.uiLabel10);
this.Controls.Add(this.cmbDirectionType);
this.Controls.Add(this.uiLabel9);
this.Controls.Add(this.cmbCurrentNode);
this.Controls.Add(this.uiLabel7);
this.Controls.Add(this.chkIsEnable);
this.Controls.Add(this.txtPort);
this.Controls.Add(this.uiLabel8);
this.Controls.Add(this.cmbArea);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.txtIpAddress);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.uiLabel3, 0);
this.Controls.SetChildIndex(this.txtIpAddress, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.cmbArea, 0);
this.Controls.SetChildIndex(this.uiLabel8, 0);
this.Controls.SetChildIndex(this.txtPort, 0);
this.Controls.SetChildIndex(this.chkIsEnable, 0);
this.Controls.SetChildIndex(this.uiLabel7, 0);
this.Controls.SetChildIndex(this.cmbCurrentNode, 0);
this.Controls.SetChildIndex(this.uiLabel9, 0);
this.Controls.SetChildIndex(this.cmbDirectionType, 0);
this.Controls.SetChildIndex(this.uiLabel10, 0);
this.Controls.SetChildIndex(this.cmbPrevNode, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.cmbNextNode, 0);
this.Controls.SetChildIndex(this.uiLabel6, 0);
this.Controls.SetChildIndex(this.txtCode, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel6;
private Sunny.UI.UIComboBox cmbNextNode;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UIComboBox cmbPrevNode;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UIComboBox cmbDirectionType;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UIComboBox cmbCurrentNode;
private Sunny.UI.UILabel uiLabel7;
private Sunny.UI.UICheckBox chkIsEnable;
private Sunny.UI.UITextBox txtPort;
private Sunny.UI.UILabel uiLabel8;
private Sunny.UI.UIComboBox cmbArea;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UITextBox txtIpAddress;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITextBox txtCode;
}
}
@@ -0,0 +1,123 @@
using Common.Frame.Dtos.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Models;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Car
{
public partial class Detail : UIEditForm
{
private readonly IDistributedCache _distributedCache;
private List<DictItemDto> _dictItemDtos;
private readonly IAreaService _areaService;
private readonly INodeService _nodeService;
private CarDto _car;
public CarDto Car
{
get
{
if (_car == null)
{
_car = new CarDto();
}
_car.AreaId = cmbArea.SelectedValue.ToString();
_car.PrevNodeId = cmbPrevNode.SelectedValue?.ToString();
_car.CurrentNodeId = cmbCurrentNode.SelectedValue?.ToString();
_car.NextNodeId = cmbNextNode.SelectedValue?.ToString();
_car.IpAddress = txtIpAddress.Text.Trim();
_car.Port = txtPort.IntValue;
_car.Code = txtCode.Text.Trim();
_car.Name = txtName.Text.Trim();
_car.DirectionType = cmbDirectionType.SelectedValue.ToString();
_car.IsEnable = chkIsEnable.Checked;
return _car;
}
set
{
_car = value;
cmbArea.SelectedValue = _car.AreaId;
if (_car.PrevNodeId != null)
{
cmbPrevNode.SelectedValue = _car.PrevNodeId;
}
else
{
cmbPrevNode.SelectedIndex = 0;
}
if (_car.CurrentNodeId != null)
{
cmbCurrentNode.SelectedValue = _car.CurrentNodeId;
}
else
{
cmbCurrentNode.SelectedIndex = 0;
}
if (_car.NextNodeId != null)
{
cmbNextNode.SelectedValue = _car.NextNodeId;
}
else
{
cmbNextNode.SelectedIndex = 0;
}
txtIpAddress.Text = _car.IpAddress;
txtPort.IntValue = _car.Port;
txtCode.Text = _car.Code;
txtName.Text = _car.Name;
cmbDirectionType.SelectedValue = _car.DirectionType;
chkIsEnable.Checked = _car.IsEnable;
}
}
protected override bool CheckData()
{
return CheckEmpty(cmbArea, "请选择所属线体")
&& CheckEmpty(txtIpAddress, "请输入IP地址")
&& NetHelper.IsValidIpAddress(txtIpAddress.Text.Trim())
&& CheckRange(txtPort, 1, 65535, "端口有效范围[1-65535]")
&& CheckEmpty(txtCode, "请输入编码")
&& CheckRange(txtCode, 1, 65535, "编码有效范围[1-65535]");
}
public Detail()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_areaService = ServiceHelper.GetService<IAreaService>();
_nodeService = ServiceHelper.GetService<INodeService>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
cmbArea.ValueMember = "Id";
cmbArea.DisplayMember = "Code";
cmbArea.DataSource = _areaService.ToList(e => true).OrderBy(e => e.CreateAt).Select(e => new ComBoBoxItem { Id = e.Id, Code = e.Code }).ToList();
cmbPrevNode.ValueMember = "Id";
cmbPrevNode.DisplayMember = "Code";
cmbPrevNode.DataSource = _nodeService.ToList(e => true).Select(e => new ComBoBoxItem { Id = e.Id, Code = e.Code }).Prepend(new ComBoBoxItem { Code = "无" }).ToList();
cmbCurrentNode.ValueMember = "Id";
cmbCurrentNode.DisplayMember = "Code";
cmbCurrentNode.DataSource = _nodeService.ToList(e => true).Select(e => new ComBoBoxItem { Id = e.Id, Code = e.Code }).Prepend(new ComBoBoxItem { Code = "无" }).ToList();
cmbNextNode.ValueMember = "Id";
cmbNextNode.DisplayMember = "Code";
cmbNextNode.DataSource = _nodeService.ToList(e => true).Select(e => new ComBoBoxItem { Id = e.Id, Code = e.Code }).Prepend(new ComBoBoxItem { Code = "无" }).ToList();
cmbDirectionType.ValueMember = "Id";
cmbDirectionType.DisplayMember = "Code";
cmbDirectionType.DataSource = _dictItemDtos.Where(e => e.DictCode == "CarDirectionType").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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>
+492
View File
@@ -0,0 +1,492 @@

namespace FASS.App.Areas.Data.Forms.Car
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtCode = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
this.btnDisable = new Sunny.UI.UIButton();
this.btnEnable = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(360, 45);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(80, 45);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ShowText = false;
this.txtCode.Size = new System.Drawing.Size(200, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 2;
this.txtCode.Tag = "";
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtCode.Watermark = "";
this.txtCode.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 12;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 13;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 6;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 7;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 8;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtCode);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDisable
//
this.btnDisable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDisable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDisable.Location = new System.Drawing.Point(555, 140);
this.btnDisable.Margin = new System.Windows.Forms.Padding(5);
this.btnDisable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDisable.Name = "btnDisable";
this.btnDisable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDisable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDisable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDisable.Size = new System.Drawing.Size(100, 30);
this.btnDisable.Style = Sunny.UI.UIStyle.Purple;
this.btnDisable.TabIndex = 11;
this.btnDisable.Text = "禁用";
this.btnDisable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDisable.Click += new System.EventHandler(this.btnDisable_Click);
//
// btnEnable
//
this.btnEnable.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEnable.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnEnable.Location = new System.Drawing.Point(445, 140);
this.btnEnable.Margin = new System.Windows.Forms.Padding(5);
this.btnEnable.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEnable.Name = "btnEnable";
this.btnEnable.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnEnable.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnEnable.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnEnable.Size = new System.Drawing.Size(100, 30);
this.btnEnable.Style = Sunny.UI.UIStyle.Purple;
this.btnEnable.TabIndex = 10;
this.btnEnable.Text = "启用";
this.btnEnable.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnEnable.Click += new System.EventHandler(this.btnEnable_Click);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnDisable);
this.Controls.Add(this.btnEnable);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 362463;
this.Text = "车辆管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
private Sunny.UI.UIButton btnDisable;
private Sunny.UI.UIButton btnEnable;
}
}
@@ -0,0 +1,187 @@
using Common.Frame.Dtos.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Car
{
public partial class Index : UIPage
{
private readonly IDistributedCache _distributedCache;
private List<DictItemDto> _dictItemDtos;
private readonly ICarService _carService;
public Index()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_carService = ServiceHelper.GetService<ICarService>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
txtCode.Tag = @"{""Field"":""Code"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "所属区域", DataPropertyName = "AreaCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "前置地标", DataPropertyName = "PrevNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "当前地标", DataPropertyName = "CurrentNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "后置地标", DataPropertyName = "NextNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "IP地址", DataPropertyName = "IpAddress", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "端口", DataPropertyName = "Port", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "编码", DataPropertyName = "Code", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "名称", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "方向类型", DataPropertyName = "DirectionType", ReadOnly = true, Visible = true },
new DataGridViewCheckBoxColumn() { HeaderText = "是否启用", DataPropertyName = "IsEnable", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
dgvData.CellFormatting += DgvData_CellFormatting;
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void DgvData_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (e.ColumnIndex == dgvData.Columns.Cast<DataGridViewColumn>().Where(e => e.DataPropertyName == "DirectionType").FirstOrDefault()?.Index)
{
e.Value = _dictItemDtos.Where(x => x.DictCode == "CarDirectionType").FirstOrDefault(x => x.Code == e.Value?.ToString())?.Name ?? "未知";
}
}
private void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData, null);
var data = _carService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtCode.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Car = dgvData.SelectedRows[0].DataBoundItem as CarDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
_carService.Add(form.Car);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Car = dgvData.SelectedRows[0].DataBoundItem as CarDto;
form.ShowDialog();
if (form.IsOK)
{
_carService.Update(form.Car);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as CarDto;
_carService.Remove(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private void btnEnable_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as CarDto;
_carService.Enable(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
private void btnDisable_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as CarDto;
_carService.Disable(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,478 @@

namespace FASS.App.Areas.Data.Forms.Line
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.cmbFromNode = new Sunny.UI.UIComboBox();
this.txtCode = new Sunny.UI.UITextBox();
this.cmbToNode = new Sunny.UI.UIComboBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.uiLabel6 = new Sunny.UI.UILabel();
this.txtSpeed = new Sunny.UI.UITextBox();
this.uiLabel8 = new Sunny.UI.UILabel();
this.txtAngle = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.uiLabel7 = new Sunny.UI.UILabel();
this.cmbDirectionType = new Sunny.UI.UIComboBox();
this.uiLabel9 = new Sunny.UI.UILabel();
this.cmbTurnType = new Sunny.UI.UIComboBox();
this.uiLabel12 = new Sunny.UI.UILabel();
this.chkIsSingle = new Sunny.UI.UICheckBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 11;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 10;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(101, 192);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(101, 232);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(231, 232);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 4;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbFromNode
//
this.cmbFromNode.DataSource = null;
this.cmbFromNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbFromNode.FillColor = System.Drawing.Color.White;
this.cmbFromNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbFromNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbFromNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbFromNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbFromNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbFromNode.Location = new System.Drawing.Point(231, 112);
this.cmbFromNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbFromNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbFromNode.Name = "cmbFromNode";
this.cmbFromNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbFromNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbFromNode.Size = new System.Drawing.Size(240, 30);
this.cmbFromNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbFromNode.TabIndex = 1;
this.cmbFromNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(231, 192);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.Size = new System.Drawing.Size(240, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 3;
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbToNode
//
this.cmbToNode.DataSource = null;
this.cmbToNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbToNode.FillColor = System.Drawing.Color.White;
this.cmbToNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbToNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbToNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbToNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbToNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbToNode.Location = new System.Drawing.Point(231, 152);
this.cmbToNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbToNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbToNode.Name = "cmbToNode";
this.cmbToNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbToNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbToNode.Size = new System.Drawing.Size(240, 30);
this.cmbToNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbToNode.TabIndex = 2;
this.cmbToNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(101, 112);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 14;
this.uiLabel5.Text = "起点地标";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel6
//
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(101, 152);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 15;
this.uiLabel6.Text = "终点地标";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtSpeed
//
this.txtSpeed.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSpeed.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtSpeed.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtSpeed.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSpeed.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtSpeed.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtSpeed.ButtonSymbol = 61761;
this.txtSpeed.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtSpeed.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtSpeed.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtSpeed.Location = new System.Drawing.Point(611, 112);
this.txtSpeed.Margin = new System.Windows.Forms.Padding(5);
this.txtSpeed.Maximum = 65535D;
this.txtSpeed.MaxLength = 50;
this.txtSpeed.Minimum = 0D;
this.txtSpeed.MinimumSize = new System.Drawing.Size(1, 1);
this.txtSpeed.Name = "txtSpeed";
this.txtSpeed.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSpeed.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtSpeed.Size = new System.Drawing.Size(240, 30);
this.txtSpeed.Style = Sunny.UI.UIStyle.Purple;
this.txtSpeed.TabIndex = 7;
this.txtSpeed.Text = "0.00";
this.txtSpeed.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtSpeed.Type = Sunny.UI.UITextBox.UIEditType.Double;
//
// uiLabel8
//
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel8.Location = new System.Drawing.Point(481, 112);
this.uiLabel8.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(120, 30);
this.uiLabel8.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel8.TabIndex = 18;
this.uiLabel8.Text = "速度";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtAngle
//
this.txtAngle.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAngle.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtAngle.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtAngle.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAngle.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtAngle.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtAngle.ButtonSymbol = 61761;
this.txtAngle.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtAngle.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtAngle.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtAngle.Location = new System.Drawing.Point(611, 152);
this.txtAngle.Margin = new System.Windows.Forms.Padding(5);
this.txtAngle.Maximum = 65535D;
this.txtAngle.MaxLength = 50;
this.txtAngle.Minimum = 0D;
this.txtAngle.MinimumSize = new System.Drawing.Size(1, 1);
this.txtAngle.Name = "txtAngle";
this.txtAngle.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAngle.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtAngle.Size = new System.Drawing.Size(240, 30);
this.txtAngle.Style = Sunny.UI.UIStyle.Purple;
this.txtAngle.TabIndex = 8;
this.txtAngle.Text = "0.00";
this.txtAngle.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtAngle.Type = Sunny.UI.UITextBox.UIEditType.Double;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(481, 152);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 22;
this.uiLabel4.Text = "角度";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel7
//
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel7.Location = new System.Drawing.Point(101, 272);
this.uiLabel7.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(120, 30);
this.uiLabel7.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel7.TabIndex = 25;
this.uiLabel7.Text = "方向类型";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbDirectionType
//
this.cmbDirectionType.DataSource = null;
this.cmbDirectionType.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbDirectionType.FillColor = System.Drawing.Color.White;
this.cmbDirectionType.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbDirectionType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbDirectionType.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbDirectionType.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbDirectionType.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbDirectionType.Location = new System.Drawing.Point(231, 272);
this.cmbDirectionType.Margin = new System.Windows.Forms.Padding(5);
this.cmbDirectionType.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbDirectionType.Name = "cmbDirectionType";
this.cmbDirectionType.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbDirectionType.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbDirectionType.Size = new System.Drawing.Size(240, 30);
this.cmbDirectionType.Style = Sunny.UI.UIStyle.Purple;
this.cmbDirectionType.TabIndex = 5;
this.cmbDirectionType.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel9
//
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel9.Location = new System.Drawing.Point(101, 312);
this.uiLabel9.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(120, 30);
this.uiLabel9.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel9.TabIndex = 27;
this.uiLabel9.Text = "转向类型";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbTurnType
//
this.cmbTurnType.DataSource = null;
this.cmbTurnType.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbTurnType.FillColor = System.Drawing.Color.White;
this.cmbTurnType.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbTurnType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbTurnType.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbTurnType.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbTurnType.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbTurnType.Location = new System.Drawing.Point(231, 312);
this.cmbTurnType.Margin = new System.Windows.Forms.Padding(5);
this.cmbTurnType.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbTurnType.Name = "cmbTurnType";
this.cmbTurnType.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbTurnType.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbTurnType.Size = new System.Drawing.Size(240, 30);
this.cmbTurnType.Style = Sunny.UI.UIStyle.Purple;
this.cmbTurnType.TabIndex = 6;
this.cmbTurnType.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel12
//
this.uiLabel12.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel12.Location = new System.Drawing.Point(481, 192);
this.uiLabel12.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel12.Name = "uiLabel12";
this.uiLabel12.Size = new System.Drawing.Size(120, 30);
this.uiLabel12.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel12.TabIndex = 33;
this.uiLabel12.Text = "单行线";
this.uiLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// chkIsSingle
//
this.chkIsSingle.CheckBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.chkIsSingle.Checked = true;
this.chkIsSingle.Cursor = System.Windows.Forms.Cursors.Hand;
this.chkIsSingle.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkIsSingle.Location = new System.Drawing.Point(611, 192);
this.chkIsSingle.Margin = new System.Windows.Forms.Padding(5);
this.chkIsSingle.MinimumSize = new System.Drawing.Size(1, 1);
this.chkIsSingle.Name = "chkIsSingle";
this.chkIsSingle.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.chkIsSingle.Size = new System.Drawing.Size(240, 30);
this.chkIsSingle.Style = Sunny.UI.UIStyle.Purple;
this.chkIsSingle.TabIndex = 9;
this.chkIsSingle.Text = "是否启用";
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.uiLabel12);
this.Controls.Add(this.chkIsSingle);
this.Controls.Add(this.uiLabel9);
this.Controls.Add(this.cmbTurnType);
this.Controls.Add(this.uiLabel7);
this.Controls.Add(this.cmbDirectionType);
this.Controls.Add(this.txtAngle);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.txtSpeed);
this.Controls.Add(this.uiLabel8);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.cmbToNode);
this.Controls.Add(this.txtCode);
this.Controls.Add(this.cmbFromNode);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.cmbFromNode, 0);
this.Controls.SetChildIndex(this.txtCode, 0);
this.Controls.SetChildIndex(this.cmbToNode, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.uiLabel6, 0);
this.Controls.SetChildIndex(this.uiLabel8, 0);
this.Controls.SetChildIndex(this.txtSpeed, 0);
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.txtAngle, 0);
this.Controls.SetChildIndex(this.cmbDirectionType, 0);
this.Controls.SetChildIndex(this.uiLabel7, 0);
this.Controls.SetChildIndex(this.cmbTurnType, 0);
this.Controls.SetChildIndex(this.uiLabel9, 0);
this.Controls.SetChildIndex(this.chkIsSingle, 0);
this.Controls.SetChildIndex(this.uiLabel12, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UIComboBox cmbFromNode;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UIComboBox cmbToNode;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UILabel uiLabel6;
private Sunny.UI.UITextBox txtSpeed;
private Sunny.UI.UILabel uiLabel8;
private Sunny.UI.UITextBox txtAngle;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UILabel uiLabel7;
private Sunny.UI.UIComboBox cmbDirectionType;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UIComboBox cmbTurnType;
private Sunny.UI.UILabel uiLabel12;
private Sunny.UI.UICheckBox chkIsSingle;
}
}
@@ -0,0 +1,107 @@
using Common.Frame.Dtos.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Models;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Line
{
public partial class Detail : UIEditForm
{
private readonly IDistributedCache _distributedCache;
private List<DictItemDto> _dictItemDtos;
private readonly INodeService _nodeService;
private LineDto _line;
public LineDto Line
{
get
{
if (_line == null)
{
_line = new LineDto();
}
_line.FromNodeId = cmbFromNode.SelectedValue.ToString();
_line.ToNodeId = cmbToNode.SelectedValue.ToString();
_line.Code = txtCode.Text.Trim();
_line.Name = txtName.Text.Trim();
_line.DirectionType = cmbDirectionType.SelectedValue.ToString();
_line.TurnType = cmbTurnType.SelectedValue.ToString();
_line.Speed = txtSpeed.DoubleValue;
_line.Angle = txtAngle.DoubleValue;
_line.IsSingle = chkIsSingle.Checked;
return _line;
}
set
{
_line = value;
cmbFromNode.SelectedValue = _line.FromNodeId;
cmbToNode.SelectedValue = _line.ToNodeId;
txtCode.Text = _line.Code;
txtName.Text = _line.Name;
if (_line.DirectionType != null)
{
cmbDirectionType.SelectedValue = _line.DirectionType;
}
else
{
cmbDirectionType.SelectedIndex = 0;
}
if (_line.TurnType != null)
{
cmbTurnType.SelectedValue = _line.TurnType;
}
else
{
cmbTurnType.SelectedIndex = 0;
}
txtSpeed.DoubleValue = _line.Speed;
txtAngle.DoubleValue = _line.Angle;
chkIsSingle.Checked = _line.IsSingle;
}
}
protected override bool CheckData()
{
return CheckEmpty(cmbFromNode, "请选择起点地标")
&& CheckEmpty(cmbToNode, "请选择终点地标")
&& CheckEmpty(txtCode, "请输入编码");
}
public Detail()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_nodeService = ServiceHelper.GetService<INodeService>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
var nodeSource = _nodeService.ToList(e => true).Select(e => new ComBoBoxItem() { Id = e.Id, Code = e.Code }).ToList();
cmbFromNode.ValueMember = "Id";
cmbFromNode.DisplayMember = "Code";
cmbFromNode.DataSource = nodeSource;
cmbToNode.ValueMember = "Id";
cmbToNode.DisplayMember = "Code";
cmbToNode.DataSource = nodeSource;
cmbDirectionType.ValueMember = "Id";
cmbDirectionType.DisplayMember = "Code";
cmbDirectionType.DataSource = _dictItemDtos.Where(e => e.DictCode == "LineDirectionType").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
cmbTurnType.ValueMember = "Id";
cmbTurnType.DisplayMember = "Code";
cmbTurnType.DataSource = _dictItemDtos.Where(e => e.DictCode == "LineTurnType").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>50</value>
</metadata>
</root>
+438
View File
@@ -0,0 +1,438 @@

namespace FASS.App.Areas.Data.Forms.Line
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtCode = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(360, 45);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(80, 45);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ShowText = false;
this.txtCode.Size = new System.Drawing.Size(200, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 2;
this.txtCode.Tag = "";
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtCode.Watermark = "";
this.txtCode.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 10;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 11;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 6;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 7;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 8;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtCode);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 362958;
this.Text = "路线管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
}
}
@@ -0,0 +1,156 @@
using Common.Frame.Dtos.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Line
{
public partial class Index : UIPage
{
private readonly IDistributedCache _distributedCache;
private List<DictItemDto> _dictItemDtos;
private readonly ILineService _lineService;
public Index()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_lineService = ServiceHelper.GetService<ILineService>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
txtCode.Tag = @"{""Field"":""Code"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "起点地标", DataPropertyName = "FromNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "终点地标", DataPropertyName = "ToNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "编码", DataPropertyName = "Code", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "名称", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "方向类型", DataPropertyName = "DirectionType", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "转向类型", DataPropertyName = "TurnType", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "速度", DataPropertyName = "Speed", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "角度", DataPropertyName = "Angle", ReadOnly = true, Visible = true },
new DataGridViewCheckBoxColumn() { HeaderText = "是否单行线", DataPropertyName = "IsSingle", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
dgvData.CellFormatting += DgvData_CellFormatting;
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void DgvData_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (e.ColumnIndex == dgvData.Columns.Cast<DataGridViewColumn>().Where(e => e.DataPropertyName == "DirectionType").FirstOrDefault()?.Index)
{
e.Value = _dictItemDtos.Where(x => x.DictCode == "LineDirectionType").FirstOrDefault(x => x.Code == e.Value?.ToString())?.Name;
}
else if (e.ColumnIndex == dgvData.Columns.Cast<DataGridViewColumn>().Where(e => e.DataPropertyName == "TurnType").FirstOrDefault()?.Index)
{
e.Value = _dictItemDtos.Where(x => x.DictCode == "LineTurnType").FirstOrDefault(x => x.Code == e.Value?.ToString())?.Name;
}
}
private void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData, null);
var data = _lineService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtCode.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Line = dgvData.SelectedRows[0].DataBoundItem as LineDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
await _lineService.AddAsync(form.Line);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Line = dgvData.SelectedRows[0].DataBoundItem as LineDto;
form.ShowDialog();
if (form.IsOK)
{
await _lineService.UpdateAsync(form.Line);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as LineDto;
await _lineService.RemoveAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,276 @@

namespace FASS.App.Areas.Data.Forms.Node
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.txtPointX = new Sunny.UI.UITextBox();
this.txtPointY = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtCode = new Sunny.UI.UITextBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 6;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 5;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(297, 184);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(297, 224);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(427, 224);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 2;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(297, 264);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 6;
this.uiLabel3.Text = "坐标(X)";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPointX
//
this.txtPointX.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointX.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPointX.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPointX.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointX.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPointX.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPointX.ButtonSymbol = 61761;
this.txtPointX.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPointX.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPointX.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPointX.Location = new System.Drawing.Point(427, 264);
this.txtPointX.Margin = new System.Windows.Forms.Padding(5);
this.txtPointX.Maximum = 99999D;
this.txtPointX.Minimum = -99999D;
this.txtPointX.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPointX.Name = "txtPointX";
this.txtPointX.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointX.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointX.Size = new System.Drawing.Size(240, 30);
this.txtPointX.Style = Sunny.UI.UIStyle.Purple;
this.txtPointX.TabIndex = 3;
this.txtPointX.Text = "0";
this.txtPointX.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtPointX.Type = Sunny.UI.UITextBox.UIEditType.Integer;
//
// txtPointY
//
this.txtPointY.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointY.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPointY.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPointY.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointY.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPointY.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPointY.ButtonSymbol = 61761;
this.txtPointY.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPointY.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPointY.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPointY.Location = new System.Drawing.Point(427, 304);
this.txtPointY.Margin = new System.Windows.Forms.Padding(5);
this.txtPointY.Maximum = 99999D;
this.txtPointY.Minimum = -99999D;
this.txtPointY.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPointY.Name = "txtPointY";
this.txtPointY.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointY.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPointY.Size = new System.Drawing.Size(240, 30);
this.txtPointY.Style = Sunny.UI.UIStyle.Purple;
this.txtPointY.TabIndex = 4;
this.txtPointY.Text = "0";
this.txtPointY.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtPointY.Type = Sunny.UI.UITextBox.UIEditType.Integer;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(297, 304);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 12;
this.uiLabel4.Text = "坐标(Y)";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(427, 184);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.Size = new System.Drawing.Size(240, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 1;
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtCode);
this.Controls.Add(this.txtPointY);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.txtPointX);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.uiLabel3, 0);
this.Controls.SetChildIndex(this.txtPointX, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.txtPointY, 0);
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.txtCode, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UITextBox txtPointX;
private Sunny.UI.UITextBox txtPointY;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UITextBox txtCode;
}
}
@@ -0,0 +1,53 @@
using FASS.Service.Dtos.Agv;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Node
{
public partial class Detail : UIEditForm
{
private NodeDto _node;
public NodeDto Node
{
get
{
if (_node == null)
{
_node = new NodeDto();
}
_node.Code = txtCode.Text.Trim();
_node.Name = txtName.Text.Trim();
_node.PointX = txtPointX.IntValue;
_node.PointY = txtPointY.IntValue;
return _node;
}
set
{
_node = value;
txtCode.Text = _node.Code;
txtName.Text = _node.Name;
txtPointX.IntValue = Convert.ToInt32(_node.PointX);
txtPointY.IntValue = Convert.ToInt32(_node.PointY);
}
}
protected override bool CheckData()
{
return CheckEmpty(txtCode, "请输入编码")
&& CheckRange(txtCode, 1, 65535, "编码有效范围[1-65535]")
&& CheckEmpty(txtPointX, "坐标(X)")
&& CheckEmpty(txtPointY, "坐标(Y)")
;
}
public Detail()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
}
}
}
@@ -0,0 +1,60 @@
<root>
<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>
+438
View File
@@ -0,0 +1,438 @@

namespace FASS.App.Areas.Data.Forms.Node
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.txtCode = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(360, 45);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ShowText = false;
this.txtName.Size = new System.Drawing.Size(200, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 3;
this.txtName.Tag = "";
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtName.Watermark = "";
this.txtName.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(80, 45);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ShowText = false;
this.txtCode.Size = new System.Drawing.Size(200, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 2;
this.txtCode.Tag = "";
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtCode.Watermark = "";
this.txtCode.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 10;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 11;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 6;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 7;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 8;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtName);
this.palQuery.Controls.Add(this.txtCode);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 363705;
this.Text = "地标管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
}
}
@@ -0,0 +1,124 @@
using Common.Utility.Helper;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Node
{
public partial class Index : UIPage
{
private readonly INodeService _nodeService;
public Index()
{
InitializeComponent();
_nodeService = ServiceHelper.GetService<INodeService>();
InitializeControl();
}
private void InitializeControl()
{
txtCode.Tag = @"{""Field"":""Code"",""Operator"":""Contains""}";
txtName.Tag = @"{""Field"":""Name"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "编码", DataPropertyName = "Code", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "名称", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "坐标(X)", DataPropertyName = "PointX", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "坐标(Y)", DataPropertyName = "PointY", ReadOnly = true, Visible = true },
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData, null);
var data = _nodeService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtCode.Text = "";
txtName.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Node = dgvData.SelectedRows[0].DataBoundItem as NodeDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
_nodeService.Add(form.Node);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Node = dgvData.SelectedRows[0].DataBoundItem as NodeDto;
form.ShowDialog();
if (form.IsOK)
{
_nodeService.Update(form.Node);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as NodeDto;
_nodeService.Remove(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,480 @@

namespace FASS.App.Areas.Data.Forms.Task
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtName = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.txtCode = new Sunny.UI.UITextBox();
this.txtPriority = new Sunny.UI.UITextBox();
this.uiLabel8 = new Sunny.UI.UILabel();
this.cmbType = new Sunny.UI.UIComboBox();
this.cmbState = new Sunny.UI.UIComboBox();
this.uiLabel7 = new Sunny.UI.UILabel();
this.txtParam = new Sunny.UI.UITextBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.uiLabel6 = new Sunny.UI.UILabel();
this.uiLabel4 = new Sunny.UI.UILabel();
this.cmbToNode = new Sunny.UI.UIComboBox();
this.cmbFromNode = new Sunny.UI.UIComboBox();
this.uiLabel9 = new Sunny.UI.UILabel();
this.cmbCar = new Sunny.UI.UIComboBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 11;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 10;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(103, 282);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "编码";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(103, 322);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "名称";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtName
//
this.txtName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtName.ButtonSymbol = 61761;
this.txtName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtName.Location = new System.Drawing.Point(233, 322);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 50;
this.txtName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtName.Name = "txtName";
this.txtName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtName.Size = new System.Drawing.Size(240, 30);
this.txtName.Style = Sunny.UI.UIStyle.Purple;
this.txtName.TabIndex = 5;
this.txtName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(483, 162);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 6;
this.uiLabel3.Text = "类型";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCode
//
this.txtCode.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCode.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCode.ButtonSymbol = 61761;
this.txtCode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCode.Location = new System.Drawing.Point(233, 282);
this.txtCode.Margin = new System.Windows.Forms.Padding(5);
this.txtCode.MaxLength = 50;
this.txtCode.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCode.Name = "txtCode";
this.txtCode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCode.Size = new System.Drawing.Size(240, 30);
this.txtCode.Style = Sunny.UI.UIStyle.Purple;
this.txtCode.TabIndex = 4;
this.txtCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtPriority
//
this.txtPriority.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPriority.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPriority.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPriority.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPriority.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtPriority.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtPriority.ButtonSymbol = 61761;
this.txtPriority.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtPriority.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtPriority.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPriority.Location = new System.Drawing.Point(613, 242);
this.txtPriority.Margin = new System.Windows.Forms.Padding(5);
this.txtPriority.Maximum = 65535D;
this.txtPriority.MaxLength = 50;
this.txtPriority.Minimum = 0D;
this.txtPriority.MinimumSize = new System.Drawing.Size(1, 1);
this.txtPriority.Name = "txtPriority";
this.txtPriority.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPriority.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtPriority.Size = new System.Drawing.Size(240, 30);
this.txtPriority.Style = Sunny.UI.UIStyle.Purple;
this.txtPriority.TabIndex = 8;
this.txtPriority.Text = "0";
this.txtPriority.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtPriority.Type = Sunny.UI.UITextBox.UIEditType.Integer;
//
// uiLabel8
//
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel8.Location = new System.Drawing.Point(483, 242);
this.uiLabel8.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(120, 30);
this.uiLabel8.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel8.TabIndex = 18;
this.uiLabel8.Text = "优先级";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbType
//
this.cmbType.DataSource = null;
this.cmbType.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbType.FillColor = System.Drawing.Color.White;
this.cmbType.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbType.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbType.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbType.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbType.Location = new System.Drawing.Point(613, 162);
this.cmbType.Margin = new System.Windows.Forms.Padding(5);
this.cmbType.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbType.Name = "cmbType";
this.cmbType.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbType.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbType.Size = new System.Drawing.Size(240, 30);
this.cmbType.Style = Sunny.UI.UIStyle.Purple;
this.cmbType.TabIndex = 6;
this.cmbType.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbState
//
this.cmbState.DataSource = null;
this.cmbState.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbState.FillColor = System.Drawing.Color.White;
this.cmbState.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbState.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbState.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbState.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbState.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbState.Location = new System.Drawing.Point(613, 202);
this.cmbState.Margin = new System.Windows.Forms.Padding(5);
this.cmbState.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbState.Name = "cmbState";
this.cmbState.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbState.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbState.Size = new System.Drawing.Size(240, 30);
this.cmbState.Style = Sunny.UI.UIStyle.Purple;
this.cmbState.TabIndex = 7;
this.cmbState.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel7
//
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel7.Location = new System.Drawing.Point(483, 202);
this.uiLabel7.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(120, 30);
this.uiLabel7.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel7.TabIndex = 21;
this.uiLabel7.Text = "状态";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtParam
//
this.txtParam.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParam.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtParam.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtParam.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParam.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtParam.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtParam.ButtonSymbol = 61761;
this.txtParam.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtParam.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtParam.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtParam.Location = new System.Drawing.Point(613, 282);
this.txtParam.Margin = new System.Windows.Forms.Padding(5);
this.txtParam.MaxLength = 50;
this.txtParam.MinimumSize = new System.Drawing.Size(1, 1);
this.txtParam.Multiline = true;
this.txtParam.Name = "txtParam";
this.txtParam.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParam.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtParam.Size = new System.Drawing.Size(240, 70);
this.txtParam.Style = Sunny.UI.UIStyle.Purple;
this.txtParam.TabIndex = 9;
this.txtParam.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(483, 282);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 23;
this.uiLabel5.Text = "参数";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel6
//
this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel6.Location = new System.Drawing.Point(103, 242);
this.uiLabel6.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(120, 30);
this.uiLabel6.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel6.TabIndex = 28;
this.uiLabel6.Text = "终点地标";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(103, 202);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 27;
this.uiLabel4.Text = "起点地标";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbToNode
//
this.cmbToNode.DataSource = null;
this.cmbToNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbToNode.FillColor = System.Drawing.Color.White;
this.cmbToNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbToNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbToNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbToNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbToNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbToNode.Location = new System.Drawing.Point(233, 242);
this.cmbToNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbToNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbToNode.Name = "cmbToNode";
this.cmbToNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbToNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbToNode.Size = new System.Drawing.Size(240, 30);
this.cmbToNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbToNode.TabIndex = 3;
this.cmbToNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbFromNode
//
this.cmbFromNode.DataSource = null;
this.cmbFromNode.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbFromNode.FillColor = System.Drawing.Color.White;
this.cmbFromNode.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbFromNode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbFromNode.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbFromNode.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbFromNode.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbFromNode.Location = new System.Drawing.Point(233, 202);
this.cmbFromNode.Margin = new System.Windows.Forms.Padding(5);
this.cmbFromNode.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbFromNode.Name = "cmbFromNode";
this.cmbFromNode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbFromNode.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbFromNode.Size = new System.Drawing.Size(240, 30);
this.cmbFromNode.Style = Sunny.UI.UIStyle.Purple;
this.cmbFromNode.TabIndex = 2;
this.cmbFromNode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel9
//
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel9.Location = new System.Drawing.Point(103, 162);
this.uiLabel9.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(120, 30);
this.uiLabel9.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel9.TabIndex = 30;
this.uiLabel9.Text = "车辆";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cmbCar
//
this.cmbCar.DataSource = null;
this.cmbCar.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbCar.FillColor = System.Drawing.Color.White;
this.cmbCar.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbCar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbCar.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbCar.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbCar.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbCar.Location = new System.Drawing.Point(233, 162);
this.cmbCar.Margin = new System.Windows.Forms.Padding(5);
this.cmbCar.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbCar.Name = "cmbCar";
this.cmbCar.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbCar.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbCar.Size = new System.Drawing.Size(240, 30);
this.cmbCar.Style = Sunny.UI.UIStyle.Purple;
this.cmbCar.TabIndex = 1;
this.cmbCar.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.uiLabel9);
this.Controls.Add(this.cmbCar);
this.Controls.Add(this.uiLabel6);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.cmbToNode);
this.Controls.Add(this.cmbFromNode);
this.Controls.Add(this.txtParam);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.cmbState);
this.Controls.Add(this.uiLabel7);
this.Controls.Add(this.cmbType);
this.Controls.Add(this.txtPriority);
this.Controls.Add(this.uiLabel8);
this.Controls.Add(this.txtCode);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.txtName);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtName, 0);
this.Controls.SetChildIndex(this.uiLabel3, 0);
this.Controls.SetChildIndex(this.txtCode, 0);
this.Controls.SetChildIndex(this.uiLabel8, 0);
this.Controls.SetChildIndex(this.txtPriority, 0);
this.Controls.SetChildIndex(this.cmbType, 0);
this.Controls.SetChildIndex(this.uiLabel7, 0);
this.Controls.SetChildIndex(this.cmbState, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.txtParam, 0);
this.Controls.SetChildIndex(this.cmbFromNode, 0);
this.Controls.SetChildIndex(this.cmbToNode, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.uiLabel6, 0);
this.Controls.SetChildIndex(this.cmbCar, 0);
this.Controls.SetChildIndex(this.uiLabel9, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtName;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UITextBox txtCode;
private Sunny.UI.UITextBox txtPriority;
private Sunny.UI.UILabel uiLabel8;
private Sunny.UI.UIComboBox cmbType;
private Sunny.UI.UIComboBox cmbState;
private Sunny.UI.UILabel uiLabel7;
private Sunny.UI.UITextBox txtParam;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UILabel uiLabel6;
private Sunny.UI.UILabel uiLabel4;
private Sunny.UI.UIComboBox cmbToNode;
private Sunny.UI.UIComboBox cmbFromNode;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UIComboBox cmbCar;
}
}
@@ -0,0 +1,104 @@
using Common.Frame.Dtos.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Models;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Task
{
public partial class Detail : UIEditForm
{
private readonly IDistributedCache _distributedCache;
private List<DictItemDto> _dictItemDtos;
private readonly ICarService _carService;
private readonly INodeService _nodeService;
private TaskDto _task;
public TaskDto Task
{
get
{
if (_task == null)
{
_task = new TaskDto();
}
_task.CarId = cmbCar.SelectedValue.ToString();
_task.FromNodeId = cmbFromNode.SelectedValue.ToString();
_task.ToNodeId = cmbToNode.SelectedValue.ToString();
_task.Code = txtCode.Text.Trim();
_task.Name = txtName.Text.Trim();
_task.Type = cmbType.SelectedValue.ToString();
_task.State = cmbState.SelectedValue.ToString();
_task.Priority = txtPriority.IntValue;
_task.Param = txtParam.Text.Trim();
return _task;
}
set
{
_task = value;
cmbCar.SelectedValue = _task.CarId;
cmbFromNode.SelectedValue = _task.FromNodeId;
cmbToNode.SelectedValue = _task.ToNodeId;
txtCode.Text = _task.Code;
txtName.Text = _task.Name;
cmbType.SelectedValue = _task.Type;
cmbState.SelectedValue = _task.State;
txtPriority.IntValue = _task.Priority;
txtParam.Text = _task.Param;
}
}
protected override bool CheckData()
{
return CheckEmpty(cmbCar, "请选择车辆")
&& CheckEmpty(cmbFromNode, "请选择起点地标")
&& CheckEmpty(cmbToNode, "请选择终点地标")
&& CheckEmpty(txtCode, "请输入编码")
&& CheckEmpty(txtName, "请输入名称")
&& CheckEmpty(cmbType, "请选择类型")
&& CheckEmpty(cmbState, "请选择状态")
&& CheckEmpty(txtPriority, "请输入优先级");
}
public Detail()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_carService = ServiceHelper.GetService<ICarService>();
_nodeService = ServiceHelper.GetService<INodeService>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
var carSource = _carService.ToList(e => true).Select(e => new ComBoBoxItem { Id = e.Id, Code = e.Code }).ToList();
cmbCar.ValueMember = "Id";
cmbCar.DisplayMember = "Code";
cmbCar.DataSource = carSource;
var nodeSource = _nodeService.ToList(e => true).Select(e => new ComBoBoxItem() { Id = e.Id, Code = e.Code }).ToList();
cmbFromNode.ValueMember = "Id";
cmbFromNode.DisplayMember = "Code";
cmbFromNode.DataSource = nodeSource;
cmbToNode.ValueMember = "Id";
cmbToNode.DisplayMember = "Code";
cmbToNode.DataSource = nodeSource;
cmbType.ValueMember = "Id";
cmbType.DisplayMember = "Code";
cmbType.DataSource = _dictItemDtos.Where(e => e.DictCode == "TaskType").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
cmbState.ValueMember = "Id";
cmbState.DisplayMember = "Code";
cmbState.DataSource = _dictItemDtos.Where(e => e.DictCode == "TaskState").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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>
+657
View File
@@ -0,0 +1,657 @@

namespace FASS.App.Areas.Data.Forms.Task
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
this.cmbState = new Sunny.UI.UIComboBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.dtpEnd = new Sunny.UI.UIDatetimePicker();
this.dtpStart = new Sunny.UI.UIDatetimePicker();
this.cmbCar = new Sunny.UI.UIComboBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel1 = new Sunny.UI.UILabel();
this.btnRemoveAll = new Sunny.UI.UIButton();
this.btnRemoveM3 = new Sunny.UI.UIButton();
this.btnRemoveM1 = new Sunny.UI.UIButton();
this.btnRemoveW1 = new Sunny.UI.UIButton();
this.btnRemoveD1 = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 6;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 5;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 11;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 12;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 7;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 8;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 9;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 10;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.cmbState);
this.palQuery.Controls.Add(this.uiLabel4);
this.palQuery.Controls.Add(this.dtpEnd);
this.palQuery.Controls.Add(this.dtpStart);
this.palQuery.Controls.Add(this.cmbCar);
this.palQuery.Controls.Add(this.uiLabel3);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// cmbState
//
this.cmbState.DataSource = null;
this.cmbState.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbState.FillColor = System.Drawing.Color.White;
this.cmbState.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbState.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbState.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbState.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbState.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbState.Location = new System.Drawing.Point(1040, 45);
this.cmbState.Margin = new System.Windows.Forms.Padding(5);
this.cmbState.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbState.Name = "cmbState";
this.cmbState.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbState.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbState.Size = new System.Drawing.Size(200, 30);
this.cmbState.Style = Sunny.UI.UIStyle.Purple;
this.cmbState.TabIndex = 140;
this.cmbState.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbState.Watermark = "";
this.cmbState.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(940, 45);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(90, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 141;
this.uiLabel4.Text = "状态";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dtpEnd
//
this.dtpEnd.FillColor = System.Drawing.Color.White;
this.dtpEnd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dtpEnd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dtpEnd.Location = new System.Drawing.Point(420, 45);
this.dtpEnd.Margin = new System.Windows.Forms.Padding(5);
this.dtpEnd.MaxLength = 19;
this.dtpEnd.MinimumSize = new System.Drawing.Size(63, 0);
this.dtpEnd.Name = "dtpEnd";
this.dtpEnd.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dtpEnd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dtpEnd.Size = new System.Drawing.Size(200, 30);
this.dtpEnd.Style = Sunny.UI.UIStyle.Purple;
this.dtpEnd.SymbolDropDown = 61555;
this.dtpEnd.SymbolNormal = 61555;
this.dtpEnd.TabIndex = 3;
this.dtpEnd.Text = "2021-12-17 20:21:38";
this.dtpEnd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dtpEnd.Value = new System.DateTime(2021, 12, 17, 20, 21, 38, 836);
this.dtpEnd.Watermark = "";
this.dtpEnd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dtpStart
//
this.dtpStart.FillColor = System.Drawing.Color.White;
this.dtpStart.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dtpStart.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dtpStart.Location = new System.Drawing.Point(110, 45);
this.dtpStart.Margin = new System.Windows.Forms.Padding(5);
this.dtpStart.MaxLength = 19;
this.dtpStart.MinimumSize = new System.Drawing.Size(63, 0);
this.dtpStart.Name = "dtpStart";
this.dtpStart.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dtpStart.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dtpStart.Size = new System.Drawing.Size(200, 30);
this.dtpStart.Style = Sunny.UI.UIStyle.Purple;
this.dtpStart.SymbolDropDown = 61555;
this.dtpStart.SymbolNormal = 61555;
this.dtpStart.TabIndex = 2;
this.dtpStart.Text = "2021-12-17 20:21:38";
this.dtpStart.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dtpStart.Value = new System.DateTime(2021, 12, 17, 20, 21, 38, 836);
this.dtpStart.Watermark = "";
this.dtpStart.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// cmbCar
//
this.cmbCar.DataSource = null;
this.cmbCar.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbCar.FillColor = System.Drawing.Color.White;
this.cmbCar.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbCar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.cmbCar.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
this.cmbCar.ItemSelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbCar.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.cmbCar.Location = new System.Drawing.Point(730, 45);
this.cmbCar.Margin = new System.Windows.Forms.Padding(5);
this.cmbCar.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbCar.Name = "cmbCar";
this.cmbCar.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbCar.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.cmbCar.Size = new System.Drawing.Size(200, 30);
this.cmbCar.Style = Sunny.UI.UIStyle.Purple;
this.cmbCar.TabIndex = 4;
this.cmbCar.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbCar.Watermark = "";
this.cmbCar.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(630, 45);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(90, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 139;
this.uiLabel3.Text = "车辆";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(320, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(90, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 138;
this.uiLabel2.Text = "结束时间";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(90, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 137;
this.uiLabel1.Text = "开始时间";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnRemoveAll
//
this.btnRemoveAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveAll.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveAll.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveAll.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveAll.Location = new System.Drawing.Point(1395, 140);
this.btnRemoveAll.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveAll.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveAll.Name = "btnRemoveAll";
this.btnRemoveAll.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveAll.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.Size = new System.Drawing.Size(100, 30);
this.btnRemoveAll.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveAll.StyleCustomMode = true;
this.btnRemoveAll.TabIndex = 16;
this.btnRemoveAll.Text = "清除全部";
this.btnRemoveAll.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveAll.Click += new System.EventHandler(this.btnRemoveAll_Click);
//
// btnRemoveM3
//
this.btnRemoveM3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveM3.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveM3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveM3.Location = new System.Drawing.Point(955, 140);
this.btnRemoveM3.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveM3.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveM3.Name = "btnRemoveM3";
this.btnRemoveM3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.Size = new System.Drawing.Size(100, 30);
this.btnRemoveM3.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveM3.StyleCustomMode = true;
this.btnRemoveM3.TabIndex = 15;
this.btnRemoveM3.Text = "保留近三月";
this.btnRemoveM3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveM3.Click += new System.EventHandler(this.btnRemoveM3_Click);
//
// btnRemoveM1
//
this.btnRemoveM1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveM1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveM1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveM1.Location = new System.Drawing.Point(1065, 140);
this.btnRemoveM1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveM1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveM1.Name = "btnRemoveM1";
this.btnRemoveM1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveM1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveM1.StyleCustomMode = true;
this.btnRemoveM1.TabIndex = 14;
this.btnRemoveM1.Text = "保留近一月";
this.btnRemoveM1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveM1.Click += new System.EventHandler(this.btnRemoveM1_Click);
//
// btnRemoveW1
//
this.btnRemoveW1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveW1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveW1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveW1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveW1.Location = new System.Drawing.Point(1175, 140);
this.btnRemoveW1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveW1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveW1.Name = "btnRemoveW1";
this.btnRemoveW1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveW1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveW1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveW1.StyleCustomMode = true;
this.btnRemoveW1.TabIndex = 13;
this.btnRemoveW1.Text = "保留近一周";
this.btnRemoveW1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveW1.Click += new System.EventHandler(this.btnRemoveW1_Click);
//
// btnRemoveD1
//
this.btnRemoveD1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveD1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveD1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveD1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveD1.Location = new System.Drawing.Point(1285, 140);
this.btnRemoveD1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveD1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveD1.Name = "btnRemoveD1";
this.btnRemoveD1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveD1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveD1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveD1.StyleCustomMode = true;
this.btnRemoveD1.TabIndex = 17;
this.btnRemoveD1.Text = "保留近一天";
this.btnRemoveD1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveD1.Click += new System.EventHandler(this.btnRemoveD1_Click);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnRemoveD1);
this.Controls.Add(this.btnRemoveAll);
this.Controls.Add(this.btnRemoveM3);
this.Controls.Add(this.btnRemoveM1);
this.Controls.Add(this.btnRemoveW1);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 362003;
this.Text = "任务管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITitlePanel palQuery;
private Sunny.UI.UIDatetimePicker dtpEnd;
private Sunny.UI.UIDatetimePicker dtpStart;
private Sunny.UI.UIComboBox cmbCar;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UIButton btnRemoveAll;
private Sunny.UI.UIButton btnRemoveM3;
private Sunny.UI.UIButton btnRemoveM1;
private Sunny.UI.UIButton btnRemoveW1;
private Sunny.UI.UIButton btnRemoveD1;
private Sunny.UI.UIComboBox cmbState;
private Sunny.UI.UILabel uiLabel4;
}
}
@@ -0,0 +1,223 @@
using Common.Frame.Dtos.Frame;
using Common.Utility.Extension;
using Common.Utility.Helper;
using FASS.App.Models;
using FASS.App.Utility;
using FASS.Service.Dtos.Agv;
using FASS.Service.Services.Agv;
using Microsoft.Extensions.Caching.Distributed;
using Sunny.UI;
namespace FASS.App.Areas.Data.Forms.Task
{
public partial class Index : UIPage
{
private readonly IDistributedCache _distributedCache;
private List<DictItemDto> _dictItemDtos;
private readonly ITaskService _taskService;
private readonly ICarService _carService;
public Index()
{
InitializeComponent();
_distributedCache = ServiceHelper.GetService<IDistributedCache>();
_taskService = ServiceHelper.GetService<ITaskService>();
_carService = ServiceHelper.GetService<ICarService>();
InitializeData();
InitializeControl();
}
private void InitializeData()
{
_dictItemDtos = _distributedCache.Get<List<DictItemDto>>(Cache.Setting.DictItem);
}
private void InitializeControl()
{
dtpStart.Tag = @"{""Field"":""CreateAt"",""Operator"":""GreaterEqual""}";
dtpEnd.Tag = @"{""Field"":""CreateAt"",""Operator"":""LessEqual""}";
cmbCar.Tag = @"{""Field"":""CarId"",""Operator"":""Contains""}";
cmbState.Tag = @"{""Field"":""State"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "车辆", DataPropertyName = "CarCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "起点地标", DataPropertyName = "FromNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "终点地标", DataPropertyName = "ToNodeCode", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "编码", DataPropertyName = "Code", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "名称", DataPropertyName = "Name", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "类型", DataPropertyName = "Type", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "状态", DataPropertyName = "State", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "优先级", DataPropertyName = "Priority", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", Name="CreateAt", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
dgvData.Columns["CreateAt"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
setQuery();
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => getQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void setQuery()
{
dtpStart.Value = DateTime.Now.GetDayStart();
dtpEnd.Value = dtpStart.Value.GetDayEnd();
var carSource = _carService.ToList(e => true).Select(e => new ComBoBoxItem { Id = e.Id, Code = e.Code }).ToList();
carSource.Insert(0, new ComBoBoxItem { Id = "", Code = "全部" });
cmbCar.ValueMember = "Id";
cmbCar.DisplayMember = "Code";
cmbCar.DataSource = carSource;
var stateSource = _dictItemDtos.Where(x => x.DictCode == "TaskState").Select(e => new ComBoBoxItem { Id = e.Code, Code = e.Name }).ToList();
stateSource.Insert(0, new ComBoBoxItem { Id = "", Code = "全部" });
cmbState.ValueMember = "Id";
cmbState.DisplayMember = "Code";
cmbState.DataSource = stateSource;
}
private void getQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = _taskService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
getQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
setQuery();
getQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Task = dgvData.SelectedRows[0].DataBoundItem as TaskDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
_taskService.Add(form.Task);
ShowSuccessTip("操作成功");
getQuery();
}
}
private void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Task = dgvData.SelectedRows[0].DataBoundItem as TaskDto;
form.ShowDialog();
if (form.IsOK)
{
_taskService.Update(form.Task);
ShowSuccessTip("操作成功");
getQuery();
}
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as TaskDto;
_taskService.Remove(dto.Id);
ShowSuccessTip("操作成功");
getQuery();
}
private async void btnRemoveD1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _taskService.RemoveD1Async();
ShowSuccessTip("操作成功");
getQuery();
}
private async void btnRemoveW1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _taskService.RemoveW1Async();
ShowSuccessTip("操作成功");
getQuery();
}
private async void btnRemoveM1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _taskService.RemoveM1Async();
ShowSuccessTip("操作成功");
getQuery();
}
private async void btnRemoveM3_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _taskService.RemoveM1Async();
ShowSuccessTip("操作成功");
getQuery();
}
private async void btnRemoveAll_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _taskService.RemoveAllAsync();
ShowSuccessTip("操作成功");
getQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,317 @@

namespace FASS.App.Areas.Frame.Forms.AuditLog
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtEntityState = new Sunny.UI.UITextBox();
this.txtTableName = new Sunny.UI.UITextBox();
this.txtOriginalValue = new Sunny.UI.UITextBox();
this.uiLabel5 = new Sunny.UI.UILabel();
this.txtCurrentValue = new Sunny.UI.UITextBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.txtCurrentAction = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 7;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 6;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(288, 102);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "表名";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(288, 142);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "实体状态";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtEntityState
//
this.txtEntityState.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtEntityState.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtEntityState.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtEntityState.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtEntityState.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtEntityState.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtEntityState.ButtonSymbol = 61761;
this.txtEntityState.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtEntityState.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtEntityState.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtEntityState.Location = new System.Drawing.Point(418, 142);
this.txtEntityState.Margin = new System.Windows.Forms.Padding(5);
this.txtEntityState.MaxLength = 50;
this.txtEntityState.MinimumSize = new System.Drawing.Size(1, 1);
this.txtEntityState.Name = "txtEntityState";
this.txtEntityState.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtEntityState.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtEntityState.Size = new System.Drawing.Size(240, 30);
this.txtEntityState.Style = Sunny.UI.UIStyle.Purple;
this.txtEntityState.TabIndex = 2;
this.txtEntityState.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtTableName
//
this.txtTableName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTableName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtTableName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtTableName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTableName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtTableName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtTableName.ButtonSymbol = 61761;
this.txtTableName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtTableName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtTableName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtTableName.Location = new System.Drawing.Point(418, 102);
this.txtTableName.Margin = new System.Windows.Forms.Padding(5);
this.txtTableName.MaxLength = 50;
this.txtTableName.MinimumSize = new System.Drawing.Size(1, 1);
this.txtTableName.Name = "txtTableName";
this.txtTableName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTableName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtTableName.Size = new System.Drawing.Size(240, 30);
this.txtTableName.Style = Sunny.UI.UIStyle.Purple;
this.txtTableName.TabIndex = 1;
this.txtTableName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtOriginalValue
//
this.txtOriginalValue.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtOriginalValue.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtOriginalValue.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtOriginalValue.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtOriginalValue.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtOriginalValue.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtOriginalValue.ButtonSymbol = 61761;
this.txtOriginalValue.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtOriginalValue.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtOriginalValue.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtOriginalValue.Location = new System.Drawing.Point(418, 182);
this.txtOriginalValue.Margin = new System.Windows.Forms.Padding(5);
this.txtOriginalValue.MaxLength = 50;
this.txtOriginalValue.MinimumSize = new System.Drawing.Size(1, 1);
this.txtOriginalValue.Multiline = true;
this.txtOriginalValue.Name = "txtOriginalValue";
this.txtOriginalValue.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtOriginalValue.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtOriginalValue.Size = new System.Drawing.Size(240, 70);
this.txtOriginalValue.Style = Sunny.UI.UIStyle.Purple;
this.txtOriginalValue.TabIndex = 3;
this.txtOriginalValue.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel5
//
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel5.Location = new System.Drawing.Point(288, 182);
this.uiLabel5.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(120, 30);
this.uiLabel5.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel5.TabIndex = 25;
this.uiLabel5.Text = "原始值";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCurrentValue
//
this.txtCurrentValue.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentValue.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCurrentValue.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCurrentValue.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentValue.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCurrentValue.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCurrentValue.ButtonSymbol = 61761;
this.txtCurrentValue.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCurrentValue.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCurrentValue.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCurrentValue.Location = new System.Drawing.Point(418, 262);
this.txtCurrentValue.Margin = new System.Windows.Forms.Padding(5);
this.txtCurrentValue.MaxLength = 50;
this.txtCurrentValue.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCurrentValue.Multiline = true;
this.txtCurrentValue.Name = "txtCurrentValue";
this.txtCurrentValue.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentValue.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentValue.Size = new System.Drawing.Size(240, 70);
this.txtCurrentValue.Style = Sunny.UI.UIStyle.Purple;
this.txtCurrentValue.TabIndex = 4;
this.txtCurrentValue.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel3
//
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel3.Location = new System.Drawing.Point(288, 262);
this.uiLabel3.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(120, 30);
this.uiLabel3.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel3.TabIndex = 27;
this.uiLabel3.Text = "当前值";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtCurrentAction
//
this.txtCurrentAction.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentAction.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCurrentAction.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCurrentAction.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentAction.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtCurrentAction.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtCurrentAction.ButtonSymbol = 61761;
this.txtCurrentAction.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCurrentAction.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtCurrentAction.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCurrentAction.Location = new System.Drawing.Point(418, 342);
this.txtCurrentAction.Margin = new System.Windows.Forms.Padding(5);
this.txtCurrentAction.MaxLength = 50;
this.txtCurrentAction.MinimumSize = new System.Drawing.Size(1, 1);
this.txtCurrentAction.Multiline = true;
this.txtCurrentAction.Name = "txtCurrentAction";
this.txtCurrentAction.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentAction.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtCurrentAction.Size = new System.Drawing.Size(240, 70);
this.txtCurrentAction.Style = Sunny.UI.UIStyle.Purple;
this.txtCurrentAction.TabIndex = 5;
this.txtCurrentAction.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel4
//
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel4.Location = new System.Drawing.Point(288, 342);
this.uiLabel4.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(120, 30);
this.uiLabel4.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel4.TabIndex = 29;
this.uiLabel4.Text = "当前操作";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtCurrentAction);
this.Controls.Add(this.uiLabel4);
this.Controls.Add(this.txtCurrentValue);
this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.txtOriginalValue);
this.Controls.Add(this.uiLabel5);
this.Controls.Add(this.txtTableName);
this.Controls.Add(this.txtEntityState);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtEntityState, 0);
this.Controls.SetChildIndex(this.txtTableName, 0);
this.Controls.SetChildIndex(this.uiLabel5, 0);
this.Controls.SetChildIndex(this.txtOriginalValue, 0);
this.Controls.SetChildIndex(this.uiLabel3, 0);
this.Controls.SetChildIndex(this.txtCurrentValue, 0);
this.Controls.SetChildIndex(this.uiLabel4, 0);
this.Controls.SetChildIndex(this.txtCurrentAction, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtEntityState;
private Sunny.UI.UITextBox txtTableName;
private Sunny.UI.UITextBox txtOriginalValue;
private Sunny.UI.UILabel uiLabel5;
private Sunny.UI.UITextBox txtCurrentValue;
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UITextBox txtCurrentAction;
private Sunny.UI.UILabel uiLabel4;
}
}
@@ -0,0 +1,51 @@
using Common.Frame.Dtos.Frame;
using Sunny.UI;
namespace FASS.App.Areas.Frame.Forms.AuditLog
{
public partial class Detail : UIEditForm
{
private AuditLogDto _auditLog;
public AuditLogDto AuditLog
{
get
{
if (_auditLog == null)
{
_auditLog = new AuditLogDto();
}
_auditLog.TableName = txtTableName.Text.Trim();
_auditLog.EntityState = txtEntityState.Text.Trim();
_auditLog.OriginalValue = txtOriginalValue.Text.Trim();
_auditLog.CurrentValue = txtCurrentValue.Text.Trim();
_auditLog.CurrentAction = txtCurrentAction.Text.Trim();
return _auditLog;
}
set
{
_auditLog = value;
txtTableName.Text = _auditLog.TableName;
txtEntityState.Text = _auditLog.EntityState;
txtOriginalValue.Text = _auditLog.OriginalValue;
txtCurrentValue.Text = _auditLog.CurrentValue;
txtCurrentAction.Text = _auditLog.CurrentAction;
}
}
protected override bool CheckData()
{
return false;
}
public Detail()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,519 @@

namespace FASS.App.Areas.Frame.Forms.AuditLog
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnRemoveW1 = new Sunny.UI.UIButton();
this.btnRemoveM1 = new Sunny.UI.UIButton();
this.btnRemoveM3 = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
this.dpEndTime = new Sunny.UI.UIDatePicker();
this.uiLabel2 = new Sunny.UI.UILabel();
this.dpStartTime = new Sunny.UI.UIDatePicker();
this.btnRemoveAll = new Sunny.UI.UIButton();
this.btnExport = new Sunny.UI.UIButton();
this.btnRemoveD1 = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(90, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "开始时间";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 12;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 13;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(115, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 7;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnRemoveW1
//
this.btnRemoveW1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveW1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveW1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveW1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveW1.Location = new System.Drawing.Point(1175, 140);
this.btnRemoveW1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveW1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveW1.Name = "btnRemoveW1";
this.btnRemoveW1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveW1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveW1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveW1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveW1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveW1.StyleCustomMode = true;
this.btnRemoveW1.TabIndex = 8;
this.btnRemoveW1.Text = "保留近一周";
this.btnRemoveW1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveW1.Click += new System.EventHandler(this.btnRemoveW1_Click);
//
// btnRemoveM1
//
this.btnRemoveM1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveM1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveM1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveM1.Location = new System.Drawing.Point(1065, 140);
this.btnRemoveM1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveM1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveM1.Name = "btnRemoveM1";
this.btnRemoveM1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveM1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveM1.StyleCustomMode = true;
this.btnRemoveM1.TabIndex = 9;
this.btnRemoveM1.Text = "保留近一月";
this.btnRemoveM1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveM1.Click += new System.EventHandler(this.btnRemoveM1_Click);
//
// btnRemoveM3
//
this.btnRemoveM3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveM3.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveM3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveM3.Location = new System.Drawing.Point(955, 140);
this.btnRemoveM3.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveM3.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveM3.Name = "btnRemoveM3";
this.btnRemoveM3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveM3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveM3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveM3.Size = new System.Drawing.Size(100, 30);
this.btnRemoveM3.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveM3.StyleCustomMode = true;
this.btnRemoveM3.TabIndex = 10;
this.btnRemoveM3.Text = "保留近三月";
this.btnRemoveM3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveM3.Click += new System.EventHandler(this.btnRemoveM3_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.dpEndTime);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.dpStartTime);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dpEndTime
//
this.dpEndTime.FillColor = System.Drawing.Color.White;
this.dpEndTime.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dpEndTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dpEndTime.Location = new System.Drawing.Point(417, 45);
this.dpEndTime.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.dpEndTime.MaxLength = 10;
this.dpEndTime.MinimumSize = new System.Drawing.Size(63, 0);
this.dpEndTime.Name = "dpEndTime";
this.dpEndTime.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dpEndTime.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dpEndTime.Size = new System.Drawing.Size(200, 30);
this.dpEndTime.Style = Sunny.UI.UIStyle.Purple;
this.dpEndTime.SymbolDropDown = 61555;
this.dpEndTime.SymbolNormal = 61555;
this.dpEndTime.TabIndex = 3;
this.dpEndTime.Text = "2021-11-25";
this.dpEndTime.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dpEndTime.Value = new System.DateTime(2021, 11, 25, 23, 12, 49, 245);
this.dpEndTime.Watermark = "";
this.dpEndTime.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(318, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(90, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 41;
this.uiLabel2.Text = "结束时间";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dpStartTime
//
this.dpStartTime.FillColor = System.Drawing.Color.White;
this.dpStartTime.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dpStartTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dpStartTime.Location = new System.Drawing.Point(109, 45);
this.dpStartTime.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.dpStartTime.MaxLength = 10;
this.dpStartTime.MinimumSize = new System.Drawing.Size(63, 0);
this.dpStartTime.Name = "dpStartTime";
this.dpStartTime.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.dpStartTime.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dpStartTime.Size = new System.Drawing.Size(200, 30);
this.dpStartTime.Style = Sunny.UI.UIStyle.Purple;
this.dpStartTime.SymbolDropDown = 61555;
this.dpStartTime.SymbolNormal = 61555;
this.dpStartTime.TabIndex = 2;
this.dpStartTime.Text = "2021-11-25";
this.dpStartTime.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.dpStartTime.Value = new System.DateTime(2021, 11, 25, 23, 12, 49, 245);
this.dpStartTime.Watermark = "";
this.dpStartTime.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnRemoveAll
//
this.btnRemoveAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveAll.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveAll.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveAll.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveAll.Location = new System.Drawing.Point(1395, 140);
this.btnRemoveAll.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveAll.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveAll.Name = "btnRemoveAll";
this.btnRemoveAll.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveAll.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveAll.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveAll.Size = new System.Drawing.Size(100, 30);
this.btnRemoveAll.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveAll.StyleCustomMode = true;
this.btnRemoveAll.TabIndex = 11;
this.btnRemoveAll.Text = "清除全部";
this.btnRemoveAll.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveAll.Click += new System.EventHandler(this.btnRemoveAll_Click);
//
// btnExport
//
this.btnExport.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnExport.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnExport.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnExport.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnExport.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnExport.Location = new System.Drawing.Point(5, 140);
this.btnExport.Margin = new System.Windows.Forms.Padding(5);
this.btnExport.MinimumSize = new System.Drawing.Size(1, 1);
this.btnExport.Name = "btnExport";
this.btnExport.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnExport.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnExport.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnExport.Size = new System.Drawing.Size(100, 30);
this.btnExport.Style = Sunny.UI.UIStyle.Purple;
this.btnExport.TabIndex = 6;
this.btnExport.Text = "导出";
this.btnExport.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
//
// btnRemoveD1
//
this.btnRemoveD1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveD1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveD1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveD1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnRemoveD1.Location = new System.Drawing.Point(1285, 140);
this.btnRemoveD1.Margin = new System.Windows.Forms.Padding(5);
this.btnRemoveD1.MinimumSize = new System.Drawing.Size(1, 1);
this.btnRemoveD1.Name = "btnRemoveD1";
this.btnRemoveD1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.btnRemoveD1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83)))));
this.btnRemoveD1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32)))));
this.btnRemoveD1.Size = new System.Drawing.Size(100, 30);
this.btnRemoveD1.Style = Sunny.UI.UIStyle.Orange;
this.btnRemoveD1.StyleCustomMode = true;
this.btnRemoveD1.TabIndex = 18;
this.btnRemoveD1.Text = "保留近一天";
this.btnRemoveD1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnRemoveD1.Click += new System.EventHandler(this.btnRemoveD1_Click);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.btnRemoveD1);
this.Controls.Add(this.btnExport);
this.Controls.Add(this.btnRemoveAll);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnRemoveM3);
this.Controls.Add(this.btnRemoveM1);
this.Controls.Add(this.btnRemoveW1);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 361788;
this.Text = "审计日志";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnRemoveW1;
private Sunny.UI.UIButton btnRemoveM1;
private Sunny.UI.UIButton btnRemoveM3;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
private Sunny.UI.UIDatePicker dpStartTime;
private Sunny.UI.UIDatePicker dpEndTime;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnRemoveAll;
private Sunny.UI.UIButton btnExport;
private Sunny.UI.UIButton btnRemoveD1;
}
}
@@ -0,0 +1,159 @@
using Common.Frame.Dtos.Frame;
using Common.Frame.Services.Frame;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Frame.Forms.AuditLog
{
public partial class Index : UIPage
{
private readonly IAuditLogService _auditLogService;
public Index()
{
InitializeComponent();
_auditLogService = ServiceHelper.GetService<IAuditLogService>();
InitializeControl();
}
private void InitializeControl()
{
dpStartTime.Tag = @"{""Field"":""CreateAt"",""Operator"":""GreaterEqual""}";
dpEndTime.Tag = @"{""Field"":""CreateAt"",""Operator"":""LessEqual""}";
dpStartTime.Value = DateTime.Now;
dpEndTime.Value = dpStartTime.Value.AddDays(1);
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "表名", DataPropertyName = "TableName", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "实体状态", DataPropertyName = "EntityState", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "创建时间", Name="CreateAt", DataPropertyName = "CreateAt", ReadOnly = true, Visible = true }
};
dgvData.Columns.AddRange(dgvCol);
dgvData.Columns["CreateAt"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = _auditLogService.ToPage(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
dpStartTime.Value = DateTime.Now;
dpEndTime.Value = dpStartTime.Value.AddDays(1);
dataQuery();
}
private void btnExport_Click(object sender, EventArgs e)
{
var page = Pager.GetPage(palQuery, pagData);
var data = _auditLogService.GetPage(page);
var saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = @"CSV文件 (*.csv)|*.csv";
if (saveFileDialog.ShowDialog() == DialogResult.Cancel)
{
return;
}
var csvContent = data.Select(e => new
{
e.TableName,
e.EntityState,
e.OriginalValue,
e.CurrentValue,
e.CurrentAction,
e.CreateAt
});
var csvColumn = "表名,实体状态,原始值,当前值,当前操作,创建时间";
var csvString = CsvHelper.ListToCsv(csvContent, csvColumn);
File.WriteAllText(saveFileDialog.FileName, csvString, System.Text.Encoding.UTF8);
ShowInfoNotifier("保存成功");
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.AuditLog = dgvData.SelectedRows[0].DataBoundItem as AuditLogDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnRemoveD1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _auditLogService.RemoveD1Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveW1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _auditLogService.RemoveW1Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveM1_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _auditLogService.RemoveM1Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveM3_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _auditLogService.RemoveM3Async();
ShowSuccessTip("操作成功");
dataQuery();
}
private async void btnRemoveAll_Click(object sender, EventArgs e)
{
if (!ShowAskDialog("确认操作?"))
{
return;
}
await _auditLogService.RemoveAllAsync();
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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,182 @@

namespace FASS.App.Areas.Frame.Forms.Config
{
partial class Detail
{
/// <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()
{
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtValue = new Sunny.UI.UITextBox();
this.txtKey = new Sunny.UI.UITextBox();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pnlBtm.Location = new System.Drawing.Point(1, 482);
this.pnlBtm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pnlBtm.Size = new System.Drawing.Size(958, 55);
this.pnlBtm.Style = Sunny.UI.UIStyle.Purple;
//
// btnCancel
//
this.btnCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Location = new System.Drawing.Point(830, 12);
this.btnCancel.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnCancel.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnCancel.Style = Sunny.UI.UIStyle.Purple;
this.btnCancel.TabIndex = 4;
//
// btnOK
//
this.btnOK.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Location = new System.Drawing.Point(715, 12);
this.btnOK.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnOK.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnOK.Style = Sunny.UI.UIStyle.Purple;
this.btnOK.TabIndex = 3;
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(293, 198);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(120, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 2;
this.uiLabel1.Text = "键";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(293, 238);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(120, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 4;
this.uiLabel2.Text = "值";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtValue
//
this.txtValue.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtValue.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtValue.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtValue.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtValue.ButtonSymbol = 61761;
this.txtValue.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtValue.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtValue.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtValue.Location = new System.Drawing.Point(423, 238);
this.txtValue.Margin = new System.Windows.Forms.Padding(5);
this.txtValue.MaxLength = 50;
this.txtValue.MinimumSize = new System.Drawing.Size(1, 1);
this.txtValue.Name = "txtValue";
this.txtValue.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.Size = new System.Drawing.Size(240, 30);
this.txtValue.Style = Sunny.UI.UIStyle.Purple;
this.txtValue.TabIndex = 2;
this.txtValue.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtKey
//
this.txtKey.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtKey.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtKey.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtKey.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtKey.ButtonSymbol = 61761;
this.txtKey.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtKey.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtKey.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtKey.Location = new System.Drawing.Point(423, 198);
this.txtKey.Margin = new System.Windows.Forms.Padding(5);
this.txtKey.MaxLength = 50;
this.txtKey.MinimumSize = new System.Drawing.Size(1, 1);
this.txtKey.Name = "txtKey";
this.txtKey.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.Size = new System.Drawing.Size(240, 30);
this.txtKey.Style = Sunny.UI.UIStyle.Purple;
this.txtKey.TabIndex = 1;
this.txtKey.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
//
// Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 540);
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.Controls.Add(this.txtKey);
this.Controls.Add(this.txtValue);
this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1);
this.Name = "Detail";
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Style = Sunny.UI.UIStyle.Purple;
this.Text = "Form";
this.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.uiLabel1, 0);
this.Controls.SetChildIndex(this.uiLabel2, 0);
this.Controls.SetChildIndex(this.txtValue, 0);
this.Controls.SetChildIndex(this.txtKey, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UITextBox txtValue;
private Sunny.UI.UITextBox txtKey;
}
}
@@ -0,0 +1,45 @@
using Common.Frame.Dtos.Frame;
using Sunny.UI;
namespace FASS.App.Areas.Frame.Forms.Config
{
public partial class Detail : UIEditForm
{
private ConfigDto _config;
public ConfigDto Config
{
get
{
if (_config == null)
{
_config = new ConfigDto();
}
_config.Key = txtKey.Text.Trim();
_config.Value = txtValue.Text.Trim();
return _config;
}
set
{
_config = value;
txtKey.Text = _config.Key;
txtValue.Text = _config.Value;
}
}
protected override bool CheckData()
{
return CheckEmpty(txtKey, "请输入键");
}
public Detail()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
}
}
}
@@ -0,0 +1,63 @@
<root>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
</root>
@@ -0,0 +1,438 @@

namespace FASS.App.Areas.Frame.Forms.Config
{
partial class Index
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnReset = new Sunny.UI.UIButton();
this.btnQuery = new Sunny.UI.UIButton();
this.uiLabel2 = new Sunny.UI.UILabel();
this.txtValue = new Sunny.UI.UITextBox();
this.txtKey = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.dgvData = new Sunny.UI.UIDataGridView();
this.pagData = new Sunny.UI.UIPagination();
this.btnDetail = new Sunny.UI.UIButton();
this.btnAdd = new Sunny.UI.UIButton();
this.btnUpdate = new Sunny.UI.UIButton();
this.btnDelete = new Sunny.UI.UIButton();
this.palQuery = new Sunny.UI.UITitlePanel();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.palQuery.SuspendLayout();
this.SuspendLayout();
//
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReset.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.Location = new System.Drawing.Point(1380, 45);
this.btnReset.Margin = new System.Windows.Forms.Padding(5);
this.btnReset.MinimumSize = new System.Drawing.Size(1, 1);
this.btnReset.Name = "btnReset";
this.btnReset.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnReset.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnReset.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnReset.Size = new System.Drawing.Size(100, 30);
this.btnReset.Style = Sunny.UI.UIStyle.Purple;
this.btnReset.TabIndex = 5;
this.btnReset.Text = "重置";
this.btnReset.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnQuery
//
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnQuery.Location = new System.Drawing.Point(1270, 45);
this.btnQuery.Margin = new System.Windows.Forms.Padding(5);
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.btnQuery.Name = "btnQuery";
this.btnQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnQuery.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnQuery.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnQuery.Size = new System.Drawing.Size(100, 30);
this.btnQuery.Style = Sunny.UI.UIStyle.Purple;
this.btnQuery.TabIndex = 4;
this.btnQuery.Text = "查询";
this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
//
// uiLabel2
//
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel2.Location = new System.Drawing.Point(290, 45);
this.uiLabel2.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel2.Name = "uiLabel2";
this.uiLabel2.Size = new System.Drawing.Size(60, 30);
this.uiLabel2.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel2.TabIndex = 37;
this.uiLabel2.Text = "值";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtValue
//
this.txtValue.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtValue.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtValue.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtValue.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtValue.ButtonSymbol = 61761;
this.txtValue.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtValue.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtValue.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtValue.Location = new System.Drawing.Point(360, 45);
this.txtValue.Margin = new System.Windows.Forms.Padding(5);
this.txtValue.MaxLength = 50;
this.txtValue.MinimumSize = new System.Drawing.Size(1, 1);
this.txtValue.Name = "txtValue";
this.txtValue.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtValue.ShowText = false;
this.txtValue.Size = new System.Drawing.Size(200, 30);
this.txtValue.Style = Sunny.UI.UIStyle.Purple;
this.txtValue.TabIndex = 3;
this.txtValue.Tag = "";
this.txtValue.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtValue.Watermark = "";
this.txtValue.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// txtKey
//
this.txtKey.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtKey.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtKey.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.txtKey.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.txtKey.ButtonSymbol = 61761;
this.txtKey.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtKey.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.txtKey.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtKey.Location = new System.Drawing.Point(80, 45);
this.txtKey.Margin = new System.Windows.Forms.Padding(5);
this.txtKey.MaxLength = 50;
this.txtKey.MinimumSize = new System.Drawing.Size(1, 1);
this.txtKey.Name = "txtKey";
this.txtKey.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.txtKey.ShowText = false;
this.txtKey.Size = new System.Drawing.Size(200, 30);
this.txtKey.Style = Sunny.UI.UIStyle.Purple;
this.txtKey.TabIndex = 2;
this.txtKey.Tag = "";
this.txtKey.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtKey.Watermark = "";
this.txtKey.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel1
//
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.uiLabel1.Location = new System.Drawing.Point(10, 45);
this.uiLabel1.Margin = new System.Windows.Forms.Padding(5);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(60, 30);
this.uiLabel1.Style = Sunny.UI.UIStyle.Purple;
this.uiLabel1.TabIndex = 35;
this.uiLabel1.Text = "键";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dgvData
//
this.dgvData.AllowUserToAddRows = false;
this.dgvData.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvData.ColumnHeadersHeight = 32;
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvData.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(85)))), ((int)(((byte)(193)))));
this.dgvData.Location = new System.Drawing.Point(5, 180);
this.dgvData.Margin = new System.Windows.Forms.Padding(5);
this.dgvData.MultiSelect = false;
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvData.RowHeadersVisible = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(216)))), ((int)(((byte)(241)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvData.RowTemplate.Height = 29;
this.dgvData.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.dgvData.SelectedIndex = -1;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1490, 411);
this.dgvData.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.dgvData.Style = Sunny.UI.UIStyle.Purple;
this.dgvData.TabIndex = 10;
this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// pagData
//
this.pagData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pagData.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.pagData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.pagData.Location = new System.Drawing.Point(5, 601);
this.pagData.Margin = new System.Windows.Forms.Padding(5);
this.pagData.MinimumSize = new System.Drawing.Size(1, 1);
this.pagData.Name = "pagData";
this.pagData.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.pagData.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.pagData.ShowText = false;
this.pagData.Size = new System.Drawing.Size(1490, 35);
this.pagData.Style = Sunny.UI.UIStyle.Purple;
this.pagData.TabIndex = 11;
this.pagData.Text = null;
this.pagData.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.pagData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// btnDetail
//
this.btnDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDetail.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDetail.Location = new System.Drawing.Point(5, 140);
this.btnDetail.Margin = new System.Windows.Forms.Padding(5);
this.btnDetail.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDetail.Name = "btnDetail";
this.btnDetail.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDetail.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDetail.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDetail.Size = new System.Drawing.Size(100, 30);
this.btnDetail.Style = Sunny.UI.UIStyle.Purple;
this.btnDetail.TabIndex = 6;
this.btnDetail.Text = "查看";
this.btnDetail.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDetail.Click += new System.EventHandler(this.btnDetail_Click);
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnAdd.Location = new System.Drawing.Point(115, 140);
this.btnAdd.Margin = new System.Windows.Forms.Padding(5);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnAdd.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnAdd.Size = new System.Drawing.Size(100, 30);
this.btnAdd.Style = Sunny.UI.UIStyle.Purple;
this.btnAdd.TabIndex = 7;
this.btnAdd.Text = "新增";
this.btnAdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdate.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnUpdate.Location = new System.Drawing.Point(225, 140);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(5);
this.btnUpdate.MinimumSize = new System.Drawing.Size(1, 1);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnUpdate.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnUpdate.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnUpdate.Size = new System.Drawing.Size(100, 30);
this.btnUpdate.Style = Sunny.UI.UIStyle.Purple;
this.btnUpdate.TabIndex = 8;
this.btnUpdate.Text = "修改";
this.btnUpdate.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDelete
//
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnDelete.Location = new System.Drawing.Point(335, 140);
this.btnDelete.Margin = new System.Windows.Forms.Padding(5);
this.btnDelete.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDelete.Name = "btnDelete";
this.btnDelete.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.btnDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(97)))), ((int)(((byte)(198)))));
this.btnDelete.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(82)))), ((int)(((byte)(46)))), ((int)(((byte)(147)))));
this.btnDelete.Size = new System.Drawing.Size(100, 30);
this.btnDelete.Style = Sunny.UI.UIStyle.Purple;
this.btnDelete.TabIndex = 9;
this.btnDelete.Text = "删除";
this.btnDelete.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// palQuery
//
this.palQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.palQuery.Controls.Add(this.txtValue);
this.palQuery.Controls.Add(this.txtKey);
this.palQuery.Controls.Add(this.uiLabel2);
this.palQuery.Controls.Add(this.btnReset);
this.palQuery.Controls.Add(this.uiLabel1);
this.palQuery.Controls.Add(this.btnQuery);
this.palQuery.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(242)))), ((int)(((byte)(251)))));
this.palQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.palQuery.Location = new System.Drawing.Point(5, 40);
this.palQuery.Margin = new System.Windows.Forms.Padding(5);
this.palQuery.MinimumSize = new System.Drawing.Size(1, 1);
this.palQuery.Name = "palQuery";
this.palQuery.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.palQuery.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.ShowCollapse = true;
this.palQuery.ShowText = false;
this.palQuery.Size = new System.Drawing.Size(1490, 90);
this.palQuery.Style = Sunny.UI.UIStyle.Purple;
this.palQuery.TabIndex = 1;
this.palQuery.Text = "查询";
this.palQuery.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.palQuery.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.palQuery.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.palQuery.TitleHeight = 30;
this.palQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Index
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1500, 641);
this.Controls.Add(this.palQuery);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDetail);
this.Controls.Add(this.pagData);
this.Controls.Add(this.dgvData);
this.Name = "Index";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(58)))), ((int)(((byte)(183)))));
this.ShowTitle = true;
this.Style = Sunny.UI.UIStyle.Purple;
this.Symbol = 361888;
this.Text = "配置管理";
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
this.palQuery.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Sunny.UI.UILabel uiLabel2;
private Sunny.UI.UIButton btnQuery;
private Sunny.UI.UIButton btnReset;
private Sunny.UI.UIDataGridView dgvData;
private Sunny.UI.UIPagination pagData;
private Sunny.UI.UIButton btnDetail;
private Sunny.UI.UIButton btnAdd;
private Sunny.UI.UIButton btnUpdate;
private Sunny.UI.UIButton btnDelete;
private Sunny.UI.UITextBox txtValue;
private Sunny.UI.UITextBox txtKey;
private Sunny.UI.UILabel uiLabel1;
private Sunny.UI.UITitlePanel palQuery;
}
}
@@ -0,0 +1,122 @@
using Common.Frame.Dtos.Frame;
using Common.Frame.Services.Frame;
using Common.Utility.Helper;
using FASS.App.Utility;
using Sunny.UI;
namespace FASS.App.Areas.Frame.Forms.Config
{
public partial class Index : UIPage
{
private readonly IConfigService _configService;
public Index()
{
InitializeComponent();
_configService = ServiceHelper.GetService<IConfigService>();
InitializeControl();
}
private void InitializeControl()
{
txtKey.Tag = @"{""Field"":""Key"",""Operator"":""Contains""}";
txtValue.Tag = @"{""Field"":""Value"",""Operator"":""Contains""}";
dgvData.AutoGenerateColumns = false;
dgvData.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
var dgvCol = new DataGridViewColumn[]
{
new DataGridViewTextBoxColumn() { HeaderText = "Id", DataPropertyName = "Id", ReadOnly = true, Visible = false },
new DataGridViewTextBoxColumn() { HeaderText = "键", DataPropertyName = "Key", ReadOnly = true, Visible = true },
new DataGridViewTextBoxColumn() { HeaderText = "值", DataPropertyName = "Value", ReadOnly = true, Visible = true },
};
dgvData.Columns.AddRange(dgvCol);
pagData.PageChanged += (sender, pagingSource, pageIndex, count) => dataQuery();
pagData.PageSize = 20;
pagData.ActivePage = 1;
}
private async void dataQuery()
{
var page = Pager.GetPage(palQuery, pagData);
var data = await _configService.ToPageAsync(page);
dgvData.DataSource = data.Data;
pagData.TotalCount = data.TotalCount;
}
private void btnQuery_Click(object sender, EventArgs e)
{
dataQuery();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtKey.Text = "";
txtValue.Text = "";
dataQuery();
}
private void btnDetail_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Config = dgvData.SelectedRows[0].DataBoundItem as ConfigDto;
form.ButtonOKEnabled = false;
form.ShowDialog();
}
private async void btnAdd_Click(object sender, EventArgs e)
{
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.ShowDialog();
if (form.IsOK)
{
await _configService.AddAsync(form.Config);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
var form = new Detail();
form.Text = (sender as UIButton).Text;
form.Config = dgvData.SelectedRows[0].DataBoundItem as ConfigDto;
form.ShowDialog();
if (form.IsOK)
{
await _configService.UpdateAsync(form.Config);
ShowSuccessTip("操作成功");
dataQuery();
}
}
private async void btnDelete_Click(object sender, EventArgs e)
{
if (dgvData.SelectedRows.Count < 1)
{
ShowSuccessTip("请选择一行进行操作");
return;
}
if (!ShowAskDialog("确认操作?"))
{
return;
}
var dto = dgvData.SelectedRows[0].DataBoundItem as DictDto;
await _configService.RemoveAsync(dto.Id);
ShowSuccessTip("操作成功");
dataQuery();
}
}
}
@@ -0,0 +1,60 @@
<root>
<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>

Some files were not shown because too many files have changed in this diff Show More