添加项目文件。
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
<basewindows:BaseWindow
|
||||
x:Class="SamplePre.UIWpf.MonitorManager.chirld.SampleDetailWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:basewindows="clr-namespace:SamplePre.UIWpf.BaseWindows"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:pro="clr-namespace:SamplePreSystem.UI.BaseControls"
|
||||
Title="样品详情"
|
||||
Width="200"
|
||||
Height="300"
|
||||
ResizeMode="NoResize"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Margin="10">
|
||||
<TextBlock Margin="5" Text="执行标准:固相萃取" />
|
||||
<TextBlock Margin="5" Text="当前动作:离心" />
|
||||
<TextBlock Margin="5" Text="执行时间:30min" />
|
||||
<TextBlock Margin="5" Text="执行进度:40%" />
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<!-- // 自定义控件 - 预览主体部分 注意地址不一定是local 要看RingProgressBar类放在哪里 // -->
|
||||
<pro:RingProgressBar
|
||||
x:Name="ringProgress"
|
||||
Width="100"
|
||||
Height="100"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Progress="40" />
|
||||
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="20"
|
||||
Foreground="Black"
|
||||
Text="{Binding Progress, ElementName=ringProgress, StringFormat={}{0}%}" />
|
||||
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
</basewindows:BaseWindow>
|
||||
Reference in New Issue
Block a user