11 changed files with 125 additions and 147 deletions
@ -0,0 +1,21 @@ |
|||
<UserControl x:Class="SunlightCentralizedControlManagement_SCCM_.View.ProductionPlanningEdit" |
|||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|||
xmlns:local="clr-namespace:SunlightCentralizedControlManagement_SCCM_.View" |
|||
xmlns:lang="clr-namespace:SunlightCentralizedControlManagement_SCCM_.Properties" |
|||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
|||
mc:Ignorable="d" |
|||
d:DesignHeight="900" d:DesignWidth="600"> |
|||
<Grid> |
|||
|
|||
|
|||
<Button Content="{x:Static lang:Resources.Save}" HorizontalAlignment="Right" Height="35" Margin="0,0,50,10" VerticalAlignment="Bottom" Width="80" Click="Button_Click"/> |
|||
|
|||
<Button HorizontalAlignment="Left" Height="35" Margin="0,0,50,10" VerticalAlignment="Bottom" Width="60" Click="Button_Quit" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"> |
|||
<materialDesign:PackIcon Kind="ArrowLeft" Foreground="#FF00204E" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50" Height="35" /> |
|||
</Button> |
|||
|
|||
</Grid> |
|||
</UserControl> |
@ -0,0 +1,37 @@ |
|||
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.Navigation; |
|||
using System.Windows.Shapes; |
|||
|
|||
namespace SunlightCentralizedControlManagement_SCCM_.View |
|||
{ |
|||
/// <summary>
|
|||
/// ProductionPlanningEdit.xaml 的交互逻辑
|
|||
/// </summary>
|
|||
public partial class ProductionPlanningEdit : UserControl |
|||
{ |
|||
public ProductionPlanningEdit() |
|||
{ |
|||
InitializeComponent(); |
|||
} |
|||
|
|||
private void Button_Click(object sender, RoutedEventArgs e) |
|||
{ |
|||
|
|||
} |
|||
private void Button_Quit(object sender, RoutedEventArgs e) |
|||
{ |
|||
this.Visibility = Visibility.Collapsed; |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue