~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/WebProjectOptions/WebProjectOptionsPanel.xaml

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<UserControl
 
3
        x:Class="ICSharpCode.SharpDevelop.Gui.OptionPanels.WebProjectOptionsPanel" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:core="http://icsharpcode.net/sharpdevelop/core" xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets" xmlns:gui="clr-namespace:ICSharpCode.SharpDevelop.Gui;assembly=ICSharpCode.SharpDevelop" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
4
>
 
5
        <GroupBox Margin="0, 0, 85, 0"
 
6
                  Header="{core:Localize ICSharpCode.WepProjectOptionsPanel.Server}">
 
7
                <widgets:StackPanelWithSpacing SpaceBetweenItems="3">
 
8
                        <!--IIS Express-->
 
9
                        <widgets:StackPanelWithSpacing SpaceBetweenItems="3">
 
10
                                <RadioButton
 
11
                                        IsChecked="False"
 
12
                                        GroupName="WebProject"
 
13
                                        x:Name="UseIISExpress"
 
14
                                        Click="UseIISExpress_Click"
 
15
                                        Content="{core:Localize ICSharpCode.WepProjectOptionsPanel.UseIISExpress}" />
 
16
                                <Grid Margin="10, 3"
 
17
                                      IsEnabled="False"
 
18
                                      x:Name="IISExpressGroup"
 
19
                                      VerticalAlignment="Top">
 
20
                                        <Grid.ColumnDefinitions>
 
21
                                                <ColumnDefinition Width="Auto"/>
 
22
                                                <ColumnDefinition Width="Auto"/>
 
23
                                        </Grid.ColumnDefinitions>
 
24
                                        <TextBlock Text="{core:Localize ICSharpCode.WepProjectOptionsPanel.Port}"/>
 
25
                                        <TextBox Grid.Column="1" x:Name="PortTextBox"
 
26
                                                 PreviewTextInput="PortTextBox_PreviewTextInput" Text="8080"
 
27
                                                         KeyUp="PortTextBox_KeyUp" />
 
28
                                </Grid>
 
29
                        </widgets:StackPanelWithSpacing>
 
30
                        <!--IIS Local Server-->
 
31
                        <widgets:StackPanelWithSpacing SpaceBetweenItems="3">
 
32
                                <RadioButton
 
33
                                        IsChecked="False"
 
34
                                        GroupName="WebProject"
 
35
                                        x:Name="UseLocalIIS"
 
36
                                        Click="UseLocalIIS_Click"
 
37
                                        Content="{core:Localize ICSharpCode.WepProjectOptionsPanel.UseLocalIIS}" />
 
38
                                <Grid Margin="10, 3"
 
39
                                      IsEnabled="False"
 
40
                                      x:Name="LocalIISGroup"
 
41
                                      VerticalAlignment="Top">
 
42
                                        <Grid.ColumnDefinitions>
 
43
                                                <ColumnDefinition Width="Auto"/>
 
44
                                                <ColumnDefinition Width="Auto"/>
 
45
                                        </Grid.ColumnDefinitions>
 
46
                                        <TextBlock
 
47
                                                VerticalAlignment="Center"
 
48
                                                Grid.Row="1"
 
49
                                                TextWrapping="Wrap"
 
50
                                                Text="{core:Localize ICSharpCode.WepProjectOptionsPanel.ProjectUrl}" />
 
51
                                        <TextBox
 
52
                                                Grid.Row="1"
 
53
                                                Grid.Column="1"
 
54
                                                x:Name="ProjectUrl"
 
55
                                                TextChanged="ProjectUrl_TextChanged"
 
56
                                                MinWidth="250" />
 
57
                                </Grid>
 
58
                        </widgets:StackPanelWithSpacing>
 
59
                        <TextBlock
 
60
                                Foreground="Red"
 
61
                                TextDecorations="Underline"
 
62
                                FontSize="12"
 
63
                                FontWeight="Bold"
 
64
                                TextWrapping="Wrap"
 
65
                                Name="StatusLabel" />
 
66
                        <widgets:UniformGridWithSpacing Columns="2" SpaceBetweenColumns="10">
 
67
                                <Button
 
68
                                        IsEnabled="False"
 
69
                                        Style="{x:Static core:GlobalStyles.ButtonStyle}"
 
70
                                        Name="CreateVirtualDirectoryButton"
 
71
                                        Content="{core:Localize ICSharpCode.WepProjectOptionsPanel.CreateVirtualDir}"
 
72
                                        Click="CreateVirtualDirectory_Click" />
 
73
                                <Button
 
74
                                        Style="{x:Static core:GlobalStyles.ButtonStyle}"
 
75
                                        Name="ClearWebServerButton"
 
76
                                        Content="{core:Localize ICSharpCode.WepProjectOptionsPanel.DisableWebServerButton}"
 
77
                                        Click="ClearWebServerButton_Click" />
 
78
                        </widgets:UniformGridWithSpacing>
 
79
                </widgets:StackPanelWithSpacing>
 
80
        </GroupBox>
 
81
</UserControl>
 
 
b'\\ No newline at end of file'