示例#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(Frm_department_config));
     this.gridDipartimenti    = new System.Windows.Forms.DataGrid();
     this.MetaDataDetail      = new System.Windows.Forms.GroupBox();
     this.textBox1            = new System.Windows.Forms.TextBox();
     this.btnPassword         = new System.Windows.Forms.Button();
     this.txtDescrizione      = new System.Windows.Forms.TextBox();
     this.label4              = new System.Windows.Forms.Label();
     this.txtNomeDipartimento = new System.Windows.Forms.TextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.DS              = new dbdepartment_config.vistaForm();
     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();
     ((System.ComponentModel.ISupportInitialize)(this.gridDipartimenti)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.SuspendLayout();
     //
     // gridDipartimenti
     //
     this.gridDipartimenti.AllowNavigation = false;
     this.gridDipartimenti.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.gridDipartimenti.DataMember      = "";
     this.gridDipartimenti.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.gridDipartimenti.Location        = new System.Drawing.Point(8, 56);
     this.gridDipartimenti.Name            = "gridDipartimenti";
     this.gridDipartimenti.Size            = new System.Drawing.Size(744, 256);
     this.gridDipartimenti.TabIndex        = 0;
     this.gridDipartimenti.Tag             = "dbdepartment.default";
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.MetaDataDetail.Controls.Add(this.textBox1);
     this.MetaDataDetail.Controls.Add(this.btnPassword);
     this.MetaDataDetail.Controls.Add(this.txtDescrizione);
     this.MetaDataDetail.Controls.Add(this.label4);
     this.MetaDataDetail.Controls.Add(this.txtNomeDipartimento);
     this.MetaDataDetail.Controls.Add(this.label1);
     this.MetaDataDetail.Location = new System.Drawing.Point(8, 328);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(744, 80);
     this.MetaDataDetail.TabIndex = 1;
     this.MetaDataDetail.TabStop  = false;
     this.MetaDataDetail.Text     = "Dettagli del dipartimento";
     //
     // textBox1
     //
     this.textBox1.Enabled  = false;
     this.textBox1.Location = new System.Drawing.Point(488, 32);
     this.textBox1.Name     = "textBox1";
     this.textBox1.TabIndex = 9;
     this.textBox1.Text     = "textBox1";
     //
     // btnPassword
     //
     this.btnPassword.Location = new System.Drawing.Point(600, 32);
     this.btnPassword.Name     = "btnPassword";
     this.btnPassword.Size     = new System.Drawing.Size(120, 23);
     this.btnPassword.TabIndex = 8;
     this.btnPassword.Text     = "Inserisci password";
     this.btnPassword.Click   += new System.EventHandler(this.btnPassword_Click);
     //
     // txtDescrizione
     //
     this.txtDescrizione.Location = new System.Drawing.Point(72, 48);
     this.txtDescrizione.Name     = "txtDescrizione";
     this.txtDescrizione.Size     = new System.Drawing.Size(392, 20);
     this.txtDescrizione.TabIndex = 7;
     this.txtDescrizione.Tag      = "dbdepartment.description";
     this.txtDescrizione.Text     = "";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 48);
     this.label4.Name     = "label4";
     this.label4.TabIndex = 6;
     this.label4.Text     = "Descrizione";
     //
     // txtNomeDipartimento
     //
     this.txtNomeDipartimento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNomeDipartimento.Location = new System.Drawing.Point(72, 16);
     this.txtNomeDipartimento.Name     = "txtNomeDipartimento";
     this.txtNomeDipartimento.Size     = new System.Drawing.Size(392, 20);
     this.txtNomeDipartimento.TabIndex = 1;
     this.txtNomeDipartimento.Tag      = "dbdepartment.iddbdepartment";
     this.txtNomeDipartimento.Text     = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(32, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 20);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Nome";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // 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;
     //
     // 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(760, 56);
     this.MetaDataToolBar.TabIndex       = 46;
     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";
     //
     // Frm_department_config
     //
     this.AcceptButton      = this.btnPassword;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(760, 414);
     this.Controls.Add(this.MetaDataToolBar);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.gridDipartimenti);
     this.Name = "Frm_department_config";
     this.Text = "Frm_department_config";
     ((System.ComponentModel.ISupportInitialize)(this.gridDipartimenti)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.ResumeLayout(false);
 }