增加数据库设置页面
This commit is contained in:
commit
553d6ac48b
5 files changed
+52
-1
No files matched your search
+1
-1
@@ -9,7 +9,7 @@
|
||||
<Grid>
|
||||
<Menu>
|
||||
<MenuItem Header="_设置" FontSize="16">
|
||||
<MenuItem Header="_数据库设置" FontSize="16"/>
|
||||
<MenuItem Header="_数据库设置" FontSize="16" Click="SQL"/>
|
||||
<MenuItem Header="_备份/还原" FontSize="16"/>
|
||||
<Separator/>
|
||||
<MenuItem Header="_料单设置" FontSize="16"/>
|
||||
|
||||
@@ -25,6 +25,11 @@ namespace formula_manage
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void SQL(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Windows.Sql sql= new Windows.Sql();
|
||||
sql.ShowDialog();//实例化并置顶打开信息窗口
|
||||
}
|
||||
private void HELP(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Help help_page = new Help();
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<Window x:Class="formula_manage.Windows.Sql"
|
||||
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:formula_manage.Windows"
|
||||
mc:Ignorable="d"
|
||||
Title="Sql" Height="450" Width="800">
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
@@ -0,0 +1,27 @@
|
||||
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 formula_manage.Windows
|
||||
{
|
||||
/// <summary>
|
||||
/// Sql.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class Sql : Window
|
||||
{
|
||||
public Sql()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -57,6 +57,9 @@
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="ConvertMoels\ColorSQLConvert.cs" />
|
||||
<Compile Include="ConvertMoels\ProductTypeSQLConvert.cs" />
|
||||
<Compile Include="Windows\Sql.xaml.cs">
|
||||
<DependentUpon>Sql.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Windows\Stuff.xaml.cs">
|
||||
<DependentUpon>Stuff.xaml</DependentUpon>
|
||||
</Compile>
|
||||
@@ -79,6 +82,10 @@
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="Windows\Sql.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Windows\Stuff.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
|
||||
Reference in new issue
Block a user