1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <Window x:Class="WPFTestUpdate.MainWindow"
- 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:dotuntils="clr-namespace:SAGA.DotNetUtils.WPF.UserControl;assembly=SAGA.DotNetUtils"
- xmlns:dotconverter="clr-namespace:SAGA.DotNetUtils.WPF.Converter;assembly=SAGA.DotNetUtils"
- xmlns:local="clr-namespace:WPFTestUpdate"
- mc:Ignorable="d"
- Title="MainWindow" Height="350" Width="1025">
- <Window.Resources>
- <dotconverter:BoolToInverserConverter x:Key="BoolToInverserConverter"></dotconverter:BoolToInverserConverter>
- </Window.Resources>
-
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0">
- <dotuntils:SelectPath_Start Name="txtBasePath" Height="25" Text="D:\Revit\saga\MBI"
- BtnImage="/WPFTestUpdate;Component/Image/folder.png"></dotuntils:SelectPath_Start>
- <Grid Height="25">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="25"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <CheckBox x:Name="chk" HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="True"></CheckBox>
- <TextBox x:Name="txtDirs" Grid.Column="1" Text="MBIResource;Menu;OutputDll;RibbonImage" VerticalContentAlignment="Center"
- IsEnabled="{Binding ElementName=chk,Path=IsChecked,Converter={StaticResource BoolToInverserConverter},UpdateSourceTrigger=PropertyChanged}"></TextBox>
- </Grid>
- <TextBlock Name="txtVersion" Text="Hello Packages Vision:3.0.0.0" FontSize="20" Height="25"></TextBlock>
- <Button Height="25" Content="上传安装包" Click="ButtonBase_OnClick"></Button>
- </StackPanel>
- <TextBlock Grid.Row="1"
- Margin="20,0"
- Name="txtDiscription" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="28"
- TextWrapping="WrapWithOverflow"></TextBlock>
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition Width="200"/>
- </Grid.ColumnDefinitions>
- <TextBox Grid.Column="0" Name="textbox" Height="25" Text="0.0.0.0"></TextBox>
- <Button Grid.Column="1" Name="btnReset" Height="25" Content="重设云端版本号"
- Click="BtnReset_OnClick"></Button>
- </Grid>
- </Grid>
- </Window>
|