From 7254941c1833477f263320c148fd869995f76b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20TFO=2E=20=C3=96man?= Date: Sun, 5 Jul 2020 21:58:39 +0200 Subject: [PATCH] Add project files. --- TfomanAppUI.sln | 25 ++++++ WPFUI/App.config | 6 ++ WPFUI/App.xaml | 14 +++ WPFUI/App.xaml.cs | 17 ++++ WPFUI/Bootstrapper.cs | 24 +++++ WPFUI/Properties/AssemblyInfo.cs | 55 ++++++++++++ WPFUI/Properties/Resources.Designer.cs | 71 +++++++++++++++ WPFUI/Properties/Resources.resx | 117 +++++++++++++++++++++++++ WPFUI/Properties/Settings.Designer.cs | 30 +++++++ WPFUI/Properties/Settings.settings | 7 ++ WPFUI/ViewModels/ShellViewModel.cs | 14 +++ WPFUI/Views/ShellView.xaml | 12 +++ WPFUI/Views/ShellView.xaml.cs | 27 ++++++ WPFUI/WPFUI.csproj | 117 +++++++++++++++++++++++++ WPFUI/packages.config | 5 ++ 15 files changed, 541 insertions(+) create mode 100644 TfomanAppUI.sln create mode 100644 WPFUI/App.config create mode 100644 WPFUI/App.xaml create mode 100644 WPFUI/App.xaml.cs create mode 100644 WPFUI/Bootstrapper.cs create mode 100644 WPFUI/Properties/AssemblyInfo.cs create mode 100644 WPFUI/Properties/Resources.Designer.cs create mode 100644 WPFUI/Properties/Resources.resx create mode 100644 WPFUI/Properties/Settings.Designer.cs create mode 100644 WPFUI/Properties/Settings.settings create mode 100644 WPFUI/ViewModels/ShellViewModel.cs create mode 100644 WPFUI/Views/ShellView.xaml create mode 100644 WPFUI/Views/ShellView.xaml.cs create mode 100644 WPFUI/WPFUI.csproj create mode 100644 WPFUI/packages.config diff --git a/TfomanAppUI.sln b/TfomanAppUI.sln new file mode 100644 index 0000000..806fc88 --- /dev/null +++ b/TfomanAppUI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30225.117 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPFUI", "WPFUI\WPFUI.csproj", "{4C1357BC-8274-4FEE-81DD-38BE3137FB15}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4C1357BC-8274-4FEE-81DD-38BE3137FB15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4C1357BC-8274-4FEE-81DD-38BE3137FB15}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4C1357BC-8274-4FEE-81DD-38BE3137FB15}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4C1357BC-8274-4FEE-81DD-38BE3137FB15}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {52D446F8-325A-4CE4-8DFA-5C249C1EBF20} + EndGlobalSection +EndGlobal diff --git a/WPFUI/App.config b/WPFUI/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/WPFUI/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/WPFUI/App.xaml b/WPFUI/App.xaml new file mode 100644 index 0000000..b2ef66f --- /dev/null +++ b/WPFUI/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/WPFUI/App.xaml.cs b/WPFUI/App.xaml.cs new file mode 100644 index 0000000..5123906 --- /dev/null +++ b/WPFUI/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace WPFUI +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/WPFUI/Bootstrapper.cs b/WPFUI/Bootstrapper.cs new file mode 100644 index 0000000..c93aa79 --- /dev/null +++ b/WPFUI/Bootstrapper.cs @@ -0,0 +1,24 @@ +using Caliburn.Micro; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using WPFUI.ViewModels; + +namespace WPFUI +{ + public class Bootstrapper : BootstrapperBase + { + public Bootstrapper() + { + Initialize(); + } + + protected override void OnStartup(object sender, StartupEventArgs e) + { + DisplayRootViewFor(); + } + } +} diff --git a/WPFUI/Properties/AssemblyInfo.cs b/WPFUI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2c6dc6d --- /dev/null +++ b/WPFUI/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("WPFUI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WPFUI")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[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) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/WPFUI/Properties/Resources.Designer.cs b/WPFUI/Properties/Resources.Designer.cs new file mode 100644 index 0000000..65a9d79 --- /dev/null +++ b/WPFUI/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WPFUI.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WPFUI.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/WPFUI/Properties/Resources.resx b/WPFUI/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/WPFUI/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/WPFUI/Properties/Settings.Designer.cs b/WPFUI/Properties/Settings.Designer.cs new file mode 100644 index 0000000..3ef8e77 --- /dev/null +++ b/WPFUI/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WPFUI.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/WPFUI/Properties/Settings.settings b/WPFUI/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/WPFUI/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/WPFUI/ViewModels/ShellViewModel.cs b/WPFUI/ViewModels/ShellViewModel.cs new file mode 100644 index 0000000..0dfdc6a --- /dev/null +++ b/WPFUI/ViewModels/ShellViewModel.cs @@ -0,0 +1,14 @@ +using Caliburn.Micro; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WPFUI.ViewModels +{ + public class ShellViewModel : Screen + { + + } +} diff --git a/WPFUI/Views/ShellView.xaml b/WPFUI/Views/ShellView.xaml new file mode 100644 index 0000000..47b59ea --- /dev/null +++ b/WPFUI/Views/ShellView.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/WPFUI/Views/ShellView.xaml.cs b/WPFUI/Views/ShellView.xaml.cs new file mode 100644 index 0000000..44432d8 --- /dev/null +++ b/WPFUI/Views/ShellView.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 WPFUI.Views +{ + /// + /// Interaction logic for ShellView.xaml + /// + public partial class ShellView : Window + { + public ShellView() + { + InitializeComponent(); + } + } +} diff --git a/WPFUI/WPFUI.csproj b/WPFUI/WPFUI.csproj new file mode 100644 index 0000000..063f496 --- /dev/null +++ b/WPFUI/WPFUI.csproj @@ -0,0 +1,117 @@ + + + + + Debug + AnyCPU + {4C1357BC-8274-4FEE-81DD-38BE3137FB15} + WinExe + WPFUI + WPFUI + v4.7.2 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Caliburn.Micro.Core.3.2.0\lib\net45\Caliburn.Micro.dll + + + ..\packages\Caliburn.Micro.3.2.0\lib\net45\Caliburn.Micro.Platform.dll + + + ..\packages\Caliburn.Micro.3.2.0\lib\net45\Caliburn.Micro.Platform.Core.dll + + + + + ..\packages\Caliburn.Micro.3.2.0\lib\net45\System.Windows.Interactivity.dll + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + + ShellView.xaml + + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + Designer + MSBuild:Compile + + + + \ No newline at end of file diff --git a/WPFUI/packages.config b/WPFUI/packages.config new file mode 100644 index 0000000..8e82008 --- /dev/null +++ b/WPFUI/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file