sc 2 years ago
parent
commit
624c09864c
  1. 12
      UserControls/NumberTextBox.xaml
  2. 28
      UserControls/NumberTextBox.xaml.cs
  3. 11
      formula_manage.csproj

12
UserControls/NumberTextBox.xaml

@ -0,0 +1,12 @@
<UserControl x:Class="formula_manage.UserControls.NumberTextBox"
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:formula_manage.UserControls"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>

28
UserControls/NumberTextBox.xaml.cs

@ -0,0 +1,28 @@
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 formula_manage.UserControls
{
/// <summary>
/// NumberTextBox.xaml 的交互逻辑
/// </summary>
public partial class NumberTextBox : UserControl
{
public NumberTextBox()
{
InitializeComponent();
}
}
}

11
formula_manage.csproj

@ -82,6 +82,9 @@
</Compile> </Compile>
<Compile Include="UserClass\IniFile.cs" /> <Compile Include="UserClass\IniFile.cs" />
<Compile Include="UserClass\PressKey.cs" /> <Compile Include="UserClass\PressKey.cs" />
<Compile Include="UserControls\NumberTextBox.xaml.cs">
<DependentUpon>NumberTextBox.xaml</DependentUpon>
</Compile>
<Compile Include="Windows\APP_set.xaml.cs"> <Compile Include="Windows\APP_set.xaml.cs">
<DependentUpon>APP_set.xaml</DependentUpon> <DependentUpon>APP_set.xaml</DependentUpon>
</Compile> </Compile>
@ -117,6 +120,10 @@
<DependentUpon>MainWindow.xaml</DependentUpon> <DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
<Page Include="UserControls\NumberTextBox.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\APP_set.xaml"> <Page Include="Windows\APP_set.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
@ -184,8 +191,6 @@
<ItemGroup> <ItemGroup>
<Resource Include="Windows\sunlight_logo.jpg" /> <Resource Include="Windows\sunlight_logo.jpg" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup />
<Folder Include="UserControls\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>
Loading…
Cancel
Save