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
395acb21
Commit
395acb21
authored
Nov 20, 2015
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
压缩图片
parent
02d42677
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
71 additions
and
10 deletions
+71
-10
.gitignore
.gitignore
+1
-0
DataEditorX/Common/MyBitmap.cs
DataEditorX/Common/MyBitmap.cs
+1
-1
DataEditorX/Controls/DFlowLayoutPanel.cs
DataEditorX/Controls/DFlowLayoutPanel.cs
+18
-0
DataEditorX/Controls/DListBox.cs
DataEditorX/Controls/DListBox.cs
+18
-0
DataEditorX/Controls/DListView.cs
DataEditorX/Controls/DListView.cs
+18
-0
DataEditorX/DataEditForm.Designer.cs
DataEditorX/DataEditForm.Designer.cs
+8
-8
DataEditorX/DataEditorX.csproj
DataEditorX/DataEditorX.csproj
+7
-1
No files found.
.gitignore
View file @
395acb21
...
@@ -21,6 +21,7 @@ mse-set.txt
...
@@ -21,6 +21,7 @@ mse-set.txt
.metadata
.metadata
bin/
bin/
tmp/
tmp/
.vs/
*.tmp
*.tmp
*.bak
*.bak
*.swp
*.swp
...
...
DataEditorX/Common/MyBitmap.cs
View file @
395acb21
...
@@ -142,7 +142,7 @@ public static bool SaveAsJPEG(Bitmap bitmap, string filename, int quality)
...
@@ -142,7 +142,7 @@ public static bool SaveAsJPEG(Bitmap bitmap, string filename, int quality)
if
(
ici
!=
null
)
if
(
ici
!=
null
)
bitmap
.
Save
(
filename
,
ici
,
encoderParams
);
bitmap
.
Save
(
filename
,
ici
,
encoderParams
);
else
else
bitmap
.
Save
(
filename
);
bitmap
.
Save
(
filename
,
ImageFormat
.
Jpeg
);
}
}
return
true
;
return
true
;
}
}
...
...
DataEditorX/Controls/D
oubleContor
l.cs
→
DataEditorX/Controls/D
FlowLayoutPane
l.cs
View file @
395acb21
/*
using
System
;
* 由SharpDevelop创建。
using
System.Collections.Generic
;
* 用户: Acer
using
System.Text
;
* 日期: 5月19 星期一
using
System.Windows.Forms
;
* 时间: 8:50
*
*/
using
System
;
namespace
System.Windows.Forms
namespace
DataEditorX
{
{
public
class
DListView
:
ListView
{
public
DListView
()
{
SetStyle
(
ControlStyles
.
OptimizedDoubleBuffer
|
ControlStyles
.
AllPaintingInWmPaint
,
true
);
UpdateStyles
();
}
}
public
class
DFlowLayoutPanel
:
FlowLayoutPanel
public
class
DFlowLayoutPanel
:
FlowLayoutPanel
{
{
public
DFlowLayoutPanel
()
public
DFlowLayoutPanel
()
...
@@ -29,14 +15,4 @@ public DFlowLayoutPanel()
...
@@ -29,14 +15,4 @@ public DFlowLayoutPanel()
UpdateStyles
();
UpdateStyles
();
}
}
}
}
public
class
DListBox
:
ListBox
{
public
DListBox
()
{
SetStyle
(
ControlStyles
.
OptimizedDoubleBuffer
|
ControlStyles
.
AllPaintingInWmPaint
,
true
);
UpdateStyles
();
}
}
}
}
DataEditorX/Controls/DListBox.cs
0 → 100644
View file @
395acb21
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
System.Windows.Forms
;
namespace
DataEditorX
{
public
class
DListBox
:
ListBox
{
public
DListBox
()
{
SetStyle
(
ControlStyles
.
OptimizedDoubleBuffer
|
ControlStyles
.
AllPaintingInWmPaint
,
true
);
UpdateStyles
();
}
}
}
DataEditorX/Controls/DListView.cs
0 → 100644
View file @
395acb21
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
System.Windows.Forms
;
namespace
DataEditorX
{
public
class
DListView
:
ListView
{
public
DListView
()
{
SetStyle
(
ControlStyles
.
OptimizedDoubleBuffer
|
ControlStyles
.
AllPaintingInWmPaint
,
true
);
UpdateStyles
();
}
}
}
DataEditorX/DataEditForm.Designer.cs
View file @
395acb21
...
@@ -122,10 +122,10 @@ private void InitializeComponent()
...
@@ -122,10 +122,10 @@ private void InitializeComponent()
this
.
tb_setcode3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
tb_setcode3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
tb_setcode4
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
tb_setcode4
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lb_cardcode
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lb_cardcode
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
pl_category
=
new
System
.
Windows
.
Forms
.
DFlowLayoutPanel
();
this
.
pl_category
=
new
DFlowLayoutPanel
();
this
.
pl_cardtype
=
new
System
.
Windows
.
Forms
.
DFlowLayoutPanel
();
this
.
pl_cardtype
=
new
DFlowLayoutPanel
();
this
.
lb_scripttext
=
new
System
.
Windows
.
Forms
.
DListBox
();
this
.
lb_scripttext
=
new
DListBox
();
this
.
lv_cardlist
=
new
System
.
Windows
.
Forms
.
DListView
();
this
.
lv_cardlist
=
new
DListView
();
this
.
ch_cardcode
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
ch_cardcode
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
ch_cardname
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
ch_cardname
=
new
System
.
Windows
.
Forms
.
ColumnHeader
();
this
.
mainMenu
.
SuspendLayout
();
this
.
mainMenu
.
SuspendLayout
();
...
@@ -1143,8 +1143,8 @@ private void InitializeComponent()
...
@@ -1143,8 +1143,8 @@ private void InitializeComponent()
private
System
.
Windows
.
Forms
.
Label
lb_tiptexts
;
private
System
.
Windows
.
Forms
.
Label
lb_tiptexts
;
private
System
.
Windows
.
Forms
.
Label
lb_categorys
;
private
System
.
Windows
.
Forms
.
Label
lb_categorys
;
private
System
.
Windows
.
Forms
.
Label
lb_types
;
private
System
.
Windows
.
Forms
.
Label
lb_types
;
private
System
.
Windows
.
Forms
.
DFlowLayoutPanel
pl_category
;
private
DFlowLayoutPanel
pl_category
;
private
System
.
Windows
.
Forms
.
DFlowLayoutPanel
pl_cardtype
;
private
DFlowLayoutPanel
pl_cardtype
;
private
System
.
Windows
.
Forms
.
Button
btn_serach
;
private
System
.
Windows
.
Forms
.
Button
btn_serach
;
private
System
.
Windows
.
Forms
.
Button
btn_reset
;
private
System
.
Windows
.
Forms
.
Button
btn_reset
;
private
System
.
Windows
.
Forms
.
Button
btn_lua
;
private
System
.
Windows
.
Forms
.
Button
btn_lua
;
...
@@ -1169,7 +1169,7 @@ private void InitializeComponent()
...
@@ -1169,7 +1169,7 @@ private void InitializeComponent()
private
System
.
Windows
.
Forms
.
TextBox
tb_pleft
;
private
System
.
Windows
.
Forms
.
TextBox
tb_pleft
;
private
System
.
Windows
.
Forms
.
Label
lb_pleft_right
;
private
System
.
Windows
.
Forms
.
Label
lb_pleft_right
;
private
System
.
Windows
.
Forms
.
TextBox
tb_edittext
;
private
System
.
Windows
.
Forms
.
TextBox
tb_edittext
;
private
System
.
Windows
.
Forms
.
DListBox
lb_scripttext
;
private
DListBox
lb_scripttext
;
private
System
.
Windows
.
Forms
.
TextBox
tb_cardtext
;
private
System
.
Windows
.
Forms
.
TextBox
tb_cardtext
;
private
System
.
Windows
.
Forms
.
ComboBox
cb_setname3
;
private
System
.
Windows
.
Forms
.
ComboBox
cb_setname3
;
private
System
.
Windows
.
Forms
.
ComboBox
cb_setname4
;
private
System
.
Windows
.
Forms
.
ComboBox
cb_setname4
;
...
@@ -1182,7 +1182,7 @@ private void InitializeComponent()
...
@@ -1182,7 +1182,7 @@ private void InitializeComponent()
private
System
.
Windows
.
Forms
.
ComboBox
cb_cardattribute
;
private
System
.
Windows
.
Forms
.
ComboBox
cb_cardattribute
;
private
System
.
Windows
.
Forms
.
ColumnHeader
ch_cardname
;
private
System
.
Windows
.
Forms
.
ColumnHeader
ch_cardname
;
private
System
.
Windows
.
Forms
.
ColumnHeader
ch_cardcode
;
private
System
.
Windows
.
Forms
.
ColumnHeader
ch_cardcode
;
private
System
.
Windows
.
Forms
.
DListView
lv_cardlist
;
private
DListView
lv_cardlist
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_checkupdate
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_checkupdate
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_about
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_about
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_help
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_help
;
...
...
DataEditorX/DataEditorX.csproj
View file @
395acb21
...
@@ -73,7 +73,13 @@
...
@@ -73,7 +73,13 @@
<Compile
Include=
"Common\StrUtil.cs"
/>
<Compile
Include=
"Common\StrUtil.cs"
/>
<Compile
Include=
"Common\XMLReader.cs"
/>
<Compile
Include=
"Common\XMLReader.cs"
/>
<Compile
Include=
"Config\YgoPath.cs"
/>
<Compile
Include=
"Config\YgoPath.cs"
/>
<Compile
Include=
"Controls\DoubleContorl.cs"
>
<Compile
Include=
"Controls\DFlowLayoutPanel.cs"
>
<SubType>
Component
</SubType>
</Compile>
<Compile
Include=
"Controls\DListBox.cs"
>
<SubType>
Component
</SubType>
</Compile>
<Compile
Include=
"Controls\DListView.cs"
>
<SubType>
Component
</SubType>
<SubType>
Component
</SubType>
</Compile>
</Compile>
<Compile
Include=
"Controls\FastColoredTextBoxEx.cs"
>
<Compile
Include=
"Controls\FastColoredTextBoxEx.cs"
>
...
...
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