This commit is contained in:
2022-06-07 13:52:04 +02:00
parent 90a869e261
commit 1bdf50c864
219 changed files with 2302 additions and 46 deletions

View File

@@ -32,14 +32,14 @@
this.buttonSizeDecrease = new System.Windows.Forms.Button();
this.buttonSizeIncrease = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.labelSize = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.labelOp = new System.Windows.Forms.Label();
this.buttonOpIncrease = new System.Windows.Forms.Button();
this.buttonOpDecrese = new System.Windows.Forms.Button();
this.buttonFSZ = new System.Windows.Forms.Button();
this.buttonF = new System.Windows.Forms.Button();
this.buttonK = new System.Windows.Forms.Button();
this.labelSize = new System.Windows.Forms.Label();
this.labelOp = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
@@ -129,6 +129,16 @@
this.groupBox1.TabStop = false;
this.groupBox1.Text = "groupBox1";
//
// labelSize
//
this.labelSize.AutoSize = true;
this.labelSize.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.labelSize.Location = new System.Drawing.Point(6, 29);
this.labelSize.Name = "labelSize";
this.labelSize.Size = new System.Drawing.Size(58, 24);
this.labelSize.TabIndex = 1;
this.labelSize.Text = "Meret";
//
// groupBox2
//
this.groupBox2.BackColor = System.Drawing.Color.LightSalmon;
@@ -142,6 +152,16 @@
this.groupBox2.TabStop = false;
this.groupBox2.Text = "groupBox2";
//
// labelOp
//
this.labelOp.AutoSize = true;
this.labelOp.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.labelOp.Location = new System.Drawing.Point(6, 32);
this.labelOp.Name = "labelOp";
this.labelOp.Size = new System.Drawing.Size(104, 24);
this.labelOp.TabIndex = 2;
this.labelOp.Text = "Atlatszosag";
//
// buttonOpIncrease
//
this.buttonOpIncrease.Location = new System.Drawing.Point(116, 19);
@@ -168,6 +188,7 @@
this.buttonFSZ.TabIndex = 5;
this.buttonFSZ.Text = "Fent szél";
this.buttonFSZ.UseVisualStyleBackColor = true;
this.buttonFSZ.Click += new System.EventHandler(this.buttonFSZ_Click);
//
// buttonF
//
@@ -177,6 +198,7 @@
this.buttonF.TabIndex = 6;
this.buttonF.Text = "Fentre";
this.buttonF.UseVisualStyleBackColor = true;
this.buttonF.Click += new System.EventHandler(this.buttonF_Click);
//
// buttonK
//
@@ -187,26 +209,6 @@
this.buttonK.Text = "Közép";
this.buttonK.UseVisualStyleBackColor = true;
//
// labelSize
//
this.labelSize.AutoSize = true;
this.labelSize.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.labelSize.Location = new System.Drawing.Point(6, 29);
this.labelSize.Name = "labelSize";
this.labelSize.Size = new System.Drawing.Size(58, 24);
this.labelSize.TabIndex = 1;
this.labelSize.Text = "Meret";
//
// labelOp
//
this.labelOp.AutoSize = true;
this.labelOp.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.labelOp.Location = new System.Drawing.Point(6, 32);
this.labelOp.Name = "labelOp";
this.labelOp.Size = new System.Drawing.Size(104, 24);
this.labelOp.TabIndex = 2;
this.labelOp.Text = "Atlatszosag";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

View File

@@ -10,8 +10,23 @@ using System.Windows.Forms;
namespace MozogForm {
public partial class Form1 : Form {
private const int MOVE_SIZE = 10;
public Form1() {
InitializeComponent();
}
private void buttonFSZ_Click(object sender, EventArgs e) {
Top = 0;
}
private void buttonF_Click(object sender, EventArgs e) {
Top -= MOVE_SIZE;
if (Top < 0) {
Top = 0;
} else if (Top > Screen.PrimaryScreen.WorkingArea.Height - Height) {
Top = Screen.PrimaryScreen.WorkingArea.Height - Height;
}
}
}
}

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
e91224c8c3c20a37d9f3cbe81946241a8755950c

View File

@@ -0,0 +1,11 @@
C:\dev\c#\c-sharp\MozogForm\bin\Debug\MozogForm.exe.config
C:\dev\c#\c-sharp\MozogForm\bin\Debug\MozogForm.exe
C:\dev\c#\c-sharp\MozogForm\bin\Debug\MozogForm.pdb
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.csproj.AssemblyReference.cache
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.csproj.SuggestedBindingRedirects.cache
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.Form1.resources
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.Properties.Resources.resources
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.csproj.GenerateResource.cache
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.csproj.CoreCompileInputs.cache
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.exe
C:\dev\c#\c-sharp\MozogForm\obj\Debug\MozogForm.pdb

Binary file not shown.

Binary file not shown.