4 changed files with 92 additions and 6 deletions
@ -0,0 +1,28 @@ |
|||||
|
<c:BWindow x:Class="BBWY.Client.Views.FinancialTerminal.ProcurementAuditExcelExport" |
||||
|
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:BBWY.Client.Views.FinancialTerminal" |
||||
|
mc:Ignorable="d" |
||||
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" |
||||
|
Title="导出提示" |
||||
|
Style="{StaticResource bwstyle}" |
||||
|
MinButtonVisibility="Collapsed" |
||||
|
MaxButtonVisibility="Collapsed" |
||||
|
Height="150" Width="300"> |
||||
|
<Grid> |
||||
|
<Grid.RowDefinitions> |
||||
|
<RowDefinition Height="30"/> |
||||
|
<RowDefinition/> |
||||
|
</Grid.RowDefinitions> |
||||
|
<Border BorderThickness="0,0,0,1" BorderBrush="{StaticResource MainMenu.BorderBrush}" |
||||
|
Background="{StaticResource Border.Background}"> |
||||
|
<TextBlock Text="选择导出类型" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
||||
|
</Border> |
||||
|
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center"> |
||||
|
<c:BButton Content="当前表格内容" Width="100" Click="BButton_Click"/> |
||||
|
<c:BButton Content="资金类型汇总" Width="100" Margin="10,0,0,0" Click="BButton_Click_1"/> |
||||
|
</StackPanel> |
||||
|
</Grid> |
||||
|
</c:BWindow> |
@ -0,0 +1,34 @@ |
|||||
|
using BBWY.Controls; |
||||
|
|
||||
|
namespace BBWY.Client.Views.FinancialTerminal |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// ProcurementAuditExcelExport.xaml 的交互逻辑
|
||||
|
/// </summary>
|
||||
|
public partial class ProcurementAuditExcelExport : BWindow |
||||
|
{ |
||||
|
public ProcurementAuditExcelExport() |
||||
|
{ |
||||
|
InitializeComponent(); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 当前表格内容=0,资金类型汇总=1
|
||||
|
/// </summary>
|
||||
|
public int Type { get; private set; } |
||||
|
|
||||
|
private void BButton_Click(object sender, System.Windows.RoutedEventArgs e) |
||||
|
{ |
||||
|
Type = 0; |
||||
|
DialogResult = true; |
||||
|
Close(); |
||||
|
} |
||||
|
|
||||
|
private void BButton_Click_1(object sender, System.Windows.RoutedEventArgs e) |
||||
|
{ |
||||
|
Type = 1; |
||||
|
DialogResult = true; |
||||
|
Close(); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue