Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
聖園ミカ
DataEditorX
Commits
27e74b5b
Commit
27e74b5b
authored
May 15, 2014
by
247321453
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tab转空格
parent
53f18a5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
265 additions
and
265 deletions
+265
-265
DataEditorX/MainForm.Designer.cs
DataEditorX/MainForm.Designer.cs
+220
-220
DataEditorX/MainForm.cs
DataEditorX/MainForm.cs
+26
-26
DataEditorX/Program.cs
DataEditorX/Program.cs
+19
-19
No files found.
DataEditorX/MainForm.Designer.cs
View file @
27e74b5b
...
@@ -7,224 +7,224 @@
...
@@ -7,224 +7,224 @@
*/
*/
namespace
DataEditorX
namespace
DataEditorX
{
{
partial
class
MainForm
partial
class
MainForm
{
{
/// <summary>
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// Designer variable used to keep track of non-visual components.
/// </summary>
/// </summary>
private
System
.
ComponentModel
.
IContainer
components
=
null
;
private
System
.
ComponentModel
.
IContainer
components
=
null
;
/// <summary>
/// <summary>
/// Disposes resources used by the form.
/// Disposes resources used by the form.
/// </summary>
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected
override
void
Dispose
(
bool
disposing
)
protected
override
void
Dispose
(
bool
disposing
)
{
{
if
(
disposing
)
{
if
(
disposing
)
{
if
(
components
!=
null
)
{
if
(
components
!=
null
)
{
components
.
Dispose
();
components
.
Dispose
();
}
}
}
}
base
.
Dispose
(
disposing
);
base
.
Dispose
(
disposing
);
}
}
/// <summary>
/// <summary>
/// This method is required for Windows Forms designer support.
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// not be able to load this method if it was changed manually.
/// </summary>
/// </summary>
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
lv_cardlist
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
lv_cardlist
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
columnHeader1
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
columnHeader1
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
columnHeader2
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
columnHeader2
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
ms_main
=
new
System
.
Windows
.
Forms
.
MenuStrip
();
this
.
ms_main
=
new
System
.
Windows
.
Forms
.
MenuStrip
();
this
.
文件
FToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
文件
FToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
打开
OToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
打开
OToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
新建
NToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
新建
NToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
保存
SCToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
保存
SCToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
编辑
EToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
编辑
EToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
撤销
UToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
撤销
UToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
还原
YToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
还原
YToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
添加
AToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
添加
AToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
修改
MToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
修改
MToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
删除
DToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
删除
DToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
新建
NToolStripMenuItem1
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
新建
NToolStripMenuItem1
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
帮助
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
帮助
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
关于
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
关于
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
检查更新
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
检查更新
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
ms_main
.
SuspendLayout
();
this
.
ms_main
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// lv_cardlist
// lv_cardlist
//
//
this
.
lv_cardlist
.
Activation
=
System
.
Windows
.
Forms
.
ItemActivation
.
OneClick
;
this
.
lv_cardlist
.
Activation
=
System
.
Windows
.
Forms
.
ItemActivation
.
OneClick
;
this
.
lv_cardlist
.
Columns
.
AddRange
(
new
System
.
Windows
.
Forms
.
ColumnHeader
[]
{
this
.
lv_cardlist
.
Columns
.
AddRange
(
new
System
.
Windows
.
Forms
.
ColumnHeader
[]
{
this
.
columnHeader1
,
this
.
columnHeader1
,
this
.
columnHeader2
});
this
.
columnHeader2
});
this
.
lv_cardlist
.
FullRowSelect
=
true
;
this
.
lv_cardlist
.
FullRowSelect
=
true
;
this
.
lv_cardlist
.
GridLines
=
true
;
this
.
lv_cardlist
.
GridLines
=
true
;
this
.
lv_cardlist
.
HideSelection
=
false
;
this
.
lv_cardlist
.
HideSelection
=
false
;
this
.
lv_cardlist
.
HotTracking
=
true
;
this
.
lv_cardlist
.
HotTracking
=
true
;
this
.
lv_cardlist
.
HoverSelection
=
true
;
this
.
lv_cardlist
.
HoverSelection
=
true
;
this
.
lv_cardlist
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
25
);
this
.
lv_cardlist
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
25
);
this
.
lv_cardlist
.
Name
=
"lv_cardlist"
;
this
.
lv_cardlist
.
Name
=
"lv_cardlist"
;
this
.
lv_cardlist
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
388
);
this
.
lv_cardlist
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
388
);
this
.
lv_cardlist
.
TabIndex
=
0
;
this
.
lv_cardlist
.
TabIndex
=
0
;
this
.
lv_cardlist
.
UseCompatibleStateImageBehavior
=
false
;
this
.
lv_cardlist
.
UseCompatibleStateImageBehavior
=
false
;
this
.
lv_cardlist
.
View
=
System
.
Windows
.
Forms
.
View
.
Details
;
this
.
lv_cardlist
.
View
=
System
.
Windows
.
Forms
.
View
.
Details
;
//
//
// columnHeader1
// columnHeader1
//
//
this
.
columnHeader1
.
Width
=
62
;
this
.
columnHeader1
.
Width
=
62
;
//
//
// columnHeader2
// columnHeader2
//
//
this
.
columnHeader2
.
Width
=
79
;
this
.
columnHeader2
.
Width
=
79
;
//
//
// ms_main
// ms_main
//
//
this
.
ms_main
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
ms_main
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
文件
FToolStripMenuItem
,
this
.
文件
FToolStripMenuItem
,
this
.
编辑
EToolStripMenuItem
,
this
.
编辑
EToolStripMenuItem
,
this
.
帮助
ToolStripMenuItem
});
this
.
帮助
ToolStripMenuItem
});
this
.
ms_main
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
ms_main
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
ms_main
.
Name
=
"ms_main"
;
this
.
ms_main
.
Name
=
"ms_main"
;
this
.
ms_main
.
Size
=
new
System
.
Drawing
.
Size
(
681
,
25
);
this
.
ms_main
.
Size
=
new
System
.
Drawing
.
Size
(
681
,
25
);
this
.
ms_main
.
TabIndex
=
1
;
this
.
ms_main
.
TabIndex
=
1
;
this
.
ms_main
.
Text
=
"menuStrip1"
;
this
.
ms_main
.
Text
=
"menuStrip1"
;
//
//
// 文件FToolStripMenuItem
// 文件FToolStripMenuItem
//
//
this
.
文件
FToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
文件
FToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
打开
OToolStripMenuItem
,
this
.
打开
OToolStripMenuItem
,
this
.
新建
NToolStripMenuItem
,
this
.
新建
NToolStripMenuItem
,
this
.
保存
SCToolStripMenuItem
});
this
.
保存
SCToolStripMenuItem
});
this
.
文件
FToolStripMenuItem
.
Name
=
"文件FToolStripMenuItem"
;
this
.
文件
FToolStripMenuItem
.
Name
=
"文件FToolStripMenuItem"
;
this
.
文件
FToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
70
,
21
);
this
.
文件
FToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
70
,
21
);
this
.
文件
FToolStripMenuItem
.
Text
=
"数据库(&F)"
;
this
.
文件
FToolStripMenuItem
.
Text
=
"数据库(&F)"
;
//
//
// 打开OToolStripMenuItem
// 打开OToolStripMenuItem
//
//
this
.
打开
OToolStripMenuItem
.
Name
=
"打开OToolStripMenuItem"
;
this
.
打开
OToolStripMenuItem
.
Name
=
"打开OToolStripMenuItem"
;
this
.
打开
OToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
打开
OToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
打开
OToolStripMenuItem
.
Text
=
"打开(&O)"
;
this
.
打开
OToolStripMenuItem
.
Text
=
"打开(&O)"
;
//
//
// 新建NToolStripMenuItem
// 新建NToolStripMenuItem
//
//
this
.
新建
NToolStripMenuItem
.
Name
=
"新建NToolStripMenuItem"
;
this
.
新建
NToolStripMenuItem
.
Name
=
"新建NToolStripMenuItem"
;
this
.
新建
NToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
新建
NToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
新建
NToolStripMenuItem
.
Text
=
"新建(&N)"
;
this
.
新建
NToolStripMenuItem
.
Text
=
"新建(&N)"
;
//
//
// 保存SCToolStripMenuItem
// 保存SCToolStripMenuItem
//
//
this
.
保存
SCToolStripMenuItem
.
Name
=
"保存SCToolStripMenuItem"
;
this
.
保存
SCToolStripMenuItem
.
Name
=
"保存SCToolStripMenuItem"
;
this
.
保存
SCToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
保存
SCToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
保存
SCToolStripMenuItem
.
Text
=
"保存(&S)"
;
this
.
保存
SCToolStripMenuItem
.
Text
=
"保存(&S)"
;
//
//
// 编辑EToolStripMenuItem
// 编辑EToolStripMenuItem
//
//
this
.
编辑
EToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
编辑
EToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
撤销
UToolStripMenuItem
,
this
.
撤销
UToolStripMenuItem
,
this
.
还原
YToolStripMenuItem
,
this
.
还原
YToolStripMenuItem
,
this
.
添加
AToolStripMenuItem
,
this
.
添加
AToolStripMenuItem
,
this
.
修改
MToolStripMenuItem
,
this
.
修改
MToolStripMenuItem
,
this
.
删除
DToolStripMenuItem
,
this
.
删除
DToolStripMenuItem
,
this
.
新建
NToolStripMenuItem1
});
this
.
新建
NToolStripMenuItem1
});
this
.
编辑
EToolStripMenuItem
.
Name
=
"编辑EToolStripMenuItem"
;
this
.
编辑
EToolStripMenuItem
.
Name
=
"编辑EToolStripMenuItem"
;
this
.
编辑
EToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
21
);
this
.
编辑
EToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
21
);
this
.
编辑
EToolStripMenuItem
.
Text
=
"编辑(&E)"
;
this
.
编辑
EToolStripMenuItem
.
Text
=
"编辑(&E)"
;
//
//
// 撤销UToolStripMenuItem
// 撤销UToolStripMenuItem
//
//
this
.
撤销
UToolStripMenuItem
.
Name
=
"撤销UToolStripMenuItem"
;
this
.
撤销
UToolStripMenuItem
.
Name
=
"撤销UToolStripMenuItem"
;
this
.
撤销
UToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
撤销
UToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
撤销
UToolStripMenuItem
.
Text
=
"撤销(&U)"
;
this
.
撤销
UToolStripMenuItem
.
Text
=
"撤销(&U)"
;
//
//
// 还原YToolStripMenuItem
// 还原YToolStripMenuItem
//
//
this
.
还原
YToolStripMenuItem
.
Name
=
"还原YToolStripMenuItem"
;
this
.
还原
YToolStripMenuItem
.
Name
=
"还原YToolStripMenuItem"
;
this
.
还原
YToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
还原
YToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
还原
YToolStripMenuItem
.
Text
=
"还原(&Y)"
;
this
.
还原
YToolStripMenuItem
.
Text
=
"还原(&Y)"
;
//
//
// 添加AToolStripMenuItem
// 添加AToolStripMenuItem
//
//
this
.
添加
AToolStripMenuItem
.
Name
=
"添加AToolStripMenuItem"
;
this
.
添加
AToolStripMenuItem
.
Name
=
"添加AToolStripMenuItem"
;
this
.
添加
AToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
添加
AToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
添加
AToolStripMenuItem
.
Text
=
"添加(&A)"
;
this
.
添加
AToolStripMenuItem
.
Text
=
"添加(&A)"
;
//
//
// 修改MToolStripMenuItem
// 修改MToolStripMenuItem
//
//
this
.
修改
MToolStripMenuItem
.
Name
=
"修改MToolStripMenuItem"
;
this
.
修改
MToolStripMenuItem
.
Name
=
"修改MToolStripMenuItem"
;
this
.
修改
MToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
修改
MToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
修改
MToolStripMenuItem
.
Text
=
"修改(&M)"
;
this
.
修改
MToolStripMenuItem
.
Text
=
"修改(&M)"
;
//
//
// 删除DToolStripMenuItem
// 删除DToolStripMenuItem
//
//
this
.
删除
DToolStripMenuItem
.
Name
=
"删除DToolStripMenuItem"
;
this
.
删除
DToolStripMenuItem
.
Name
=
"删除DToolStripMenuItem"
;
this
.
删除
DToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
删除
DToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
删除
DToolStripMenuItem
.
Text
=
"删除(&D)"
;
this
.
删除
DToolStripMenuItem
.
Text
=
"删除(&D)"
;
//
//
// 新建NToolStripMenuItem1
// 新建NToolStripMenuItem1
//
//
this
.
新建
NToolStripMenuItem1
.
Name
=
"新建NToolStripMenuItem1"
;
this
.
新建
NToolStripMenuItem1
.
Name
=
"新建NToolStripMenuItem1"
;
this
.
新建
NToolStripMenuItem1
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
新建
NToolStripMenuItem1
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
新建
NToolStripMenuItem1
.
Text
=
"新建(&N)"
;
this
.
新建
NToolStripMenuItem1
.
Text
=
"新建(&N)"
;
//
//
// 帮助ToolStripMenuItem
// 帮助ToolStripMenuItem
//
//
this
.
帮助
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
帮助
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
关于
ToolStripMenuItem
,
this
.
关于
ToolStripMenuItem
,
this
.
检查更新
ToolStripMenuItem
});
this
.
检查更新
ToolStripMenuItem
});
this
.
帮助
ToolStripMenuItem
.
Name
=
"帮助ToolStripMenuItem"
;
this
.
帮助
ToolStripMenuItem
.
Name
=
"帮助ToolStripMenuItem"
;
this
.
帮助
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
44
,
21
);
this
.
帮助
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
44
,
21
);
this
.
帮助
ToolStripMenuItem
.
Text
=
"帮助"
;
this
.
帮助
ToolStripMenuItem
.
Text
=
"帮助"
;
//
//
// 关于ToolStripMenuItem
// 关于ToolStripMenuItem
//
//
this
.
关于
ToolStripMenuItem
.
Name
=
"关于ToolStripMenuItem"
;
this
.
关于
ToolStripMenuItem
.
Name
=
"关于ToolStripMenuItem"
;
this
.
关于
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
关于
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
关于
ToolStripMenuItem
.
Text
=
"关于"
;
this
.
关于
ToolStripMenuItem
.
Text
=
"关于"
;
//
//
// 检查更新ToolStripMenuItem
// 检查更新ToolStripMenuItem
//
//
this
.
检查更新
ToolStripMenuItem
.
Name
=
"检查更新ToolStripMenuItem"
;
this
.
检查更新
ToolStripMenuItem
.
Name
=
"检查更新ToolStripMenuItem"
;
this
.
检查更新
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
检查更新
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
152
,
22
);
this
.
检查更新
ToolStripMenuItem
.
Text
=
"检查更新"
;
this
.
检查更新
ToolStripMenuItem
.
Text
=
"检查更新"
;
//
//
// MainForm
// MainForm
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
681
,
479
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
681
,
479
);
this
.
Controls
.
Add
(
this
.
lv_cardlist
);
this
.
Controls
.
Add
(
this
.
lv_cardlist
);
this
.
Controls
.
Add
(
this
.
ms_main
);
this
.
Controls
.
Add
(
this
.
ms_main
);
this
.
MainMenuStrip
=
this
.
ms_main
;
this
.
MainMenuStrip
=
this
.
ms_main
;
this
.
Name
=
"MainForm"
;
this
.
Name
=
"MainForm"
;
this
.
StartPosition
=
System
.
Windows
.
Forms
.
FormStartPosition
.
CenterScreen
;
this
.
StartPosition
=
System
.
Windows
.
Forms
.
FormStartPosition
.
CenterScreen
;
this
.
Text
=
"DataEditorX"
;
this
.
Text
=
"DataEditorX"
;
this
.
ms_main
.
ResumeLayout
(
false
);
this
.
ms_main
.
ResumeLayout
(
false
);
this
.
ms_main
.
PerformLayout
();
this
.
ms_main
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
this
.
PerformLayout
();
}
}
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
检查更新
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
检查更新
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
关于
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
关于
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
帮助
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
帮助
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
新建
NToolStripMenuItem1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
新建
NToolStripMenuItem1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
删除
DToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
删除
DToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
修改
MToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
修改
MToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
添加
AToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
添加
AToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
还原
YToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
还原
YToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
撤销
UToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
撤销
UToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
编辑
EToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
编辑
EToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
保存
SCToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
保存
SCToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
新建
NToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
新建
NToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
打开
OToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
打开
OToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
文件
FToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
文件
FToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
MenuStrip
ms_main
;
private
System
.
Windows
.
Forms
.
MenuStrip
ms_main
;
private
System
.
Windows
.
Forms
.
ColumnHeader
columnHeader2
;
private
System
.
Windows
.
Forms
.
ColumnHeader
columnHeader2
;
private
System
.
Windows
.
Forms
.
ColumnHeader
columnHeader1
;
private
System
.
Windows
.
Forms
.
ColumnHeader
columnHeader1
;
private
System
.
Windows
.
Forms
.
ListView
lv_cardlist
;
private
System
.
Windows
.
Forms
.
ListView
lv_cardlist
;
}
}
}
}
DataEditorX/MainForm.cs
View file @
27e74b5b
...
@@ -12,32 +12,32 @@
...
@@ -12,32 +12,32 @@
namespace
DataEditorX
namespace
DataEditorX
{
{
/// <summary>
/// <summary>
/// Description of MainForm.
/// Description of MainForm.
/// </summary>
/// </summary>
public
partial
class
MainForm
:
Form
public
partial
class
MainForm
:
Form
{
{
string
m_filename
;
string
m_filename
;
string
m_title
;
string
m_title
;
public
MainForm
(
string
filename
)
public
MainForm
(
string
filename
)
{
InitFromData
();
OpenFile
(
filename
);
}
public
MainForm
()
{
InitFromData
();
}
void
InitFromData
()
{
{
InitFromData
();
InitializeComponent
();
OpenFile
(
filename
)
;
m_title
=
this
.
Text
;
}
}
public
MainForm
()
void
OpenFile
(
string
filename
)
{
{
InitFromData
();
m_filename
=
filename
;
}
this
.
Text
=
filename
+
" - "
+
m_title
;
void
InitFromData
()
//
{
}
InitializeComponent
();
}
m_title
=
this
.
Text
;
}
void
OpenFile
(
string
filename
)
{
m_filename
=
filename
;
this
.
Text
=
filename
+
" - "
+
m_title
;
//
}
}
}
}
DataEditorX/Program.cs
View file @
27e74b5b
...
@@ -10,23 +10,23 @@
...
@@ -10,23 +10,23 @@
namespace
DataEditorX
namespace
DataEditorX
{
{
/// <summary>
/// <summary>
/// Class with program entry point.
/// Class with program entry point.
/// </summary>
/// </summary>
internal
sealed
class
Program
internal
sealed
class
Program
{
{
/// <summary>
/// <summary>
/// Program entry point.
/// Program entry point.
/// </summary>
/// </summary>
[
STAThread
]
[
STAThread
]
private
static
void
Main
(
string
[]
args
)
private
static
void
Main
(
string
[]
args
)
{
{
Application
.
EnableVisualStyles
();
Application
.
EnableVisualStyles
();
Application
.
SetCompatibleTextRenderingDefault
(
false
);
Application
.
SetCompatibleTextRenderingDefault
(
false
);
if
(
args
.
Length
==
1
)
if
(
args
.
Length
==
1
)
Application
.
Run
(
new
MainForm
(
args
[
0
]));
Application
.
Run
(
new
MainForm
(
args
[
0
]));
else
else
Application
.
Run
(
new
MainForm
());
Application
.
Run
(
new
MainForm
());
}
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment