添加项目文件。
This commit is contained in:
34
Sai.RvKits/Windows/ProgressMonitorView.xaml
Normal file
34
Sai.RvKits/Windows/ProgressMonitorView.xaml
Normal file
@@ -0,0 +1,34 @@
|
||||
<Window
|
||||
x:Class="Sai.RvKits.Windows.ProgressMonitorView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:Sai.RvKits.Windows"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="{Binding Title}"
|
||||
d:DataContext="{d:DesignInstance Type=controls:ProgressMonitorViewModel}"
|
||||
Background="{DynamicResource MaterialDesign.Brush.Background}"
|
||||
ResizeMode="NoResize"
|
||||
SizeToContent="WidthAndHeight"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesign.Brush.Foreground}"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
mc:Ignorable="d">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/Szmedi.RvKits;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
<StackPanel Margin="10">
|
||||
<TextBlock Text="{Binding CurrentContext}" />
|
||||
<Separator />
|
||||
<ProgressBar
|
||||
Width="300"
|
||||
Height="23"
|
||||
Maximum="{Binding MaxValue}"
|
||||
Value="{Binding CurrentValue}" />
|
||||
<Separator />
|
||||
<Button
|
||||
x:Name="btnCancel"
|
||||
HorizontalAlignment="Right"
|
||||
Content="取消"
|
||||
IsCancel="True" />
|
||||
</StackPanel>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user