commit efdb748cff6bb2c7561dcdef83ae02d18f024e0e
parent c9582f0cacce84e34f5d86e25d2fca06e0feaa82
Author: Minerva_juppiter <ryouturn@gmail.com>
Date: Thu, 14 Mar 2024 19:03:49 +0900
プロジェクト ファイルを追加します。
Diffstat:
11 files changed, 213 insertions(+), 0 deletions(-)
diff --git a/App.config b/App.config
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <configSections>
+ <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
+ <section name="BusynessNotification.Settings1" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
+ </sectionGroup>
+ </configSections>
+ <userSettings>
+ <BusynessNotification.Settings1>
+ <setting name="DarkTheme" serializeAs="String">
+ <value>False</value>
+ </setting>
+ </BusynessNotification.Settings1>
+ </userSettings>
+</configuration>+
\ No newline at end of file
diff --git a/App.xaml b/App.xaml
@@ -0,0 +1,9 @@
+<Application x:Class="BusynessNotification.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="clr-namespace:BusynessNotification"
+ StartupUri="MainWindow.xaml">
+ <Application.Resources>
+
+ </Application.Resources>
+</Application>
diff --git a/App.xaml.cs b/App.xaml.cs
@@ -0,0 +1,14 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace BusynessNotification
+{
+ /// <summary>
+ /// Interaction logic for App.xaml
+ /// </summary>
+ public partial class App : Application
+ {
+ }
+
+}
diff --git a/AssemblyInfo.cs b/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/BusynessNotification.csproj b/BusynessNotification.csproj
@@ -0,0 +1,26 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <OutputType>WinExe</OutputType>
+ <TargetFramework>net8.0-windows</TargetFramework>
+ <Nullable>enable</Nullable>
+ <ImplicitUsings>enable</ImplicitUsings>
+ <UseWPF>true</UseWPF>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Compile Update="Settings1.Designer.cs">
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Settings1.settings</DependentUpon>
+ </Compile>
+ </ItemGroup>
+
+ <ItemGroup>
+ <None Update="Settings1.settings">
+ <Generator>SettingsSingleFileGenerator</Generator>
+ <LastGenOutput>Settings1.Designer.cs</LastGenOutput>
+ </None>
+ </ItemGroup>
+
+</Project>
diff --git a/BusynessNotification.sln b/BusynessNotification.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.9.34622.214
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BusynessNotification", "BusynessNotification.csproj", "{25335200-E431-4822-AD12-9C1233B954F5}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {25335200-E431-4822-AD12-9C1233B954F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {25335200-E431-4822-AD12-9C1233B954F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {25335200-E431-4822-AD12-9C1233B954F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {25335200-E431-4822-AD12-9C1233B954F5}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {30F8FB59-1634-4761-B286-42C586CAA622}
+ EndGlobalSection
+EndGlobal
diff --git a/MainWindow.xaml b/MainWindow.xaml
@@ -0,0 +1,12 @@
+<Window x:Class="BusynessNotification.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:BusynessNotification"
+ mc:Ignorable="d"
+ Title="MainWindow" Height="450" Width="800">
+ <Grid>
+
+ </Grid>
+</Window>
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
@@ -0,0 +1,24 @@
+using System.Text;
+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 BusynessNotification
+{
+ /// <summary>
+ /// Interaction logic for MainWindow.xaml
+ /// </summary>
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}+
\ No newline at end of file
diff --git a/Settings1.Designer.cs b/Settings1.Designer.cs
@@ -0,0 +1,38 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace BusynessNotification {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")]
+ internal sealed partial class Settings1 : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings1 defaultInstance = ((Settings1)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings1())));
+
+ public static Settings1 Default {
+ get {
+ return defaultInstance;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool DarkTheme {
+ get {
+ return ((bool)(this["DarkTheme"]));
+ }
+ set {
+ this["DarkTheme"] = value;
+ }
+ }
+ }
+}
diff --git a/Settings1.cs b/Settings1.cs
@@ -0,0 +1,28 @@
+namespace BusynessNotification {
+
+
+ // このクラスでは設定クラスでの特定のイベントを処理することができます:
+ // SettingChanging イベントは、設定値が変更される前に発生します。
+ // PropertyChanged イベントは、設定値が変更された後に発生します。
+ // SettingsLoaded イベントは、設定値が読み込まれた後に発生します。
+ // SettingsSaving イベントは、設定値が保存される前に発生します。
+ internal sealed partial class Settings1 {
+
+ public Settings1() {
+ // // 設定の保存と変更のイベント ハンドラーを追加するには、以下の行のコメントを解除します:
+ //
+ // this.SettingChanging += this.SettingChangingEventHandler;
+ //
+ // this.SettingsSaving += this.SettingsSavingEventHandler;
+ //
+ }
+
+ private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
+ // SettingChangingEvent イベントを処理するコードをここに追加してください。
+ }
+
+ private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
+ // SettingsSaving イベントを処理するコードをここに追加してください。
+ }
+ }
+}
diff --git a/Settings1.settings b/Settings1.settings
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="BusynessNotification" GeneratedClassName="Settings1">
+ <Profiles />
+ <Settings>
+ <Setting Name="DarkTheme" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">False</Value>
+ </Setting>
+ </Settings>
+</SettingsFile>+
\ No newline at end of file