You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
2.6 KiB

<Window x:Class="formula_manage.Windows.Sql"
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:formula_manage.Windows"
mc:Ignorable="d" Title="Sql" Loaded="Window_SQL"
Height="450" Width="280" MaxHeight="450" MaxWidth="280" ResizeMode="NoResize">
<Grid>
<TextBox x:Name="TEXT_SQLIP" Height="20" Margin="80,20,20,0" TextWrapping="Wrap" Text=".\" VerticalAlignment="Top" />
<ComboBox x:Name="TEXT_SQMOD" Height="20" Margin="80,50,20,0" VerticalAlignment="Top" >
<ComboBoxItem Content="Windows 身份认证"></ComboBoxItem>
<ComboBoxItem Content="SQL SERVER 身份认证"></ComboBoxItem>
</ComboBox>
<TextBox x:Name="TEXT_SQLNAME" Height="20" Margin="80,80,20,0" TextWrapping="Wrap" Text="Dispensing" VerticalAlignment="Top"/>
<TextBox x:Name="TEXT_SQLUSER" Height="20" Margin="80,110,20,0" TextWrapping="Wrap" Text="sa" VerticalAlignment="Top"/>
<TextBox x:Name="TEXT_SQLPASWORD" Height="20" Margin="80,140,20,0" TextWrapping="Wrap" Text="sunlight" VerticalAlignment="Top" />
<RadioButton x:Name="TEXT_SQLINK" Content="连接对象" Height="19" Margin="80,170,20,0" VerticalAlignment="Top" />
<TextBox x:Name="TEXT_SQLIP2" Height="20" Margin="80,190,20,0" TextWrapping="Wrap" Text=".\" VerticalAlignment="Top" />
<TextBox x:Name="TEXT_SQLNAME2" Height="20" Margin="80,250,20,0" TextWrapping="Wrap" Text="BatchDyeingCentral" VerticalAlignment="Top" />
<TextBox x:Name="TEXT_SQLUSER2" Height="20" Margin="80,280,20,0" TextWrapping="Wrap" Text="sa" VerticalAlignment="Top"/>
<TextBox x:Name="TEXT_SQLPASWORD2" Height="20" Margin="80,310,20,0" TextWrapping="Wrap" Text="sunlight" VerticalAlignment="Top" />
<ComboBox x:Name="TEXT_SQMOD2" Height="20" Margin="80,220,20,0" VerticalAlignment="Top">
<ComboBoxItem Content="Windows 身份认证"></ComboBoxItem>
<ComboBoxItem Content="SQL SERVER 身份认证"></ComboBoxItem>
</ComboBox>
<Button Content="保存" HorizontalAlignment="Right" Height="24" Margin="0,362,40,0" VerticalAlignment="Top" Width="80" BorderBrush="White" Click="Button_Click"/>
<Button Content="测试" HorizontalAlignment="Left" Height="24" Margin="40,362,0,0" VerticalAlignment="Top" Width="80" BorderBrush="White" Click="Button_Click_1"/>
</Grid>
</Window>