添加自定义通知页面,添加领料单查看,修改温度图表逻辑
This commit is contained in:
commit
a2bb445e1d
13 files changed
+382
-10
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<Window x:Class="SunlightCentralizedControlManagement_SCCM_.WindowsView.UserMessage"
|
||||
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:local="clr-namespace:SunlightCentralizedControlManagement_SCCM_.WindowsView"
|
||||
xmlns:lang="clr-namespace:SunlightCentralizedControlManagement_SCCM_.Properties"
|
||||
mc:Ignorable="d"
|
||||
Title="UserMessage" Height="450" Width="800">
|
||||
<Grid Margin="0,0,0,0">
|
||||
<Button x:Name="Save" Content="{x:Static lang:Resources.Cancel}" HorizontalAlignment="Right" Height="35" Margin="450,0,50,10" VerticalAlignment="Bottom" Width="80" Click="Save_Click"/>
|
||||
|
||||
<ContentControl x:Name="Picture" Margin="0,0,0,50"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
@@ -0,0 +1,40 @@
|
||||
using SunlightCentralizedControlManagement_SCCM_.View;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace SunlightCentralizedControlManagement_SCCM_.WindowsView
|
||||
{
|
||||
/// <summary>
|
||||
/// UserMessage.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class UserMessage : Window
|
||||
{
|
||||
public UserMessage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void Dyelots(object dat)
|
||||
{
|
||||
DyelotView dyelotView = new DyelotView();
|
||||
dyelotView.Dyelot(dat);
|
||||
Picture.Content= dyelotView;
|
||||
}
|
||||
|
||||
private void Save_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user