コード例 #1
0
        public override DataSet Clone()
        {
            vistaForm cln = ((vistaForm)(base.Clone()));

            cln.InitVars();
            return(cln);
        }
コード例 #2
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(frmcdcausaleprestazione));
     this.DS              = new /*Rana:cdcausaleprestazione.*/ vistaForm();
     this.MetaDataDetail  = new System.Windows.Forms.Panel();
     this.textBox4        = new System.Windows.Forms.TextBox();
     this.label4          = new System.Windows.Forms.Label();
     this.textBox3        = new System.Windows.Forms.TextBox();
     this.label3          = 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.label1          = new System.Windows.Forms.Label();
     this.dataGrid1       = 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.images          = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // DS
     //
     this.DS.DataSetName = "vistaForm";
     this.DS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.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.MetaDataDetail.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.MetaDataDetail.Controls.Add(this.textBox4);
     this.MetaDataDetail.Controls.Add(this.label4);
     this.MetaDataDetail.Controls.Add(this.textBox3);
     this.MetaDataDetail.Controls.Add(this.label3);
     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(8, 264);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(496, 98);
     this.MetaDataDetail.TabIndex = 10;
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(432, 16);
     this.textBox4.Name     = "textBox4";
     this.textBox4.Size     = new System.Drawing.Size(56, 20);
     this.textBox4.TabIndex = 3;
     this.textBox4.Tag      = "servicemotive.ayear.year";
     this.textBox4.Text     = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(344, 18);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(80, 16);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "Esercizio:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(88, 16);
     this.textBox3.Name     = "textBox3";
     this.textBox3.Size     = new System.Drawing.Size(56, 20);
     this.textBox3.TabIndex = 1;
     this.textBox3.Tag      = "servicemotive.idmotive";
     this.textBox3.Text     = "";
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(40, 18);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 16);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "ID:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 16);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Descrizione:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(232, 16);
     this.textBox1.Name     = "textBox1";
     this.textBox1.TabIndex = 2;
     this.textBox1.Tag      = "servicemotive.idmot";
     this.textBox1.Text     = "";
     //
     // textBox2
     //
     this.textBox2.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.textBox2.Location  = new System.Drawing.Point(88, 42);
     this.textBox2.Multiline = true;
     this.textBox2.Name      = "textBox2";
     this.textBox2.Size      = new System.Drawing.Size(400, 48);
     this.textBox2.TabIndex  = 4;
     this.textBox2.Tag       = "servicemotive.description";
     this.textBox2.Text      = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(168, 18);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 16);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Codice:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dataGrid1
     //
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.CaptionVisible  = false;
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(8, 56);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(496, 200);
     this.dataGrid1.TabIndex        = 9;
     this.dataGrid1.Tag             = "servicemotive.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(512, 106);
     this.MetaDataToolBar.TabIndex       = 11;
     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";
     //
     // 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;
     //
     // frmcdcausaleprestazione
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(512, 373);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.MetaDataToolBar);
     this.Name = "frmcdcausaleprestazione";
     this.Text = "frmcdcausaleprestazione";
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
 }