~ruther/NosTale-PacketLogger

ref: 4c57d115bd9a01dbf03c333f0e0193415a04f1c0 NosTale-PacketLogger/src/PacketLogger/Views/PacketSenderView.axaml -rw-r--r-- 888 bytes
4c57d115 — Rutherther feat: make textbox for sending packets disabled when sending and button change text to stop 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:viewModels="clr-namespace:PacketLogger.ViewModels"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="PacketLogger.Views.PacketSenderView">
    <Design.DataContext>
        <viewModels:PacketSenderViewModel />
    </Design.DataContext>
    <StackPanel Orientation="Vertical" Margin="10">
        <TextBlock Text="Recv" Margin="0,0,0,5" />
        <ContentControl Content="{Binding RecvSubViewModel}" />
        <TextBlock Text="Send" Margin="0,5,0,5" />
        <ContentControl Content="{Binding SendSubViewModel}" />
    </StackPanel>
</UserControl>
Do not follow this link