Exemplo n.º 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 = "intracommunitytransactionDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return(type);
            }
Exemplo n.º 2
0
        public override System.Data.DataSet Clone()
        {
            vistaForm cln = ((vistaForm)(base.Clone()));

            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return(cln);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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_intracommunitytransaction_default));
     this.DS              = new intracommunitytransaction_default.vistaForm();
     this.images          = new System.Windows.Forms.ImageList(this.components);
     this.MetaDataDetail  = new System.Windows.Forms.Panel();
     this.label2          = new System.Windows.Forms.Label();
     this.textBox1        = new System.Windows.Forms.TextBox();
     this.textBox2        = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.dgr             = new System.Windows.Forms.DataGrid();
     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.pictureBox1     = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgr)).BeginInit();
     this.SuspendLayout();
     //
     // DS
     //
     this.DS.DataSetName = "vistaForm";
     this.DS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // 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;
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.MetaDataDetail.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.MetaDataDetail.Controls.Add(this.label2);
     this.MetaDataDetail.Controls.Add(this.textBox1);
     this.MetaDataDetail.Controls.Add(this.textBox2);
     this.MetaDataDetail.Controls.Add(this.label1);
     this.MetaDataDetail.Location = new System.Drawing.Point(288, 56);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(280, 160);
     this.MetaDataDetail.TabIndex = 10;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 56);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 16);
     this.label2.TabIndex  = 15;
     this.label2.Text      = "Descrizione";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(8, 24);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(88, 20);
     this.textBox1.TabIndex = 0;
     this.textBox1.Tag      = "intracommunitytransaction.idintracommunitytransaction";
     this.textBox1.Text     = "";
     //
     // textBox2
     //
     this.textBox2.Location  = new System.Drawing.Point(8, 80);
     this.textBox2.Multiline = true;
     this.textBox2.Name      = "textBox2";
     this.textBox2.Size      = new System.Drawing.Size(264, 72);
     this.textBox2.TabIndex  = 1;
     this.textBox2.Tag       = "intracommunitytransaction.description";
     this.textBox2.Text      = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 16);
     this.label1.TabIndex  = 13;
     this.label1.Text      = "Codice";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dgr
     //
     this.dgr.AllowNavigation = false;
     this.dgr.Anchor          = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.dgr.CaptionVisible  = false;
     this.dgr.DataMember      = "";
     this.dgr.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgr.Location        = new System.Drawing.Point(16, 56);
     this.dgr.Name            = "dgr";
     this.dgr.Size            = new System.Drawing.Size(272, 280);
     this.dgr.TabIndex        = 9;
     this.dgr.Tag             = "intracommunitytransaction.default";
     //
     // 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(574, 106);
     this.MetaDataToolBar.TabIndex       = 8;
     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";
     //
     // pictureBox1
     //
     this.pictureBox1.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pictureBox1.Image       = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location    = new System.Drawing.Point(464, 232);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(104, 104);
     this.pictureBox1.TabIndex    = 11;
     this.pictureBox1.TabStop     = false;
     //
     // Frm_intracommunitytransaction_default
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(574, 340);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.dgr);
     this.Controls.Add(this.MetaDataToolBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Name            = "Frm_intracommunitytransaction_default";
     this.Text            = "frmtipotransintracom";
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgr)).EndInit();
     this.ResumeLayout(false);
 }