Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KenPanCS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QCD
Tools
KenPanCS
Commits
c1b1cd01
Commit
c1b1cd01
authored
Dec 09, 2021
by
tsuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UpDownメニューの初期値(前回記憶値)が表示されない不具合を修正
parent
933feca2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
42 deletions
+42
-42
App.config
Code/CSRender/CSRender/App.config
+5
-5
MainWindow.xaml.cs
Code/CSRender/CSRender/MainWindow.xaml.cs
+12
-12
Settings.Designer.cs
Code/CSRender/CSRender/Properties/Settings.Designer.cs
+15
-15
Settings.settings
Code/CSRender/CSRender/Properties/Settings.settings
+10
-10
No files found.
Code/CSRender/CSRender/App.config
View file @
c1b1cd01
...
...
@@ -11,22 +11,22 @@
<
userSettings
>
<
CSRender
.
Properties
.
Settings
>
<
setting
name
=
"resolutionSetting"
serializeAs
=
"String"
>
<
value
/
>
<
value
>
75
</
value
>
</
setting
>
<
setting
name
=
"formatSetting"
serializeAs
=
"String"
>
<
value
/>
</
setting
>
<
setting
name
=
"shiftPixelSetting"
serializeAs
=
"String"
>
<
value
/
>
<
value
>
2
</
value
>
</
setting
>
<
setting
name
=
"colorMarginSetting"
serializeAs
=
"String"
>
<
value
/
>
<
value
>
60
</
value
>
</
setting
>
<
setting
name
=
"removePointSetting"
serializeAs
=
"String"
>
<
value
/
>
<
value
>
8
</
value
>
</
setting
>
<
setting
name
=
"shadingOffSetting"
serializeAs
=
"String"
>
<
value
/
>
<
value
>
5
</
value
>
</
setting
>
<
setting
name
=
"workSpaceSetting"
serializeAs
=
"String"
>
<
value
/>
...
...
Code/CSRender/CSRender/MainWindow.xaml.cs
View file @
c1b1cd01
...
...
@@ -51,12 +51,12 @@ namespace CSRender
FileSelect
.
ItemsSource
=
FilePattern
;
//デフォルトに前回の設定値を表示
ResolutionBox
.
Text
=
Properties
.
Settings
.
Default
.
resolutionSetting
;
ResolutionBox
.
Value
=
Properties
.
Settings
.
Default
.
resolutionSetting
;
FileSelect
.
Text
=
Properties
.
Settings
.
Default
.
formatSetting
;
PositionBox
.
Text
=
Properties
.
Settings
.
Default
.
shiftPixelSetting
;
GradationBox
.
Text
=
Properties
.
Settings
.
Default
.
colorMarginSetting
;
SmallDiffBox
.
Text
=
Properties
.
Settings
.
Default
.
removePointSetting
;
VisualBox
.
Text
=
Properties
.
Settings
.
Default
.
shadingOffSetting
;
PositionBox
.
Value
=
Properties
.
Settings
.
Default
.
shiftPixelSetting
;
GradationBox
.
Value
=
Properties
.
Settings
.
Default
.
colorMarginSetting
;
SmallDiffBox
.
Value
=
Properties
.
Settings
.
Default
.
removePointSetting
;
VisualBox
.
Value
=
Properties
.
Settings
.
Default
.
shadingOffSetting
;
workBox
.
Text
=
Properties
.
Settings
.
Default
.
workSpaceSetting
;
//ドラッグ&ドロップイベントの追加
...
...
@@ -223,12 +223,12 @@ namespace CSRender
ResultConsole
.
Text
+=
"\r\n"
;
//パラメータを次回初期値用に保存
Properties
.
Settings
.
Default
.
resolutionSetting
=
ResolutionBox
.
Text
;
Properties
.
Settings
.
Default
.
resolutionSetting
=
ResolutionBox
.
Value
;
Properties
.
Settings
.
Default
.
formatSetting
=
FileSelect
.
Text
;
Properties
.
Settings
.
Default
.
shiftPixelSetting
=
PositionBox
.
Text
;
Properties
.
Settings
.
Default
.
colorMarginSetting
=
GradationBox
.
Text
;
Properties
.
Settings
.
Default
.
removePointSetting
=
SmallDiffBox
.
Text
;
Properties
.
Settings
.
Default
.
shadingOffSetting
=
VisualBox
.
Text
;
Properties
.
Settings
.
Default
.
shiftPixelSetting
=
PositionBox
.
Value
;
Properties
.
Settings
.
Default
.
colorMarginSetting
=
GradationBox
.
Value
;
Properties
.
Settings
.
Default
.
removePointSetting
=
SmallDiffBox
.
Value
;
Properties
.
Settings
.
Default
.
shadingOffSetting
=
VisualBox
.
Value
;
Properties
.
Settings
.
Default
.
workSpaceSetting
=
workBox
.
Text
;
Properties
.
Settings
.
Default
.
Save
();
}
...
...
@@ -327,7 +327,7 @@ namespace CSRender
ResultConsole
.
ScrollToEnd
();
//パラメータを次回初期値用に保存
Properties
.
Settings
.
Default
.
resolutionSetting
=
ResolutionBox
.
Text
;
Properties
.
Settings
.
Default
.
resolutionSetting
=
ResolutionBox
.
Value
;
Properties
.
Settings
.
Default
.
formatSetting
=
FileSelect
.
Text
;
Properties
.
Settings
.
Default
.
workSpaceSetting
=
workBox
.
Text
;
Properties
.
Settings
.
Default
.
Save
();
...
...
Code/CSRender/CSRender/Properties/Settings.Designer.cs
View file @
c1b1cd01
...
...
@@ -25,10 +25,10 @@ namespace CSRender.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
""
)]
public
string
resolutionSetting
{
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"
75
"
)]
public
decimal
resolutionSetting
{
get
{
return
((
string
)(
this
[
"resolutionSetting"
]));
return
((
decimal
)(
this
[
"resolutionSetting"
]));
}
set
{
this
[
"resolutionSetting"
]
=
value
;
...
...
@@ -49,10 +49,10 @@ namespace CSRender.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
""
)]
public
string
shiftPixelSetting
{
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"
2
"
)]
public
decimal
shiftPixelSetting
{
get
{
return
((
string
)(
this
[
"shiftPixelSetting"
]));
return
((
decimal
)(
this
[
"shiftPixelSetting"
]));
}
set
{
this
[
"shiftPixelSetting"
]
=
value
;
...
...
@@ -61,10 +61,10 @@ namespace CSRender.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
""
)]
public
string
colorMarginSetting
{
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"
60
"
)]
public
decimal
colorMarginSetting
{
get
{
return
((
string
)(
this
[
"colorMarginSetting"
]));
return
((
decimal
)(
this
[
"colorMarginSetting"
]));
}
set
{
this
[
"colorMarginSetting"
]
=
value
;
...
...
@@ -73,10 +73,10 @@ namespace CSRender.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
""
)]
public
string
removePointSetting
{
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"
8
"
)]
public
decimal
removePointSetting
{
get
{
return
((
string
)(
this
[
"removePointSetting"
]));
return
((
decimal
)(
this
[
"removePointSetting"
]));
}
set
{
this
[
"removePointSetting"
]
=
value
;
...
...
@@ -85,10 +85,10 @@ namespace CSRender.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
""
)]
public
string
shadingOffSetting
{
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"
5
"
)]
public
decimal
shadingOffSetting
{
get
{
return
((
string
)(
this
[
"shadingOffSetting"
]));
return
((
decimal
)(
this
[
"shadingOffSetting"
]));
}
set
{
this
[
"shadingOffSetting"
]
=
value
;
...
...
Code/CSRender/CSRender/Properties/Settings.settings
View file @
c1b1cd01
...
...
@@ -2,23 +2,23 @@
<SettingsFile
xmlns=
"http://schemas.microsoft.com/VisualStudio/2004/01/settings"
CurrentProfile=
"(Default)"
GeneratedClassNamespace=
"CSRender.Properties"
GeneratedClassName=
"Settings"
>
<Profiles
/>
<Settings>
<Setting
Name=
"resolutionSetting"
Type=
"System.
String
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/
>
<Setting
Name=
"resolutionSetting"
Type=
"System.
Decimal
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
75
</Value
>
</Setting>
<Setting
Name=
"formatSetting"
Type=
"System.String"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/>
</Setting>
<Setting
Name=
"shiftPixelSetting"
Type=
"System.
String
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/
>
<Setting
Name=
"shiftPixelSetting"
Type=
"System.
Decimal
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
2
</Value
>
</Setting>
<Setting
Name=
"colorMarginSetting"
Type=
"System.
String
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/
>
<Setting
Name=
"colorMarginSetting"
Type=
"System.
Decimal
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
60
</Value
>
</Setting>
<Setting
Name=
"removePointSetting"
Type=
"System.
String
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/
>
<Setting
Name=
"removePointSetting"
Type=
"System.
Decimal
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
8
</Value
>
</Setting>
<Setting
Name=
"shadingOffSetting"
Type=
"System.
String
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/
>
<Setting
Name=
"shadingOffSetting"
Type=
"System.
Decimal
"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
5
</Value
>
</Setting>
<Setting
Name=
"workSpaceSetting"
Type=
"System.String"
Scope=
"User"
>
<Value
Profile=
"(Default)"
/>
...
...
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