Added server version handling from project resources

This commit is contained in:
2025-10-02 09:21:14 +02:00
parent 70b818353d
commit de0e87ffd8
5 changed files with 61 additions and 30 deletions

View File

@@ -30,13 +30,13 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutForm));
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.gitLnk = new Krypton.Toolkit.KryptonLinkLabel();
this.versionLbl = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.storkUrl = new Krypton.Toolkit.KryptonLinkLabel();
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
this.kryptonPictureBox1 = new Krypton.Toolkit.KryptonPictureBox();
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.gitLnk = new Krypton.Toolkit.KryptonLinkLabel();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
this.kryptonPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonPictureBox1)).BeginInit();
@@ -45,7 +45,7 @@
// kryptonPanel1
//
this.kryptonPanel1.Controls.Add(this.gitLnk);
this.kryptonPanel1.Controls.Add(this.kryptonLabel4);
this.kryptonPanel1.Controls.Add(this.versionLbl);
this.kryptonPanel1.Controls.Add(this.kryptonLabel3);
this.kryptonPanel1.Controls.Add(this.storkUrl);
this.kryptonPanel1.Controls.Add(this.kryptonLabel2);
@@ -54,9 +54,27 @@
this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
this.kryptonPanel1.Name = "kryptonPanel1";
this.kryptonPanel1.Size = new System.Drawing.Size(499, 526);
this.kryptonPanel1.Size = new System.Drawing.Size(496, 520);
this.kryptonPanel1.TabIndex = 0;
//
// gitLnk
//
this.gitLnk.Location = new System.Drawing.Point(411, 494);
this.gitLnk.Name = "gitLnk";
this.gitLnk.Size = new System.Drawing.Size(73, 20);
this.gitLnk.TabIndex = 6;
this.gitLnk.Values.Text = "View on Git";
this.gitLnk.LinkClicked += new System.EventHandler(this.gitLnk_LinkClicked);
//
// versionLbl
//
this.versionLbl.LabelStyle = Krypton.Toolkit.LabelStyle.BoldPanel;
this.versionLbl.Location = new System.Drawing.Point(12, 345);
this.versionLbl.Name = "versionLbl";
this.versionLbl.Size = new System.Drawing.Size(62, 20);
this.versionLbl.TabIndex = 5;
this.versionLbl.Values.Text = "[version]";
//
// kryptonLabel3
//
this.kryptonLabel3.Location = new System.Drawing.Point(12, 436);
@@ -102,29 +120,11 @@
this.kryptonPictureBox1.TabIndex = 0;
this.kryptonPictureBox1.TabStop = false;
//
// kryptonLabel4
//
this.kryptonLabel4.LabelStyle = Krypton.Toolkit.LabelStyle.BoldPanel;
this.kryptonLabel4.Location = new System.Drawing.Point(12, 345);
this.kryptonLabel4.Name = "kryptonLabel4";
this.kryptonLabel4.Size = new System.Drawing.Size(114, 20);
this.kryptonLabel4.TabIndex = 5;
this.kryptonLabel4.Values.Text = "v1.1 (Castagnetti)";
//
// gitLnk
//
this.gitLnk.Location = new System.Drawing.Point(411, 494);
this.gitLnk.Name = "gitLnk";
this.gitLnk.Size = new System.Drawing.Size(73, 20);
this.gitLnk.TabIndex = 6;
this.gitLnk.Values.Text = "View on Git";
this.gitLnk.LinkClicked += new System.EventHandler(this.gitLnk_LinkClicked);
//
// AboutForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(499, 526);
this.ClientSize = new System.Drawing.Size(496, 520);
this.Controls.Add(this.kryptonPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
@@ -132,6 +132,7 @@
this.Name = "AboutForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About SamaPager Server";
this.Load += new System.EventHandler(this.AboutForm_Load);
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
this.kryptonPanel1.ResumeLayout(false);
this.kryptonPanel1.PerformLayout();
@@ -149,6 +150,6 @@
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private Krypton.Toolkit.KryptonLinkLabel storkUrl;
private Krypton.Toolkit.KryptonLinkLabel gitLnk;
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private Krypton.Toolkit.KryptonLabel versionLbl;
}
}