From 299c99955dd22d1eb67d42eb8e50fe26dba7375e Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Thu, 12 Feb 2026 09:30:01 +0100 Subject: [PATCH] Aggiunta form ricerca ingredienti --- RecipeSearch.Designer.cs | 86 ++++++++++++++++++++++++++++ RecipeSearch.cs | 20 +++++++ RecipeSearch.resx | 120 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 226 insertions(+) create mode 100644 RecipeSearch.Designer.cs create mode 100644 RecipeSearch.cs create mode 100644 RecipeSearch.resx diff --git a/RecipeSearch.Designer.cs b/RecipeSearch.Designer.cs new file mode 100644 index 0000000..f77edc0 --- /dev/null +++ b/RecipeSearch.Designer.cs @@ -0,0 +1,86 @@ +namespace PizzaExpress_Client +{ + partial class RecipeSearch + { + /// + /// 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() + { + listBox1 = new ListBox(); + cancelBtn = new Button(); + confirmBtn = new Button(); + SuspendLayout(); + // + // listBox1 + // + listBox1.FormattingEnabled = true; + listBox1.ItemHeight = 15; + listBox1.Location = new Point(12, 12); + listBox1.Name = "listBox1"; + listBox1.Size = new Size(337, 379); + listBox1.TabIndex = 0; + // + // cancelBtn + // + cancelBtn.Location = new Point(12, 397); + cancelBtn.Name = "cancelBtn"; + cancelBtn.Size = new Size(140, 31); + cancelBtn.TabIndex = 1; + cancelBtn.Text = "Annulla"; + cancelBtn.UseVisualStyleBackColor = true; + // + // confirmBtn + // + confirmBtn.Location = new Point(158, 397); + confirmBtn.Name = "confirmBtn"; + confirmBtn.Size = new Size(191, 31); + confirmBtn.TabIndex = 2; + confirmBtn.Text = "OK"; + confirmBtn.UseVisualStyleBackColor = true; + // + // RecipeSearch + // + AcceptButton = confirmBtn; + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + CancelButton = cancelBtn; + ClientSize = new Size(361, 440); + Controls.Add(confirmBtn); + Controls.Add(cancelBtn); + Controls.Add(listBox1); + FormBorderStyle = FormBorderStyle.FixedDialog; + Name = "RecipeSearch"; + StartPosition = FormStartPosition.CenterScreen; + Text = "Ricerca ingredienti"; + ResumeLayout(false); + } + + #endregion + + private ListBox listBox1; + private Button cancelBtn; + private Button confirmBtn; + } +} \ No newline at end of file diff --git a/RecipeSearch.cs b/RecipeSearch.cs new file mode 100644 index 0000000..6b224ab --- /dev/null +++ b/RecipeSearch.cs @@ -0,0 +1,20 @@ +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 RecipeSearch : Form + { + public RecipeSearch() + { + InitializeComponent(); + } + } +} diff --git a/RecipeSearch.resx b/RecipeSearch.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/RecipeSearch.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