-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathInstanceDetails.xaml
More file actions
69 lines (58 loc) · 3.86 KB
/
InstanceDetails.xaml
File metadata and controls
69 lines (58 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<UserControl x:Class="SIM.Tool.Windows.UserControls.Install.InstanceDetails" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:converters="clr-namespace:SIM.Tool.Base.Converters;assembly=SIM.Tool.Base"
xmlns:install="clr-namespace:SIM.Tool.Windows.UserControls.Install"
mc:Ignorable="d" d:DesignHeight="399" d:DesignWidth="633" Loaded="WindowLoaded">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="72" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="80" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="28" />
<RowDefinition Height="28" />
<RowDefinition Height="28" />
<RowDefinition Height="28" />
<RowDefinition Height="28" />
<RowDefinition Height="28" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="Product: " />
<ComboBox Grid.Row="0" Grid.Column="1" Name="ProductName" DisplayMemberPath="Name" SelectionChanged="ProductNameChanged" />
<TextBlock Grid.Row="1" Grid.Column="0" Text="Version: " />
<ComboBox Grid.Row="1" Grid.Column="1" Name="ProductVersion" DisplayMemberPath="TwoVersion" SelectionChanged="ProductVersionChanged" />
<TextBlock Grid.Row="2" Grid.Column="0" Text="Revision: " />
<ComboBox Grid.Row="2" Grid.Column="1" Name="ProductRevision" DisplayMemberPath="RevisionAndLabel" SelectionChanged="ProductRevisionChanged" />
<TextBlock Grid.Row="0" Grid.Column="2" Text="Site Name: " />
<TextBox Grid.Row="0" Grid.Column="3" Name="InstanceName" Text="{Binding ElementName=ProductRevision, Path=SelectedValue, Converter={x:Static converters:Product._DefaultInstanceName}, Mode=OneWay}" TextChanged="InstanceNameTextChanged" PreviewTextInput="InstanceName_PreviewTextInput" />
<TextBlock Grid.Row="1" Grid.Column="2" Text="Host name(s): " />
<TextBox Name="HostNames" AcceptsReturn="true" Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Height="50" VerticalScrollBarVisibility="Auto"/>
<CheckBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Content="Attach SQL Server databases" IsChecked="True" Name="AttachSql" VerticalAlignment="Center" />
<TextBlock Grid.Row="3" Grid.Column="2" Text="SQL Prefix: " />
<TextBox Grid.Row="3" Grid.Column="3" Name="SqlPrefix" />
<TextBlock Grid.Row="4" Text="Location: " Name="LocationLabel" />
<Grid Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Name="LocationGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="28" />
<ColumnDefinition />
<ColumnDefinition Width="10" />
</Grid.ColumnDefinitions>
<Button Margin="2" Content="..." Click="PickLocationFolder" IsEnabled="{Binding Source={x:Static install:InstanceDetails.InstallEverywhere}}" />
<TextBox Name="locationFolder" HorizontalContentAlignment="Right" Grid.Column="1" IsEnabled="{Binding Source={x:Static install:InstanceDetails.InstallEverywhere}}" />
<TextBlock Grid.Column="2" HorizontalAlignment="Center">\</TextBlock>
</Grid>
<TextBox Grid.Row="4" Grid.Column="3" Name="RootName" />
<TextBlock Grid.Row="5" Grid.Column="0" Text="Framework: " />
<ComboBox Grid.Row="5" Grid.Column="1" Name="NetFramework" SelectedIndex="0" ItemsSource="{Binding}">
<!--<ComboBoxItem>v2.0</ComboBoxItem>
<ComboBoxItem>v2.0 32bit</ComboBoxItem>
<ComboBoxItem>v4.0</ComboBoxItem>
<ComboBoxItem>v4.0 32bit</ComboBoxItem>-->
</ComboBox>
<TextBlock Grid.Row="5" Grid.Column="2" Text="Pool Mode: " />
<ComboBox Grid.Row="5" Grid.Column="3" Name="Mode" SelectedIndex="0">
<ComboBoxItem>Integrated</ComboBoxItem>
<ComboBoxItem>Classic</ComboBoxItem>
</ComboBox>
</Grid>
</UserControl>