<Window x:Class="SendMail.Main"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Send Mail Demo" Height="433" Width="476" WindowStartupLocation="CenterScreen">
    <Grid>
        <Label Height="28" HorizontalAlignment="Left" Margin="11,135,0,0" Name="label7" VerticalAlignment="Top" Width="133">Cc:</Label>
        <Label Height="28" HorizontalAlignment="Left" Margin="10,11,0,0" Name="label1" VerticalAlignment="Top" Width="81">SMTP Server:</Label>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="82,12,0,0" Name="txtServer" VerticalAlignment="Top" Width="121"></TextBox>
        <Label Height="28" HorizontalAlignment="Left" Margin="211,10,0,0" Name="label2" VerticalAlignment="Top" Width="44">Port:</Label>
        <TextBox Height="23" Margin="250,12,0,0" Name="txtPort" VerticalAlignment="Top" HorizontalAlignment="Left" Width="54">25</TextBox>
        <ComboBox Height="23" Margin="339,12,13,0" Name="cbxMode" SelectedIndex="0" VerticalAlignment="Top">
        </ComboBox>
        <Label Height="28" HorizontalAlignment="Left" Margin="10,44,0,0" Name="label3" VerticalAlignment="Top" Width="81">Username:</Label>
        <TextBox Height="23" Margin="82,45,251,0" Name="txtUsername" VerticalAlignment="Top"></TextBox>
        <Label Name="label4" Margin="241,44,150,0" Height="28" VerticalAlignment="Top">Password:</Label>
        <TextBox Height="23" Margin="310,44,13,0" Name="txtPassword" VerticalAlignment="Top"></TextBox>
        <Label Height="28" HorizontalAlignment="Left" Margin="10,77,0,0" Name="label5" VerticalAlignment="Top" Width="133">From email:</Label>
        <TextBox Height="23" Margin="82,77,13,0" Name="txtFrom" VerticalAlignment="Top" />
        <Button HorizontalAlignment="Right" Margin="0,222,13,0" Name="btnUpload" Width="75" Height="23" VerticalAlignment="Top" Click="btnUpload_Click">Send</Button>
        <Label Height="28" HorizontalAlignment="Left" Margin="11,106,0,0" Name="label6" VerticalAlignment="Top" Width="133">To emails:</Label>
        <TextBox Height="23" Margin="82,106,13,0" Name="txtTo" VerticalAlignment="Top" />
        <TextBox Height="23" Margin="82,135,13,0" Name="txtCC" VerticalAlignment="Top" />
        <Label HorizontalAlignment="Left" Margin="11,164,0,148" Name="label8" Width="133">Bcc:</Label>
        <TextBox Margin="82,164,13,0" Name="txtBcc" Height="23" VerticalAlignment="Top" />
        <Label Height="28" HorizontalAlignment="Left" Margin="11,193,0,0" Name="label9" VerticalAlignment="Top" Width="133">Subject:</Label>
        <TextBox Height="23" Margin="82,193,13,0" Name="txtSubject" VerticalAlignment="Top" />
        <TextBox Height="132" Margin="12,0,13,12" Name="txtContent" VerticalAlignment="Bottom" />
        <Label Height="28" HorizontalAlignment="Left" Margin="10,0,0,148" Name="label10" VerticalAlignment="Bottom" Width="133">Content:</Label>
    </Grid>
</Window>
