From 8d7a17553e4ad9314310724d888efe546a0dc3ce Mon Sep 17 00:00:00 2001 From: "de@itstall.de" <de@itstall.de> Date: Tue, 4 Feb 2020 21:13:19 +0100 Subject: [PATCH] rearanged frontend --- Wetterstation/Form1.Designer.cs | 62 ++++++++++++++++----------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Wetterstation/Form1.Designer.cs b/Wetterstation/Form1.Designer.cs index 56f2170..1e54fbc 100644 --- a/Wetterstation/Form1.Designer.cs +++ b/Wetterstation/Form1.Designer.cs @@ -115,7 +115,7 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.lbTextInnentemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.lbTextInnentemp.Location = new System.Drawing.Point(237, 26); this.lbTextInnentemp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); @@ -128,7 +128,7 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.lbTextAussentemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.lbTextAussentemp.Location = new System.Drawing.Point(216, 153); this.lbTextAussentemp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); @@ -141,12 +141,12 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.lbTextWindSpeed.ForeColor = System.Drawing.SystemColors.ButtonHighlight; - this.lbTextWindSpeed.Location = new System.Drawing.Point(824, 31); + this.lbTextWindSpeed.Location = new System.Drawing.Point(831, 26); this.lbTextWindSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbTextWindSpeed.Name = "lbTextWindSpeed"; - this.lbTextWindSpeed.Size = new System.Drawing.Size(208, 24); + this.lbTextWindSpeed.Size = new System.Drawing.Size(261, 29); this.lbTextWindSpeed.TabIndex = 2; this.lbTextWindSpeed.Text = "Windgeschwindigkeit"; // @@ -154,7 +154,7 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.lbTextLuftfeuchtInnen.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.lbTextLuftfeuchtInnen.Location = new System.Drawing.Point(536, 26); this.lbTextLuftfeuchtInnen.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); @@ -167,9 +167,9 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.Windrichtung.ForeColor = System.Drawing.SystemColors.ButtonHighlight; - this.Windrichtung.Location = new System.Drawing.Point(1133, 26); + this.Windrichtung.Location = new System.Drawing.Point(1138, 26); this.Windrichtung.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.Windrichtung.Name = "Windrichtung"; this.Windrichtung.Size = new System.Drawing.Size(165, 29); @@ -194,12 +194,12 @@ namespace Wetterstation // this.lbInnenTemp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 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.Font = new System.Drawing.Font("Arial", 36F, System.Drawing.FontStyle.Bold); this.lbInnenTemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; - this.lbInnenTemp.Location = new System.Drawing.Point(173, 53); + this.lbInnenTemp.Location = new System.Drawing.Point(188, 62); this.lbInnenTemp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbInnenTemp.Name = "lbInnenTemp"; - this.lbInnenTemp.Size = new System.Drawing.Size(274, 93); + this.lbInnenTemp.Size = new System.Drawing.Size(252, 70); this.lbInnenTemp.TabIndex = 13; this.lbInnenTemp.Text = "NA °C"; this.lbInnenTemp.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -208,12 +208,12 @@ namespace Wetterstation // this.lbAussenTemp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 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.Font = new System.Drawing.Font("Arial", 36F, System.Drawing.FontStyle.Bold); this.lbAussenTemp.ForeColor = System.Drawing.Color.White; - this.lbAussenTemp.Location = new System.Drawing.Point(173, 182); + this.lbAussenTemp.Location = new System.Drawing.Point(188, 195); this.lbAussenTemp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbAussenTemp.Name = "lbAussenTemp"; - this.lbAussenTemp.Size = new System.Drawing.Size(267, 93); + this.lbAussenTemp.Size = new System.Drawing.Size(255, 70); this.lbAussenTemp.TabIndex = 15; this.lbAussenTemp.Text = "NA °C"; this.lbAussenTemp.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -221,12 +221,12 @@ namespace Wetterstation // lbWindSpeed // 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.Font = new System.Drawing.Font("Arial", 36F, System.Drawing.FontStyle.Bold); this.lbWindSpeed.ForeColor = System.Drawing.SystemColors.ButtonFace; - this.lbWindSpeed.Location = new System.Drawing.Point(828, 57); + this.lbWindSpeed.Location = new System.Drawing.Point(812, 64); this.lbWindSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbWindSpeed.Name = "lbWindSpeed"; - this.lbWindSpeed.Size = new System.Drawing.Size(204, 35); + this.lbWindSpeed.Size = new System.Drawing.Size(280, 70); this.lbWindSpeed.TabIndex = 16; this.lbWindSpeed.Text = "NA ms"; this.lbWindSpeed.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -236,10 +236,10 @@ namespace Wetterstation 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(525, 62); + this.lbLuftFeuchtInnen.Location = new System.Drawing.Point(503, 62); this.lbLuftFeuchtInnen.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbLuftFeuchtInnen.Name = "lbLuftFeuchtInnen"; - this.lbLuftFeuchtInnen.Size = new System.Drawing.Size(200, 70); + this.lbLuftFeuchtInnen.Size = new System.Drawing.Size(222, 70); this.lbLuftFeuchtInnen.TabIndex = 17; this.lbLuftFeuchtInnen.Text = "NA %"; this.lbLuftFeuchtInnen.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -249,10 +249,10 @@ namespace Wetterstation 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(1184, 186); + this.lbWindricht.Location = new System.Drawing.Point(1160, 186); this.lbWindricht.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbWindricht.Name = "lbWindricht"; - this.lbWindricht.Size = new System.Drawing.Size(69, 32); + this.lbWindricht.Size = new System.Drawing.Size(120, 32); this.lbWindricht.TabIndex = 18; this.lbWindricht.Text = "NA"; this.lbWindricht.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -402,10 +402,10 @@ namespace Wetterstation 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(525, 190); + this.lbLuftfeuchtAussen.Location = new System.Drawing.Point(503, 195); this.lbLuftfeuchtAussen.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbLuftfeuchtAussen.Name = "lbLuftfeuchtAussen"; - this.lbLuftfeuchtAussen.Size = new System.Drawing.Size(200, 70); + this.lbLuftfeuchtAussen.Size = new System.Drawing.Size(222, 70); this.lbLuftfeuchtAussen.TabIndex = 37; this.lbLuftfeuchtAussen.Text = "NA %"; this.lbLuftfeuchtAussen.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -414,7 +414,7 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.lbTextLuftfeuchtAussen.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.lbTextLuftfeuchtAussen.Location = new System.Drawing.Point(536, 153); this.lbTextLuftfeuchtAussen.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); @@ -427,24 +427,24 @@ namespace Wetterstation // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.lbTextLuftdruck.ForeColor = System.Drawing.SystemColors.ButtonHighlight; - this.lbTextLuftdruck.Location = new System.Drawing.Point(931, 108); + this.lbTextLuftdruck.Location = new System.Drawing.Point(973, 153); this.lbTextLuftdruck.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbTextLuftdruck.Name = "lbTextLuftdruck"; - this.lbTextLuftdruck.Size = new System.Drawing.Size(101, 25); + this.lbTextLuftdruck.Size = new System.Drawing.Size(119, 29); this.lbTextLuftdruck.TabIndex = 39; this.lbTextLuftdruck.Text = "Luftdruck"; // // lbLuftdruck // 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.Font = new System.Drawing.Font("Arial", 36F, System.Drawing.FontStyle.Bold); this.lbLuftdruck.ForeColor = System.Drawing.SystemColors.ButtonFace; - this.lbLuftdruck.Location = new System.Drawing.Point(828, 133); + this.lbLuftdruck.Location = new System.Drawing.Point(752, 195); this.lbLuftdruck.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbLuftdruck.Name = "lbLuftdruck"; - this.lbLuftdruck.Size = new System.Drawing.Size(204, 35); + this.lbLuftdruck.Size = new System.Drawing.Size(340, 70); this.lbLuftdruck.TabIndex = 40; this.lbLuftdruck.Text = "NA hPa"; this.lbLuftdruck.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -780,7 +780,7 @@ namespace Wetterstation this.pbTendenzPressure.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); this.pbTendenzPressure.Image = ((System.Drawing.Image)(resources.GetObject("pbTendenzPressure.Image"))); this.pbTendenzPressure.InitialImage = ((System.Drawing.Image)(resources.GetObject("pbTendenzPressure.InitialImage"))); - this.pbTendenzPressure.Location = new System.Drawing.Point(1040, 108); + this.pbTendenzPressure.Location = new System.Drawing.Point(1100, 195); this.pbTendenzPressure.Margin = new System.Windows.Forms.Padding(4); this.pbTendenzPressure.Name = "pbTendenzPressure"; this.pbTendenzPressure.Size = new System.Drawing.Size(27, 61); -- GitLab