Browse Source

添加项目文件。

master
忱 沈 4 years ago
parent
commit
ff680fef3c
  1. 1
      MainWindow.xaml
  2. 4
      MainWindow.xaml.cs
  3. 7
      SUNLIGHT-Administrate.git.csproj
  4. 22
      Windows/help.xaml
  5. 27
      Windows/help.xaml.cs

1
MainWindow.xaml

@ -7,6 +7,7 @@
mc:Ignorable="d" mc:Ignorable="d"
Background="#FFF5F5F5" Background="#FFF5F5F5"
Title="SUNLIGHT" Height="900" Width="1280" WindowStartupLocation="CenterScreen"> Title="SUNLIGHT" Height="900" Width="1280" WindowStartupLocation="CenterScreen">
<Window.Resources> <Window.Resources>
<Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}"> <Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}">

4
MainWindow.xaml.cs

@ -36,8 +36,8 @@ namespace SUNLIGHT_Administrate.git
private void Help(object sender, RoutedEventArgs e) private void Help(object sender, RoutedEventArgs e)
{ {
//System.Windows.help help = new System.Windows.help(); Windows.help help = new Windows.help();
//help.ShowDialog();//实例化并置顶打开信息窗口 help.ShowDialog();//实例化并置顶打开信息窗口
} }
private void RadioButton_Checked(object sender, RoutedEventArgs e) private void RadioButton_Checked(object sender, RoutedEventArgs e)

7
SUNLIGHT-Administrate.git.csproj

@ -55,6 +55,9 @@
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</ApplicationDefinition> </ApplicationDefinition>
<Compile Include="Windows\help.xaml.cs">
<DependentUpon>help.xaml</DependentUpon>
</Compile>
<Page Include="MainWindow.xaml"> <Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
@ -67,6 +70,10 @@
<DependentUpon>MainWindow.xaml</DependentUpon> <DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
<Page Include="Windows\help.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs"> <Compile Include="Properties\AssemblyInfo.cs">

22
Windows/help.xaml

@ -0,0 +1,22 @@
<Window x:Class="SUNLIGHT_Administrate.git.Windows.help"
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:SUNLIGHT_Administrate.git.Windows"
mc:Ignorable="d"
Title="SUNLIGHT" Height="480" Width="300" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
<Grid>
<Rectangle HorizontalAlignment="Center" Height="165" Margin="0,20,0,0" VerticalAlignment="Top" Width="170">
<Rectangle.Fill>
<ImageBrush ImageSource="/Logo/sunlight_sc.png"/>
</Rectangle.Fill>
</Rectangle>
<Label Content="化学品审计管理客户端" HorizontalAlignment="Left" Height="35" Margin="55,210,0,0" VerticalAlignment="Top" Width="175" FontSize="16"/>
<Label Content="TEL:0575-88202605" HorizontalAlignment="Left" Height="35" Margin="55,245,0,0" VerticalAlignment="Top" Width="175" FontSize="16"/>
<Label Content="VER:BETA 0.0.0.5" HorizontalAlignment="Left" Height="35" Margin="65,365,0,0" VerticalAlignment="Top" Width="175" FontSize="16"/>
<Label Content="SUNLIGHT © 2022" HorizontalAlignment="Left" Height="35" Margin="65,395,0,0" VerticalAlignment="Top" Width="175" FontSize="16"/>
<Label Content="FAX:0575-88029740" HorizontalAlignment="Left" Height="35" Margin="55,285,0,0" VerticalAlignment="Top" Width="175" FontSize="16"/>
<Label Content="WEB:www.secolor.cn" HorizontalAlignment="Left" Height="35" Margin="55,325,0,0" VerticalAlignment="Top" Width="185" FontSize="16"/>
</Grid>
</Window>

27
Windows/help.xaml.cs

@ -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 SUNLIGHT_Administrate.git.Windows
{
/// <summary>
/// help.xaml 的交互逻辑
/// </summary>
public partial class help : Window
{
public help()
{
InitializeComponent();
}
}
}