About form improvements

This commit is contained in:
2025-10-01 08:10:06 +02:00
parent 8e7cc1d5d3
commit a760fd239a
3 changed files with 43 additions and 14 deletions

View File

@@ -35,6 +35,8 @@
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();
@@ -42,6 +44,8 @@
//
// kryptonPanel1
//
this.kryptonPanel1.Controls.Add(this.gitLnk);
this.kryptonPanel1.Controls.Add(this.kryptonLabel4);
this.kryptonPanel1.Controls.Add(this.kryptonLabel3);
this.kryptonPanel1.Controls.Add(this.storkUrl);
this.kryptonPanel1.Controls.Add(this.kryptonLabel2);
@@ -50,12 +54,12 @@
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(982, 309);
this.kryptonPanel1.Size = new System.Drawing.Size(499, 526);
this.kryptonPanel1.TabIndex = 0;
//
// kryptonLabel3
//
this.kryptonLabel3.Location = new System.Drawing.Point(12, 228);
this.kryptonLabel3.Location = new System.Drawing.Point(12, 436);
this.kryptonLabel3.Name = "kryptonLabel3";
this.kryptonLabel3.Size = new System.Drawing.Size(446, 52);
this.kryptonLabel3.TabIndex = 4;
@@ -63,7 +67,7 @@
//
// storkUrl
//
this.storkUrl.Location = new System.Drawing.Point(12, 283);
this.storkUrl.Location = new System.Drawing.Point(14, 494);
this.storkUrl.Name = "storkUrl";
this.storkUrl.Size = new System.Drawing.Size(123, 20);
this.storkUrl.TabIndex = 3;
@@ -72,7 +76,7 @@
//
// kryptonLabel2
//
this.kryptonLabel2.Location = new System.Drawing.Point(12, 47);
this.kryptonLabel2.Location = new System.Drawing.Point(12, 371);
this.kryptonLabel2.Name = "kryptonLabel2";
this.kryptonLabel2.Size = new System.Drawing.Size(400, 36);
this.kryptonLabel2.TabIndex = 2;
@@ -82,7 +86,7 @@
// kryptonLabel1
//
this.kryptonLabel1.LabelStyle = Krypton.Toolkit.LabelStyle.TitlePanel;
this.kryptonLabel1.Location = new System.Drawing.Point(12, 12);
this.kryptonLabel1.Location = new System.Drawing.Point(12, 318);
this.kryptonLabel1.Name = "kryptonLabel1";
this.kryptonLabel1.Size = new System.Drawing.Size(110, 29);
this.kryptonLabel1.TabIndex = 1;
@@ -91,18 +95,36 @@
// kryptonPictureBox1
//
this.kryptonPictureBox1.Image = global::SamaPager_Server.Properties.Resources._5pagers1shalom;
this.kryptonPictureBox1.Location = new System.Drawing.Point(494, 12);
this.kryptonPictureBox1.Location = new System.Drawing.Point(12, 12);
this.kryptonPictureBox1.Name = "kryptonPictureBox1";
this.kryptonPictureBox1.Size = new System.Drawing.Size(472, 291);
this.kryptonPictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
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(982, 309);
this.ClientSize = new System.Drawing.Size(499, 526);
this.Controls.Add(this.kryptonPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
@@ -126,5 +148,7 @@
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private Krypton.Toolkit.KryptonLinkLabel storkUrl;
private Krypton.Toolkit.KryptonLinkLabel gitLnk;
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
}
}

View File

@@ -22,5 +22,10 @@ namespace SamaPager_Server
{
Process.Start("https://andrestork.moe");
}
private void gitLnk_LinkClicked(object sender, EventArgs e)
{
Process.Start("https://git.fiorencis.eu/AndreStork/SamaPager");
}
}
}

View File

@@ -72,7 +72,7 @@
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(432, 389);
this.kryptonPanel1.Size = new System.Drawing.Size(436, 377);
this.kryptonPanel1.TabIndex = 0;
//
// logList
@@ -87,18 +87,18 @@
this.kryptonStatusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.kryptonStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.statusLabel});
this.kryptonStatusStrip1.Location = new System.Drawing.Point(0, 367);
this.kryptonStatusStrip1.Location = new System.Drawing.Point(0, 355);
this.kryptonStatusStrip1.Name = "kryptonStatusStrip1";
this.kryptonStatusStrip1.ProgressBars = null;
this.kryptonStatusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
this.kryptonStatusStrip1.Size = new System.Drawing.Size(432, 22);
this.kryptonStatusStrip1.Size = new System.Drawing.Size(436, 22);
this.kryptonStatusStrip1.TabIndex = 3;
this.kryptonStatusStrip1.Text = "kryptonStatusStrip1";
//
// statusLabel
//
this.statusLabel.Name = "statusLabel";
this.statusLabel.Size = new System.Drawing.Size(105, 17);
this.statusLabel.Size = new System.Drawing.Size(103, 17);
this.statusLabel.Text = "STATUS: Server Off";
//
// menuStrip1
@@ -109,7 +109,7 @@
this.helpToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(432, 24);
this.menuStrip1.Size = new System.Drawing.Size(436, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
@@ -124,7 +124,7 @@
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(92, 22);
this.exitToolStripMenuItem.Size = new System.Drawing.Size(93, 22);
this.exitToolStripMenuItem.Text = "Exit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
@@ -190,7 +190,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(432, 389);
this.ClientSize = new System.Drawing.Size(436, 377);
this.Controls.Add(this.kryptonPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));