Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
C# / VB.NET - Designer.cs
Forum - C# / VB.NET - Designer.cs

Pagine: [ 1 2 ] Precedente | Prossimo
Avatar
Totino1956 (Normal User)
Newbie


Messaggi: 18
Iscritto: 04/07/2010

Segnala al moderatore
Postato alle 10:01
Domenica, 20/04/2025
Ho bisogno di un giudizio critico su un sorgente Form1.Designer.cs che è costituito di circa 1700 righe.
La valutazione deve cogliere il grado di competenza richiesta per la sua creazione.
Io ho avuto un contatto per altre ragioni con un vostro aderente che è Carlo a cui mi rivolgo in particolare in quanto mi ha riconosciuto assolutamente incompetente (come in realtà sono).
Il file fa parte di un progetto che gestisce la popolazione italiana e olandese e restituisce le piramidi della popolazione selezionando il territorio e contiene un file Access di circa 180 Mb e non so se il sito permette l'allocazione di un tale progetto.
Comunque il file incriminato potrei aggiungerlo con l'opzione  ma è di 1700 righe, lo metto in allegato e deve essere letto da un esperto.
Spero di usufruire dell'apporto di Carlo, Thejuster o di Piero Tofy per un giudizio molto severo ed incontrovertibile.
provo a metterlo con e sembra che abbia funzionato. Ho bisogno di una risposta dagli esperti per dimostrare la provenienza del file e l'attitudine di chi lo ha scritto.
Grazie per la considerazione.

using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms.Layout;
using System.Windows.Forms;
using System.Runtime.Remoting;
using System.Data;
using System.Reflection.Emit;


namespace Italia
{
    partial class Form1 : System.Windows.Forms.Form
    {
        /// <summary>
        /// Variabile di progettazione necessaria.
        /// </summary>
//        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Pulire le risorse in uso.
        /// </summary>
        /// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Codice generato da Progettazione Windows Form

        /// <summary>
        /// Metodo necessario per il supporto della finestra di progettazione. Non modificare
        /// il contenuto del metodo con l'editor di codice.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();

            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            //            this.txtTesto = new System.Windows.Forms.RichTextBox();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.infoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();

            this.labParametri = new System.Windows.Forms.Label();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.lstRipId = new System.Windows.Forms.ListBox();
            this.lstRegId = new System.Windows.Forms.ListBox();
            this.lstPrvId = new System.Windows.Forms.ListBox();
            this.lstComId = new System.Windows.Forms.ListBox();
            this.lstRip = new System.Windows.Forms.ListBox();
            this.lstReg = new System.Windows.Forms.ListBox();
            this.lstPrv = new System.Windows.Forms.ListBox();
            this.lstCom = new System.Windows.Forms.ListBox();
            this.lblRip = new System.Windows.Forms.Label();
            this.lblReg = new System.Windows.Forms.Label();
            this.lblPrv = new System.Windows.Forms.Label();
            this.lblCom = new System.Windows.Forms.Label();
            this.lblCla = new System.Windows.Forms.Label();
            this.txtCla = new System.Windows.Forms.TextBox();
            this.lblClaSoc = new System.Windows.Forms.Label();
            this.txtClaSoc = new System.Windows.Forms.TextBox();
            this.Aiutino = new System.Windows.Forms.ToolTip();
            this.radioButtonCla5 = new System.Windows.Forms.RadioButton();
            this.radioButtonClaSoc = new System.Windows.Forms.RadioButton();
            this.checkOccupaz = new System.Windows.Forms.CheckBox();
            this.btnCerca = new System.Windows.Forms.Button();
            this.btnCercaComuni = new System.Windows.Forms.Button();
            this.btnCostoPens = new System.Windows.Forms.Button();
            this.btnCercaInf = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.radioButtonI = new System.Windows.Forms.RadioButton();
            this.radioButtonO = new System.Windows.Forms.RadioButton();
            this.radioButton7 = new System.Windows.Forms.RadioButton();
            this.radioButton6 = new System.Windows.Forms.RadioButton();
            this.radioButton5 = new System.Windows.Forms.RadioButton();
            this.radioButton4 = new System.Windows.Forms.RadioButton();
            this.radioButton3 = new System.Windows.Forms.RadioButton();
            this.radioButton2 = new System.Windows.Forms.RadioButton();
            this.radioButton1 = new System.Windows.Forms.RadioButton();
            this.txtPop = new System.Windows.Forms.TextBox();
            this.txtPopMax = new System.Windows.Forms.TextBox();
            this.Griglia = new System.Windows.Forms.DataGrid();
            this.SuspendLayout();


            //
            // menuStrip1
            //
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(292, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.infoToolStripMenuItem,
            this.openToolStripMenuItem,
            this.exitToolStripMenuItem});
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
            this.fileToolStripMenuItem.Text = "&Menù";
            this.fileToolStripMenuItem.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.fileToolStripMenuItem_DropDownItemClicked);
            //
            // infoToolStripMenuItem
            //
            //this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
            this.infoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.infoToolStripMenuItem.Name = "infoToolStripMenuItem";
            this.infoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
            this.infoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.infoToolStripMenuItem.Text = "&Informazioni";
            this.infoToolStripMenuItem.Click += new System.EventHandler(this.Info_Click);
            //
            // openToolStripMenuItem
            //
            //this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
            this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.openToolStripMenuItem.Name = "openToolStripMenuItem";
            this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
            this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.openToolStripMenuItem.Text = "&Help";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.help_Click);
            //
            // exitToolStripMenuItem
            //
            //this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
            this.exitToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.exitToolStripMenuItem.Text = "&Esci";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.Esci_Click);
            //
            // toolStripSeparator
            //
            this.toolStripSeparator.Name = "toolStripSeparator";
            this.toolStripSeparator.Size = new System.Drawing.Size(149, 6);
            //
            // statusStrip1
            //
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripStatusLabel1});
            this.statusStrip1.Location = new System.Drawing.Point(0, 251);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(292, 22);
            this.statusStrip1.TabIndex = 1;
            this.statusStrip1.Text = "scelta";
            //
            // toolStripStatusLabel1
            //
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(109, 17);
            this.toolStripStatusLabel1.Text = "Scelta Menù";
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.radioButton7);
            this.groupBox1.Controls.Add(this.radioButton6);
            this.groupBox1.Controls.Add(this.radioButton5);
            this.groupBox1.Controls.Add(this.radioButton4);
            this.groupBox1.Controls.Add(this.radioButton3);
            this.groupBox1.Controls.Add(this.radioButton2);
            this.groupBox1.Controls.Add(this.radioButton1);
            this.groupBox1.Controls.Add(this.checkOccupaz);
            this.groupBox1.Location = new System.Drawing.Point(1290, 450);
            this.groupBox1.Size = new System.Drawing.Size(280, 440);
            this.groupBox1.BackColor = System.Drawing.Color.Azure;
            //
            // groupBox2
            //
            this.groupBox2.Controls.Add(this.radioButtonI);
            this.groupBox2.Controls.Add(this.radioButtonO);
            this.groupBox2.Location = new System.Drawing.Point(10, 520);
            this.groupBox2.Size = new System.Drawing.Size(200, 200);
            this.groupBox2.BackColor = System.Drawing.Color.Coral;
            //
            // radioButtonI
            //
            this.radioButtonI.Checked = false;
            this.radioButtonI.ForeColor = Color.White;
            this.radioButtonI.Font = new Font("Times New Roman", 16);
            this.radioButtonI.Location = new System.Drawing.Point(20, 20);
            this.radioButtonI.Name = "radioButtonI";
            this.radioButtonI.Size = new System.Drawing.Size(300, 60);
            this.radioButtonI.TabIndex = 16;
            this.radioButtonI.Text = "Italia";
            this.radioButtonI.CheckedChanged += new EventHandler(checkNazione_CheckedChanged);
            //
            // radioButtonO
            //
            this.radioButtonO.Checked = false;
            this.radioButtonO.ForeColor = Color.White;
            this.radioButtonO.Font = new Font("Times New Roman", 16);
            this.radioButtonO.Location = new System.Drawing.Point(20, 80);
            this.radioButtonO.Name = "radioButtonO";
            this.radioButtonO.Size = new System.Drawing.Size(300, 60);
            this.radioButtonO.TabIndex = 16;
            this.radioButtonO.Text = "Olanda";
            this.radioButtonO.CheckedChanged += new EventHandler(checkNazione_CheckedChanged);
            //
            // radioButton1
            //
            this.radioButton1.Checked = false;
            this.radioButton1.Enabled = false;
            this.radioButton1.Location = new System.Drawing.Point(20, 70);
            this.radioButton1.Name = "radioButton1";
            this.radioButton1.Size = new System.Drawing.Size(300, 50);
            this.radioButton1.TabIndex = 16;
            this.radioButton1.Text = "Occupati";
            this.radioButton1.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // radioButton2
            //
            this.radioButton2.Checked = false;
            this.radioButton2.Enabled = false;
            this.radioButton2.Location = new System.Drawing.Point(20, 110);
            this.radioButton2.Name = "radioButton2";
            this.radioButton2.Size = new System.Drawing.Size(300, 50);
            this.radioButton2.TabIndex = 15;
            this.radioButton2.Text = "Disoccupati";
            this.radioButton2.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // radioButton3
            //
            this.radioButton3.Checked = false;
            this.radioButton3.Enabled = false;
            this.radioButton3.Location = new System.Drawing.Point(20, 150);
            this.radioButton3.Name = "radioButton3";
            this.radioButton3.Size = new System.Drawing.Size(300, 50);
            this.radioButton3.TabIndex = 14;
            this.radioButton3.Text = "Pensionati";
            this.radioButton3.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // radioButton4
            //
            this.radioButton4.Checked = false;
            this.radioButton4.Enabled = false;
            this.radioButton4.Location = new System.Drawing.Point(20, 190);
            this.radioButton4.Name = "radioButton4";
            this.radioButton4.Size = new System.Drawing.Size(400, 50);
            this.radioButton4.TabIndex = 14;
            this.radioButton4.Text = "Abitanti-Pensionati";
            this.radioButton4.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // radioButton5
            //
            this.radioButton5.Checked = false;
            this.radioButton5.Enabled = false;
            this.radioButton5.Location = new System.Drawing.Point(20, 230);
            this.radioButton5.Name = "radioButton5";
            this.radioButton5.Size = new System.Drawing.Size(400, 50);
            this.radioButton5.TabIndex = 15;
            this.radioButton5.Text = "Occupati privati";
            this.radioButton5.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // radioButton6
            //
            this.radioButton6.Checked = false;
            this.radioButton6.Enabled = false;
            this.radioButton6.Location = new System.Drawing.Point(20, 270);
            this.radioButton6.Name = "radioButton6";
            this.radioButton6.Size = new System.Drawing.Size(400, 50);
            this.radioButton6.TabIndex = 16;
            this.radioButton6.Text = "Occupati pubblici";
            this.radioButton6.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // radioButton7
            //
            this.radioButton7.Checked = false;
            this.radioButton7.Enabled = false;
            this.radioButton7.Location = new System.Drawing.Point(20, 310);
            this.radioButton7.Name = "radioButton4";
            this.radioButton7.Size = new System.Drawing.Size(400, 50);
            this.radioButton7.TabIndex = 17;
            this.radioButton7.Text = "Totale occupati";
            this.radioButton7.CheckedChanged += new EventHandler(checkOccupaz_CheckedChanged);
            //
            // checkOccupaz
            //
            //this.checkOccupaz.AutoSize = true;
            this.checkOccupaz.Checked = false;
            this.checkOccupaz.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.checkOccupaz.BackColor = System.Drawing.Color.Transparent;
            this.checkOccupaz.ForeColor = System.Drawing.Color.Black;
            this.checkOccupaz.Location = new System.Drawing.Point(20, 20);
            this.checkOccupaz.Name = "checkOccupaz";
            this.checkOccupaz.Size = new System.Drawing.Size(300, 50);
            this.checkOccupaz.TabIndex = 13;
            this.checkOccupaz.TabStop = true;
            this.checkOccupaz.Text = "Occupazione";
            this.checkOccupaz.UseVisualStyleBackColor = false;
            this.Aiutino.SetToolTip(this.checkOccupaz, "Aggiungere alle Classi di Età" + "\n" + "il tasso di occupazione da 0 a 100" + "\n" + "separato da uno spazio.");
            this.checkOccupaz.CheckStateChanged += new System.EventHandler(this.checkOccupaz_CheckedChanged);
            
            
            this.ClientSize = new System.Drawing.Size(292, 266);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.groupBox2);
            //
            // listBox1
            //
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Location = new System.Drawing.Point(10, 500);
            //this.listBox1.MultiColumn = true;
            this.listBox1.Name = "listBox1";
            this.listBox1.ScrollAlwaysVisible = true;
            this.listBox1.Size = new System.Drawing.Size(300, 300);
            this.listBox1.TabIndex = 0;
            this.listBox1.SelectedValueChanged += new EventHandler(listBox1_SelectedValueChanged);
            //this.listBox1.Visible = false;
            //
            // lstRipId
            //
            this.lstRipId.FormattingEnabled = true;
            this.lstRipId.Location = new System.Drawing.Point(10, 400);
            //this.lstRipId.MultiColumn = true;
            this.lstRipId.Name = "lstRipId";
            this.lstRipId.ScrollAlwaysVisible = true;
            this.lstRipId.Size = new System.Drawing.Size(150, 10);
            this.lstRipId.TabIndex = 0;
            //this.lstRipId.Visible = false;
            //
            // lstRegId
            //
            this.lstRegId.FormattingEnabled = true;
            this.lstRegId.Location = new System.Drawing.Point(200, 400);
            //this.lstRegId.MultiColumn = true;
            this.lstRegId.Name = "lstRegId";
            this.lstRegId.ScrollAlwaysVisible = true;
            this.lstRegId.Size = new System.Drawing.Size(150, 10);
            this.lstRegId.TabIndex = 0;
            //this.lstRegId.Visible = false;
            //
            // lstPrvId
            //
            this.lstPrvId.FormattingEnabled = true;
            this.lstPrvId.Location = new System.Drawing.Point(400, 400);
            //this.lstPrvId.MultiColumn = true;
            this.lstPrvId.Name = "lstPrvId";
            this.lstPrvId.ScrollAlwaysVisible = true;
            this.lstPrvId.Size = new System.Drawing.Size(150, 10);
            this.lstPrvId.TabIndex = 0;
            //this.lstPrvId.Visible = false;
            //
            // lstComId
            //
            this.lstComId.FormattingEnabled = true;
            this.lstComId.Location = new System.Drawing.Point(600, 400);
            //this.lstComId.MultiColumn = true;
            this.lstComId.Name = "lstComId";
            this.lstComId.ScrollAlwaysVisible = true;
            this.lstComId.Size = new System.Drawing.Size(150, 10);
            this.lstComId.TabIndex = 0;
            //this.lstComId.Visible = false;
            //
            // lstRip
            //
            this.lstRip.FormattingEnabled = true;
            this.lstRip.HorizontalScrollbar = true;
            //this.lstRip.Items.AddRange(new object[] {
            //"Item 2, column 2",
            //"Item 3, column 2"});
            this.lstRip.BackColor = System.Drawing.Color.Pink;
            this.lstRip.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            //this.lstRip.MultiColumn = true;
            this.lstRip.FormattingEnabled = true;
            this.lstRip.ItemHeight = 31;
            this.lstRip.Location = new System.Drawing.Point(30, 110);
            this.lstRip.Name = "lstRip";
            this.lstRip.Size = new System.Drawing.Size(300, 320);
            this.lstRip.TabIndex = 0;
            this.Aiutino.SetToolTip(this.lstRip, "Selezionare la Ripartizione dal Database");
            this.lstRip.SelectedIndexChanged += new System.EventHandler(this.lstRip_SelectedIndexChanged);
            //
            // lstReg
            //
            this.lstReg.FormattingEnabled = true;
            this.lstReg.BackColor = System.Drawing.Color.Pink;
            this.lstReg.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lstReg.ItemHeight = 31;
            this.lstReg.Location = new System.Drawing.Point(340, 110);
            this.lstReg.Name = "lstReg";
            this.lstReg.Size = new System.Drawing.Size(300, 320);
            this.lstReg.TabIndex = 2;
            this.Aiutino.SetToolTip(this.lstReg, "Selezionare la Regione dal Database");
            this.lstReg.SelectedIndexChanged += new System.EventHandler(this.lstReg_SelectedIndexChanged);
            //
            // lstPrv
            //
            this.lstPrv.FormattingEnabled = true;
            this.lstPrv.BackColor = System.Drawing.Color.Pink;
            this.lstPrv.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lstPrv.ItemHeight = 31;
            this.lstPrv.Location = new System.Drawing.Point(650, 110);
            this.lstPrv.Name = "lstPrv";
            this.lstPrv.Size = new System.Drawing.Size(300, 320);
            this.lstPrv.TabIndex = 4;
            this.Aiutino.SetToolTip(this.lstPrv, "Selezionare la Provincia dal Database");
            this.lstPrv.SelectedIndexChanged += new System.EventHandler(this.lstPrv_SelectedIndexChanged);
            //
            // lstCom
            //
            this.lstCom.FormattingEnabled = true;
            this.lstCom.BackColor = System.Drawing.Color.Pink;
            this.lstCom.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            //this.lstCom.MultiColumn = true;
            this.lstCom.ItemHeight = 31;
            this.lstCom.Location = new System.Drawing.Point(960, 110);
            this.lstCom.Name = "lstCom";
            this.lstCom.HorizontalScrollbar = true;
            this.lstCom.Size = new System.Drawing.Size(300, 320);
            this.lstCom.TabIndex = 6;
            this.Aiutino.SetToolTip(this.lstCom, "Selezionare il Comune dal Database");
            //
            // lblRip
            //
            this.lblRip.AutoSize = true;
            this.lblRip.BackColor = System.Drawing.Color.AliceBlue;
            this.lblRip.ForeColor = System.Drawing.Color.Blue;
            this.lblRip.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblRip.Font = new Font(lblRip.Font.Name, 10,lblRip.Font.Style, lblRip.Font.Unit);
            this.lblRip.Location = new System.Drawing.Point(30, 60);
            this.lblRip.Name = "lblRip";
            this.lblRip.Size = new System.Drawing.Size(92, 32);
            this.lblRip.TabIndex = 1;
            this.lblRip.Text = "Ripartizioni";
            this.Aiutino.SetToolTip(this.lblRip, "Cliccare per ottenere la piramide"+"\n"+"della Ripartizione dal Database");
            this.lblRip.Click += new System.EventHandler(this.lblRip_Click);
            //
            // lblReg
            //
            this.lblReg.AutoSize = true;
            this.lblReg.BackColor = System.Drawing.Color.AliceBlue;
            this.lblReg.ForeColor = System.Drawing.Color.Blue;
            this.lblReg.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblReg.Location = new System.Drawing.Point(335, 60);
            this.lblReg.Name = "lblReg";
            this.lblReg.Font = new Font(lblRip.Font.Name, 10, lblReg.Font.Style, lblReg.Font.Unit);
            this.lblReg.Size = new System.Drawing.Size(92, 32);
            this.lblReg.TabIndex = 3;
            this.lblReg.Text = "Regioni";
            this.Aiutino.SetToolTip(this.lblReg, "Cliccare per ottenere la piramide"+"\n"+"della Regione selezionata dal Database");
            this.lblReg.Click += new System.EventHandler(this.lblReg_Click);
            //
            // lblPrv
            //
            this.lblPrv.AutoSize = true;
            this.lblPrv.BackColor = System.Drawing.Color.AliceBlue;
            this.lblPrv.ForeColor = System.Drawing.Color.Blue;
            this.lblPrv.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblPrv.Location = new System.Drawing.Point(645, 60);
            this.lblPrv.Name = "lblPrv";
            this.lblPrv.Font = new Font(lblPrv.Font.Name, 10, lblPrv.Font.Style, lblPrv.Font.Unit);
            this.lblPrv.Size = new System.Drawing.Size(92, 32);
            this.lblPrv.TabIndex = 5;
            this.lblPrv.Text = "Province";
            this.Aiutino.SetToolTip(this.lblPrv, "Cliccare per ottenere la piramide"+"\n"+"della Provincia selezionata dal Database");
            this.lblPrv.Click += new System.EventHandler(this.lblPrv_Click);
            //
            // lblCom
            //
            this.lblCom.AutoSize = true;
            this.lblCom.BackColor = System.Drawing.Color.AliceBlue;
            this.lblCom.ForeColor = System.Drawing.Color.Blue;
            this.lblCom.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblCom.Location = new System.Drawing.Point(955, 60);
            this.lblCom.Name = "lblCom";
            this.lblCom.Font = new Font(lblCom.Font.Name, 10, lblCom.Font.Style, lblCom.Font.Unit);
            this.lblCom.Size = new System.Drawing.Size(92, 32);
            this.lblCom.TabIndex = 7;
            this.lblCom.Text = "Comuni";
            this.Aiutino.SetToolTip(this.lblCom, "Cliccare per ottenere la piramide"+"\n"+"del Comune selezionato dal Database");
            this.lblCom.Click += new System.EventHandler(this.lblCom_Click);
            //
            // lblCla
            //
            this.lblCla.AutoSize = true;
            this.lblCla.BackColor = System.Drawing.Color.Beige;
            this.lblCla.ForeColor = System.Drawing.Color.Brown;
            this.lblCla.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblCla.Font = new Font(lblCla.Font.Name, 8, lblCla.Font.Style, lblCla.Font.Unit);
            this.lblCla.Location = new System.Drawing.Point(1290, 60);
            this.lblCla.Name = "lblCla";
            this.lblCla.Size = new System.Drawing.Size(92, 32);
            //this.lblCla.TabIndex = 8;
            this.lblCla.Text = "Dimensione classi di età";
            //this.Aiutino.SetToolTip(this.lblCla, "Cliccare per ottenere la piramide della Provincia selezionata dal Database");
            //
            // txtCla
            //
            this.txtCla.AutoSize = true;
            this.txtCla.BackColor = System.Drawing.Color.Yellow;
            this.txtCla.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.txtCla.Font = new Font(txtCla.Font.Name, 8, txtCla.Font.Style, txtCla.Font.Unit);
            this.txtCla.Location = new System.Drawing.Point(1330, 100);
            this.txtCla.Name = "txtCla";
            this.txtCla.Size = new System.Drawing.Size(92, 32);
            this.txtCla.TabIndex = 8;
            this.txtCla.Text = "5";
            this.Aiutino.SetToolTip(this.txtCla, "Imposta l'ampiezza delle Classi di Età"+"\n"+"della piramide della popolazione di default 5 anni");
            //this.txtCla.KeyDown += new KeyEventHandler(this.Key_Down);
            this.txtCla.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberCla);
            //
            // lblClaSoc
            //
            this.lblClaSoc.AutoSize = true;
            this.lblClaSoc.BackColor = System.Drawing.Color.Beige;
            this.lblClaSoc.ForeColor = System.Drawing.Color.Brown;
            this.lblClaSoc.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblClaSoc.Location = new System.Drawing.Point(1290, 150);
            this.lblClaSoc.Name = "lblClaSoc";
            this.lblClaSoc.Size = new System.Drawing.Size(92, 130);
            //this.lblClaSoc.TabIndex = 7;
            this.lblClaSoc.Text = "Impostazione Classi Sociali";
            //
            // txtClaSoc
            //
            
            this.txtClaSoc.AutoSize = true;
            this.txtClaSoc.BackColor = System.Drawing.Color.Yellow;
            this.txtClaSoc.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.txtClaSoc.Location = new System.Drawing.Point(1330, 190);
            this.txtClaSoc.Multiline = true;
            this.txtClaSoc.ScrollBars = ScrollBars.Vertical;
            this.txtClaSoc.Name = "txtClaSoc";
            this.txtClaSoc.Enabled = false;
            this.txtClaSoc.Size = new System.Drawing.Size(180, 250);
            this.txtClaSoc.TabIndex = 9;
            //this.txtClaSoc.Text = "0-14" + rc + lf + "15-39" + rc + lf + "40-54" + rc + lf +
            // "55-64" + rc + lf + "65-69" + rc + lf + "70-74" + rc + lf + "75-79" + rc + lf + "80-104" + rc + lf;
            this.Aiutino.SetToolTip(this.txtClaSoc, "Imposta l'ampiezza delle Classi di Età"+"\n"+"della piramide delle Classi Sociali"+
                "\n"+"proposte di default ma impostabili a piacere"+"\nrispettando con cura la sequenza!");
            this.txtClaSoc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberPress);
            //this.lblCla.Click += new System.EventHandler(this.lblCom_Click);
            //
            // radioButtonCla5
            //
            //this.radioButtonCla5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radioButtonCla5.AutoSize = true;
            this.radioButtonCla5.Checked = true;
            this.radioButtonCla5.BackColor = System.Drawing.Color.Transparent;
            this.radioButtonCla5.ForeColor = System.Drawing.Color.White;
            this.radioButtonCla5.Location = new System.Drawing.Point(1290, 100);
            this.radioButtonCla5.Name = "radioButtonCla5";
            this.radioButtonCla5.Size = new System.Drawing.Size(100, 17);
            this.radioButtonCla5.TabIndex = 10;
            this.radioButtonCla5.TabStop = true;
            this.radioButtonCla5.Text = "Classi standard";
            this.radioButtonCla5.UseVisualStyleBackColor = false;
            this.Aiutino.SetToolTip(this.radioButtonCla5, "Imposta l'ampiezza delle"+"\n"+"Classi di Età a 5.\nPossono essere impostate\nclassi da 1 a 100." );
            this.radioButtonCla5.CheckedChanged += new System.EventHandler(this.radioButtonCla5_Click);
            //
            // radioButtonClaSoc
            //
            //this.radioButtonClaSoc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radioButtonClaSoc.AutoSize = true;
            this.radioButtonClaSoc.BackColor = System.Drawing.Color.Transparent;
            this.radioButtonClaSoc.ForeColor = System.Drawing.Color.White;
            this.radioButtonClaSoc.Location = new System.Drawing.Point(1290, 200);
            this.radioButtonClaSoc.Name = "radioButtonClaSoc";
            this.radioButtonClaSoc.Size = new System.Drawing.Size(100, 17);
            this.radioButtonClaSoc.TabIndex = 11;
            this.radioButtonClaSoc.TabStop = true;
            this.radioButtonClaSoc.Text = "Classi sociali";
            this.radioButtonClaSoc.UseVisualStyleBackColor = false;
            this.Aiutino.SetToolTip(this.radioButtonClaSoc, "Imposta l'ampiezza delle" + "\n" + "Classi di Età a piacere");
            this.radioButtonClaSoc.CheckedChanged += new EventHandler(radioClaSoc_CheckedChanged);
            //this.radioButtonCla5.Click += new System.EventHandler(this.radioButtonCla5_Click);
            //
            // btnCostoPens
            //
            this.btnCostoPens.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnCostoPens.BackColor = System.Drawing.Color.AliceBlue;
            this.btnCostoPens.ForeColor = System.Drawing.Color.Blue;
            //this.btnCercaComuni.Font = new Font(btnCerca.Font.Name, 10, btnCerca.Font.Style, btnCerca.Font.Unit);
            //this.btnCerca.Font = new Font(btnCerca.Font, FontStyle.Bold);
            this.btnCostoPens.Location = new System.Drawing.Point(300, 650);
            this.btnCostoPens.Name = "btnCostoPens";
            this.btnCostoPens.Size = new System.Drawing.Size(200, 60);
            this.btnCostoPens.TabIndex = 12;
            this.btnCostoPens.Text = "Costo Pensioni";
            this.Aiutino.SetToolTip(this.btnCostoPens, "Simula su scala nazionale" + "\n" + "l'incidenza del costo pensioni\nsu l'intera popolazione\ne sugli occupati.");
            this.btnCostoPens.Click += new System.EventHandler(this.btnCostoPens_Click);
            //
            // btnCercaComuni
            //
            this.btnCercaComuni.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnCercaComuni.BackColor = System.Drawing.Color.AliceBlue;
            this.btnCercaComuni.ForeColor = System.Drawing.Color.Blue;
            //this.btnCercaComuni.Font = new Font(btnCerca.Font.Name, 10, btnCerca.Font.Style, btnCerca.Font.Unit);
            //this.btnCerca.Font = new Font(btnCerca.Font, FontStyle.Bold);
            this.btnCercaComuni.Location = new System.Drawing.Point(300, 590);
            this.btnCercaComuni.Name = "btnCercaComuni";
            this.btnCercaComuni.Size = new System.Drawing.Size(200, 60);
            this.btnCercaComuni.TabIndex = 12;
            this.btnCercaComuni.Text = "Cerca Comuni";
            this.Aiutino.SetToolTip(this.btnCercaComuni, "Raggruppa la ricerca dei Comuni" + "\n" + "a partire dal valore della\ncasella di sinistra al passo del valore\ndella casella di destra.");
            this.btnCercaComuni.Click += new System.EventHandler(this.btnCercaComuni_Click);
            //
            // btnCercaInf
            //
            this.btnCercaInf.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnCercaInf.BackColor = System.Drawing.Color.AliceBlue;
            this.btnCercaInf.ForeColor = System.Drawing.Color.Blue;
            //this.btnCercaInf.Font = new Font(btnCerca.Font.Name, 10, btnCerca.Font.Style, btnCerca.Font.Unit);
            //this.btnCerca.Font = new Font(btnCerca.Font, FontStyle.Bold);
            this.btnCercaInf.Location = new System.Drawing.Point(300, 520);
            this.btnCercaInf.Name = "btnCercaInf";
            this.btnCercaInf.Size = new System.Drawing.Size(200, 60);
            this.btnCercaInf.TabIndex = 12;
            this.btnCercaInf.Text = "Cerca Infanzia";
            this.Aiutino.SetToolTip(this.btnCercaInf, "Tentativo infruttuoso di\nestrapolare la natalità\nsulla fecondità.");
            this.btnCercaInf.Click += new System.EventHandler(this.btnCercaInf_Click);
            //
            // btnCerca
            //
            this.btnCerca.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnCerca.BackColor = System.Drawing.Color.AliceBlue;
            this.btnCerca.ForeColor = System.Drawing.Color.Blue;
            //this.btnCerca.Font = new Font(btnCerca.Font.Name, 10,btnCerca.Font.Style, btnCerca.Font.Unit);
            //this.btnCerca.Font = new Font(btnCerca.Font, FontStyle.Bold);
            this.btnCerca.Location = new System.Drawing.Point(300, 450);
            this.btnCerca.Name = "btnCerca";
            this.btnCerca.Size = new System.Drawing.Size(200, 60);
            this.btnCerca.TabIndex = 12;
            this.btnCerca.Text = "Cerca Abitanti";
            this.Aiutino.SetToolTip(this.btnCerca, "Attiva la Ricerca dei Comuni con l'impostazione\ndel minimo della popolazione 'casella di sinistra'\t"+txtPop.Text+"\ne massimo 'casella di destra'\t"+txtPopMax.Text+"\nimpostati.");
            this.btnCerca.Click += new System.EventHandler(this.btnCerca_Click);
            //
            // txtPop
            //
            this.txtPop.Location = new System.Drawing.Point(540, 450);
            this.txtPop.BackColor = System.Drawing.Color.Yellow;
            this.txtPop.Font = new Font(txtPop.Font.Name, 10, txtPop.Font.Style, txtPop.Font.Unit);
            this.txtPop.MaxLength = 10;
            this.txtPop.Name = "txtPop";
            this.txtPop.Size = new System.Drawing.Size(150, 20);
            this.txtPop.TabIndex = 13;
            this.txtPop.Text = "0";
            this.Aiutino.SetToolTip(this.txtPop, "Imposta i valori minimi della\npopolazione totale da ricercare.");
            this.txtPop.KeyDown += new KeyEventHandler(this.Key_Down);
            this.txtPop.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberPress);
            //
            // txtPopMax
            //
            this.txtPopMax.Location = new System.Drawing.Point(700, 450);
            this.txtPopMax.BackColor = System.Drawing.Color.Yellow;
            this.txtPopMax.Font=new Font(txtPopMax.Font.Name, 10, txtPopMax.Font.Style, txtPopMax.Font.Unit);
            this.txtPopMax.MaxLength = 10;
            this.txtPopMax.Name = "txtPopMax";
            this.txtPopMax.Size = new System.Drawing.Size(150, 20);
            this.txtPopMax.TabIndex = 13;
            this.txtPopMax.Text = "10000";
            this.Aiutino.SetToolTip(this.txtPopMax, "Imposta i valori massimi della\npopolazione totale da ricercare.");
            this.txtPopMax.KeyDown += new KeyEventHandler(this.Key_Down);
            this.txtPopMax.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberPress);
            //
            // labParametri
            //
            this.labParametri.AutoSize = true;
            this.labParametri.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.labParametri.BackColor = System.Drawing.Color.Beige;
            this.labParametri.ForeColor = System.Drawing.Color.Brown;
            this.labParametri.Font = new Font(labParametri.Font.Name, 10,
               labParametri.Font.Style, labParametri.Font.Unit);

            this.labParametri.Location = new System.Drawing.Point(10, 460);
            this.labParametri.Name = "labParametri";
            this.labParametri.Size = new System.Drawing.Size(88, 13);
            this.labParametri.TabIndex = 10;
            this.labParametri.Text = "0000  0000   000";
            //
            // Griglia
            //
            //this.Griglia.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            //| System.Windows.Forms.AnchorStyles.Right)));
            //this.Griglia.ContextMenu = this.mnDatabase;
            this.Griglia.DataMember = "";
            this.Griglia.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.Griglia.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.Griglia.Location = new System.Drawing.Point(0, 600);
            this.Griglia.Name = "Griglia";
            this.Griglia.Visible = false;
            //this.Griglia.Size = new System.Drawing.Size(455, 630);
            this.Griglia.Size = new System.Drawing.Size(440, 230);
            this.Griglia.TabIndex = 2;
            //
            // Form1
            //
            //this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 31F);
            this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 31F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            //this.ClientSize = new System.Drawing.Size(3000, 1000);
            this.Width = 3200;
            this.Height = 1000;
            this.Controls.Add(this.statusStrip1);
            this.Controls.Add(this.menuStrip1);
            this.Controls.Add(this.lblCom);
            this.Controls.Add(this.lblPrv);
            this.Controls.Add(this.lblReg);
            this.Controls.Add(this.lblRip);
            //this.Controls.Add(this.menuItem1);
            //this.Griglia.ContextMenu = this.mnDatabase;
            this.Controls.Add(this.lstCom);
            this.Controls.Add(this.lstPrv);
            this.Controls.Add(this.lstReg);
            this.Controls.Add(this.lstRip);
            this.Controls.Add(this.lstRipId);
            this.Controls.Add(this.lstRegId);
            this.Controls.Add(this.lstPrvId);
            this.Controls.Add(this.lstComId);
            this.Controls.Add(this.btnCerca);
            this.Controls.Add(this.btnCercaComuni);
            this.Controls.Add(this.btnCostoPens);
            this.Controls.Add(this.btnCercaInf);
            this.Controls.Add(this.txtPop);
            this.Controls.Add(this.txtPopMax);
            this.Controls.Add(this.labParametri);
            this.Controls.Add(this.lblCla);
            this.Controls.Add(this.txtCla);
            this.Controls.Add(this.lblClaSoc);
            this.Controls.Add(this.txtClaSoc);
            this.Controls.Add(this.radioButtonCla5);
            this.Controls.Add(this.radioButtonClaSoc);
            this.Controls.Add(this.Griglia);
            this.KeyDown += new KeyEventHandler(MainForm_KeyDown);
            //this.Controls.Add(this.listBox1);
            //this.KeyDown += new System.Windows.Forms.KeyEventHandler(Key_Down);
            this.HelpButton = true;
            //this.HelpRequested += new HelpEventHandler(Help_Click);
            this.Name = "Form1";
            this.Text = "Popolazione italiana 2024.";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        public override bool Equals(object obj)
        {
            return base.Equals(obj);
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }

        public override object InitializeLifetimeService()
        {
            return base.InitializeLifetimeService();
        }

        public override ObjRef CreateObjRef(Type requestedType)
        {
            return base.CreateObjRef(requestedType);
        }

        protected override object GetService(Type service)
        {
            return base.GetService(service);
        }

        protected override AccessibleObject GetAccessibilityObjectById(int objectId)
        {
            return base.GetAccessibilityObjectById(objectId);
        }

        public override Size GetPreferredSize(Size proposedSize)
        {
            return base.GetPreferredSize(proposedSize);
        }

        protected override AccessibleObject CreateAccessibilityInstance()
        {
            return base.CreateAccessibilityInstance();
        }

        protected override void DestroyHandle()
        {
            base.DestroyHandle();
        }

        protected override void InitLayout()
        {
            base.InitLayout();
        }

        protected override bool IsInputChar(char charCode)
        {
            return base.IsInputChar(charCode);
        }

        protected override bool IsInputKey(Keys keyData)
        {
            return base.IsInputKey(keyData);
        }

        protected override void NotifyInvalidate(Rectangle invalidatedArea)
        {
            base.NotifyInvalidate(invalidatedArea);
        }

        protected override void OnAutoSizeChanged(EventArgs e)
        {
            base.OnAutoSizeChanged(e);
        }

        protected override void OnBackColorChanged(EventArgs e)
        {
            base.OnBackColorChanged(e);
        }

        protected override void OnBindingContextChanged(EventArgs e)
        {
            base.OnBindingContextChanged(e);
        }

        protected override void OnCausesValidationChanged(EventArgs e)
        {
            base.OnCausesValidationChanged(e);
        }

        protected override void OnContextMenuChanged(EventArgs e)
        {
            base.OnContextMenuChanged(e);
        }

        protected override void OnContextMenuStripChanged(EventArgs e)
        {
            base.OnContextMenuStripChanged(e);
        }

        protected override void OnCursorChanged(EventArgs e)
        {
            base.OnCursorChanged(e);
        }

        protected override void OnDockChanged(EventArgs e)
        {
            base.OnDockChanged(e);
        }

        protected override void OnForeColorChanged(EventArgs e)
        {
            base.OnForeColorChanged(e);
        }

        protected override void OnNotifyMessage(Message m)
        {
            base.OnNotifyMessage(m);
        }

        protected override void OnParentBackColorChanged(EventArgs e)
        {
            base.OnParentBackColorChanged(e);
        }

        protected override void OnParentBackgroundImageChanged(EventArgs e)
        {
            base.OnParentBackgroundImageChanged(e);
        }

        protected override void OnParentBindingContextChanged(EventArgs e)
        {
            base.OnParentBindingContextChanged(e);
        }

        protected override void OnParentCursorChanged(EventArgs e)
        {
            base.OnParentCursorChanged(e);
        }

        protected override void OnParentEnabledChanged(EventArgs e)
        {
            base.OnParentEnabledChanged(e);
        }

        protected override void OnParentFontChanged(EventArgs e)
        {
            base.OnParentFontChanged(e);
        }

        protected override void OnParentForeColorChanged(EventArgs e)
        {
            base.OnParentForeColorChanged(e);
        }

        protected override void OnParentRightToLeftChanged(EventArgs e)
        {
            base.OnParentRightToLeftChanged(e);
        }

        protected override void OnParentVisibleChanged(EventArgs e)
        {
            base.OnParentVisibleChanged(e);
        }

        protected override void OnPrint(PaintEventArgs e)
        {
            base.OnPrint(e);
        }

        protected override void OnTabIndexChanged(EventArgs e)
        {
            base.OnTabIndexChanged(e);
        }

        protected override void OnTabStopChanged(EventArgs e)
        {
            base.OnTabStopChanged(e);
        }

        protected override void OnClick(EventArgs e)
        {
            base.OnClick(e);
        }

        protected override void OnClientSizeChanged(EventArgs e)
        {
            base.OnClientSizeChanged(e);
        }

        protected override void OnControlAdded(ControlEventArgs e)
        {
            base.OnControlAdded(e);
        }

        protected override void OnControlRemoved(ControlEventArgs e)
        {
            base.OnControlRemoved(e);
        }

        protected override void OnLocationChanged(EventArgs e)
        {
            base.OnLocationChanged(e);
        }

        protected override void OnDoubleClick(EventArgs e)
        {
            base.OnDoubleClick(e);
        }

        protected override void OnDragEnter(DragEventArgs drgevent)
        {
            base.OnDragEnter(drgevent);
        }

        protected override void OnDragOver(DragEventArgs drgevent)
        {
            base.OnDragOver(drgevent);
        }

        protected override void OnDragLeave(EventArgs e)
        {
            base.OnDragLeave(e);
        }

        protected override void OnDragDrop(DragEventArgs drgevent)
        {
            base.OnDragDrop(drgevent);
        }

        protected override void OnGiveFeedback(GiveFeedbackEventArgs gfbevent)
        {
            base.OnGiveFeedback(gfbevent);
        }

        protected override void OnGotFocus(EventArgs e)
        {
            base.OnGotFocus(e);
        }

        protected override void OnHelpRequested(HelpEventArgs hevent)
        {
            base.OnHelpRequested(hevent);
        }

        protected override void OnInvalidated(InvalidateEventArgs e)
        {
            base.OnInvalidated(e);
        }

        protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
        }

        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            base.OnKeyPress(e);
        }

        protected override void OnKeyUp(KeyEventArgs e)
        {
            base.OnKeyUp(e);
        }

        protected override void OnLeave(EventArgs e)
        {
            base.OnLeave(e);
        }

        protected override void OnLostFocus(EventArgs e)
        {
            base.OnLostFocus(e);
        }

        protected override void OnMarginChanged(EventArgs e)
        {
            base.OnMarginChanged(e);
        }

        protected override void OnMouseDoubleClick(MouseEventArgs e)
        {
            base.OnMouseDoubleClick(e);
        }

        protected override void OnMouseClick(MouseEventArgs e)
        {
            base.OnMouseClick(e);
        }

        protected override void OnMouseCaptureChanged(EventArgs e)
        {
            base.OnMouseCaptureChanged(e);
        }

        protected override void OnMouseDown(MouseEventArgs e)
        {
            base.OnMouseDown(e);
        }

        protected override void OnMouseEnter(EventArgs e)
        {
            base.OnMouseEnter(e);
        }

        protected override void OnMouseLeave(EventArgs e)
        {
            base.OnMouseLeave(e);
        }

        protected override void OnDpiChangedBeforeParent(EventArgs e)
        {
            base.OnDpiChangedBeforeParent(e);
        }

        protected override void OnDpiChangedAfterParent(EventArgs e)
        {
            base.OnDpiChangedAfterParent(e);
        }

        protected override void OnMouseHover(EventArgs e)
        {
            base.OnMouseHover(e);
        }

        protected override void OnMouseMove(MouseEventArgs e)
        {
            base.OnMouseMove(e);
        }

        protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
        }

        protected override void OnMove(EventArgs e)
        {
            base.OnMove(e);
        }

        protected override void OnQueryContinueDrag(QueryContinueDragEventArgs qcdevent)
        {
            base.OnQueryContinueDrag(qcdevent);
        }

        protected override void OnRegionChanged(EventArgs e)
        {
            base.OnRegionChanged(e);
        }

        protected override void OnPreviewKeyDown(PreviewKeyDownEventArgs e)
        {
            base.OnPreviewKeyDown(e);
        }

        protected override void OnSizeChanged(EventArgs e)
        {
            base.OnSizeChanged(e);
        }

        protected override void OnChangeUICues(UICuesEventArgs e)
        {
            base.OnChangeUICues(e);
        }

        protected override void OnSystemColorsChanged(EventArgs e)
        {
            base.OnSystemColorsChanged(e);
        }

        protected override void OnValidating(CancelEventArgs e)
        {
            base.OnValidating(e);
        }

        protected override void OnValidated(EventArgs e)
        {
            base.OnValidated(e);
        }

        protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew)
        {
            base.RescaleConstantsForDpi(deviceDpiOld, deviceDpiNew);
        }

        public override bool PreProcessMessage(ref Message msg)
        {
            return base.PreProcessMessage(ref msg);
        }

        protected override bool ProcessKeyEventArgs(ref Message m)
        {
            return base.ProcessKeyEventArgs(ref m);
        }

        protected override bool ProcessKeyMessage(ref Message m)
        {
            return base.ProcessKeyMessage(ref m);
        }

        public override void ResetBackColor()
        {
            base.ResetBackColor();
        }

        public override void ResetCursor()
        {
            base.ResetCursor();
        }

        public override void ResetFont()
        {
            base.ResetFont();
        }

        public override void ResetForeColor()
        {
            base.ResetForeColor();
        }

        public override void ResetRightToLeft()
        {
            base.ResetRightToLeft();
        }

        public override void Refresh()
        {
            base.Refresh();
        }

        public override void ResetText()
        {
            base.ResetText();
        }

        protected override Size SizeFromClientSize(Size clientSize)
        {
            return base.SizeFromClientSize(clientSize);
        }

        protected override void OnImeModeChanged(EventArgs e)
        {
            base.OnImeModeChanged(e);
        }

        protected override void OnMouseWheel(MouseEventArgs e)
        {
            base.OnMouseWheel(e);
        }

        protected override void OnRightToLeftChanged(EventArgs e)
        {
            base.OnRightToLeftChanged(e);
        }

        protected override void OnPaintBackground(PaintEventArgs e)
        {
            base.OnPaintBackground(e);
        }

        protected override void OnPaddingChanged(EventArgs e)
        {
            base.OnPaddingChanged(e);
        }

        protected override Point ScrollToControl(Control activeControl)
        {
            return base.ScrollToControl(activeControl);
        }

        protected override void OnScroll(ScrollEventArgs se)
        {
            base.OnScroll(se);
        }

        protected override void OnAutoValidateChanged(EventArgs e)
        {
            base.OnAutoValidateChanged(e);
        }

        protected override void OnParentChanged(EventArgs e)
        {
            base.OnParentChanged(e);
        }

        protected override void SetVisibleCore(bool value)
        {
            base.SetVisibleCore(value);
        }

        protected override void AdjustFormScrollbars(bool displayScrollbars)
        {
            base.AdjustFormScrollbars(displayScrollbars);
        }

        protected override Control.ControlCollection CreateControlsInstance()
        {
            return base.CreateControlsInstance();
        }

        protected override void CreateHandle()
        {
            base.CreateHandle();
        }

        protected override void DefWndProc(ref Message m)
        {
            base.DefWndProc(ref m);
        }

        protected override bool ProcessMnemonic(char charCode)
        {
            return base.ProcessMnemonic(charCode);
        }

        protected override void OnActivated(EventArgs e)
        {
            base.OnActivated(e);
        }

        protected override void OnBackgroundImageChanged(EventArgs e)
        {
            base.OnBackgroundImageChanged(e);
        }

        protected override void OnBackgroundImageLayoutChanged(EventArgs e)
        {
            base.OnBackgroundImageLayoutChanged(e);
        }

        protected override void OnClosing(CancelEventArgs e)
        {
            base.OnClosing(e);
        }

        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);
        }

        protected override void OnFormClosing(FormClosingEventArgs e)
        {
            base.OnFormClosing(e);
        }

        protected override void OnFormClosed(FormClosedEventArgs e)
        {
            base.OnFormClosed(e);
        }

        protected override void OnCreateControl()
        {
            base.OnCreateControl();
        }

        protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
        }

        protected override void OnEnabledChanged(EventArgs e)
        {
            base.OnEnabledChanged(e);
        }

        protected override void OnEnter(EventArgs e)
        {
            base.OnEnter(e);
        }

        protected override void OnFontChanged(EventArgs e)
        {
            base.OnFontChanged(e);
        }

        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);
        }

        protected override void OnHandleDestroyed(EventArgs e)
        {
            base.OnHandleDestroyed(e);
        }

        protected override void OnHelpButtonClicked(CancelEventArgs e)
        {
            base.OnHelpButtonClicked(e);
        }

        protected override void OnLayout(LayoutEventArgs levent)
        {
            base.OnLayout(levent);
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
        }

        protected override void OnMaximizedBoundsChanged(EventArgs e)
        {
            base.OnMaximizedBoundsChanged(e);
        }

        protected override void OnMaximumSizeChanged(EventArgs e)
        {
            base.OnMaximumSizeChanged(e);
        }

        protected override void OnMinimumSizeChanged(EventArgs e)
        {
            base.OnMinimumSizeChanged(e);
        }

        protected override void OnInputLanguageChanged(InputLanguageChangedEventArgs e)
        {
            base.OnInputLanguageChanged(e);
        }

        protected override void OnInputLanguageChanging(InputLanguageChangingEventArgs e)
        {
            base.OnInputLanguageChanging(e);
        }

        protected override void OnVisibleChanged(EventArgs e)
        {
            base.OnVisibleChanged(e);
        }

        protected override void OnMdiChildActivate(EventArgs e)
        {
            base.OnMdiChildActivate(e);
        }

        protected override void OnMenuStart(EventArgs e)
        {
            base.OnMenuStart(e);
        }

        protected override void OnMenuComplete(EventArgs e)
        {
            base.OnMenuComplete(e);
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);
        }

        protected override void OnResize(EventArgs e)
        {
            base.OnResize(e);
        }

        protected override void OnDpiChanged(DpiChangedEventArgs e)
        {
            base.OnDpiChanged(e);
        }

        protected override bool OnGetDpiScaledSize(int deviceDpiOld, int deviceDpiNew, ref Size desiredSize)
        {
            return base.OnGetDpiScaledSize(deviceDpiOld, deviceDpiNew, ref desiredSize);
        }

        protected override void OnRightToLeftLayoutChanged(EventArgs e)
        {
            base.OnRightToLeftLayoutChanged(e);
        }

        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);
        }

        protected override void OnTextChanged(EventArgs e)
        {
            base.OnTextChanged(e);
        }

        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            return base.ProcessCmdKey(ref msg, keyData);
        }

        protected override bool ProcessDialogKey(Keys keyData)
        {
            return base.ProcessDialogKey(keyData);
        }

        protected override bool ProcessDialogChar(char charCode)
        {
            return base.ProcessDialogChar(charCode);
        }

        protected override bool ProcessKeyPreview(ref Message m)
        {
            return base.ProcessKeyPreview(ref m);
        }

        protected override bool ProcessTabKey(bool forward)
        {
            return base.ProcessTabKey(forward);
        }

        protected override void Select(bool directed, bool forward)
        {
            base.Select(directed, forward);
        }

        protected override void ScaleCore(float x, float y)
        {
            base.ScaleCore(x, y);
        }

        protected override Rectangle GetScaledBounds(Rectangle bounds, SizeF factor, BoundsSpecified specified)
        {
            return base.GetScaledBounds(bounds, factor, specified);
        }

        protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
        {
            base.ScaleControl(factor, specified);
        }

        protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
        {
            base.SetBoundsCore(x, y, width, height, specified);
        }

        protected override void SetClientSizeCore(int x, int y)
        {
            base.SetClientSizeCore(x, y);
        }

        public override string ToString()
        {
            return base.ToString();
        }

        protected override void UpdateDefaultButton()
        {
            base.UpdateDefaultButton();
        }

        protected override void OnResizeBegin(EventArgs e)
        {
            base.OnResizeBegin(e);
        }

        protected override void OnResizeEnd(EventArgs e)
        {
            base.OnResizeEnd(e);
        }

        protected override void OnStyleChanged(EventArgs e)
        {
            base.OnStyleChanged(e);
        }

        public override bool ValidateChildren()
        {
            return base.ValidateChildren();
        }

        public override bool ValidateChildren(ValidationConstraints validationConstraints)
        {
            return base.ValidateChildren(validationConstraints);
        }

        protected override void WndProc(ref Message m)
        {
            
            base.WndProc(ref m);
        }
        #endregion

        private System.Windows.Forms.ListBox listBox1;
        private System.Windows.Forms.ListBox lstRipId;
        private System.Windows.Forms.ListBox lstRegId;
        private System.Windows.Forms.ListBox lstPrvId;
        private System.Windows.Forms.ListBox lstComId;
        private System.Windows.Forms.ListBox lstRip;
        private System.Windows.Forms.ListBox lstReg;
        private System.Windows.Forms.ListBox lstPrv;
        private System.Windows.Forms.ListBox lstCom;
        private System.Windows.Forms.Button btnCerca;
        private System.Windows.Forms.Button btnCercaComuni;
        private System.Windows.Forms.Button btnCostoPens;
        private System.Windows.Forms.Button btnCercaInf;
        private System.Windows.Forms.TextBox txtPop;
        private System.Windows.Forms.TextBox txtPopMax;
        private System.Windows.Forms.Label labParametri;
        private System.Windows.Forms.Label lblRip;
        private System.Windows.Forms.Label lblReg;
        private System.Windows.Forms.Label lblPrv;
        private System.Windows.Forms.Label lblCom;
        private System.Windows.Forms.Label lblCla;
        private System.Windows.Forms.Label lblClaSoc;
        private System.Windows.Forms.TextBox txtCla;
        private System.Windows.Forms.TextBox txtClaSoc;
        private System.Windows.Forms.ToolTip Aiutino;
        private System.Windows.Forms.RadioButton radioButtonCla5;
        private System.Windows.Forms.RadioButton radioButtonClaSoc;
        private System.Windows.Forms.CheckBox checkOccupaz;

        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem infoToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem rubricaStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
        private System.Windows.Forms.DataGrid Griglia;


        private GroupBox groupBox1;
        private GroupBox groupBox2;
        private RadioButton radioButtonI;
        private RadioButton radioButtonO;
        private RadioButton radioButton7;
        private RadioButton radioButton6;
        private RadioButton radioButton5;
        private RadioButton radioButton4;
        private RadioButton radioButton3;
        private RadioButton radioButton2;
        private RadioButton radioButton1;

        public bool costo = false;
        //public string[] ClassiEta = new string[21];
        public string[] ClassiSociali = new string[101];
        public Single[] tassoM = new Single[101];
        public Single[] tassoF = new Single[101];
        string[] Colonne = new string[3];
        public UInt32[] OccupatiM = new UInt32[21];
        public UInt32[] OccupatiF = new UInt32[21];
        public UInt32[] Maschi = new UInt32[21];
        public UInt32[] Femmine = new UInt32[21];
        public Int32[] ClSocMa = new Int32[3];
        public Int32[] ClSocFa = new Int32[3];
        public Single[] ClSocMp = new Single[3];
        public Single[] ClSocFp = new Single[3];
        public int totRec = 0;
        public UInt32 totOccM = 0;
        public UInt32 totOccF = 0;
        public UInt32 totOccT = 0;
        public Single totM = 0;
        public Single totF = 0;
        public Single totPop = 0;
        public Int32 UltimaMa = 0;
        public Int32 UltimaFa = 0;
        public Single UltimaMp = 0;
        public Single UltimaFp = 0;
        public string IdRip = "";
        public string IdReg = "";
        public string IdPrv = "";
        public string IdCom = "";
        public string terra = "";
        public string occupazione = "base";
        public DataTable dTable;
        public char v = (char)34;
        public char sp = (char)32;
        public char cn = (char)24;
        public char rc = (char)13;
        public char lf = (char)10;
        public char tb = (char)9;
        public char bk = (char)8;
        public override bool AllowDrop { get => base.AllowDrop; set => base.AllowDrop = value; }
        public override AnchorStyles Anchor { get => base.Anchor; set => base.Anchor = value; }
        public override Point AutoScrollOffset { get => base.AutoScrollOffset; set => base.AutoScrollOffset = value; }

        public override LayoutEngine LayoutEngine => base.LayoutEngine;

        public override Image BackgroundImage { get => base.BackgroundImage; set => base.BackgroundImage = value; }
        public override ImageLayout BackgroundImageLayout { get => base.BackgroundImageLayout; set => base.BackgroundImageLayout = value; }

        protected override bool CanRaiseEvents => base.CanRaiseEvents;

        public override ContextMenu ContextMenu { get => base.ContextMenu; set => base.ContextMenu = value; }
        public override ContextMenuStrip ContextMenuStrip { get => base.ContextMenuStrip; set => base.ContextMenuStrip = value; }
        public override Cursor Cursor { get => base.Cursor; set => base.Cursor = value; }

        protected override Cursor DefaultCursor => base.DefaultCursor;

        protected override Padding DefaultMargin => base.DefaultMargin;

        protected override Size DefaultMaximumSize => base.DefaultMaximumSize;

        protected override Size DefaultMinimumSize => base.DefaultMinimumSize;

        protected override Padding DefaultPadding => base.DefaultPadding;

        public override DockStyle Dock { get => base.Dock; set => base.Dock = value; }
        protected override bool DoubleBuffered { get => base.DoubleBuffered; set => base.DoubleBuffered = value; }

        public override bool Focused => base.Focused;

        public override Font Font { get => base.Font; set => base.Font = value; }
        public override Color ForeColor { get => base.ForeColor; set => base.ForeColor = value; }
        public override RightToLeft RightToLeft { get => base.RightToLeft; set => base.RightToLeft = value; }

        protected override bool ScaleChildren => base.ScaleChildren;

        public override ISite Site { get => base.Site; set => base.Site = value; }

        protected override bool ShowKeyboardCues => base.ShowKeyboardCues;

        protected override bool ShowFocusCues => base.ShowFocusCues;

        protected override ImeMode ImeModeBase { get => base.ImeModeBase; set => base.ImeModeBase = value; }

        public override Rectangle DisplayRectangle => base.DisplayRectangle;

        public override BindingContext BindingContext { get => base.BindingContext; set => base.BindingContext = value; }

        protected override bool CanEnableIme => base.CanEnableIme;

        public override Size AutoScaleBaseSize { get => base.AutoScaleBaseSize; set => base.AutoScaleBaseSize = value; }
        public override bool AutoScroll { get => base.AutoScroll; set => base.AutoScroll = value; }
        public override bool AutoSize { get => base.AutoSize; set => base.AutoSize = value; }
        public override AutoValidate AutoValidate { get => base.AutoValidate; set => base.AutoValidate = value; }
        public override Color BackColor { get => base.BackColor; set => base.BackColor = value; }

        protected override CreateParams CreateParams => base.CreateParams;

        protected override ImeMode DefaultImeMode => base.DefaultImeMode;

        protected override Size DefaultSize => base.DefaultSize;

        public override Size MaximumSize { get => base.MaximumSize; set => base.MaximumSize = value; }
        public override Size MinimumSize { get => base.MinimumSize; set => base.MinimumSize = value; }
        public override bool RightToLeftLayout { get => base.RightToLeftLayout; set => base.RightToLeftLayout = value; }

        protected override bool ShowWithoutActivation => base.ShowWithoutActivation;

        public override string Text { get => base.Text; set => base.Text = value; }

    }
}




PM Quote
Avatar
Carlo (Member)
Guru^2


Messaggi: 1431
Iscritto: 29/01/2018

Segnala al moderatore
Postato alle 8:34
Lunedì, 21/04/2025
Totino1956 Designer.cs viene autogenerato da VisualStudio quando componi l'interfaccia da [Progettazione]
Se vuoi farci vedere il tuo progetto, devi comprimere in formato .zip la cartella Italia che contiene il tuo progetto, La cartella Italia deve contenere:
>Italia
    Italia.sln (autogenerato)
    >Italia
        xxx1.cs (xxx1 = il nome del tuo form1 che contiene il tuo programma)
        xxx1.Designer.cs (xxx1 = il nome del tuo form1, autogenerato)
        xxx1.resx (xxx1 = il nome del tuo form1, autogenerato)
        Italia.csproj (autogenerato)
        Program.cs (autogenerato)
        >Obj (con i suoi file autogenerati)
        >Properties  (con i suoi file autogenerati)        
Se il tuo VisualStudio è impostato per mettere il file di soluzione nella cartella principale.

Oppure:
>Italia
    Italia.sln (autogenarato)
    xxx1.cs (xxx1 = il nome del tuo form1 che contiene il tuo programma)
    xxx1.Designer.cs (xxx1 = il nome del tuo form1, autogenerato)
    xxx1.resx (xxx1 = il nome del tuo form1, autogenerato)
    Italia.csproj (autogenerato)
    Program.cs (autogenerato)
    >Obj (con i suoi file autogenerati)
    >Properties (con i suoi file autogenerati)    
Se il tuo VisualStudio è impostato per mettere il file di soluzione nella cartella di progetto.

Una volta creato lo zip che non deve superare i 2MB lo alleghi cliccando [sfoglia] sotto, dove c'è scritto: Seleziona un file da allegare (max 2mb, .zip .jpg .gif .jpeg .png)
Se hai delle risorse che farebbero eccedere i 2MB, caricale su DropBox o WeTransfer o FileMail, ecc e mostraci il link.
Se le risorse contengono dati sensibili non pubblicabili crea un file minimale con dati inventati.

La prima impressione è che di VisualStudio non ne sai nulla, di programmazione non so, visto che non hai allegato nessun programma ma considerato che hai messo le variabili Public dentro a .Designer.cs che VisualStudio riscrive ogni qualvolta si cambia qualcosa in [Progettazione] le cose che fai sono senza nessuna cognizione.

Questo sta scritto circa alla quarantesima riga del codice che crea l'interfaccia che hai pubblicato:
        /// Metodo necessario per il supporto della finestra di progettazione. Non modificare
        /// il contenuto del metodo con l'editor di codice.

Ultima modifica effettuata da Carlo il 21/04/2025 alle 9:49


in programmazione tutto è permesso
PM Quote
Avatar
Totino1956 (Normal User)
Newbie


Messaggi: 18
Iscritto: 04/07/2010

Segnala al moderatore
Postato alle 8:17
Martedì, 22/04/2025
lo so che viene generato da progettazione, ma io ti chiedo di valutare le righe fino a 750 che sono di mia pertinenza con le righe introdotte fino a 1500 che sono di settaggi preliminari come le righe da 1600 a 1700 e ti chiedo di accertare la formazione richiesta per la compilazione di tale codice e ti chiedo se riconosci la validità del codice.

PM Quote
Avatar
Carlo (Member)
Guru^2


Messaggi: 1431
Iscritto: 29/01/2018

Segnala al moderatore
Postato alle 9:38
Martedì, 22/04/2025
Come posso rispondere??

Non c'è nulla da valutare, non devi mettere mano nel designer, sopratutto da inesperto.
Quello che stai mostrando è la composizione dell'interfaccia, se sei alla ricerca di sapere se la tua interfaccia è ben congegnata, posta la foto dell'interfaccia spiegando come l'utente la dovrebbe usare, in quel caso una valutazione soggettiva può essere data.

Per le inizializzazioni delle variabili che hai messo nel designer, già ti ho anticipato che non va bene. Le variabili si dichiarano in Form1 o in una classe apposita. Le altre cose che hai inserito, se non spieghi il perché, possono essere solo ritenute inutili.

