Exemple #1
0
            public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs)
            {
                System.Xml.Schema.XmlSchemaComplexType type     = new System.Xml.Schema.XmlSchemaComplexType();
                System.Xml.Schema.XmlSchemaSequence    sequence = new System.Xml.Schema.XmlSchemaSequence();
                vistaForm ds = new vistaForm();

                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace       = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs       = new decimal(0);
                any1.MaxOccurs       = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace       = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs       = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name       = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name       = "tableTypeName";
                attribute2.FixedValue = "landDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return(type);
            }
Exemple #2
0
        public override System.Data.DataSet Clone()
        {
            vistaForm cln = ((vistaForm)(base.Clone()));

            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return(cln);
        }
Exemple #3
0
        public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs)
        {
            vistaForm ds = new vistaForm();

            System.Xml.Schema.XmlSchemaComplexType type     = new System.Xml.Schema.XmlSchemaComplexType();
            System.Xml.Schema.XmlSchemaSequence    sequence = new System.Xml.Schema.XmlSchemaSequence();
            xs.Add(ds.GetSchemaSerializable());
            System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            return(type);
        }
Exemple #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Frm_land_lista));
     this.dataGrid1       = new System.Windows.Forms.DataGrid();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.textBox1        = new System.Windows.Forms.TextBox();
     this.textBox2        = new System.Windows.Forms.TextBox();
     this.MetaDataDetail  = new System.Windows.Forms.GroupBox();
     this.images          = new System.Windows.Forms.ImageList(this.components);
     this.MetaDataToolBar = new System.Windows.Forms.ToolBar();
     this.seleziona       = new System.Windows.Forms.ToolBarButton();
     this.impostaricerca  = new System.Windows.Forms.ToolBarButton();
     this.effettuaricerca = new System.Windows.Forms.ToolBarButton();
     this.modifica        = new System.Windows.Forms.ToolBarButton();
     this.inserisci       = new System.Windows.Forms.ToolBarButton();
     this.inseriscicopia  = new System.Windows.Forms.ToolBarButton();
     this.elimina         = new System.Windows.Forms.ToolBarButton();
     this.Salva           = new System.Windows.Forms.ToolBarButton();
     this.aggiorna        = new System.Windows.Forms.ToolBarButton();
     this.DS = new vistaForm();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(24, 64);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(440, 216);
     this.dataGrid1.TabIndex        = 15;
     this.dataGrid1.Tag             = "land.default";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(32, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 16);
     this.label1.TabIndex = 16;
     this.label1.Text     = "Codice ISO";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(16, 56);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 16);
     this.label2.TabIndex  = 17;
     this.label2.Text      = "Descrizione";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(96, 16);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(72, 20);
     this.textBox1.TabIndex = 18;
     this.textBox1.Tag      = "land.idland";
     this.textBox1.Text     = "";
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(96, 56);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(248, 20);
     this.textBox2.TabIndex = 19;
     this.textBox2.Tag      = "land.description";
     this.textBox2.Text     = "";
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.Controls.Add(this.label2);
     this.MetaDataDetail.Controls.Add(this.label1);
     this.MetaDataDetail.Controls.Add(this.textBox1);
     this.MetaDataDetail.Controls.Add(this.textBox2);
     this.MetaDataDetail.Location = new System.Drawing.Point(24, 288);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(440, 96);
     this.MetaDataDetail.TabIndex = 37;
     this.MetaDataDetail.TabStop  = false;
     this.MetaDataDetail.Text     = "Dettaglio";
     //
     // images
     //
     this.images.ImageSize        = new System.Drawing.Size(30, 30);
     this.images.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
     this.images.TransparentColor = System.Drawing.Color.Transparent;
     //
     // MetaDataToolBar
     //
     this.MetaDataToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.MetaDataToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.seleziona,
         this.impostaricerca,
         this.effettuaricerca,
         this.modifica,
         this.inserisci,
         this.inseriscicopia,
         this.elimina,
         this.Salva,
         this.aggiorna
     });
     this.MetaDataToolBar.ButtonSize     = new System.Drawing.Size(56, 56);
     this.MetaDataToolBar.DropDownArrows = true;
     this.MetaDataToolBar.ImageList      = this.images;
     this.MetaDataToolBar.Location       = new System.Drawing.Point(0, 0);
     this.MetaDataToolBar.Name           = "MetaDataToolBar";
     this.MetaDataToolBar.ShowToolTips   = true;
     this.MetaDataToolBar.Size           = new System.Drawing.Size(506, 106);
     this.MetaDataToolBar.TabIndex       = 38;
     this.MetaDataToolBar.Tag            = "";
     //
     // seleziona
     //
     this.seleziona.ImageIndex  = 1;
     this.seleziona.Tag         = "mainselect";
     this.seleziona.Text        = "Seleziona";
     this.seleziona.ToolTipText = "Seleziona l\'elemento desiderato";
     //
     // impostaricerca
     //
     this.impostaricerca.ImageIndex  = 10;
     this.impostaricerca.Tag         = "mainsetsearch";
     this.impostaricerca.Text        = "Imposta Ricerca";
     this.impostaricerca.ToolTipText = "Imposta una nuova ricerca";
     //
     // effettuaricerca
     //
     this.effettuaricerca.ImageIndex  = 12;
     this.effettuaricerca.Tag         = "maindosearch";
     this.effettuaricerca.Text        = "Effettua Ricerca";
     this.effettuaricerca.ToolTipText = "Cerca in base ai dati immessi";
     //
     // modifica
     //
     this.modifica.ImageIndex  = 6;
     this.modifica.Tag         = "mainedit";
     this.modifica.Text        = "Modifica";
     this.modifica.ToolTipText = "Modifica l\'elemento selezionato";
     //
     // inserisci
     //
     this.inserisci.ImageIndex  = 0;
     this.inserisci.Tag         = "maininsert";
     this.inserisci.Text        = "Inserisci";
     this.inserisci.ToolTipText = "Inserisci un nuovo elemento";
     //
     // inseriscicopia
     //
     this.inseriscicopia.ImageIndex  = 9;
     this.inseriscicopia.Tag         = "maininsertcopy";
     this.inseriscicopia.Text        = "Inserisci copia";
     this.inseriscicopia.ToolTipText = "Inserisci un nuovo elemento copiando i dati da quello attuale";
     //
     // elimina
     //
     this.elimina.ImageIndex  = 3;
     this.elimina.Tag         = "maindelete";
     this.elimina.Text        = "Elimina";
     this.elimina.ToolTipText = "Elimina l\'elemento selezionato";
     //
     // Salva
     //
     this.Salva.ImageIndex  = 2;
     this.Salva.Tag         = "mainsave";
     this.Salva.Text        = "Salva";
     this.Salva.ToolTipText = "Salva le modifiche effettuate";
     //
     // aggiorna
     //
     this.aggiorna.ImageIndex = 13;
     this.aggiorna.Tag        = "mainrefresh";
     this.aggiorna.Text       = "Aggiorna";
     //
     // DS
     //
     this.DS.DataSetName = "vistaForm";
     this.DS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // frmlistapaesi
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(506, 407);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.MetaDataToolBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "frmlistapaesi";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Paese";
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.ResumeLayout(false);
 }