/// <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();
     this._okButton      = new System.Windows.Forms.Button();
     this._cancelButton  = new System.Windows.Forms.Button();
     this._question      = new System.Windows.Forms.Label();
     this._errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     this._view          = new System.Windows.Forms.ListView();
     ((System.ComponentModel.ISupportInitialize)(this._errorProvider)).BeginInit();
     this.SuspendLayout();
     //
     // _okButton
     //
     this._okButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(255)))), ((int)(((byte)(221)))));
     this._okButton.Location  = new System.Drawing.Point(13, 206);
     this._okButton.Margin    = new System.Windows.Forms.Padding(4);
     this._okButton.Name      = "_okButton";
     this._okButton.Size      = new System.Drawing.Size(76, 26);
     this._okButton.TabIndex  = 0;
     this._okButton.Text      = "OK";
     this._okButton.UseVisualStyleBackColor = false;
     this._okButton.Click += new System.EventHandler(this.OkButtonHandler);
     //
     // _cancelButton
     //
     this._cancelButton.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(223)))), ((int)(((byte)(223)))));
     this._cancelButton.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this._cancelButton.Location                = new System.Drawing.Point(173, 206);
     this._cancelButton.Margin                  = new System.Windows.Forms.Padding(4);
     this._cancelButton.Name                    = "_cancelButton";
     this._cancelButton.Size                    = new System.Drawing.Size(76, 26);
     this._cancelButton.TabIndex                = 1;
     this._cancelButton.Text                    = "Annulla";
     this._cancelButton.UseVisualStyleBackColor = false;
     this._cancelButton.Click                  += new System.EventHandler(this.CancelButtonHandler);
     //
     // _question
     //
     this._question.AutoSize = true;
     this._question.Location = new System.Drawing.Point(12, 11);
     this._question.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this._question.Name     = "_question";
     this._question.Size     = new System.Drawing.Size(99, 17);
     this._question.TabIndex = 2;
     this._question.Text     = "Seleziona bundle";
     //
     // _errorProvider
     //
     this._errorProvider.BlinkStyle       = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;
     this._errorProvider.ContainerControl = this;
     //
     // _view
     //
     this._view.Location = new System.Drawing.Point(15, 31);
     this._view.Name     = "_view";
     this._view.Size     = new System.Drawing.Size(450, 168);
     this._view.TabIndex = 4;
     this._view.UseCompatibleStateImageBehavior = false;
     this._view.View = System.Windows.Forms.View.Details;
     this._view.Columns.Add("Nome");
     this._view.Columns.Add("Descrizione");
     this._view.Columns.Add("Prezzo");
     this._view.Columns.Add("Pacchetti");
     ResizeListView.autoResizeColumns(_view);
     this._view.SelectedIndexChanged += new System.EventHandler(this._view_SelectedIndexChanged);
     //
     // SelectionBundle
     //
     this.AcceptButton        = this._okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.CancelButton        = this._cancelButton;
     this.ClientSize          = new System.Drawing.Size(484, 245);
     this.Controls.Add(this._view);
     this.Controls.Add(this._question);
     this.Controls.Add(this._cancelButton);
     this.Controls.Add(this._okButton);
     this.Font            = new System.Drawing.Font("Calibri Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SelectionBundle";
     this.ShowIcon        = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.SelectionBundle_Load);
     ((System.ComponentModel.ISupportInitialize)(this._errorProvider)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#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._listPanel    = new System.Windows.Forms.Panel();
     this._listView     = new System.Windows.Forms.ListView();
     this._actionPanel  = new System.Windows.Forms.Panel();
     this._deleteButton = new System.Windows.Forms.Button();
     this._addButton    = new System.Windows.Forms.Button();
     this._listPanel.SuspendLayout();
     this._actionPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // _listPanel
     //
     this._listPanel.AutoScroll = true;
     this._listPanel.BackColor  = System.Drawing.SystemColors.ActiveCaption;
     this._listPanel.Controls.Add(this._listView);
     this._listPanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this._listPanel.Location = new System.Drawing.Point(0, 0);
     this._listPanel.Margin   = new System.Windows.Forms.Padding(0);
     this._listPanel.Name     = "_listPanel";
     this._listPanel.Size     = new System.Drawing.Size(354, 362);
     this._listPanel.TabIndex = 0;
     //
     // _listView
     //
     this._listView.BackColor     = System.Drawing.Color.White;
     this._listView.Dock          = System.Windows.Forms.DockStyle.Fill;
     this._listView.FullRowSelect = true;
     this._listView.GridLines     = true;
     this._listView.Location      = new System.Drawing.Point(0, 0);
     this._listView.Name          = "_listView";
     this._listView.Size          = new System.Drawing.Size(354, 362);
     this._listView.TabIndex      = 0;
     this._listView.UseCompatibleStateImageBehavior = false;
     this._listView.View = System.Windows.Forms.View.Details;
     this._listView.Columns.Add("Nome");
     this._listView.Columns.Add("Descrizione");
     this._listView.Columns.Add("Prezzo");
     this._listView.Columns.Add("Pacchetti");
     ResizeListView.autoResizeColumns(_listView);
     //
     // _actionPanel
     //
     this._actionPanel.BackColor = System.Drawing.Color.White;
     this._actionPanel.Controls.Add(this._deleteButton);
     this._actionPanel.Controls.Add(this._addButton);
     this._actionPanel.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this._actionPanel.Location = new System.Drawing.Point(0, 253);
     this._actionPanel.Margin   = new System.Windows.Forms.Padding(0);
     this._actionPanel.Name     = "_actionPanel";
     this._actionPanel.Size     = new System.Drawing.Size(354, 65);
     this._actionPanel.TabIndex = 1;
     //
     // _deleteButton
     //
     this._deleteButton.Location = new System.Drawing.Point(174, 21);
     this._deleteButton.Name     = "_deleteButton";
     this._deleteButton.Size     = new System.Drawing.Size(75, 23);
     this._deleteButton.TabIndex = 2;
     this._deleteButton.Text     = "DELETE";
     this._deleteButton.UseVisualStyleBackColor = true;
     //
     // _addButton
     //
     this._addButton.Location = new System.Drawing.Point(12, 21);
     this._addButton.Name     = "_addButton";
     this._addButton.Size     = new System.Drawing.Size(75, 23);
     this._addButton.TabIndex = 1;
     this._addButton.Text     = "ADD";
     this._addButton.UseVisualStyleBackColor = true;
     //
     // BundleManagerView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(354, 318);
     this.Controls.Add(this._actionPanel);
     this.Controls.Add(this._listPanel);
     this.MinimumSize = new System.Drawing.Size(200, 300);
     this.Name        = "BundleManagerView";
     this.Text        = "BundleManagerView";
     this._listPanel.ResumeLayout(false);
     this._actionPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }