SelectWorkspaceForm.xaml #1

  • //
  • guest/
  • christoph_leithner/
  • piper/
  • main/
  • windows/
  • R1.1/
  • Perforce/
  • View/
  • SelectWorkspaceForm.xaml
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<UserControl x:Class="Perforce.View.SelectWorkspaceForm"
             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" 
             mc:Ignorable="d" d:DesignWidth="500">
    <StackPanel>
        <Label FontSize="14">Select Workspace:</Label>
        <ComboBox Name="WorkspaceChoice" ItemsSource="{Binding WorkspaceList}" DisplayMemberPath="Name" SelectionChanged="WorkspaceChoice_SelectionChanged" />
        <Separator Height="10" Background="Transparent" />
        <Border Background="LightGray">
            <Grid Margin="10">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition />
                    <RowDefinition />
                </Grid.RowDefinitions>
                <Label Grid.Row="0" Grid.Column="0">Root</Label>
                <Label Grid.Row="1" Grid.Column="0">Depot Path</Label>
                <Label Grid.Row="2" Grid.Column="0">Description</Label>
                <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding ElementName=WorkspaceChoice,Path=SelectedValue.Root}" IsEnabled="False" />
                <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding ElementName=WorkspaceChoice,Path=SelectedValue.DepotPath}" IsEnabled="False" />
                <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding ElementName=WorkspaceChoice,Path=SelectedValue.Description}" IsEnabled="False" />
            </Grid>
        </Border>
    </StackPanel>
</UserControl>
# Change User Description Committed
#1 16817 christoph_leithner "Forking branch Main of perforce-software-piper to christoph_leithner-piper."
//guest/perforce_software/piper/main/windows/R1.1/Perforce/View/SelectWorkspaceForm.xaml
#1 16507 perforce_software Move to main branch.
//guest/perforce_software/piper/windows/R1.1/Perforce/View/SelectWorkspaceForm.xaml
#2 16474 Robert Cowham Bring up-to-date with //guest/perforce_software/piper/windows/main/...@16473
#1 11256 alan_petersen Populate //guest/perforce_software/piper/windows/R1.1/...
from //guest/perforce_software/piper/windows/main/....
//guest/perforce_software/piper/windows/main/Perforce/View/SelectWorkspaceForm.xaml
#1 11255 alan_petersen Rename/move file(s)
//guest/perforce_software/piper/windows/Perforce/View/SelectWorkspaceForm.xaml
#1 10761 alan_petersen initial drop of Piper for Windows....

this version still has _many_ bugs (er... i mean "unintended features") but I will be updating it over the next week as more stability is added.