buttons cancel save swapped

alphons <alphons@heijden.com> 31 Aug 2025, 23:12
073f0ffd22d6b45c8d341ee38eaec63594dfbfdd
1 files changed
  • src/WireGuardConfigGenerator/UserControlServer.Designer.cs
diff --git a/src/WireGuardConfigGenerator/UserControlServer.Designer.cs b/src/WireGuardConfigGenerator/UserControlServer.Designer.cs
index 8394ef6..1835f22 100644
--- a/src/WireGuardConfigGenerator/UserControlServer.Designer.cs
+++ b/src/WireGuardConfigGenerator/UserControlServer.Designer.cs
@@ -44,6 +44,8 @@
txtConf = new TextBox();
tabPage1 = new TabPage();
groupBox1 = new GroupBox();
+ label11 = new Label();
+ txtPersistentKeepalive = new TextBox();
label10 = new Label();
txtDns = new TextBox();
label9 = new Label();
@@ -59,8 +61,6 @@
buttonEdit = new Button();
lblName = new Label();
label7 = new Label();
- label11 = new Label();
- txtPersistentKeepalive = new TextBox();
tabControl1.SuspendLayout();
tabPage0.SuspendLayout();
tabPage1.SuspendLayout();
@@ -254,6 +254,23 @@
groupBox1.TabStop = false;
groupBox1.Text = "server";
//
+ // label11
+ //
+ label11.AutoSize = true;
+ label11.Location = new Point(202, 170);
+ label11.Name = "label11";
+ label11.Size = new Size(108, 15);
+ label11.TabIndex = 27;
+ label11.Text = "PersistentKeepalive";
+ //
+ // txtPersistentKeepalive
+ //
+ txtPersistentKeepalive.Font = new Font("Consolas", 8.25F);
+ txtPersistentKeepalive.Location = new Point(316, 169);
+ txtPersistentKeepalive.Name = "txtPersistentKeepalive";
+ txtPersistentKeepalive.Size = new Size(76, 20);
+ txtPersistentKeepalive.TabIndex = 26;
+ //
// label10
//
label10.AutoSize = true;
@@ -348,7 +365,7 @@
//
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonSave.Enabled = false;
- buttonSave.Location = new Point(432, 390);
+ buttonSave.Location = new Point(312, 390);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(75, 23);
buttonSave.TabIndex = 18;
@@ -360,7 +377,7 @@
//
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonCancel.Enabled = false;
- buttonCancel.Location = new Point(312, 390);
+ buttonCancel.Location = new Point(433, 390);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(75, 23);
buttonCancel.TabIndex = 17;
@@ -398,23 +415,6 @@
label7.TabIndex = 14;
label7.Text = "Name:";
//
- // label11
- //
- label11.AutoSize = true;
- label11.Location = new Point(202, 170);
- label11.Name = "label11";
- label11.Size = new Size(108, 15);
- label11.TabIndex = 27;
- label11.Text = "PersistentKeepalive";
- //
- // txtPersistentKeepalive
- //
- txtPersistentKeepalive.Font = new Font("Consolas", 8.25F);
- txtPersistentKeepalive.Location = new Point(316, 169);
- txtPersistentKeepalive.Name = "txtPersistentKeepalive";
- txtPersistentKeepalive.Size = new Size(76, 20);
- txtPersistentKeepalive.TabIndex = 26;
- //
// UserControlServer
//
AutoScaleDimensions = new SizeF(7F, 15F);