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

@@ -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;
}
}
}
}