添加项目文件。

This commit is contained in:
GG Z
2026-02-28 21:01:57 +08:00
parent 9fe4e5a9aa
commit 7a229067cc
175 changed files with 18060 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<Window x:Class="ExportExcelTest.MainWindow"
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:ExportExcelTest"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<DataGrid x:Name="dg"/>
<Button Content="导出到Excel"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Padding="20 10"
Click="ExportButton_Click" Margin="608,388,0,0"/>
<Button Content="MDB"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Padding="20 10"
Click="Button_Click" Margin="720,388,0,0"/>
</Grid>
</Window>