From e8a0f8286df67dde4213fa4e0ae562f5d3f70127 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 4 Feb 2024 18:12:45 +0530 Subject: [PATCH] frmAbout: minor update in text. --- DnsServerSystemTrayApp/frmAbout.Designer.cs | 329 ++++++++++---------- DnsServerSystemTrayApp/frmAbout.resx | 64 +++- 2 files changed, 226 insertions(+), 167 deletions(-) diff --git a/DnsServerSystemTrayApp/frmAbout.Designer.cs b/DnsServerSystemTrayApp/frmAbout.Designer.cs index 1d6cad16..f27f4603 100644 --- a/DnsServerSystemTrayApp/frmAbout.Designer.cs +++ b/DnsServerSystemTrayApp/frmAbout.Designer.cs @@ -29,210 +29,209 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAbout)); - this.panel1 = new System.Windows.Forms.Panel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.label2 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.lnkTerms = new System.Windows.Forms.LinkLabel(); - this.btnClose = new System.Windows.Forms.Button(); - this.label3 = new System.Windows.Forms.Label(); - this.lnkWebsite = new System.Windows.Forms.LinkLabel(); - this.label1 = new System.Windows.Forms.Label(); - this.lnkContactEmail = new System.Windows.Forms.LinkLabel(); - this.labVersion = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.SuspendLayout(); + panel1 = new System.Windows.Forms.Panel(); + pictureBox1 = new System.Windows.Forms.PictureBox(); + label2 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + lnkTerms = new System.Windows.Forms.LinkLabel(); + btnClose = new System.Windows.Forms.Button(); + label3 = new System.Windows.Forms.Label(); + lnkWebsite = new System.Windows.Forms.LinkLabel(); + label1 = new System.Windows.Forms.Label(); + lnkContactEmail = new System.Windows.Forms.LinkLabel(); + labVersion = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit(); + SuspendLayout(); // // panel1 // - this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); - this.panel1.Controls.Add(this.pictureBox1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Left; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(58, 301); - this.panel1.TabIndex = 21; + panel1.BackColor = System.Drawing.Color.FromArgb(102, 153, 255); + panel1.Controls.Add(pictureBox1); + panel1.Dock = System.Windows.Forms.DockStyle.Left; + panel1.Location = new System.Drawing.Point(0, 0); + panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + panel1.Name = "panel1"; + panel1.Size = new System.Drawing.Size(58, 301); + panel1.TabIndex = 21; // // pictureBox1 // - this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); - this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pictureBox1.Image = global::DnsServerSystemTrayApp.Properties.Resources.logo; - this.pictureBox1.Location = new System.Drawing.Point(0, 243); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Padding = new System.Windows.Forms.Padding(5); - this.pictureBox1.Size = new System.Drawing.Size(58, 58); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.pictureBox1.TabIndex = 12; - this.pictureBox1.TabStop = false; + pictureBox1.BackColor = System.Drawing.Color.FromArgb(102, 153, 255); + pictureBox1.Dock = System.Windows.Forms.DockStyle.Bottom; + pictureBox1.Image = Properties.Resources.logo; + pictureBox1.Location = new System.Drawing.Point(0, 243); + pictureBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + pictureBox1.Name = "pictureBox1"; + pictureBox1.Padding = new System.Windows.Forms.Padding(5); + pictureBox1.Size = new System.Drawing.Size(58, 58); + pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + pictureBox1.TabIndex = 12; + pictureBox1.TabStop = false; // // label2 // - this.label2.AutoSize = true; - this.label2.Font = new System.Drawing.Font("Arial", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(69))))); - this.label2.Location = new System.Drawing.Point(88, 28); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(456, 46); - this.label2.TabIndex = 24; - this.label2.Text = "Technitium DNS Server"; + label2.AutoSize = true; + label2.Font = new System.Drawing.Font("Arial", 30F, System.Drawing.FontStyle.Bold); + label2.ForeColor = System.Drawing.Color.FromArgb(45, 57, 69); + label2.Location = new System.Drawing.Point(88, 28); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(456, 46); + label2.TabIndex = 24; + label2.Text = "Technitium DNS Server"; // // label4 // - this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.label4.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(69))))); - this.label4.Location = new System.Drawing.Point(72, 223); - this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(509, 51); - this.label4.TabIndex = 33; - this.label4.Text = resources.GetString("label4.Text"); + label4.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + label4.Font = new System.Drawing.Font("Arial", 8F); + label4.ForeColor = System.Drawing.Color.FromArgb(45, 57, 69); + label4.Location = new System.Drawing.Point(72, 223); + label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(509, 51); + label4.TabIndex = 33; + label4.Text = resources.GetString("label4.Text"); // // lnkTerms // - this.lnkTerms.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lnkTerms.AutoSize = true; - this.lnkTerms.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.lnkTerms.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); - this.lnkTerms.Location = new System.Drawing.Point(72, 273); - this.lnkTerms.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lnkTerms.Name = "lnkTerms"; - this.lnkTerms.Size = new System.Drawing.Size(116, 15); - this.lnkTerms.TabIndex = 32; - this.lnkTerms.TabStop = true; - this.lnkTerms.Text = "Terms && Conditions"; - this.lnkTerms.VisitedLinkColor = System.Drawing.Color.White; - this.lnkTerms.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkTerms_LinkClicked); + lnkTerms.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + lnkTerms.AutoSize = true; + lnkTerms.Font = new System.Drawing.Font("Arial", 9F); + lnkTerms.LinkColor = System.Drawing.Color.FromArgb(102, 153, 255); + lnkTerms.Location = new System.Drawing.Point(72, 273); + lnkTerms.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lnkTerms.Name = "lnkTerms"; + lnkTerms.Size = new System.Drawing.Size(116, 15); + lnkTerms.TabIndex = 32; + lnkTerms.TabStop = true; + lnkTerms.Text = "Terms && Conditions"; + lnkTerms.VisitedLinkColor = System.Drawing.Color.White; + lnkTerms.LinkClicked += lnkTerms_LinkClicked; // // btnClose // - this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnClose.Location = new System.Drawing.Point(659, 264); - this.btnClose.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnClose.Name = "btnClose"; - this.btnClose.Size = new System.Drawing.Size(88, 27); - this.btnClose.TabIndex = 31; - this.btnClose.Text = "&Close"; - this.btnClose.UseVisualStyleBackColor = true; + btnClose.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right; + btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; + btnClose.Location = new System.Drawing.Point(659, 264); + btnClose.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnClose.Name = "btnClose"; + btnClose.Size = new System.Drawing.Size(88, 27); + btnClose.TabIndex = 31; + btnClose.Text = "&Close"; + btnClose.UseVisualStyleBackColor = true; // // label3 // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(69))))); - this.label3.Location = new System.Drawing.Point(555, 166); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(58, 16); - this.label3.TabIndex = 37; - this.label3.Text = "Website"; + label3.AutoSize = true; + label3.Font = new System.Drawing.Font("Arial", 10F); + label3.ForeColor = System.Drawing.Color.FromArgb(45, 57, 69); + label3.Location = new System.Drawing.Point(555, 166); + label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(58, 16); + label3.TabIndex = 37; + label3.Text = "Website"; // // lnkWebsite // - this.lnkWebsite.AutoSize = true; - this.lnkWebsite.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.lnkWebsite.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); - this.lnkWebsite.Location = new System.Drawing.Point(555, 185); - this.lnkWebsite.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lnkWebsite.Name = "lnkWebsite"; - this.lnkWebsite.Size = new System.Drawing.Size(128, 16); - this.lnkWebsite.TabIndex = 36; - this.lnkWebsite.TabStop = true; - this.lnkWebsite.Text = "technitium.com/dns"; - this.lnkWebsite.VisitedLinkColor = System.Drawing.Color.White; - this.lnkWebsite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkWebsite_LinkClicked); + lnkWebsite.AutoSize = true; + lnkWebsite.Font = new System.Drawing.Font("Arial", 10F); + lnkWebsite.LinkColor = System.Drawing.Color.FromArgb(102, 153, 255); + lnkWebsite.Location = new System.Drawing.Point(555, 185); + lnkWebsite.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lnkWebsite.Name = "lnkWebsite"; + lnkWebsite.Size = new System.Drawing.Size(128, 16); + lnkWebsite.TabIndex = 36; + lnkWebsite.TabStop = true; + lnkWebsite.Text = "technitium.com/dns"; + lnkWebsite.VisitedLinkColor = System.Drawing.Color.White; + lnkWebsite.LinkClicked += lnkWebsite_LinkClicked; // // label1 // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(69))))); - this.label1.Location = new System.Drawing.Point(555, 114); - this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(56, 16); - this.label1.TabIndex = 35; - this.label1.Text = "Contact"; + label1.AutoSize = true; + label1.Font = new System.Drawing.Font("Arial", 10F); + label1.ForeColor = System.Drawing.Color.FromArgb(45, 57, 69); + label1.Location = new System.Drawing.Point(555, 114); + label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(56, 16); + label1.TabIndex = 35; + label1.Text = "Contact"; // // lnkContactEmail // - this.lnkContactEmail.AutoSize = true; - this.lnkContactEmail.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.lnkContactEmail.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); - this.lnkContactEmail.Location = new System.Drawing.Point(555, 133); - this.lnkContactEmail.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lnkContactEmail.Name = "lnkContactEmail"; - this.lnkContactEmail.Size = new System.Drawing.Size(163, 16); - this.lnkContactEmail.TabIndex = 34; - this.lnkContactEmail.TabStop = true; - this.lnkContactEmail.Text = "support@technitium.com"; - this.lnkContactEmail.VisitedLinkColor = System.Drawing.Color.White; - this.lnkContactEmail.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkContactEmail_LinkClicked); + lnkContactEmail.AutoSize = true; + lnkContactEmail.Font = new System.Drawing.Font("Arial", 10F); + lnkContactEmail.LinkColor = System.Drawing.Color.FromArgb(102, 153, 255); + lnkContactEmail.Location = new System.Drawing.Point(555, 133); + lnkContactEmail.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lnkContactEmail.Name = "lnkContactEmail"; + lnkContactEmail.Size = new System.Drawing.Size(163, 16); + lnkContactEmail.TabIndex = 34; + lnkContactEmail.TabStop = true; + lnkContactEmail.Text = "support@technitium.com"; + lnkContactEmail.VisitedLinkColor = System.Drawing.Color.White; + lnkContactEmail.LinkClicked += lnkContactEmail_LinkClicked; // // labVersion // - this.labVersion.AutoSize = true; - this.labVersion.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.labVersion.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(69))))); - this.labVersion.Location = new System.Drawing.Point(100, 152); - this.labVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labVersion.Name = "labVersion"; - this.labVersion.Size = new System.Drawing.Size(102, 18); - this.labVersion.TabIndex = 38; - this.labVersion.Text = "version x.x.x.x"; + labVersion.AutoSize = true; + labVersion.Font = new System.Drawing.Font("Arial", 12F); + labVersion.ForeColor = System.Drawing.Color.FromArgb(45, 57, 69); + labVersion.Location = new System.Drawing.Point(100, 152); + labVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + labVersion.Name = "labVersion"; + labVersion.Size = new System.Drawing.Size(102, 18); + labVersion.TabIndex = 38; + labVersion.Text = "version x.x.x.x"; // // label5 // - this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(69))))); - this.label5.Location = new System.Drawing.Point(98, 119); - this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(206, 29); - this.label5.TabIndex = 39; - this.label5.Text = "System Tray App"; + label5.AutoSize = true; + label5.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); + label5.ForeColor = System.Drawing.Color.FromArgb(45, 57, 69); + label5.Location = new System.Drawing.Point(98, 119); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(206, 29); + label5.TabIndex = 39; + label5.Text = "System Tray App"; // // frmAbout // - this.AcceptButton = this.btnClose; - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250))))); - this.CancelButton = this.btnClose; - this.ClientSize = new System.Drawing.Size(761, 301); - this.Controls.Add(this.label5); - this.Controls.Add(this.labVersion); - this.Controls.Add(this.label3); - this.Controls.Add(this.lnkWebsite); - this.Controls.Add(this.label1); - this.Controls.Add(this.lnkContactEmail); - this.Controls.Add(this.label4); - this.Controls.Add(this.lnkTerms); - this.Controls.Add(this.btnClose); - this.Controls.Add(this.label2); - this.Controls.Add(this.panel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "frmAbout"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "About Technitium DNS Server"; - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - + AcceptButton = btnClose; + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + BackColor = System.Drawing.Color.FromArgb(250, 250, 250); + CancelButton = btnClose; + ClientSize = new System.Drawing.Size(761, 301); + Controls.Add(label5); + Controls.Add(labVersion); + Controls.Add(label3); + Controls.Add(lnkWebsite); + Controls.Add(label1); + Controls.Add(lnkContactEmail); + Controls.Add(label4); + Controls.Add(lnkTerms); + Controls.Add(btnClose); + Controls.Add(label2); + Controls.Add(panel1); + FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon"); + Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + MaximizeBox = false; + MinimizeBox = false; + Name = "frmAbout"; + StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + Text = "About Technitium DNS Server"; + panel1.ResumeLayout(false); + panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit(); + ResumeLayout(false); + PerformLayout(); } #endregion diff --git a/DnsServerSystemTrayApp/frmAbout.resx b/DnsServerSystemTrayApp/frmAbout.resx index b509627c..f6c781cf 100644 --- a/DnsServerSystemTrayApp/frmAbout.resx +++ b/DnsServerSystemTrayApp/frmAbout.resx @@ -1,4 +1,64 @@ - + + + @@ -70,7 +130,7 @@ True - Copyright (C) 2023 Shreyas Zare (shreyas@technitium.com) + Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com) This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Click link below for details: