namespace ProjectKnapsack.forms { partial class ParametersForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private Label capacityLabel; private NumericUpDown capacityNumericUpDown; private Label itemsLabel; private DataGridView itemsDataGridView; private Button okButton; private Button cancelButton; private void InitializeComponent() { capacityLabel = new Label(); capacityNumericUpDown = new NumericUpDown(); itemsLabel = new Label(); itemsDataGridView = new DataGridView(); okButton = new Button(); cancelButton = new Button(); SuspendLayout(); // Capacity Label capacityLabel.AutoSize = true; capacityLabel.Location = new System.Drawing.Point(12, 9); capacityLabel.Name = "capacityLabel"; capacityLabel.Size = new System.Drawing.Size(80, 13); capacityLabel.Text = "Knapsack Capacity:"; // Capacity NumericUpDown capacityNumericUpDown.Location = new System.Drawing.Point(150, 7); capacityNumericUpDown.Minimum = 1; capacityNumericUpDown.Maximum = 1000; capacityNumericUpDown.Name = "capacityNumericUpDown"; capacityNumericUpDown.Size = new System.Drawing.Size(120, 20); // Items Label itemsLabel.AutoSize = true; itemsLabel.Location = new System.Drawing.Point(12, 40); itemsLabel.Name = "itemsLabel"; itemsLabel.Size = new System.Drawing.Size(80, 13); itemsLabel.Text = "Items:"; // Items DataGridView itemsDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; itemsDataGridView.Columns.Add("Name", "Name"); itemsDataGridView.Columns.Add("Weight", "Weight"); itemsDataGridView.Columns.Add("Value", "Value"); itemsDataGridView.Location = new System.Drawing.Point(15, 60); itemsDataGridView.Name = "itemsDataGridView"; itemsDataGridView.Size = new System.Drawing.Size(360, 200); itemsDataGridView.AllowUserToAddRows = true; itemsDataGridView.AllowUserToDeleteRows = true; // OK Button okButton.Location = new System.Drawing.Point(219, 270); okButton.Name = "okButton"; okButton.Size = new System.Drawing.Size(75, 23); okButton.Text = "OK"; okButton.UseVisualStyleBackColor = true; okButton.Click += new EventHandler(okButton_Click); // Cancel Button cancelButton.Location = new System.Drawing.Point(300, 270); cancelButton.Name = "cancelButton"; cancelButton.Size = new System.Drawing.Size(75, 23); cancelButton.Text = "Cancel"; cancelButton.UseVisualStyleBackColor = true; cancelButton.Click += new EventHandler(cancelButton_Click); // ParametersForm ClientSize = new System.Drawing.Size(384, 311); Controls.Add(capacityLabel); Controls.Add(capacityNumericUpDown); Controls.Add(itemsLabel); Controls.Add(itemsDataGridView); Controls.Add(okButton); Controls.Add(cancelButton); Name = "ParametersForm"; Text = "Input Parameters"; FormBorderStyle = FormBorderStyle.FixedDialog; MaximizeBox = false; MinimizeBox = false; StartPosition = FormStartPosition.CenterParent; ((System.ComponentModel.ISupportInitialize)(capacityNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(itemsDataGridView)).EndInit(); } } #endregion }