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

            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return(cln);
        }
Beispiel #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);
        }
Beispiel #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.DS             = new parasubcontractsetup_default.vistaForm();
     this.tabControl1    = new System.Windows.Forms.TabControl();
     this.tabNumerazione = new System.Windows.Forms.TabPage();
     this.button2        = new System.Windows.Forms.Button();
     this.button1        = new System.Windows.Forms.Button();
     this.radioButton2   = new System.Windows.Forms.RadioButton();
     this.radioButton1   = new System.Windows.Forms.RadioButton();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabNumerazione.SuspendLayout();
     this.SuspendLayout();
     //
     // DS
     //
     this.DS.DataSetName = "vistaForm";
     this.DS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // tabControl1
     //
     this.tabControl1.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.tabControl1.Controls.Add(this.tabNumerazione);
     this.tabControl1.Location      = new System.Drawing.Point(8, 8);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(496, 224);
     this.tabControl1.TabIndex      = 0;
     //
     // tabNumerazione
     //
     this.tabNumerazione.Controls.Add(this.button2);
     this.tabNumerazione.Controls.Add(this.button1);
     this.tabNumerazione.Controls.Add(this.radioButton2);
     this.tabNumerazione.Controls.Add(this.radioButton1);
     this.tabNumerazione.Location = new System.Drawing.Point(4, 22);
     this.tabNumerazione.Name     = "tabNumerazione";
     this.tabNumerazione.Size     = new System.Drawing.Size(488, 198);
     this.tabNumerazione.TabIndex = 0;
     this.tabNumerazione.Text     = "Numerazione";
     //
     // button2
     //
     this.button2.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.button2.Location     = new System.Drawing.Point(120, 160);
     this.button2.Name         = "button2";
     this.button2.TabIndex     = 2;
     this.button2.Tag          = "mainsave";
     this.button2.Text         = "Ok";
     //
     // button1
     //
     this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button1.Location     = new System.Drawing.Point(280, 160);
     this.button1.Name         = "button1";
     this.button1.TabIndex     = 3;
     this.button1.Text         = "Annulla";
     //
     // radioButton2
     //
     this.radioButton2.Location = new System.Drawing.Point(24, 64);
     this.radioButton2.Name     = "radioButton2";
     this.radioButton2.TabIndex = 1;
     this.radioButton2.Tag      = "parasubcontractsetup.numerationkind:A";
     this.radioButton2.Text     = "Automatica";
     //
     // radioButton1
     //
     this.radioButton1.Location = new System.Drawing.Point(24, 24);
     this.radioButton1.Name     = "radioButton1";
     this.radioButton1.TabIndex = 0;
     this.radioButton1.Tag      = "parasubcontractsetup.numerationkind:M";
     this.radioButton1.Text     = "Manuale";
     //
     // Frm_parasubcontractsetup_default
     //
     this.AcceptButton      = this.button2;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.button1;
     this.ClientSize        = new System.Drawing.Size(512, 238);
     this.Controls.Add(this.tabControl1);
     this.Name = "Frm_parasubcontractsetup_default";
     this.Text = "frmperscontratto";
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabNumerazione.ResumeLayout(false);
     this.ResumeLayout(false);
 }