diff --git a/Wetterstation.sln b/Wetterstation.sln new file mode 100644 index 0000000000000000000000000000000000000000..d1d86b57a33290927ba7523f01d968c8c0b6a2de --- /dev/null +++ b/Wetterstation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28803.452 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wetterstation", "Wetterstation\Wetterstation.csproj", "{7B3B82DF-FBEE-484A-97F9-1956E36624EB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7B3B82DF-FBEE-484A-97F9-1956E36624EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B3B82DF-FBEE-484A-97F9-1956E36624EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B3B82DF-FBEE-484A-97F9-1956E36624EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B3B82DF-FBEE-484A-97F9-1956E36624EB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ECD8880D-9A91-4B42-8FDD-36C8165494D2} + EndGlobalSection +EndGlobal diff --git a/Wetterstation/App.config b/Wetterstation/App.config new file mode 100644 index 0000000000000000000000000000000000000000..56efbc7b5f15b5166cc89dae0406895b57de0b67 --- /dev/null +++ b/Wetterstation/App.config @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> + </startup> +</configuration> \ No newline at end of file diff --git a/Wetterstation/Form1.Designer.cs b/Wetterstation/Form1.Designer.cs new file mode 100644 index 0000000000000000000000000000000000000000..49e1249667b0ca3201b0e0d4977b32568a89272c --- /dev/null +++ b/Wetterstation/Form1.Designer.cs @@ -0,0 +1,624 @@ + + +using System.Drawing; +using System.Windows.Forms; + +namespace Wetterstation + + + +{ + partial class Hintergrund + { + /// <summary> + /// Erforderliche Designervariable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Verwendete Ressourcen bereinigen. + /// </summary> + /// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Windows Form-Designer generierter Code + + /// <summary> + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// </summary> + private void InitializeComponent() + { + System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea5 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); + System.Windows.Forms.DataVisualization.Charting.Legend legend5 = new System.Windows.Forms.DataVisualization.Charting.Legend(); + System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series(); + System.Windows.Forms.DataVisualization.Charting.Title title5 = new System.Windows.Forms.DataVisualization.Charting.Title(); + this.lbTextInnentemp = new System.Windows.Forms.Label(); + this.lbTextAussentemp = new System.Windows.Forms.Label(); + this.lbTextWindSpeed = new System.Windows.Forms.Label(); + this.lbTextLuftfeuchtInnen = new System.Windows.Forms.Label(); + this.Windrichtung = new System.Windows.Forms.Label(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.lbInnenTemp = new System.Windows.Forms.Label(); + this.lbAussenTemp = new System.Windows.Forms.Label(); + this.lbWindSpeed = new System.Windows.Forms.Label(); + this.lbLuftFeuchtInnen = new System.Windows.Forms.Label(); + this.lbWindricht = new System.Windows.Forms.Label(); + this.lbUhr = new System.Windows.Forms.Label(); + this.lbDatum = new System.Windows.Forms.Label(); + this.LED_N = new System.Windows.Forms.Label(); + this.LED_O = new System.Windows.Forms.Label(); + this.LED_S = new System.Windows.Forms.Label(); + this.LED_W = new System.Windows.Forms.Label(); + this.lbTextTendenz = new System.Windows.Forms.Label(); + this.lbWT1 = new System.Windows.Forms.Label(); + this.picTg2 = new System.Windows.Forms.PictureBox(); + this.picTg3 = new System.Windows.Forms.PictureBox(); + this.picTg4 = new System.Windows.Forms.PictureBox(); + this.picTg5 = new System.Windows.Forms.PictureBox(); + this.lbWt2 = new System.Windows.Forms.Label(); + this.lbWt3 = new System.Windows.Forms.Label(); + this.lbWt4 = new System.Windows.Forms.Label(); + this.lbWt5 = new System.Windows.Forms.Label(); + this.lbLuftfeuchtAussen = new System.Windows.Forms.Label(); + this.lbTextLuftfeuchtAussen = new System.Windows.Forms.Label(); + this.lbTextLuftdruck = new System.Windows.Forms.Label(); + this.lbLuftdruck = new System.Windows.Forms.Label(); + this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); + this.lbHintergrund = new System.Windows.Forms.Label(); + this.lbCity = new System.Windows.Forms.Label(); + this.picTg1 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg1)).BeginInit(); + this.SuspendLayout(); + // + // lbTextInnentemp + // + this.lbTextInnentemp.AutoSize = true; + this.lbTextInnentemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextInnentemp.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextInnentemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextInnentemp.Location = new System.Drawing.Point(160, 21); + this.lbTextInnentemp.Name = "lbTextInnentemp"; + this.lbTextInnentemp.Size = new System.Drawing.Size(163, 24); + this.lbTextInnentemp.TabIndex = 0; + this.lbTextInnentemp.Text = "Innentemperatur"; + // + // lbTextAussentemp + // + this.lbTextAussentemp.AutoSize = true; + this.lbTextAussentemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextAussentemp.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextAussentemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextAussentemp.Location = new System.Drawing.Point(152, 124); + this.lbTextAussentemp.Name = "lbTextAussentemp"; + this.lbTextAussentemp.Size = new System.Drawing.Size(180, 24); + this.lbTextAussentemp.TabIndex = 1; + this.lbTextAussentemp.Text = "Aussentemperatur"; + // + // lbTextWindSpeed + // + this.lbTextWindSpeed.AutoSize = true; + this.lbTextWindSpeed.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextWindSpeed.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextWindSpeed.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextWindSpeed.Location = new System.Drawing.Point(582, 25); + this.lbTextWindSpeed.Name = "lbTextWindSpeed"; + this.lbTextWindSpeed.Size = new System.Drawing.Size(165, 18); + this.lbTextWindSpeed.TabIndex = 2; + this.lbTextWindSpeed.Text = "Windgeschwindigkeit"; + this.lbTextWindSpeed.Click += new System.EventHandler(this.Windgeschwindigkeit_Click); + // + // lbTextLuftfeuchtInnen + // + this.lbTextLuftfeuchtInnen.AutoSize = true; + this.lbTextLuftfeuchtInnen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextLuftfeuchtInnen.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextLuftfeuchtInnen.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextLuftfeuchtInnen.Location = new System.Drawing.Point(402, 21); + this.lbTextLuftfeuchtInnen.Name = "lbTextLuftfeuchtInnen"; + this.lbTextLuftfeuchtInnen.Size = new System.Drawing.Size(149, 24); + this.lbTextLuftfeuchtInnen.TabIndex = 3; + this.lbTextLuftfeuchtInnen.Text = "Luftfeuchtigkeit"; + this.lbTextLuftfeuchtInnen.Click += new System.EventHandler(this.LbTextLuftfeucht_Click); + // + // Windrichtung + // + this.Windrichtung.AutoSize = true; + this.Windrichtung.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.Windrichtung.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Windrichtung.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.Windrichtung.Location = new System.Drawing.Point(850, 21); + this.Windrichtung.Name = "Windrichtung"; + this.Windrichtung.Size = new System.Drawing.Size(134, 24); + this.Windrichtung.TabIndex = 4; + this.Windrichtung.Text = "Windrichtung"; + // + // pictureBox1 + // + this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pictureBox1.BackColor = System.Drawing.Color.Transparent; + this.pictureBox1.BackgroundImage = global::Wetterstation.Properties.Resources.Kompassrose2; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.pictureBox1.Location = new System.Drawing.Point(871, 48); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(90, 90); + this.pictureBox1.TabIndex = 10; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.PictureBox1_Click); + // + // lbInnenTemp + // + this.lbInnenTemp.AutoSize = true; + this.lbInnenTemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbInnenTemp.Font = new System.Drawing.Font("Arial", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbInnenTemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbInnenTemp.Location = new System.Drawing.Point(133, 44); + this.lbInnenTemp.Name = "lbInnenTemp"; + this.lbInnenTemp.Size = new System.Drawing.Size(248, 75); + this.lbInnenTemp.TabIndex = 13; + this.lbInnenTemp.Text = "23,3 C°"; + this.lbInnenTemp.BackColorChanged += new System.EventHandler(this.HierInnen_BackColorChanged); + // + // lbAussenTemp + // + this.lbAussenTemp.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbAussenTemp.AutoSize = true; + this.lbAussenTemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbAussenTemp.Font = new System.Drawing.Font("Arial", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbAussenTemp.ForeColor = System.Drawing.Color.White; + this.lbAussenTemp.Location = new System.Drawing.Point(132, 151); + this.lbAussenTemp.Name = "lbAussenTemp"; + this.lbAussenTemp.Size = new System.Drawing.Size(248, 75); + this.lbAussenTemp.TabIndex = 15; + this.lbAussenTemp.Text = "25,7 C°"; + this.lbAussenTemp.Click += new System.EventHandler(this.HierAussen_Click); + // + // lbWindSpeed + // + this.lbWindSpeed.AutoSize = true; + this.lbWindSpeed.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWindSpeed.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWindSpeed.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbWindSpeed.Location = new System.Drawing.Point(610, 45); + this.lbWindSpeed.Name = "lbWindSpeed"; + this.lbWindSpeed.Size = new System.Drawing.Size(113, 29); + this.lbWindSpeed.TabIndex = 16; + this.lbWindSpeed.Text = "12 m/sec"; + // + // lbLuftFeuchtInnen + // + this.lbLuftFeuchtInnen.AutoSize = true; + this.lbLuftFeuchtInnen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbLuftFeuchtInnen.Font = new System.Drawing.Font("Arial", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbLuftFeuchtInnen.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbLuftFeuchtInnen.Location = new System.Drawing.Point(410, 51); + this.lbLuftFeuchtInnen.Name = "lbLuftFeuchtInnen"; + this.lbLuftFeuchtInnen.Size = new System.Drawing.Size(133, 56); + this.lbLuftFeuchtInnen.TabIndex = 17; + this.lbLuftFeuchtInnen.Text = "36 %"; + // + // lbWindricht + // + this.lbWindricht.AutoSize = true; + this.lbWindricht.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWindricht.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWindricht.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbWindricht.Location = new System.Drawing.Point(889, 162); + this.lbWindricht.Name = "lbWindricht"; + this.lbWindricht.Size = new System.Drawing.Size(50, 24); + this.lbWindricht.TabIndex = 18; + this.lbWindricht.Text = "Süd"; + // + // lbUhr + // + this.lbUhr.AutoSize = true; + this.lbUhr.BackColor = System.Drawing.Color.Transparent; + this.lbUhr.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbUhr.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbUhr.Location = new System.Drawing.Point(891, 656); + this.lbUhr.Name = "lbUhr"; + this.lbUhr.Size = new System.Drawing.Size(105, 29); + this.lbUhr.TabIndex = 19; + this.lbUhr.Text = "22:56:12"; + this.lbUhr.Click += new System.EventHandler(this.HierUhr_Click); + // + // lbDatum + // + this.lbDatum.AutoSize = true; + this.lbDatum.BackColor = System.Drawing.Color.Transparent; + this.lbDatum.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbDatum.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbDatum.Location = new System.Drawing.Point(878, 696); + this.lbDatum.Name = "lbDatum"; + this.lbDatum.Size = new System.Drawing.Size(118, 24); + this.lbDatum.TabIndex = 20; + this.lbDatum.Text = "24.12.1872"; + this.lbDatum.Click += new System.EventHandler(this.HierDatum_Click); + // + // LED_N + // + this.LED_N.AllowDrop = true; + this.LED_N.AutoEllipsis = true; + this.LED_N.AutoSize = true; + this.LED_N.BackColor = System.Drawing.Color.Transparent; + this.LED_N.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(70)))), ((int)(((byte)(90))))); + this.LED_N.Location = new System.Drawing.Point(914, 306); + this.LED_N.Name = "LED_N"; + this.LED_N.Size = new System.Drawing.Size(54, 13); + this.LED_N.TabIndex = 21; + this.LED_N.Text = "LED Nord"; + this.LED_N.Click += new System.EventHandler(this.LED_Click); + // + // LED_O + // + this.LED_O.AllowDrop = true; + this.LED_O.AutoEllipsis = true; + this.LED_O.AutoSize = true; + this.LED_O.BackColor = System.Drawing.Color.Transparent; + this.LED_O.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(70)))), ((int)(((byte)(90))))); + this.LED_O.Location = new System.Drawing.Point(914, 339); + this.LED_O.Name = "LED_O"; + this.LED_O.Size = new System.Drawing.Size(47, 13); + this.LED_O.TabIndex = 22; + this.LED_O.Text = "LED Ost"; + this.LED_O.Click += new System.EventHandler(this.Label1_Click); + // + // LED_S + // + this.LED_S.AllowDrop = true; + this.LED_S.AutoEllipsis = true; + this.LED_S.AutoSize = true; + this.LED_S.BackColor = System.Drawing.Color.Transparent; + this.LED_S.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(70)))), ((int)(((byte)(90))))); + this.LED_S.Location = new System.Drawing.Point(914, 369); + this.LED_S.Name = "LED_S"; + this.LED_S.Size = new System.Drawing.Size(56, 13); + this.LED_S.TabIndex = 23; + this.LED_S.Text = "LED Sued"; + this.LED_S.Click += new System.EventHandler(this.LED_S_Click); + // + // LED_W + // + this.LED_W.AllowDrop = true; + this.LED_W.AutoEllipsis = true; + this.LED_W.AutoSize = true; + this.LED_W.BackColor = System.Drawing.Color.Transparent; + this.LED_W.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(70)))), ((int)(((byte)(90))))); + this.LED_W.Location = new System.Drawing.Point(914, 396); + this.LED_W.Name = "LED_W"; + this.LED_W.Size = new System.Drawing.Size(56, 13); + this.LED_W.TabIndex = 24; + this.LED_W.Text = "LED West"; + this.LED_W.Click += new System.EventHandler(this.LED_W_Click); + // + // lbTextTendenz + // + this.lbTextTendenz.AutoSize = true; + this.lbTextTendenz.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextTendenz.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextTendenz.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextTendenz.Location = new System.Drawing.Point(36, 26); + this.lbTextTendenz.Name = "lbTextTendenz"; + this.lbTextTendenz.Size = new System.Drawing.Size(68, 16); + this.lbTextTendenz.TabIndex = 25; + this.lbTextTendenz.Text = "Tendenz"; + // + // lbWT1 + // + this.lbWT1.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbWT1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWT1.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWT1.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbWT1.Location = new System.Drawing.Point(127, 238); + this.lbWT1.Name = "lbWT1"; + this.lbWT1.Size = new System.Drawing.Size(48, 47); + this.lbWT1.TabIndex = 27; + this.lbWT1.Text = "MO"; + this.lbWT1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // picTg2 + // + this.picTg2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.picTg2.BackgroundImage = global::Wetterstation.Properties.Resources._02d_small; + this.picTg2.Location = new System.Drawing.Point(177, 271); + this.picTg2.Name = "picTg2"; + this.picTg2.Size = new System.Drawing.Size(53, 44); + this.picTg2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picTg2.TabIndex = 29; + this.picTg2.TabStop = false; + this.picTg2.Click += new System.EventHandler(this.PicTg2_Click); + // + // picTg3 + // + this.picTg3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.picTg3.BackgroundImage = global::Wetterstation.Properties.Resources._03n_small; + this.picTg3.Location = new System.Drawing.Point(230, 271); + this.picTg3.Name = "picTg3"; + this.picTg3.Size = new System.Drawing.Size(53, 44); + this.picTg3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picTg3.TabIndex = 30; + this.picTg3.TabStop = false; + // + // picTg4 + // + this.picTg4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.picTg4.BackgroundImage = global::Wetterstation.Properties.Resources._02d_small; + this.picTg4.Location = new System.Drawing.Point(282, 271); + this.picTg4.Name = "picTg4"; + this.picTg4.Size = new System.Drawing.Size(53, 44); + this.picTg4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picTg4.TabIndex = 31; + this.picTg4.TabStop = false; + // + // picTg5 + // + this.picTg5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.picTg5.BackgroundImage = global::Wetterstation.Properties.Resources._11d_small; + this.picTg5.Location = new System.Drawing.Point(331, 271); + this.picTg5.Name = "picTg5"; + this.picTg5.Size = new System.Drawing.Size(53, 44); + this.picTg5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picTg5.TabIndex = 32; + this.picTg5.TabStop = false; + // + // lbWt2 + // + this.lbWt2.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbWt2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWt2.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWt2.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbWt2.Location = new System.Drawing.Point(179, 238); + this.lbWt2.Name = "lbWt2"; + this.lbWt2.Size = new System.Drawing.Size(48, 47); + this.lbWt2.TabIndex = 33; + this.lbWt2.Text = "DI"; + this.lbWt2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbWt3 + // + this.lbWt3.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbWt3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWt3.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWt3.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbWt3.Location = new System.Drawing.Point(234, 238); + this.lbWt3.Name = "lbWt3"; + this.lbWt3.Size = new System.Drawing.Size(48, 47); + this.lbWt3.TabIndex = 34; + this.lbWt3.Text = "Mi"; + this.lbWt3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbWt4 + // + this.lbWt4.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbWt4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWt4.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWt4.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbWt4.Location = new System.Drawing.Point(282, 238); + this.lbWt4.Name = "lbWt4"; + this.lbWt4.Size = new System.Drawing.Size(48, 47); + this.lbWt4.TabIndex = 35; + this.lbWt4.Text = "DO"; + this.lbWt4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbWt5 + // + this.lbWt5.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbWt5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbWt5.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbWt5.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbWt5.Location = new System.Drawing.Point(333, 238); + this.lbWt5.Name = "lbWt5"; + this.lbWt5.Size = new System.Drawing.Size(48, 47); + this.lbWt5.TabIndex = 36; + this.lbWt5.Text = "FR"; + this.lbWt5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbLuftfeuchtAussen + // + this.lbLuftfeuchtAussen.AutoSize = true; + this.lbLuftfeuchtAussen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbLuftfeuchtAussen.Font = new System.Drawing.Font("Arial", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbLuftfeuchtAussen.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbLuftfeuchtAussen.Location = new System.Drawing.Point(412, 159); + this.lbLuftfeuchtAussen.Name = "lbLuftfeuchtAussen"; + this.lbLuftfeuchtAussen.Size = new System.Drawing.Size(133, 56); + this.lbLuftfeuchtAussen.TabIndex = 37; + this.lbLuftfeuchtAussen.Text = "36 %"; + // + // lbTextLuftfeuchtAussen + // + this.lbTextLuftfeuchtAussen.AutoSize = true; + this.lbTextLuftfeuchtAussen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextLuftfeuchtAussen.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextLuftfeuchtAussen.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextLuftfeuchtAussen.Location = new System.Drawing.Point(402, 124); + this.lbTextLuftfeuchtAussen.Name = "lbTextLuftfeuchtAussen"; + this.lbTextLuftfeuchtAussen.Size = new System.Drawing.Size(149, 24); + this.lbTextLuftfeuchtAussen.TabIndex = 38; + this.lbTextLuftfeuchtAussen.Text = "Luftfeuchtigkeit"; + // + // lbTextLuftdruck + // + this.lbTextLuftdruck.AutoSize = true; + this.lbTextLuftdruck.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbTextLuftdruck.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbTextLuftdruck.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.lbTextLuftdruck.Location = new System.Drawing.Point(623, 86); + this.lbTextLuftdruck.Name = "lbTextLuftdruck"; + this.lbTextLuftdruck.Size = new System.Drawing.Size(85, 20); + this.lbTextLuftdruck.TabIndex = 39; + this.lbTextLuftdruck.Text = "Luftdruck"; + // + // lbLuftdruck + // + this.lbLuftdruck.AutoSize = true; + this.lbLuftdruck.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbLuftdruck.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbLuftdruck.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbLuftdruck.Location = new System.Drawing.Point(615, 107); + this.lbLuftdruck.Name = "lbLuftdruck"; + this.lbLuftdruck.Size = new System.Drawing.Size(103, 29); + this.lbLuftdruck.TabIndex = 40; + this.lbLuftdruck.Text = "999 hPa"; + // + // chart1 + // + this.chart1.Anchor = System.Windows.Forms.AnchorStyles.None; + chartArea5.Name = "ChartArea1"; + this.chart1.ChartAreas.Add(chartArea5); + legend5.Name = "Legend1"; + this.chart1.Legends.Add(legend5); + this.chart1.Location = new System.Drawing.Point(28, 546); + this.chart1.Name = "chart1"; + this.chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Excel; + series5.ChartArea = "ChartArea1"; + series5.Legend = "Legend1"; + series5.Name = "Series1"; + this.chart1.Series.Add(series5); + this.chart1.Size = new System.Drawing.Size(743, 107); + this.chart1.TabIndex = 41; + this.chart1.Text = "chTendenz"; + title5.Name = "Title1"; + this.chart1.Titles.Add(title5); + // + // lbHintergrund + // + this.lbHintergrund.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbHintergrund.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbHintergrund.Location = new System.Drawing.Point(12, 18); + this.lbHintergrund.Name = "lbHintergrund"; + this.lbHintergrund.Size = new System.Drawing.Size(984, 301); + this.lbHintergrund.TabIndex = 42; + // + // lbCity + // + this.lbCity.BackColor = System.Drawing.Color.Transparent; + this.lbCity.Font = new System.Drawing.Font("Arial Black", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbCity.ForeColor = System.Drawing.Color.White; + this.lbCity.Location = new System.Drawing.Point(0, 656); + this.lbCity.Name = "lbCity"; + this.lbCity.Size = new System.Drawing.Size(1007, 50); + this.lbCity.TabIndex = 43; + this.lbCity.Text = "Marienhausen"; + this.lbCity.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // picTg1 + // + this.picTg1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.picTg1.BackgroundImage = global::Wetterstation.Properties.Resources._11d_small; + this.picTg1.Location = new System.Drawing.Point(124, 271); + this.picTg1.Name = "picTg1"; + this.picTg1.Size = new System.Drawing.Size(53, 44); + this.picTg1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picTg1.TabIndex = 44; + this.picTg1.TabStop = false; + // + // Hintergrund + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackgroundImage = global::Wetterstation.Properties.Resources.Strand; + this.ClientSize = new System.Drawing.Size(1008, 729); + this.Controls.Add(this.picTg1); + this.Controls.Add(this.lbWT1); + this.Controls.Add(this.lbWt2); + this.Controls.Add(this.lbWt3); + this.Controls.Add(this.lbWt4); + this.Controls.Add(this.lbWt5); + this.Controls.Add(this.lbAussenTemp); + this.Controls.Add(this.chart1); + this.Controls.Add(this.lbLuftdruck); + this.Controls.Add(this.lbTextLuftdruck); + this.Controls.Add(this.lbTextLuftfeuchtAussen); + this.Controls.Add(this.lbLuftfeuchtAussen); + this.Controls.Add(this.picTg5); + this.Controls.Add(this.picTg4); + this.Controls.Add(this.picTg3); + this.Controls.Add(this.picTg2); + this.Controls.Add(this.lbTextTendenz); + this.Controls.Add(this.LED_W); + this.Controls.Add(this.LED_S); + this.Controls.Add(this.LED_O); + this.Controls.Add(this.LED_N); + this.Controls.Add(this.lbDatum); + this.Controls.Add(this.lbUhr); + this.Controls.Add(this.lbWindricht); + this.Controls.Add(this.lbLuftFeuchtInnen); + this.Controls.Add(this.lbWindSpeed); + this.Controls.Add(this.lbInnenTemp); + this.Controls.Add(this.Windrichtung); + this.Controls.Add(this.lbTextLuftfeuchtInnen); + this.Controls.Add(this.lbTextWindSpeed); + this.Controls.Add(this.lbTextAussentemp); + this.Controls.Add(this.lbTextInnentemp); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.lbHintergrund); + this.Controls.Add(this.lbCity); + this.Name = "Hintergrund"; + this.Text = "Wetterstation C++ Kurs Alfatraining Dozent Karol Lassota"; + this.Load += new System.EventHandler(this.Hintergrund_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picTg1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label lbTextInnentemp; + private System.Windows.Forms.Label lbTextAussentemp; + private System.Windows.Forms.Label lbTextWindSpeed; + private System.Windows.Forms.Label lbTextLuftfeuchtInnen; + private System.Windows.Forms.Label Windrichtung; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Label lbInnenTemp; + private System.Windows.Forms.Label lbAussenTemp; + private System.Windows.Forms.Label lbWindSpeed; + private System.Windows.Forms.Label lbLuftFeuchtInnen; + private System.Windows.Forms.Label lbWindricht; + private System.Windows.Forms.Label lbUhr; + private System.Windows.Forms.Label lbDatum; + private System.Windows.Forms.Label LED_N; + private System.Windows.Forms.Label LED_O; + private System.Windows.Forms.Label LED_S; + private System.Windows.Forms.Label LED_W; + private System.Windows.Forms.Label lbTextTendenz; + private Label lbWT1; + private PictureBox picTg2; + private PictureBox picTg3; + private PictureBox picTg4; + private PictureBox picTg5; + private Label lbWt2; + private Label lbWt3; + private Label lbWt4; + private Label lbWt5; + private Label lbLuftfeuchtAussen; + private Label lbTextLuftfeuchtAussen; + private Label lbTextLuftdruck; + private Label lbLuftdruck; + private System.Windows.Forms.DataVisualization.Charting.Chart chart1; + private Label lbHintergrund; + private Label lbCity; + private PictureBox picTg1; + } +} + diff --git a/Wetterstation/Form1.cs b/Wetterstation/Form1.cs new file mode 100644 index 0000000000000000000000000000000000000000..f9241ac7d56a5bfcc19b0ee81e07d58bc0811f19 --- /dev/null +++ b/Wetterstation/Form1.cs @@ -0,0 +1,141 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Wetterstation +{ + public partial class Hintergrund : Form + { + public Hintergrund() + { + InitializeComponent(); + } + + private void InnenTemp_TextChanged(object sender, EventArgs e) + { + + } + + private void AussenTemp_TextChanged(object sender, EventArgs e) + { + + } + + private void WindSpeed_TextChanged(object sender, EventArgs e) + { + + } + + private void LuftFeucht_TextChanged(object sender, EventArgs e) + { + + } + + private void WindRicht_TextChanged(object sender, EventArgs e) + { + + } + + private void Uhrzeit_Click(object sender, EventArgs e) + { + + } + + private void HierAussen_Click(object sender, EventArgs e) + { + + } + + private void Windgeschwindigkeit_Click(object sender, EventArgs e) + { + + } + + private void HierDatum_Click(object sender, EventArgs e) + { + + } + + private void LED_Click(object sender, EventArgs e) + { + + System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); + System.Drawing.Graphics formGraphics; + formGraphics = this.CreateGraphics(); + formGraphics.FillEllipse(myBrush, new Rectangle(818, 238, 12, 12)); + myBrush.Dispose(); + formGraphics.Dispose(); + } + + private void Label1_Click(object sender, EventArgs e) + { + System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); + System.Drawing.Graphics formGraphics; + formGraphics = this.CreateGraphics(); + formGraphics.FillEllipse(myBrush, new Rectangle(872, 290, 12, 12)); + myBrush.Dispose(); + formGraphics.Dispose(); + } + + private void LED_S_Click(object sender, EventArgs e) + { + System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); + System.Drawing.Graphics formGraphics; + formGraphics = this.CreateGraphics(); + formGraphics.FillEllipse(myBrush, new Rectangle(818,350, 12, 12)); + myBrush.Dispose(); + formGraphics.Dispose(); + } + + private void LED_W_Click(object sender, EventArgs e) + { + System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); + System.Drawing.Graphics formGraphics; + formGraphics = this.CreateGraphics(); + formGraphics.FillEllipse(myBrush, new Rectangle(764, 290, 12, 12)); + myBrush.Dispose(); + formGraphics.Dispose(); + } + + private void HierUhr_Click(object sender, EventArgs e) + { + + } + + private void HierInnen_Click(object sender, EventArgs e) + { + + } + + private void HierInnen_BackColorChanged(object sender, EventArgs e) + { + + } + + private void LbTextLuftfeucht_Click(object sender, EventArgs e) + { + + } + + private void PicTg2_Click(object sender, EventArgs e) + { + + } + + private void PictureBox1_Click(object sender, EventArgs e) + { + + } + + private void Hintergrund_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/Wetterstation/Form1.resx b/Wetterstation/Form1.resx new file mode 100644 index 0000000000000000000000000000000000000000..1af7de150c99c12dd67a509fe57c10d63e4eeb04 --- /dev/null +++ b/Wetterstation/Form1.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file diff --git a/Wetterstation/Program.cs b/Wetterstation/Program.cs new file mode 100644 index 0000000000000000000000000000000000000000..704b24d2ac83a78f4b6e63c9535f7970784b629f --- /dev/null +++ b/Wetterstation/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Wetterstation +{ + static class Program + { + /// <summary> + /// Der Haupteinstiegspunkt für die Anwendung. + /// </summary> + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Hintergrund()); + } + } +} diff --git a/Wetterstation/Properties/AssemblyInfo.cs b/Wetterstation/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..84db69afc0805fd0a661a6225e4614e82a4f714e --- /dev/null +++ b/Wetterstation/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("Wetterstation")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Wetterstation")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("7b3b82df-fbee-484a-97f9-1956e36624eb")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +// indem Sie "*" wie unten gezeigt eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Wetterstation/Properties/Resources.Designer.cs b/Wetterstation/Properties/Resources.Designer.cs new file mode 100644 index 0000000000000000000000000000000000000000..62a6ebf70247283ec59b15260cb9c910039e595c --- /dev/null +++ b/Wetterstation/Properties/Resources.Designer.cs @@ -0,0 +1,183 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Wetterstation.Properties { + using System; + + + /// <summary> + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// </summary> + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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() { + } + + /// <summary> + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Wetterstation.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap _02d_small { + get { + object obj = ResourceManager.GetObject("02d_small", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap _03n_small { + get { + object obj = ResourceManager.GetObject("03n_small", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap _11d_small { + get { + object obj = ResourceManager.GetObject("11d_small", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap _13n_small { + get { + object obj = ResourceManager.GetObject("13n_small", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap Bild_Dennis_Formatiert { + get { + object obj = ResourceManager.GetObject("Bild_Dennis_Formatiert", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap earth { + get { + object obj = ResourceManager.GetObject("earth", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap histogramm { + get { + object obj = ResourceManager.GetObject("histogramm", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap Kompassrose { + get { + object obj = ResourceManager.GetObject("Kompassrose", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap Kompassrose1 { + get { + object obj = ResourceManager.GetObject("Kompassrose1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap Kompassrose2 { + get { + object obj = ResourceManager.GetObject("Kompassrose2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap saturn { + get { + object obj = ResourceManager.GetObject("saturn", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap Strand { + get { + object obj = ResourceManager.GetObject("Strand", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Wetterstation/Properties/Resources.resx b/Wetterstation/Properties/Resources.resx new file mode 100644 index 0000000000000000000000000000000000000000..7d64d59cd2b25445042ea5183f0898ab1a862362 --- /dev/null +++ b/Wetterstation/Properties/Resources.resx @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="earth" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\earth.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="Kompassrose" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Kompassrose.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="saturn" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\saturn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="Kompassrose2" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Kompassrose1.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="Kompassrose1" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Kompassrose.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="histogramm" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\histogramm.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="13n_small" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\13n_small.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="03n_small" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\03n_small.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="02d_small" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\02d_small.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="Bild_Dennis_Formatiert" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Bild_Dennis_Formatiert.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="11d_small" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\11d_small.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="Strand" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Strand.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> +</root> \ No newline at end of file diff --git a/Wetterstation/Properties/Settings.Designer.cs b/Wetterstation/Properties/Settings.Designer.cs new file mode 100644 index 0000000000000000000000000000000000000000..027bf8eea3082fa140b66fe26e773d344c8b971d --- /dev/null +++ b/Wetterstation/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// 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. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Wetterstation.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/Wetterstation/Properties/Settings.settings b/Wetterstation/Properties/Settings.settings new file mode 100644 index 0000000000000000000000000000000000000000..39645652af62950ebf3b28ec3a5400dcec30b1c4 --- /dev/null +++ b/Wetterstation/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile> diff --git a/Wetterstation/Resources/02d_small.png b/Wetterstation/Resources/02d_small.png new file mode 100644 index 0000000000000000000000000000000000000000..01c3c9b7fa4eb21ce28e16a38702caaffcad1569 Binary files /dev/null and b/Wetterstation/Resources/02d_small.png differ diff --git a/Wetterstation/Resources/03n_small.png b/Wetterstation/Resources/03n_small.png new file mode 100644 index 0000000000000000000000000000000000000000..c0f7e0714f87e9c295edfc9f13203e3aa37ac429 Binary files /dev/null and b/Wetterstation/Resources/03n_small.png differ diff --git a/Wetterstation/Resources/11d_small.png b/Wetterstation/Resources/11d_small.png new file mode 100644 index 0000000000000000000000000000000000000000..87aa0272883327865014db38fe097eb4713020b5 Binary files /dev/null and b/Wetterstation/Resources/11d_small.png differ diff --git a/Wetterstation/Resources/13n_small.png b/Wetterstation/Resources/13n_small.png new file mode 100644 index 0000000000000000000000000000000000000000..5bff6c5e8b2887b43368563f1f55ace2cc576eb3 Binary files /dev/null and b/Wetterstation/Resources/13n_small.png differ diff --git a/Wetterstation/Resources/Bild_Dennis_Formatiert.jpg b/Wetterstation/Resources/Bild_Dennis_Formatiert.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4f78777cc93ab47dd84645c5354ea772e61892c0 Binary files /dev/null and b/Wetterstation/Resources/Bild_Dennis_Formatiert.jpg differ diff --git a/Wetterstation/Resources/Kompassrose.gif b/Wetterstation/Resources/Kompassrose.gif new file mode 100644 index 0000000000000000000000000000000000000000..4208dff54a8710533ece5e33fc5a2640b9c58af3 Binary files /dev/null and b/Wetterstation/Resources/Kompassrose.gif differ diff --git a/Wetterstation/Resources/Kompassrose.jpg b/Wetterstation/Resources/Kompassrose.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a57958505b7baf5d1b64a1b6b891e3d7d9bc3102 Binary files /dev/null and b/Wetterstation/Resources/Kompassrose.jpg differ diff --git a/Wetterstation/Resources/Kompassrose1.gif b/Wetterstation/Resources/Kompassrose1.gif new file mode 100644 index 0000000000000000000000000000000000000000..b63dbeb85f9290845a633026decc8000cd0bea32 Binary files /dev/null and b/Wetterstation/Resources/Kompassrose1.gif differ diff --git a/Wetterstation/Resources/Strand.png b/Wetterstation/Resources/Strand.png new file mode 100644 index 0000000000000000000000000000000000000000..377f748cab5700f4a2817221556949d7c2d7c907 Binary files /dev/null and b/Wetterstation/Resources/Strand.png differ diff --git a/Wetterstation/Resources/earth.jpg b/Wetterstation/Resources/earth.jpg new file mode 100644 index 0000000000000000000000000000000000000000..13360f25a24d48ee9186acd94b2ca1751ce7af8e Binary files /dev/null and b/Wetterstation/Resources/earth.jpg differ diff --git a/Wetterstation/Resources/histogramm.png b/Wetterstation/Resources/histogramm.png new file mode 100644 index 0000000000000000000000000000000000000000..3ae0b847a4634d860adbff1c3047804e0d5fafea Binary files /dev/null and b/Wetterstation/Resources/histogramm.png differ diff --git a/Wetterstation/Resources/saturn.png b/Wetterstation/Resources/saturn.png new file mode 100644 index 0000000000000000000000000000000000000000..bea0babf9cef901cf7b356815825a17ee4f86232 Binary files /dev/null and b/Wetterstation/Resources/saturn.png differ diff --git a/Wetterstation/Wetterstation.csproj b/Wetterstation/Wetterstation.csproj new file mode 100644 index 0000000000000000000000000000000000000000..7a4aed3ff091dc90aa72644c2bb2f01834082f49 --- /dev/null +++ b/Wetterstation/Wetterstation.csproj @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{7B3B82DF-FBEE-484A-97F9-1956E36624EB}</ProjectGuid> + <OutputType>WinExe</OutputType> + <RootNamespace>Wetterstation</RootNamespace> + <AssemblyName>Wetterstation</AssemblyName> + <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> + <Deterministic>true</Deterministic> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Windows.Forms.DataVisualization" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Deployment" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Form1.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Form1.Designer.cs"> + <DependentUpon>Form1.cs</DependentUpon> + </Compile> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <EmbeddedResource Include="Form1.resx"> + <DependentUpon>Form1.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + <SubType>Designer</SubType> + </EmbeddedResource> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Resources.resx</DependentUpon> + <DesignTime>True</DesignTime> + </Compile> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\Bild_Dennis_Formatiert.jpg" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\Kompassrose.jpg" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\Kompassrose.gif" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\histogramm.png" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\03n_small.png" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\13n_small.png" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\11d_small.png" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\02d_small.png" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\Kompassrose1.gif" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\saturn.png" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\earth.jpg" /> + </ItemGroup> + <ItemGroup> + <None Include="Resources\Strand.png" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> +</Project> \ No newline at end of file