添加项目文件。
This commit is contained in:
33
Szmedi.RvKits/ProgressWrapper/ProgressMonitorView.xaml
Normal file
33
Szmedi.RvKits/ProgressWrapper/ProgressMonitorView.xaml
Normal file
@@ -0,0 +1,33 @@
|
||||
<controls:MaterialWindow
|
||||
x:Class="Szmedi.RvKits.Assists.ProgressWrapper.ProgressMonitorView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:Szmedi.RvKits.Controls"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:progress="clr-namespace:Szmedi.RvKits.Assists.ProgressWrapper"
|
||||
Title="{Binding Title}"
|
||||
d:DataContext="{d:DesignInstance Type=progress:ProgressMonitorViewModel}"
|
||||
ResizeMode="NoResize"
|
||||
|
||||
WindowStartupLocation="CenterScreen"
|
||||
mc:Ignorable="d">
|
||||
<controls:MaterialWindow.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/Szmedi.RvKits;component/WPFUI.xaml" />
|
||||
</controls:MaterialWindow.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>
|
||||
</controls:MaterialWindow>
|
||||
Reference in New Issue
Block a user