Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
潘栩锋
Thick-Common
Commits
58852a0d
Commit
58852a0d
authored
Sep 06, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 添加 主界面编辑 添加 Y轴Title 隐藏, 就是目标值,规格线 这些字
parent
4e0d0f28
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
67 additions
and
55 deletions
+67
-55
StringResource.en-US.xaml
....Base/FLY.Thick.Base.UI/Culture/StringResource.en-US.xaml
+1
-1
StringResource.zh-CN.xaml
....Base/FLY.Thick.Base.UI/Culture/StringResource.zh-CN.xaml
+3
-1
FLY.Thick.Base.UI.csproj
...FLY.Thick.Base/FLY.Thick.Base.UI/FLY.Thick.Base.UI.csproj
+21
-21
PgMainEdit.xaml
...FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/PgMainEdit.xaml
+1
-1
PgMainEdit.xaml.cs
....Thick.Base/FLY.Thick.Base.UI/MainEdit/PgMainEdit.xaml.cs
+5
-5
PgMainEditDynArea.xaml
...ck.Base/FLY.Thick.Base.UI/MainEdit/PgMainEditDynArea.xaml
+1
-1
PgMainEditDynArea.xaml.cs
...Base/FLY.Thick.Base.UI/MainEdit/PgMainEditDynArea.xaml.cs
+3
-3
PgMainEditGraph.xaml
...hick.Base/FLY.Thick.Base.UI/MainEdit/PgMainEditGraph.xaml
+1
-1
PgMainEditGraph.xaml.cs
...k.Base/FLY.Thick.Base.UI/MainEdit/PgMainEditGraph.xaml.cs
+5
-5
WdDynAreaConfig.xaml
...hick.Base/FLY.Thick.Base.UI/MainEdit/WdDynAreaConfig.xaml
+1
-1
WdDynAreaConfig.xaml.cs
...k.Base/FLY.Thick.Base.UI/MainEdit/WdDynAreaConfig.xaml.cs
+2
-2
WdGraphConfig.xaml
....Thick.Base/FLY.Thick.Base.UI/MainEdit/WdGraphConfig.xaml
+1
-1
WdGraphConfig.xaml.cs
...ick.Base/FLY.Thick.Base.UI/MainEdit/WdGraphConfig.xaml.cs
+2
-2
WdGraphTabItemConfig.xaml
...Base/FLY.Thick.Base.UI/MainEdit/WdGraphTabItemConfig.xaml
+1
-1
WdGraphTabItemConfig.xaml.cs
...e/FLY.Thick.Base.UI/MainEdit/WdGraphTabItemConfig.xaml.cs
+2
-2
WdMainConfig.xaml
...Y.Thick.Base/FLY.Thick.Base.UI/MainEdit/WdMainConfig.xaml
+10
-3
WdMainConfig.xaml.cs
...hick.Base/FLY.Thick.Base.UI/MainEdit/WdMainConfig.xaml.cs
+2
-2
FLYLayout.cs
...ct.FLY.Thick.Base/FLY.Thick.Base.UI/UIModule/FLYLayout.cs
+5
-2
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base.UI/Culture/StringResource.en-US.xaml
View file @
58852a0d
...
...
@@ -290,7 +290,7 @@
<sys:String x:Key="strTipNoTabItem">No TabItem!</sys:String>
<sys:String x:Key="strVisible">Visible</sys:String>
<sys:String x:Key="strGraphReverse">GraphReverse</sys:String>
<sys:String x:Key="strYAxisTitleHidden">YAxis Title Hidden</sys:String>
<sys:String x:Key="strScan">Scan</sys:String>
<sys:String x:Key="strHistory">History</sys:String>
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/Culture/StringResource.zh-CN.xaml
View file @
58852a0d
...
...
@@ -294,6 +294,8 @@
<sys:String x:Key="strTipNoTabItem">没有页面!</sys:String>
<sys:String x:Key="strVisible">显示</sys:String>
<sys:String x:Key="strGraphReverse">图像反向</sys:String>
<sys:String x:Key="strYAxisTitleHidden">隐藏Y轴标题</sys:String>
<sys:String x:Key="strScan">扫描</sys:String>
<sys:String x:Key="strHistory">历史</sys:String>
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/FLY.Thick.Base.UI.csproj
View file @
58852a0d
...
...
@@ -131,14 +131,14 @@
<Compile
Include=
"Page_Loading.xaml.cs"
>
<DependentUpon>
Page_Loading.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\P
age_
MainEdit.xaml.cs"
>
<DependentUpon>
P
age_
MainEdit.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\P
g
MainEdit.xaml.cs"
>
<DependentUpon>
P
g
MainEdit.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\P
age_
MainEditDynArea.xaml.cs"
>
<DependentUpon>
P
age_
MainEditDynArea.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\P
g
MainEditDynArea.xaml.cs"
>
<DependentUpon>
P
g
MainEditDynArea.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\P
age_
MainEditGraph.xaml.cs"
>
<DependentUpon>
P
age_
MainEditGraph.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\P
g
MainEditGraph.xaml.cs"
>
<DependentUpon>
P
g
MainEditGraph.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Page_ProfilePlastic.xaml.cs"
>
<DependentUpon>
Page_ProfilePlastic.xaml
</DependentUpon>
...
...
@@ -192,17 +192,17 @@
<Compile
Include=
"Window_FlyADAccess.xaml.cs"
>
<DependentUpon>
Window_FlyADAccess.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\W
indow_MainEditDynAreaComponent
.xaml.cs"
>
<DependentUpon>
W
indow_MainEditDynAreaComponent
.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\W
dDynAreaConfig
.xaml.cs"
>
<DependentUpon>
W
dDynAreaConfig
.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\W
indow_MainEditGraphComponent
.xaml.cs"
>
<DependentUpon>
W
indow_MainEditGraphComponent
.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\W
dGraphConfig
.xaml.cs"
>
<DependentUpon>
W
dGraphConfig
.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\W
indow_MainEditGraphTabItem
.xaml.cs"
>
<DependentUpon>
W
indow_MainEditGraphTabItem
.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\W
dGraphTabItemConfig
.xaml.cs"
>
<DependentUpon>
W
dGraphTabItemConfig
.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainEdit\W
indow_MainSet
.xaml.cs"
>
<DependentUpon>
W
indow_MainSet
.xaml
</DependentUpon>
<Compile
Include=
"MainEdit\W
dMainConfig
.xaml.cs"
>
<DependentUpon>
W
dMainConfig
.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Window_Password.xaml.cs"
>
<DependentUpon>
Window_Password.xaml
</DependentUpon>
...
...
@@ -264,15 +264,15 @@
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\P
age_
MainEdit.xaml"
>
<Page
Include=
"MainEdit\P
g
MainEdit.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\P
age_
MainEditDynArea.xaml"
>
<Page
Include=
"MainEdit\P
g
MainEditDynArea.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\P
age_
MainEditGraph.xaml"
>
<Page
Include=
"MainEdit\P
g
MainEditGraph.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
...
...
@@ -344,19 +344,19 @@
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\W
indow_MainEditDynAreaComponent
.xaml"
>
<Page
Include=
"MainEdit\W
dDynAreaConfig
.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\W
indow_MainEditGraphComponent
.xaml"
>
<Page
Include=
"MainEdit\W
dGraphConfig
.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\W
indow_MainEditGraphTabItem
.xaml"
>
<Page
Include=
"MainEdit\W
dGraphTabItemConfig
.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
<Page
Include=
"MainEdit\W
indow_MainSet
.xaml"
>
<Page
Include=
"MainEdit\W
dMainConfig
.xaml"
>
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
age_
MainEdit.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
g
MainEdit.xaml
View file @
58852a0d
<Page x:Class="ThickTcpUiInWindow.MainEdit.P
age_
MainEdit"
<Page x:Class="ThickTcpUiInWindow.MainEdit.P
g
MainEdit"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
age_
MainEdit.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
g
MainEdit.xaml.cs
View file @
58852a0d
...
...
@@ -18,11 +18,11 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Page_MainEdit.xaml 的交互逻辑
/// </summary>
public
partial
class
P
age_
MainEdit
:
Page
public
partial
class
P
g
MainEdit
:
Page
{
FLYLayoutManager
mManager
;
public
P
age_
MainEdit
()
public
P
g
MainEdit
()
{
InitializeComponent
();
}
...
...
@@ -32,21 +32,21 @@ namespace ThickTcpUiInWindow.MainEdit
}
private
void
button_dynarea_Click
(
object
sender
,
RoutedEventArgs
e
)
{
P
age_MainEditDynArea
p
=
new
Page_
MainEditDynArea
();
P
gMainEditDynArea
p
=
new
Pg
MainEditDynArea
();
p
.
Init
(
mManager
);
NavigationService
.
Navigate
(
p
);
}
private
void
button_graph_Click
(
object
sender
,
RoutedEventArgs
e
)
{
P
age_MainEditGraph
p
=
new
Page_
MainEditGraph
();
P
gMainEditGraph
p
=
new
Pg
MainEditGraph
();
p
.
Init
(
mManager
);
NavigationService
.
Navigate
(
p
);
}
private
void
button_setting_Click
(
object
sender
,
RoutedEventArgs
e
)
{
W
indow_MainSet
w
=
new
Window_MainSet
();
W
dMainConfig
w
=
new
WdMainConfig
();
w
.
Init
(
mManager
);
w
.
Owner
=
FLY
.
ControlLibrary
.
COMMON
.
GetWindow
(
this
);
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
age_
MainEditDynArea.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
g
MainEditDynArea.xaml
View file @
58852a0d
<Page x:Class="ThickTcpUiInWindow.MainEdit.P
age_
MainEditDynArea"
<Page x:Class="ThickTcpUiInWindow.MainEdit.P
g
MainEditDynArea"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
age_
MainEditDynArea.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
g
MainEditDynArea.xaml.cs
View file @
58852a0d
...
...
@@ -18,14 +18,14 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Page_MainEditDynArea.xaml 的交互逻辑
/// </summary>
public
partial
class
P
age_
MainEditDynArea
:
Page
public
partial
class
P
g
MainEditDynArea
:
Page
{
UIModule
.
FLYLayout
mLayout
;
FLYLayoutManager
mManager
;
ObservableCollection
<
GraphComponentType
>
ToolboxItems
;
ObservableCollection
<
DynAreaComponent
>
Items
;
public
P
age_
MainEditDynArea
()
public
P
g
MainEditDynArea
()
{
InitializeComponent
();
}
...
...
@@ -194,7 +194,7 @@ namespace ThickTcpUiInWindow.MainEdit
//异常
return
;
}
W
indow_MainEditDynAreaComponent
w
=
new
Window_MainEditDynAreaComponent
();
W
dDynAreaConfig
w
=
new
WdDynAreaConfig
();
w
.
Init
(
Items
,
idx
);
w
.
Owner
=
FLY
.
ControlLibrary
.
COMMON
.
GetWindow
(
this
);
w
.
ShowDialog
();
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
age_
MainEditGraph.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
g
MainEditGraph.xaml
View file @
58852a0d
<Page x:Class="ThickTcpUiInWindow.MainEdit.P
age_
MainEditGraph"
<Page x:Class="ThickTcpUiInWindow.MainEdit.P
g
MainEditGraph"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
age_
MainEditGraph.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/P
g
MainEditGraph.xaml.cs
View file @
58852a0d
...
...
@@ -20,7 +20,7 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Page_MainEditGraph.xaml 的交互逻辑
/// </summary>
public
partial
class
P
age_
MainEditGraph
:
Page
public
partial
class
P
g
MainEditGraph
:
Page
{
FLYLayoutManager
mManager
;
UIModule
.
FLYLayout
mLayout
;
...
...
@@ -28,7 +28,7 @@ namespace ThickTcpUiInWindow.MainEdit
ObservableCollection
<
GraphTabItem
>
Items
;
ObservableCollection
<
GraphComponentType
>
ToolboxItems
;
public
P
age_
MainEditGraph
()
public
P
g
MainEditGraph
()
{
InitializeComponent
();
...
...
@@ -389,7 +389,7 @@ namespace ThickTcpUiInWindow.MainEdit
return
;
}
W
indow_MainEditGraphTabItem
w
=
new
Window_MainEditGraphTabItem
();
W
dGraphTabItemConfig
w
=
new
WdGraphTabItemConfig
();
w
.
Init
(
Items
,
idx
);
w
.
Owner
=
FLY
.
ControlLibrary
.
COMMON
.
GetWindow
(
this
);
w
.
ShowDialog
();
...
...
@@ -439,7 +439,7 @@ namespace ThickTcpUiInWindow.MainEdit
Rect
=
new
System
.
Drawing
.
Rectangle
(
p
.
X
,
p
.
Y
,
1
,
1
)
};
W
indow_MainEditGraphComponent
w
=
new
Window_MainEditGraphComponent
();
W
dGraphConfig
w
=
new
WdGraphConfig
();
w
.
Init
(
c
);
w
.
Owner
=
FLY
.
ControlLibrary
.
COMMON
.
GetWindow
(
this
);
if
(
w
.
ShowDialog
()
==
true
)
...
...
@@ -488,7 +488,7 @@ namespace ThickTcpUiInWindow.MainEdit
Button
button
=
sender
as
Button
;
GraphComponent
c
=
button
.
Tag
as
GraphComponent
;
W
indow_MainEditGraphComponent
w
=
new
Window_MainEditGraphComponent
();
W
dGraphConfig
w
=
new
WdGraphConfig
();
w
.
Init
(
c
);
w
.
Owner
=
FLY
.
ControlLibrary
.
COMMON
.
GetWindow
(
this
);
if
(
w
.
ShowDialog
()
==
true
)
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainEditDynAreaComponent
.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dDynAreaConfig
.xaml
View file @
58852a0d
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
indow_MainEditDynAreaComponent
"
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
dDynAreaConfig
"
xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainEditDynAreaComponent
.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dDynAreaConfig
.xaml.cs
View file @
58852a0d
...
...
@@ -17,11 +17,11 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Window_MainEditDynAreaComponent.xaml 的交互逻辑
/// </summary>
public
partial
class
W
indow_MainEditDynAreaComponent
:
FLY
.
ControlLibrary
.
WindowBigClose
public
partial
class
W
dDynAreaConfig
:
FLY
.
ControlLibrary
.
WindowBigClose
{
ObservableCollection
<
DynAreaComponent
>
Items
;
int
Idx
;
public
W
indow_MainEditDynAreaComponent
()
public
W
dDynAreaConfig
()
{
InitializeComponent
();
}
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainEditGraphComponent
.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dGraphConfig
.xaml
View file @
58852a0d
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
indow_MainEditGraphComponent
"
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
dGraphConfig
"
xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainEditGraphComponent
.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dGraphConfig
.xaml.cs
View file @
58852a0d
...
...
@@ -17,10 +17,10 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Window_MainEditGraphComponent.xaml 的交互逻辑
/// </summary>
public
partial
class
W
indow_MainEditGraphComponent
:
FLY
.
ControlLibrary
.
WindowBigClose
public
partial
class
W
dGraphConfig
:
FLY
.
ControlLibrary
.
WindowBigClose
{
public
GraphComponentEditResult
Result
;
public
W
indow_MainEditGraphComponent
()
public
W
dGraphConfig
()
{
InitializeComponent
();
}
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainEditGraphTabItem
.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dGraphTabItemConfig
.xaml
View file @
58852a0d
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
indow_MainEditGraphTabItem
"
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
dGraphTabItemConfig
"
xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainEditGraphTabItem
.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dGraphTabItemConfig
.xaml.cs
View file @
58852a0d
...
...
@@ -18,12 +18,12 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Window_MainEditGraphTabItem.xaml 的交互逻辑
/// </summary>
public
partial
class
W
indow_MainEditGraphTabItem
:
FLY
.
ControlLibrary
.
WindowBigClose
public
partial
class
W
dGraphTabItemConfig
:
FLY
.
ControlLibrary
.
WindowBigClose
{
ObservableCollection
<
GraphTabItem
>
Items
;
int
Idx
;
GraphTabItem_RC
ItemRC
;
public
W
indow_MainEditGraphTabItem
()
public
W
dGraphTabItemConfig
()
{
InitializeComponent
();
}
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainSet
.xaml
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dMainConfig
.xaml
View file @
58852a0d
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
indow_MainSet
"
<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.W
dMainConfig
"
xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
...
@@ -79,9 +79,16 @@
</Button>
</StackPanel>
<StackPanel Orientation="Horizontal">
<StackPanel Margin="2">
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strGraphReverse}" />
<ToggleButton Style="{StaticResource ToggleButtonStyle1}" IsChecked="{Binding IsGraphReverse}" HorizontalAlignment="Left"/>
</StackPanel>
<StackPanel Margin="2">
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strYAxisTitleHidden}" />
<ToggleButton Style="{StaticResource ToggleButtonStyle1}" IsChecked="{Binding IsYAxisTitleHidden}" HorizontalAlignment="Left"/>
</StackPanel>
</StackPanel>
</StackPanel>
</GroupBox>
<StackPanel Orientation="Horizontal" Margin="3" HorizontalAlignment="Right">
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
indow_MainSet
.xaml.cs
→
Project.FLY.Thick.Base/FLY.Thick.Base.UI/MainEdit/W
dMainConfig
.xaml.cs
View file @
58852a0d
...
...
@@ -18,12 +18,12 @@ namespace ThickTcpUiInWindow.MainEdit
/// <summary>
/// Window_MainSet.xaml 的交互逻辑
/// </summary>
public
partial
class
W
indow_MainSet
:
FLY
.
ControlLibrary
.
WindowBigClose
public
partial
class
W
dMainConfig
:
FLY
.
ControlLibrary
.
WindowBigClose
{
ObservableCollection
<
ControllerStateTabItemHeader
>
mControllerStates
=
new
ObservableCollection
<
ControllerStateTabItemHeader
>();
FLYLayoutManager
mManager
;
public
W
indow_MainSet
()
public
W
dMainConfig
()
{
InitializeComponent
();
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/UIModule/FLYLayout.cs
View file @
58852a0d
...
...
@@ -43,7 +43,6 @@ namespace ThickTcpUiInWindow.UIModule
if
(
dynareawidth
!=
value
)
{
dynareawidth
=
value
;
NotifyPropertyChanged
(
"DynAreaWidth"
);
}
}
}
...
...
@@ -59,6 +58,10 @@ namespace ThickTcpUiInWindow.UIModule
/// </summary>
public
bool
IsGraphReverse
{
get
;
set
;
}
=
false
;
/// <summary>
/// 隐藏Y轴标题
/// </summary>
public
bool
IsYAxisTitleHidden
{
get
;
set
;
}
=
false
;
/// <summary>
/// 隐藏 logo
/// </summary>
...
...
@@ -139,7 +142,7 @@ namespace ThickTcpUiInWindow.UIModule
"DynAreaItems"
,
"DynAreaWidth"
,
"IsDynAreaVisible"
,
"IsGraphReverse"
,
"Left"
,
"Top"
,
"Width"
,
"Height"
,
"WindowState"
,
"IsLogoHidden"
"IsLogoHidden"
,
"IsYAxisTitleHidden"
};
}
...
...
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