diff --git a/oop/NormfallStudie/AirlineServer/AirlineServer.csproj b/oop/NormfallStudie/AirlineServer/AirlineServer.csproj new file mode 100644 index 0000000..0731dbe --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/AirlineServer.csproj @@ -0,0 +1,139 @@ + + + + + + Debug + AnyCPU + + + 2.0 + {78131D71-501C-45B5-B3EE-3A14CFB609F9} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + AirlineServer + AirlineServer + v4.6.1 + true + + + + + + + + + True + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.8\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + + + + + + + + + + + + + + + + + Web.config + + + Web.config + + + + + + + + + + AirlineService.svc + + + Global.asax + + + + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 49949 + / + http://localhost:49949/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/AirlineServer/AirlineService.svc b/oop/NormfallStudie/AirlineServer/AirlineService.svc new file mode 100644 index 0000000..b99a9be --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/AirlineService.svc @@ -0,0 +1 @@ +<%@ ServiceHost Language="C#" Debug="true" Service="AirlineServer.AirlineService" CodeBehind="AirlineService.svc.cs" %> diff --git a/oop/NormfallStudie/AirlineServer/AirlineService.svc.cs b/oop/NormfallStudie/AirlineServer/AirlineService.svc.cs new file mode 100644 index 0000000..b4d366e --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/AirlineService.svc.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.ServiceModel; +using System.Text; +using AirlineServer.Models; + +namespace AirlineServer +{ + // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "AirlineService" in code, svc and config file together. + // NOTE: In order to launch WCF Test Client for testing this service, please select AirlineService.svc or AirlineService.svc.cs at the Solution Explorer and start debugging. + public class AirlineService : IAirlineService + { + public List GetFreeFlights() + { + List free_flights = new List(); + Airline lufthansa = new Airline { name = "Lufthansa" }; + Airline easyjet = new Airline { name = "Easyjet" }; + DateTime lufthansa_startdate = new DateTime(2018, 06, 15, 12, 00, 00, 00); + DateTime easyjet_startdate = new DateTime(2018, 06, 11, 16, 00, 00, 00); + + Flight hamburg_zurich = new Flight + { + Airline = lufthansa, + Name = "LFH1206", + StartTime = lufthansa_startdate, + Duration = 2.50F, + FromCityShortName = "HAM", + ToCityShortName = "ZRH" + }; + Flight edingburgh_moskow = new Flight + { + Airline = easyjet, + Name = "ESZ666", + StartTime = easyjet_startdate, + Duration = 7.20F, + FromCityShortName = "EDI", + ToCityShortName = "MOS" + }; + free_flights.Add(hamburg_zurich); + free_flights.Add(edingburgh_moskow); + return free_flights; + } + } +} diff --git a/oop/NormfallStudie/AirlineServer/Global.asax b/oop/NormfallStudie/AirlineServer/Global.asax new file mode 100644 index 0000000..cdd796e --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Global.asax @@ -0,0 +1 @@ +<%@ Application Codebehind="Global.asax.cs" Inherits="AirlineServer.Global" Language="C#" %> diff --git a/oop/NormfallStudie/AirlineServer/Global.asax.cs b/oop/NormfallStudie/AirlineServer/Global.asax.cs new file mode 100644 index 0000000..296c722 --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Global.asax.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.SessionState; + +namespace AirlineServer +{ + public class Global : System.Web.HttpApplication + { + protected void Application_Start(object sender, EventArgs e) + { + } + } +} \ No newline at end of file diff --git a/oop/NormfallStudie/AirlineServer/IAirlineService.cs b/oop/NormfallStudie/AirlineServer/IAirlineService.cs new file mode 100644 index 0000000..f511e74 --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/IAirlineService.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.ServiceModel; +using System.Text; +using AirlineServer.Models; + +namespace AirlineServer +{ + // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAirlineService" in both code and config file together. + [ServiceContract] + public interface IAirlineService + { + [OperationContract] + List GetFreeFlights(); + } +} diff --git a/oop/NormfallStudie/AirlineServer/Models/Airline.cs b/oop/NormfallStudie/AirlineServer/Models/Airline.cs new file mode 100644 index 0000000..34bca4f --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Models/Airline.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Runtime.Serialization; + +namespace AirlineServer.Models +{ + [DataContract] + public class Airline + { + [DataMember] + public int ID { get; set; } + [DataMember] + public string name { get; set; } + } +} \ No newline at end of file diff --git a/oop/NormfallStudie/AirlineServer/Models/Flight.cs b/oop/NormfallStudie/AirlineServer/Models/Flight.cs new file mode 100644 index 0000000..284e4dc --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Models/Flight.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Runtime.Serialization; +using System.Linq; +using System.Web; + +namespace AirlineServer.Models +{ + [DataContract] + public class Flight + { + [DataMember] + public int ID { get; set; } + [DataMember] + public Airline Airline { get; set; } + [DataMember] + public string Name { get; set; } + [DataMember] + public DateTime StartTime { get; set; } + [DataMember] + public float Duration { get; set; } + [DataMember] + public string FromCityShortName { get; set; } + [DataMember] + public string ToCityShortName { get; set; } + } +} \ No newline at end of file diff --git a/oop/NormfallStudie/AirlineServer/Properties/AssemblyInfo.cs b/oop/NormfallStudie/AirlineServer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..eab62fa --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 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("AirlineServer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AirlineServer")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("78131d71-501c-45b5-b3ee-3a14cfb609f9")] + +// 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 Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/oop/NormfallStudie/AirlineServer/Web.Debug.config b/oop/NormfallStudie/AirlineServer/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/AirlineServer/Web.Release.config b/oop/NormfallStudie/AirlineServer/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/AirlineServer/Web.config b/oop/NormfallStudie/AirlineServer/Web.config new file mode 100644 index 0000000..ade67d1 --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/Web.config @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/oop/NormfallStudie/AirlineServer/packages.config b/oop/NormfallStudie/AirlineServer/packages.config new file mode 100644 index 0000000..3c54ec7 --- /dev/null +++ b/oop/NormfallStudie/AirlineServer/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/NormfallStudie.sln b/oop/NormfallStudie/NormfallStudie.sln new file mode 100644 index 0000000..6bf7825 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27428.2037 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plattform", "NormfallStudie\Plattform.csproj", "{CD441758-DC02-42F1-92BF-9A335B85B4A4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPFClient", "WPFClient\WPFClient.csproj", "{D1BD059D-BFA9-4087-A8FB-08F2422D66DD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirlineServer", "AirlineServer\AirlineServer.csproj", "{78131D71-501C-45B5-B3EE-3A14CFB609F9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CD441758-DC02-42F1-92BF-9A335B85B4A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CD441758-DC02-42F1-92BF-9A335B85B4A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CD441758-DC02-42F1-92BF-9A335B85B4A4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CD441758-DC02-42F1-92BF-9A335B85B4A4}.Release|Any CPU.Build.0 = Release|Any CPU + {D1BD059D-BFA9-4087-A8FB-08F2422D66DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D1BD059D-BFA9-4087-A8FB-08F2422D66DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1BD059D-BFA9-4087-A8FB-08F2422D66DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D1BD059D-BFA9-4087-A8FB-08F2422D66DD}.Release|Any CPU.Build.0 = Release|Any CPU + {78131D71-501C-45B5-B3EE-3A14CFB609F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78131D71-501C-45B5-B3EE-3A14CFB609F9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78131D71-501C-45B5-B3EE-3A14CFB609F9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {78131D71-501C-45B5-B3EE-3A14CFB609F9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {579E495D-7171-4236-91AF-9F2FA4F8E508} + EndGlobalSection +EndGlobal diff --git a/oop/NormfallStudie/NormfallStudie/Global.asax b/oop/NormfallStudie/NormfallStudie/Global.asax new file mode 100644 index 0000000..13f2af5 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Global.asax @@ -0,0 +1 @@ +<%@ Application Codebehind="Global.asax.cs" Inherits="NormfallStudie.Global" Language="C#" %> diff --git a/oop/NormfallStudie/NormfallStudie/Global.asax.cs b/oop/NormfallStudie/NormfallStudie/Global.asax.cs new file mode 100644 index 0000000..0197482 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Global.asax.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.SessionState; + +namespace NormfallStudie +{ + public class Global : System.Web.HttpApplication + { + protected void Application_Start(object sender, EventArgs e) + { + } + } +} \ No newline at end of file diff --git a/oop/NormfallStudie/NormfallStudie/IPlattformService.cs b/oop/NormfallStudie/NormfallStudie/IPlattformService.cs new file mode 100644 index 0000000..d6335f6 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/IPlattformService.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.ServiceModel; +using System.Text; + +namespace NormfallStudie +{ + // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPlattformService" in both code and config file together. + [ServiceContract] + public interface IPlattformService + { + [OperationContract] + void DoWork(); + } +} diff --git a/oop/NormfallStudie/NormfallStudie/Plattform.csproj b/oop/NormfallStudie/NormfallStudie/Plattform.csproj new file mode 100644 index 0000000..23aefd3 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Plattform.csproj @@ -0,0 +1,138 @@ + + + + + + Debug + AnyCPU + + + 2.0 + {CD441758-DC02-42F1-92BF-9A335B85B4A4} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + NormfallStudie + NormfallStudie + v4.6.1 + true + + + + + + + + + True + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.8\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + + + + + + + + + + + + + + + + + Web.config + + + Web.config + + + + + + + + + + Global.asax + + + + PlattformService.svc + + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 49742 + / + http://localhost:49742/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/NormfallStudie/PlattformService.svc b/oop/NormfallStudie/NormfallStudie/PlattformService.svc new file mode 100644 index 0000000..59e4dd3 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/PlattformService.svc @@ -0,0 +1 @@ +<%@ ServiceHost Language="C#" Debug="true" Service="NormfallStudie.PlattformService" CodeBehind="PlattformService.svc.cs" %> diff --git a/oop/NormfallStudie/NormfallStudie/PlattformService.svc.cs b/oop/NormfallStudie/NormfallStudie/PlattformService.svc.cs new file mode 100644 index 0000000..9678bd2 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/PlattformService.svc.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.ServiceModel; +using System.Text; + +namespace NormfallStudie +{ + // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "PlattformService" in code, svc and config file together. + // NOTE: In order to launch WCF Test Client for testing this service, please select PlattformService.svc or PlattformService.svc.cs at the Solution Explorer and start debugging. + public class PlattformService : IPlattformService + { + public void DoWork() + { + } + } +} diff --git a/oop/NormfallStudie/NormfallStudie/Properties/AssemblyInfo.cs b/oop/NormfallStudie/NormfallStudie/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6f83dbe --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 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("NormfallStudie")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("NormfallStudie")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("cd441758-dc02-42f1-92bf-9a335b85b4a4")] + +// 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 Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/oop/NormfallStudie/NormfallStudie/Web.Debug.config b/oop/NormfallStudie/NormfallStudie/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/NormfallStudie/Web.Release.config b/oop/NormfallStudie/NormfallStudie/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/NormfallStudie/Web.config b/oop/NormfallStudie/NormfallStudie/Web.config new file mode 100644 index 0000000..ade67d1 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/Web.config @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/oop/NormfallStudie/NormfallStudie/packages.config b/oop/NormfallStudie/NormfallStudie/packages.config new file mode 100644 index 0000000..3c54ec7 --- /dev/null +++ b/oop/NormfallStudie/NormfallStudie/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/WPFClient/App.config b/oop/NormfallStudie/WPFClient/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/oop/NormfallStudie/WPFClient/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/WPFClient/App.xaml b/oop/NormfallStudie/WPFClient/App.xaml new file mode 100644 index 0000000..f63d388 --- /dev/null +++ b/oop/NormfallStudie/WPFClient/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/oop/NormfallStudie/WPFClient/App.xaml.cs b/oop/NormfallStudie/WPFClient/App.xaml.cs new file mode 100644 index 0000000..4122d91 --- /dev/null +++ b/oop/NormfallStudie/WPFClient/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 WPFClient +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/oop/NormfallStudie/WPFClient/MainWindow.xaml b/oop/NormfallStudie/WPFClient/MainWindow.xaml new file mode 100644 index 0000000..ba4d4ef --- /dev/null +++ b/oop/NormfallStudie/WPFClient/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/oop/NormfallStudie/WPFClient/MainWindow.xaml.cs b/oop/NormfallStudie/WPFClient/MainWindow.xaml.cs new file mode 100644 index 0000000..9570038 --- /dev/null +++ b/oop/NormfallStudie/WPFClient/MainWindow.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 WPFClient +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/oop/NormfallStudie/WPFClient/Properties/AssemblyInfo.cs b/oop/NormfallStudie/WPFClient/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6901d9b --- /dev/null +++ b/oop/NormfallStudie/WPFClient/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("WPFClient")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WPFClient")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[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/oop/NormfallStudie/WPFClient/Properties/Resources.Designer.cs b/oop/NormfallStudie/WPFClient/Properties/Resources.Designer.cs new file mode 100644 index 0000000..335f0fa --- /dev/null +++ b/oop/NormfallStudie/WPFClient/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 WPFClient.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("WPFClient.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/oop/NormfallStudie/WPFClient/Properties/Resources.resx b/oop/NormfallStudie/WPFClient/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/oop/NormfallStudie/WPFClient/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/oop/NormfallStudie/WPFClient/Properties/Settings.Designer.cs b/oop/NormfallStudie/WPFClient/Properties/Settings.Designer.cs new file mode 100644 index 0000000..cfff569 --- /dev/null +++ b/oop/NormfallStudie/WPFClient/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 WPFClient.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/oop/NormfallStudie/WPFClient/Properties/Settings.settings b/oop/NormfallStudie/WPFClient/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/oop/NormfallStudie/WPFClient/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/oop/NormfallStudie/WPFClient/WPFClient.csproj b/oop/NormfallStudie/WPFClient/WPFClient.csproj new file mode 100644 index 0000000..dcd87e2 --- /dev/null +++ b/oop/NormfallStudie/WPFClient/WPFClient.csproj @@ -0,0 +1,97 @@ + + + + + Debug + AnyCPU + {D1BD059D-BFA9-4087-A8FB-08F2422D66DD} + WinExe + WPFClient + WPFClient + v4.6.1 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + \ No newline at end of file