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
f18413f0
Commit
f18413f0
authored
Jun 08, 2020
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code format
parent
4582ac87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
DataEditorX/Core/TaskHelper.cs
DataEditorX/Core/TaskHelper.cs
+6
-2
DataEditorX/DataEditForm.cs
DataEditorX/DataEditForm.cs
+2
-2
No files found.
DataEditorX/Core/TaskHelper.cs
View file @
f18413f0
...
@@ -76,6 +76,7 @@ public Card[] CardList
...
@@ -76,6 +76,7 @@ public Card[] CardList
public
TaskHelper
(
string
datapath
,
BackgroundWorker
worker
,
MSEConfig
mcfg
)
public
TaskHelper
(
string
datapath
,
BackgroundWorker
worker
,
MSEConfig
mcfg
)
{
{
this
.
Datapath
=
datapath
;
this
.
worker
=
worker
;
this
.
worker
=
worker
;
this
.
mseHelper
=
new
MseMaker
(
mcfg
);
this
.
mseHelper
=
new
MseMaker
(
mcfg
);
this
.
imgSet
=
new
ImageSet
();
this
.
imgSet
=
new
ImageSet
();
...
@@ -97,12 +98,12 @@ public void Cancel()
...
@@ -97,12 +98,12 @@ public void Cancel()
this
.
isRun
=
false
;
this
.
isRun
=
false
;
this
.
isCancel
=
true
;
this
.
isCancel
=
true
;
}
}
public
MyTask
g
etLastTask
()
public
MyTask
G
etLastTask
()
{
{
return
this
.
lastTask
;
return
this
.
lastTask
;
}
}
public
void
t
estPendulumText
(
string
desc
){
public
void
T
estPendulumText
(
string
desc
){
this
.
mseHelper
.
TestPendulum
(
desc
);
this
.
mseHelper
.
TestPendulum
(
desc
);
}
}
#
endregion
#
endregion
...
@@ -277,6 +278,9 @@ public string MSEImagePath
...
@@ -277,6 +278,9 @@ public string MSEImagePath
{
{
get
{
return
this
.
mseHelper
.
ImagePath
;
}
get
{
return
this
.
mseHelper
.
ImagePath
;
}
}
}
public
string
Datapath
{
get
;
}
public
void
SaveMSEs
(
string
file
,
Card
[]
cards
,
bool
isUpdate
)
public
void
SaveMSEs
(
string
file
,
Card
[]
cards
,
bool
isUpdate
)
{
{
if
(
cards
==
null
)
if
(
cards
==
null
)
...
...
DataEditorX/DataEditForm.cs
View file @
f18413f0
...
@@ -1352,7 +1352,7 @@ void BgWorker1RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerC
...
@@ -1352,7 +1352,7 @@ void BgWorker1RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerC
}
}
else
else
{
{
MyTask
mt
=
this
.
tasker
.
g
etLastTask
();
MyTask
mt
=
this
.
tasker
.
G
etLastTask
();
switch
(
mt
)
switch
(
mt
)
{
{
case
MyTask
.
CheckUpdate
:
case
MyTask
.
CheckUpdate
:
...
@@ -2079,7 +2079,7 @@ void Menuitem_testPendulumTextClick(object sender, EventArgs e)
...
@@ -2079,7 +2079,7 @@ void Menuitem_testPendulumTextClick(object sender, EventArgs e)
{
{
Card
c
=
this
.
GetCard
();
Card
c
=
this
.
GetCard
();
if
(
c
!=
null
){
if
(
c
!=
null
){
this
.
tasker
.
t
estPendulumText
(
c
.
desc
);
this
.
tasker
.
T
estPendulumText
(
c
.
desc
);
}
}
}
}
void
Menuitem_export_select_sqlClick
(
object
sender
,
EventArgs
e
)
void
Menuitem_export_select_sqlClick
(
object
sender
,
EventArgs
e
)
...
...
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