Procházet zdrojové kódy

fix:管道控件初始化渲染时,当direction==0时,不渲染蓝色能流

reconfiguration
ZhaoGang před 1 měsícem
rodič
revize
5697c7f7ce
12 změnil soubory, kde provedl 12 přidání a 6 odebrání
  1. +1
    -0
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBL.xaml
  2. +1
    -1
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBL.xaml.cs
  3. +1
    -0
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBR.xaml
  4. +1
    -1
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBR.xaml.cs
  5. +1
    -0
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineH.xaml
  6. +1
    -1
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineH.xaml.cs
  7. +1
    -0
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTL.xaml
  8. +1
    -1
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTL.xaml.cs
  9. +1
    -0
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTR.xaml
  10. +1
    -1
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTR.xaml.cs
  11. +1
    -0
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineV.xaml
  12. +1
    -1
      BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineV.xaml.cs

+ 1
- 0
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBL.xaml Zobrazit soubor

@@ -39,6 +39,7 @@
HorizontalAlignment="Center"
VerticalAlignment="Top"
Opacity="0.8"
Visibility="Collapsed"
Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
StrokeDashArray="2 4"
StrokeDashCap="Round"


+ 1
- 1
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBL.xaml.cs Zobrazit soubor

@@ -58,7 +58,7 @@ namespace BPASmartClient.CustomResource.UserControls
Storyboard.SetTarget(da, mp);//绑定动画
Storyboard.SetTargetProperty(da, new PropertyPath("StrokeDashOffset"));
sb.Children.Add(da);//添加动画
this.mp.Visibility = Visibility.Visible;
if (Direction != 0) this.mp.Visibility = Visibility.Visible;
sb.Begin();//播放动画
}



+ 1
- 0
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBR.xaml Zobrazit soubor

@@ -35,6 +35,7 @@
Canvas.Top="21"
Width="150"
Height="150"
Visibility="Collapsed"
Opacity="0.8"
Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
StrokeDashArray="2 4"


+ 1
- 1
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineBR.xaml.cs Zobrazit soubor

@@ -58,7 +58,7 @@ namespace BPASmartClient.CustomResource.UserControls
Storyboard.SetTarget(da, mp);//绑定动画
Storyboard.SetTargetProperty(da, new PropertyPath("StrokeDashOffset"));
sb.Children.Add(da);//添加动画
this.mp.Visibility = Visibility.Visible;
if (Direction != 0) this.mp.Visibility = Visibility.Visible;
sb.Begin();//播放动画
}



+ 1
- 0
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineH.xaml Zobrazit soubor

@@ -31,6 +31,7 @@
Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
StrokeDashArray="2 4"
StrokeDashCap="Round"
Visibility="Collapsed"
StrokeEndLineCap="Round"
StrokeStartLineCap="Round"
StrokeThickness="4" />


+ 1
- 1
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineH.xaml.cs Zobrazit soubor

@@ -72,7 +72,7 @@ namespace BPASmartClient.CustomResource.UserControls
Storyboard.SetTarget(da, mp);//绑定动画
Storyboard.SetTargetProperty(da, new PropertyPath("StrokeDashOffset"));
sb.Children.Add(da);//添加动画
this.mp.Visibility = Visibility.Visible;
if(Direction!=0) this.mp.Visibility = Visibility.Visible;
sb.Begin();//播放动画
}



+ 1
- 0
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTL.xaml Zobrazit soubor

@@ -36,6 +36,7 @@
Canvas.Bottom="21"
Width="150"
Height="150"
Visibility="Collapsed"
Opacity="0.8"
Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
StrokeDashArray="2 4"


+ 1
- 1
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTL.xaml.cs Zobrazit soubor

@@ -58,7 +58,7 @@ namespace BPASmartClient.CustomResource.UserControls
Storyboard.SetTarget(da, mp);//绑定动画
Storyboard.SetTargetProperty(da, new PropertyPath("StrokeDashOffset"));
sb.Children.Add(da);//添加动画
this.mp.Visibility = Visibility.Visible;
if (Direction != 0) this.mp.Visibility = Visibility.Visible;
sb.Begin();//播放动画
}



+ 1
- 0
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTR.xaml Zobrazit soubor

@@ -43,6 +43,7 @@
StrokeDashArray="2 4"
StrokeDashCap="Round"
StrokeEndLineCap="Round"
Visibility="Collapsed"
StrokeStartLineCap="Round"
StrokeThickness="4" />



+ 1
- 1
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineTR.xaml.cs Zobrazit soubor

@@ -58,7 +58,7 @@ namespace BPASmartClient.CustomResource.UserControls
Storyboard.SetTarget(da, mp);//绑定动画
Storyboard.SetTargetProperty(da, new PropertyPath("StrokeDashOffset"));
sb.Children.Add(da);//添加动画
this.mp.Visibility = Visibility.Visible;
if (Direction != 0) this.mp.Visibility = Visibility.Visible;
sb.Begin();//播放动画
}



+ 1
- 0
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineV.xaml Zobrazit soubor

@@ -31,6 +31,7 @@
Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
StrokeDashArray="2 4"
StrokeDashCap="Round"
Visibility="Collapsed"
StrokeEndLineCap="Round"
StrokeStartLineCap="Round"
StrokeThickness="4" />


+ 1
- 1
BPASmartClient.CustomResource/UserControls/Control/PipeLine/PipeLineV.xaml.cs Zobrazit soubor

@@ -71,7 +71,7 @@ namespace BPASmartClient.CustomResource.UserControls
Storyboard.SetTarget(da, mp);//绑定动画
Storyboard.SetTargetProperty(da, new PropertyPath("StrokeDashOffset"));
sb.Children.Add(da);//添加动画
this.mp.Visibility = Visibility.Visible;
if (Direction != 0) this.mp.Visibility = Visibility.Visible;
sb.Begin();//播放动画
}



Načítá se…
Zrušit
Uložit