|
|
|
@ -10,6 +10,7 @@ |
|
|
|
xmlns:vm="clr-namespace:MultiTerm.Core.ViewModel;assembly=MultiTerm.Core" |
|
|
|
xmlns:vm="clr-namespace:MultiTerm.Core.ViewModel;assembly=MultiTerm.Core" |
|
|
|
xmlns:v="clr-namespace:MultiTerm.Wpf.View" |
|
|
|
xmlns:v="clr-namespace:MultiTerm.Wpf.View" |
|
|
|
xmlns:types="clr-namespace:MultiTerm.Core.Types;assembly=MultiTerm.Core" |
|
|
|
xmlns:types="clr-namespace:MultiTerm.Core.Types;assembly=MultiTerm.Core" |
|
|
|
|
|
|
|
xmlns:protocol_types="clr-namespace:MultiTerm.Protocols.Types;assembly=MultiTerm.Protocols" |
|
|
|
xmlns:helpers="clr-namespace:MultiTerm.Wpf.Helpers" |
|
|
|
xmlns:helpers="clr-namespace:MultiTerm.Wpf.Helpers" |
|
|
|
mc:Ignorable="d" |
|
|
|
mc:Ignorable="d" |
|
|
|
d:DesignHeight="600" d:DesignWidth="1200"> |
|
|
|
d:DesignHeight="600" d:DesignWidth="1200"> |
|
|
|
@ -36,7 +37,7 @@ |
|
|
|
ObjectType="{x:Type sys:Enum}" |
|
|
|
ObjectType="{x:Type sys:Enum}" |
|
|
|
MethodName="GetValues"> |
|
|
|
MethodName="GetValues"> |
|
|
|
<ObjectDataProvider.MethodParameters> |
|
|
|
<ObjectDataProvider.MethodParameters> |
|
|
|
<x:Type TypeName="types:ProtocolType" /> |
|
|
|
<x:Type TypeName="protocol_types:ProtocolType" /> |
|
|
|
</ObjectDataProvider.MethodParameters> |
|
|
|
</ObjectDataProvider.MethodParameters> |
|
|
|
</ObjectDataProvider> |
|
|
|
</ObjectDataProvider> |
|
|
|
</UserControl.Resources> |
|
|
|
</UserControl.Resources> |
|
|
|
@ -111,7 +112,7 @@ |
|
|
|
<controls:CommandableSubMenu Title="Protocol" |
|
|
|
<controls:CommandableSubMenu Title="Protocol" |
|
|
|
OptionsSource="{Binding Source={StaticResource ProtocolTypeValues}}" |
|
|
|
OptionsSource="{Binding Source={StaticResource ProtocolTypeValues}}" |
|
|
|
Command="{Binding Data.AppendTerminalWithSelectedViewTypeCommand, Source={StaticResource proxy}}" |
|
|
|
Command="{Binding Data.AppendTerminalWithSelectedViewTypeCommand, Source={StaticResource proxy}}" |
|
|
|
CommandParameterType="{x:Type types:ProtocolType}"> |
|
|
|
CommandParameterType="{x:Type protocol_types:ProtocolType}"> |
|
|
|
</controls:CommandableSubMenu> |
|
|
|
</controls:CommandableSubMenu> |
|
|
|
</ContextMenu> |
|
|
|
</ContextMenu> |
|
|
|
</Button.ContextMenu> |
|
|
|
</Button.ContextMenu> |
|
|
|
|