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 = "profservicesetupDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; return(type); }
public override System.Data.DataSet Clone() { vistaForm cln = ((vistaForm)(base.Clone())); cln.InitVars(); cln.SchemaSerializationMode = this.SchemaSerializationMode; return(cln); }
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); }
/// <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 vistaForm(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabNumerazione = new System.Windows.Forms.TabPage(); this.chkAzzera = new System.Windows.Forms.CheckBox(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.rdbAutomatica = new System.Windows.Forms.RadioButton(); this.rdbManuale = 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(4, 5); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(424, 248); this.tabControl1.TabIndex = 3; // // tabNumerazione // this.tabNumerazione.Controls.Add(this.chkAzzera); this.tabNumerazione.Controls.Add(this.button2); this.tabNumerazione.Controls.Add(this.button1); this.tabNumerazione.Controls.Add(this.rdbAutomatica); this.tabNumerazione.Controls.Add(this.rdbManuale); this.tabNumerazione.Location = new System.Drawing.Point(4, 22); this.tabNumerazione.Name = "tabNumerazione"; this.tabNumerazione.Size = new System.Drawing.Size(416, 222); this.tabNumerazione.TabIndex = 0; this.tabNumerazione.Text = "Numerazione"; // // chkAzzera // this.chkAzzera.Location = new System.Drawing.Point(256, 24); this.chkAzzera.Name = "chkAzzera"; this.chkAzzera.Size = new System.Drawing.Size(152, 24); this.chkAzzera.TabIndex = 4; this.chkAzzera.Tag = "profservicesetup.flagrestart:S:N"; this.chkAzzera.Text = "Azzera ad ogni esercizio"; // // button2 // this.button2.DialogResult = System.Windows.Forms.DialogResult.OK; this.button2.Location = new System.Drawing.Point(192, 184); this.button2.Name = "button2"; this.button2.TabIndex = 3; this.button2.Tag = "mainsave"; this.button2.Text = "Ok"; // // button1 // this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.button1.Location = new System.Drawing.Point(312, 184); this.button1.Name = "button1"; this.button1.TabIndex = 2; this.button1.Text = "Annulla"; // // rdbAutomatica // this.rdbAutomatica.Location = new System.Drawing.Point(16, 24); this.rdbAutomatica.Name = "rdbAutomatica"; this.rdbAutomatica.TabIndex = 1; this.rdbAutomatica.Tag = "profservicesetup.flagnumbering:A"; this.rdbAutomatica.Text = "Automatica"; this.rdbAutomatica.CheckedChanged += new System.EventHandler(this.rdbAutomatica_CheckedChanged); // // rdbManuale // this.rdbManuale.Location = new System.Drawing.Point(16, 72); this.rdbManuale.Name = "rdbManuale"; this.rdbManuale.TabIndex = 0; this.rdbManuale.Tag = "profservicesetup.flagnumbering:M"; this.rdbManuale.Text = "Manuale"; this.rdbManuale.CheckedChanged += new System.EventHandler(this.rdbManuale_CheckedChanged); // // frmperscontrattoprof // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 266); this.Controls.Add(this.tabControl1); this.Name = "frmperscontrattoprof"; this.Text = "frmperscontrattoprof"; ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabNumerazione.ResumeLayout(false); this.ResumeLayout(false); }