Il designer non lo devi aprire per niente.

Se vuoi inserire nel form uno strumento senza usare Progettazione, lo puoi fare da codice, creando una classe apposita oppure subito dopo InitializeComponent(); presente nel codice di Form1, oppure lungo il codice quando serve.

Cancella tutte le modifiche che hai fatto in Form1.Designer.cs e portale in Form1.cs


in programmazione tutto è permesso
PM Quote
Avatar
Totino1956 (Normal User)
Newbie


Messaggi: 18
Iscritto: 04/07/2010

Segnala al moderatore
Postato alle 10:24
Martedì, 22/04/2025
vorrei aggiungere che il database Access è di 180 Mb e potrei esporre il Form1.cs che è di 1700 righe che allego insieme al form PiramSociale.cs e PiramSociale.Designer.cs (non riesco a allegare più file)ndal momento che pubblicare il progetto è impossibile.
Ti chiedo di valutare la presenza da riga 752 a 1521 e da riga 1614 a 1682 e non badare al fatto che introduco i controlli direttamente in Designer.cs e non da progettazione. Trovo difficoltoso comunicare in chat visto che non riesco a trasferire la questione che sollevo. Mi piacerebbe comunicare per telefono, il mio numero è 3477179848 la mia email è salvatore.carofiglio@outlook.it.
Non ho problemi con l'eseguibile che funziona regolarmente. Il fatto è particolare ed è ancorato alla presenza di codice alle righe che ho segnalato che funzionano ma che prescrivono una competenza di rilievo che spero di trovare in te.

