Exemple #1
0
        public override DataSet Clone()
        {
            vistaForm cln = ((vistaForm)(base.Clone()));

            cln.InitVars();
            return(cln);
        }
Exemple #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.label1    = new System.Windows.Forms.Label();
     this.textBox1  = new System.Windows.Forms.TextBox();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.DS        = new expenselinkedpayment_default.vistaForm();
     this.btnSpesa  = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnOK     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(64, 64);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(46, 16);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Importo:";
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(120, 61);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(120, 20);
     this.textBox1.TabIndex = 6;
     this.textBox1.Tag      = "expenselinkedpayment.amount";
     this.textBox1.Text     = "";
     //
     // comboBox1
     //
     this.comboBox1.DataSource    = this.DS.linkedexpense;
     this.comboBox1.DisplayMember = "description";
     this.comboBox1.Location      = new System.Drawing.Point(120, 16);
     this.comboBox1.Name          = "comboBox1";
     this.comboBox1.Size          = new System.Drawing.Size(288, 21);
     this.comboBox1.TabIndex      = 5;
     this.comboBox1.Tag           = "expenselinkedpayment.idlinkedexpense";
     this.comboBox1.ValueMember   = "idlinkedexpense";
     //
     // DS
     //
     this.DS.DataSetName = "vistaForm";
     this.DS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // btnSpesa
     //
     this.btnSpesa.BackColor = System.Drawing.SystemColors.Control;
     this.btnSpesa.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnSpesa.ForeColor = System.Drawing.SystemColors.ControlText;
     this.btnSpesa.Location  = new System.Drawing.Point(16, 15);
     this.btnSpesa.Name      = "btnSpesa";
     this.btnSpesa.Size      = new System.Drawing.Size(96, 23);
     this.btnSpesa.TabIndex  = 4;
     this.btnSpesa.Tag       = "manage.linkedexpense.lista";
     this.btnSpesa.Text      = "Spesa Collegata";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(326, 104);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 9;
     this.btnCancel.Tag          = "";
     this.btnCancel.Text         = "Cancel";
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location     = new System.Drawing.Point(232, 104);
     this.btnOK.Name         = "btnOK";
     this.btnOK.TabIndex     = 8;
     this.btnOK.Tag          = "mainsave";
     this.btnOK.Text         = "OK";
     //
     // Frm_expenselinkedpayment_default
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(418, 143);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.btnSpesa);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "Frm_expenselinkedpayment_default";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.ResumeLayout(false);
 }