<Window x:Class="DevelopWebApiDemo.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:DevelopWebApiDemo"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="32*"/>
            <RowDefinition Height="403*"/>
        </Grid.RowDefinitions>
        <Label Content="服务器:" HorizontalAlignment="Left" Margin="12,0,0,0" VerticalAlignment="Center"/>
        <TextBox x:Name="serverIp" HorizontalAlignment="Left" Margin="69,0,0,0" Text="http://localhost:9000" TextWrapping="Wrap" VerticalAlignment="Center" Width="558"/>
        <Button x:Name="loginb" Content="登录" HorizontalAlignment="Left" Margin="647,0,0,0" VerticalAlignment="Center" Width="72" Click="loginb_Click"/>

    </Grid>
</Window>
