Little Form designes changes

This commit is contained in:
Anton Mukhin
2025-05-23 16:41:38 +03:00
parent a287ddaee7
commit 6c97aa32d1
3 changed files with 10 additions and 27 deletions

View File

@@ -30,14 +30,13 @@
pictureBox1 = new System.Windows.Forms.PictureBox();
linkLabel1 = new System.Windows.Forms.LinkLabel();
button1 = new System.Windows.Forms.Button();
linkLabel2 = new System.Windows.Forms.LinkLabel();
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
SuspendLayout();
//
// lblVersion
//
lblVersion.AutoSize = true;
lblVersion.Location = new System.Drawing.Point(14, 218);
lblVersion.Location = new System.Drawing.Point(14, 210);
lblVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
lblVersion.Name = "lblVersion";
lblVersion.Size = new System.Drawing.Size(66, 15);
@@ -59,7 +58,7 @@
// label2
//
label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
label2.Location = new System.Drawing.Point(0, 111);
label2.Location = new System.Drawing.Point(0, 118);
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(448, 29);
@@ -84,7 +83,7 @@
linkLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
linkLabel1.Location = new System.Drawing.Point(0, 140);
linkLabel1.Location = new System.Drawing.Point(0, 155);
linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
linkLabel1.Name = "linkLabel1";
linkLabel1.Size = new System.Drawing.Size(448, 24);
@@ -98,7 +97,7 @@
//
button1.DialogResult = System.Windows.Forms.DialogResult.OK;
button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
button1.Location = new System.Drawing.Point(170, 202);
button1.Location = new System.Drawing.Point(170, 194);
button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
button1.Name = "button1";
button1.Size = new System.Drawing.Size(104, 31);
@@ -106,27 +105,12 @@
button1.Text = "OK";
button1.UseVisualStyleBackColor = true;
//
// linkLabel2
//
linkLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
linkLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
linkLabel2.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
linkLabel2.Location = new System.Drawing.Point(0, 164);
linkLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
linkLabel2.Name = "linkLabel2";
linkLabel2.Size = new System.Drawing.Size(448, 24);
linkLabel2.TabIndex = 6;
linkLabel2.TabStop = true;
linkLabel2.Text = "https://gitea.mcflyer.ru/McFLY/McBitFont";
linkLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// About
//
AcceptButton = button1;
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
ClientSize = new System.Drawing.Size(448, 243);
Controls.Add(linkLabel2);
ClientSize = new System.Drawing.Size(448, 236);
Controls.Add(button1);
Controls.Add(linkLabel1);
Controls.Add(pictureBox1);
@@ -141,7 +125,7 @@
Name = "About";
ShowInTaskbar = false;
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
Text = "About";
Text = "About McBitFont";
Load += About_Load;
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
ResumeLayout(false);
@@ -157,6 +141,5 @@
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.LinkLabel linkLabel2;
}
}

View File

@@ -285,11 +285,11 @@
//
// lblTransparency
//
lblTransparency.Location = new System.Drawing.Point(457, 323);
lblTransparency.Location = new System.Drawing.Point(438, 323);
lblTransparency.Name = "lblTransparency";
lblTransparency.Size = new System.Drawing.Size(144, 15);
lblTransparency.Size = new System.Drawing.Size(184, 15);
lblTransparency.TabIndex = 22;
lblTransparency.Text = "Transp. threshold: 32";
lblTransparency.Text = "Transparency threshold: 32";
lblTransparency.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tbTransparency

View File

@@ -218,7 +218,7 @@ namespace McBitFont {
}
private void tbTransparency_ValueChanged(object sender, EventArgs e) {
lblTransparency.Text = "Transp. threshold: " + tbTransparency.Value.ToString();
lblTransparency.Text = "Transparency threshold: " + tbTransparency.Value.ToString();
}
private void tbTransparency_KeyDown(object sender, KeyEventArgs e) {