PM Quote
Avatar
Carlo (Member)
Guru^2


Messaggi: 1431
Iscritto: 29/01/2018

Segnala al moderatore
Postato alle 14:17
Martedì, 22/04/2025
Per postare il progetto completo è sufficiente zipparlo e inviarlo a wetransfer, chiedendo di ottenere un link che poi ci fai sapere.

Se il programma funziona, fa quello che vuoi e non si inchioda mai, significa che va bene.

Invece per una corretta programmazione, bisogna studiare partendo dall'ABC, quello che non fai tu e non va bene.

Ultima modifica effettuata da Carlo il 22/04/2025 alle 14:21


in programmazione tutto è permesso
PM Quote
Avatar
Totino1956 (Normal User)
Newbie


Messaggi: 18
Iscritto: 04/07/2010

Segnala al moderatore
Postato alle 22:15
Martedì, 22/04/2025
ecco il link: https://we.tl/t-d17gx7kX01
il programma è incompleto ma genera le piramidi della popolazione italiana e olandese ma richiede delle spiegazioni che non sono riuscito a introdurre nell'help.
Ora che faccio?

PM Quote
Avatar
Carlo (Member)
Guru^2


Messaggi: 1431
Iscritto: 29/01/2018

Segnala al moderatore
Postato alle 7:56
Mercoledì, 23/04/2025
Il progetto funziona. I toltip spiegano cosa si deve fare e in linea di massima va.
Se si interrompe il lavoro della macro nel foglio Excel creato da Cerca Infanzia il programma da errore, non c'è un controllo sull'interruzione ma anche se si lascia elaborare da errore.
Non ho trovato come visualizzare La piramide della popolazione.

