diff --git a/GestionePizzeForm.cs b/GestionePizzeForm.cs
index 4cacc68..9060ba4 100644
--- a/GestionePizzeForm.cs
+++ b/GestionePizzeForm.cs
@@ -217,6 +217,10 @@ namespace PizzaExpress_Client
Controls.Add(pnlTop);
Load += async (s, e) => await CaricaPizze();
+
+
+ var formUrl = new UrlForm(_httpClient.BaseAddress.ToString());
+ formUrl.Show();
}
// ======================================================================
diff --git a/UrlForm.Designer.cs b/UrlForm.Designer.cs
new file mode 100644
index 0000000..d749b59
--- /dev/null
+++ b/UrlForm.Designer.cs
@@ -0,0 +1,62 @@
+namespace PizzaExpress_Client
+{
+ partial class UrlForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ urlTxt = new Label();
+ SuspendLayout();
+ //
+ // urlTxt
+ //
+ urlTxt.Dock = DockStyle.Fill;
+ urlTxt.Font = new Font("Arial", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
+ urlTxt.Location = new Point(0, 0);
+ urlTxt.Name = "urlTxt";
+ urlTxt.Size = new Size(416, 105);
+ urlTxt.TabIndex = 0;
+ urlTxt.Text = "https://pizzeriadegitto.andrestork.moe:10469";
+ urlTxt.TextAlign = ContentAlignment.MiddleCenter;
+ //
+ // UrlForm
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(416, 105);
+ Controls.Add(urlTxt);
+ FormBorderStyle = FormBorderStyle.SizableToolWindow;
+ Name = "UrlForm";
+ Text = "Server URL";
+ Load += UrlForm_Load;
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private Label urlTxt;
+ }
+}
\ No newline at end of file
diff --git a/UrlForm.cs b/UrlForm.cs
new file mode 100644
index 0000000..4a1dde2
--- /dev/null
+++ b/UrlForm.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace PizzaExpress_Client
+{
+ public partial class UrlForm : Form
+ {
+ public UrlForm(string srvUrl)
+ {
+ InitializeComponent();
+
+ urlTxt.Text = srvUrl;
+ }
+
+ private void UrlForm_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/UrlForm.resx b/UrlForm.resx
new file mode 100644
index 0000000..8b2ff64
--- /dev/null
+++ b/UrlForm.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file