epc_starttest_gui.xaml
<Window x:Class="EPC_StartTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 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:local="clr-namespace:EPC_StartTest" mc:Ignorable="d" Title="Nectar Endpoint Client Test" Height="660" Width="900"> <Grid x:Name="gGrid"> <Label x:Name="TP_Label" Content="Test Plan" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="30,0,0,0" VerticalAlignment="Top"/> <ComboBox x:Name="TP_DropBox" HorizontalAlignment="Left" Margin="30,25,0,0" VerticalAlignment="Top" SelectedIndex="0"/> <Label x:Name="RG_Label" Content="Resource Group" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="290,0,0,0" VerticalAlignment="Top"/> <ComboBox x:Name="RG_DropBox" HorizontalAlignment="Left" Margin="290,25,0,0" VerticalAlignment="Top" SelectedIndex="0"/> <Label x:Name="SrcEP_Label" Content="Originating Endpoint" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="30,50,0,0" VerticalAlignment="Top"/> <TextBox x:Name="SrcEndpoint_TextBox" HorizontalAlignment="Left" Margin="30,75,0,0" VerticalAlignment="Top" Height="20" Width="250"/> <ListBox x:Name="SrcEndpoint_ListBox" HorizontalAlignment="Left" Margin="30,100,0,0" VerticalAlignment="Top" Height="215" Width="250"/> <Label x:Name="SrcIF_Label" Content="Originating Interface" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="290,50,0,0" VerticalAlignment="Top"/> <ListBox x:Name="SrcInterface_ListBox" HorizontalAlignment="Left" Margin="290,75,0,0" VerticalAlignment="Top" Height="120" Width="400"/> <Label x:Name="SrcIP_Label" Content="Originating IP Address" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="700,50,0,0" VerticalAlignment="Top"/> <ListBox x:Name="SrcIPAddress_ListBox" HorizontalAlignment="Left" Margin="700,75,0,0" VerticalAlignment="Top" Height="120" Width="150"/> <Label x:Name="DstEP_Label" Content="Target Endpoint" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="30,325,0,0" VerticalAlignment="Top"/> <TextBox x:Name="DstEndpoint_TextBox" HorizontalAlignment="Left" Margin="30,350,0,0" VerticalAlignment="Top" Height="20" Width="250"/> <ListBox x:Name="DstEndpoint_ListBox" HorizontalAlignment="Left" Margin="30,375,0,0" VerticalAlignment="Top" Height="215" Width="250"/> <Label x:Name="DstIF_Label" Content="Target Interface" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="290,325,0,0" VerticalAlignment="Top"/> <ListBox x:Name="DstInterface_ListBox" HorizontalAlignment="Left" Margin="290,350,0,0" VerticalAlignment="Top" Height="120" Width="400"/> <Label x:Name="DstIP_Label" Content="Target IP Address" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="700,325,0,0" VerticalAlignment="Top"/> <ListBox x:Name="DstIPAddress_ListBox" HorizontalAlignment="Left" Margin="700,350,0,0" VerticalAlignment="Top" Height="120" Width="150"/> <Button x:Name="bSubmit" Content="Start Test" FontSize="24" HorizontalAlignment="Left" Margin="350,490,0,0" VerticalAlignment="Top" Width="250" Height="100" IsEnabled="False"/> </Grid> </Window> |