123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <Window x:Class="Venus_MainPages.Views.InputFileNameDialogView"
- 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:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
- mc:Ignorable="d"
- Title="InputFileNameDialogView" WindowStartupLocation="CenterOwner"
- WindowStyle="SingleBorderWindow" ResizeMode="NoResize" ShowInTaskbar="False"
- Background="LightSkyBlue" SizeToContent="WidthAndHeight">
- <Border BorderBrush="Gray" BorderThickness="0,1,0,0" Background="{DynamicResource Table_BG_Title}">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Margin="50">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="60"/>
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="50"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ctrl:TextBoxEx x:Name="textBoxInput" FontSize="14" Height="35" TextWrapping="NoWrap" AllowBackgroundChange="False" TextChanged="textBoxInput_TextChanged" Width="300" />
- </Border>
- <StackPanel Grid.Row="1" Grid.ColumnSpan="2" Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Button Content="OK" Width="90" Height="30" Click="buttonOK_Click" x:Name="buttonOK">
- <!--<i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <micro:ActionMessage MethodName="OK">
- </micro:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>-->
- </Button>
- <Button Content="Cancel" Margin="10,0,0,0" Width="90" Height="30" Click="buttonCancel_Click" x:Name="buttonCancel">
- <!--<i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <micro:ActionMessage MethodName="Cancel">
- </micro:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>-->
- </Button>
- </StackPanel>
- </Grid>
- </Border>
- </Window>
|