Andiamo alla domanda, in Form1.Designer.cs da riga 752 a 1521 ci sono degli override che intercettano dei metodi e restituiscono il controllo agli stessi metodi = non fanno nulla. Sempre che non aggiungi porzioni di codice che modificano il comportamento del metodo per scopi specifici, ma dubito che dovrai modificare il metodo di:
Codice sorgente - presumibilmente C# / VB.NET

  1. protected override void OnDpiChangedBeforeParent(EventArgs e)
  2. {
  3.     base.OnDpiChangedBeforeParent(e);
  4. }


La stessa cosa succede da riga 1614 a 1682.
Così come sono gli override li puoi cancellare tutti.



Ultima modifica effettuata da Carlo il 23/04/2025 alle 8:14


in programmazione tutto è permesso
PM Quote
Avatar
Totino1956 (Normal User)
Newbie


Messaggi: 18
Iscritto: 04/07/2010

Segnala al moderatore
Postato alle 13:06
Mercoledì, 23/04/2025
Richiamo la frase posta in coda ai tuoi interventi:
in programmazione tutto è permesso
cosa contempla l'affermazione, per esempio non hai risposto sul tema delle righe che segnalavo e di cui non trovo spiegazione che chiedevo a te come esperto.
Io mi sono accostato da pochi mesi al linguaggio e ho fatto uso dell'help di Microsoft e di recente dell'intelligenza artificiale.
Se "in programmazione tutto è permesso" è riferito allo strapotere detenuto dall'Informatica di governare interi sistemi e di conseguenza la decisione politica delle scelte che restituiscono un'egemonia estrema se non totale.
Ti sarei grato per una considerazione sul tema.
Mentre scrivo rilevo la tua risposta e chiarisco che le righe incriminate non sono state scritte da me.
Per visualizzare la piramide si deve selezionare un territorio e cliccare sull'etichetta superiore di pertinenza.
In F1 c'è un help disastrato in quanto non ho recuperato la competenza che avevo su HelpHtml o come si chiama della Microsoft.

PM Quote
Pagine: [ 1 2 ] Precedente | Prossimo