285 lines
11 KiB
C#
285 lines
11 KiB
C#
using System.ComponentModel;
|
|
|
|
namespace C968Project.Views;
|
|
|
|
partial class MainScreen
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
panel1 = new Panel();
|
|
exitButton = new Button();
|
|
productsDeleteButton = new Button();
|
|
productsModifyButton = new Button();
|
|
productsAddButton = new Button();
|
|
productsSearchButton = new Button();
|
|
productsSearchTextBox = new TextBox();
|
|
productsLabel = new Label();
|
|
productsDataGridView = new DataGridView();
|
|
partsDeleteButton = new Button();
|
|
partsModifyButton = new Button();
|
|
partsAddButton = new Button();
|
|
partsSearchButton = new Button();
|
|
partsSearchTextBox = new TextBox();
|
|
label2 = new Label();
|
|
mainScreenLabel = new Label();
|
|
partsDataGridView = new DataGridView();
|
|
panel1.SuspendLayout();
|
|
((ISupportInitialize)productsDataGridView).BeginInit();
|
|
((ISupportInitialize)partsDataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.AutoSize = true;
|
|
panel1.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
panel1.Controls.Add(exitButton);
|
|
panel1.Controls.Add(productsDeleteButton);
|
|
panel1.Controls.Add(productsModifyButton);
|
|
panel1.Controls.Add(productsAddButton);
|
|
panel1.Controls.Add(productsSearchButton);
|
|
panel1.Controls.Add(productsSearchTextBox);
|
|
panel1.Controls.Add(productsLabel);
|
|
panel1.Controls.Add(productsDataGridView);
|
|
panel1.Controls.Add(partsDeleteButton);
|
|
panel1.Controls.Add(partsModifyButton);
|
|
panel1.Controls.Add(partsAddButton);
|
|
panel1.Controls.Add(partsSearchButton);
|
|
panel1.Controls.Add(partsSearchTextBox);
|
|
panel1.Controls.Add(label2);
|
|
panel1.Controls.Add(mainScreenLabel);
|
|
panel1.Controls.Add(partsDataGridView);
|
|
panel1.Dock = DockStyle.Fill;
|
|
panel1.Location = new Point(0, 0);
|
|
panel1.Margin = new Padding(0);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(929, 450);
|
|
panel1.TabIndex = 0;
|
|
//
|
|
// exitButton
|
|
//
|
|
exitButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
exitButton.Location = new Point(842, 415);
|
|
exitButton.Name = "exitButton";
|
|
exitButton.Size = new Size(75, 23);
|
|
exitButton.TabIndex = 16;
|
|
exitButton.Text = "Exit";
|
|
exitButton.UseVisualStyleBackColor = true;
|
|
exitButton.Click += exitButton_Click;
|
|
//
|
|
// productsDeleteButton
|
|
//
|
|
productsDeleteButton.Anchor = AnchorStyles.Right;
|
|
productsDeleteButton.Location = new Point(869, 289);
|
|
productsDeleteButton.Name = "productsDeleteButton";
|
|
productsDeleteButton.Size = new Size(48, 23);
|
|
productsDeleteButton.TabIndex = 15;
|
|
productsDeleteButton.Text = "Delete";
|
|
productsDeleteButton.UseVisualStyleBackColor = true;
|
|
productsDeleteButton.Click += productsDeleteButton_Click;
|
|
//
|
|
// productsModifyButton
|
|
//
|
|
productsModifyButton.Anchor = AnchorStyles.Right;
|
|
productsModifyButton.Location = new Point(810, 289);
|
|
productsModifyButton.Name = "productsModifyButton";
|
|
productsModifyButton.Size = new Size(53, 23);
|
|
productsModifyButton.TabIndex = 14;
|
|
productsModifyButton.Text = "Modify";
|
|
productsModifyButton.UseVisualStyleBackColor = true;
|
|
productsModifyButton.Click += productsModifyButton_Click;
|
|
//
|
|
// productsAddButton
|
|
//
|
|
productsAddButton.Anchor = AnchorStyles.Right;
|
|
productsAddButton.Location = new Point(762, 289);
|
|
productsAddButton.Name = "productsAddButton";
|
|
productsAddButton.Size = new Size(42, 23);
|
|
productsAddButton.TabIndex = 13;
|
|
productsAddButton.Text = "Add";
|
|
productsAddButton.UseVisualStyleBackColor = true;
|
|
productsAddButton.Click += productsAddButton_Click;
|
|
//
|
|
// productsSearchButton
|
|
//
|
|
productsSearchButton.Anchor = AnchorStyles.Right;
|
|
productsSearchButton.Location = new Point(680, 75);
|
|
productsSearchButton.Name = "productsSearchButton";
|
|
productsSearchButton.Size = new Size(53, 23);
|
|
productsSearchButton.TabIndex = 12;
|
|
productsSearchButton.Text = "Search";
|
|
productsSearchButton.TextImageRelation = TextImageRelation.ImageAboveText;
|
|
productsSearchButton.UseVisualStyleBackColor = true;
|
|
productsSearchButton.Click += productsSearchButton_Click;
|
|
//
|
|
// productsSearchTextBox
|
|
//
|
|
productsSearchTextBox.Anchor = AnchorStyles.Right;
|
|
productsSearchTextBox.Location = new Point(739, 75);
|
|
productsSearchTextBox.Name = "productsSearchTextBox";
|
|
productsSearchTextBox.Size = new Size(178, 23);
|
|
productsSearchTextBox.TabIndex = 11;
|
|
//
|
|
// productsLabel
|
|
//
|
|
productsLabel.Anchor = AnchorStyles.Right;
|
|
productsLabel.AutoSize = true;
|
|
productsLabel.Location = new Point(477, 83);
|
|
productsLabel.Name = "productsLabel";
|
|
productsLabel.Size = new Size(54, 15);
|
|
productsLabel.TabIndex = 10;
|
|
productsLabel.Text = "Products";
|
|
//
|
|
// productsDataGridView
|
|
//
|
|
productsDataGridView.Anchor = AnchorStyles.Right;
|
|
productsDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
productsDataGridView.Location = new Point(477, 112);
|
|
productsDataGridView.Name = "productsDataGridView";
|
|
productsDataGridView.Size = new Size(440, 162);
|
|
productsDataGridView.TabIndex = 9;
|
|
//
|
|
// partsDeleteButton
|
|
//
|
|
partsDeleteButton.Anchor = AnchorStyles.Left;
|
|
partsDeleteButton.Location = new Point(404, 289);
|
|
partsDeleteButton.Name = "partsDeleteButton";
|
|
partsDeleteButton.Size = new Size(48, 23);
|
|
partsDeleteButton.TabIndex = 8;
|
|
partsDeleteButton.Text = "Delete";
|
|
partsDeleteButton.UseVisualStyleBackColor = true;
|
|
partsDeleteButton.Click += partsDeleteButton_Click;
|
|
//
|
|
// partsModifyButton
|
|
//
|
|
partsModifyButton.Anchor = AnchorStyles.Left;
|
|
partsModifyButton.Location = new Point(345, 289);
|
|
partsModifyButton.Name = "partsModifyButton";
|
|
partsModifyButton.Size = new Size(53, 23);
|
|
partsModifyButton.TabIndex = 7;
|
|
partsModifyButton.Text = "Modify";
|
|
partsModifyButton.UseVisualStyleBackColor = true;
|
|
partsModifyButton.Click += partsModifyButton_Click;
|
|
//
|
|
// partsAddButton
|
|
//
|
|
partsAddButton.Anchor = AnchorStyles.Left;
|
|
partsAddButton.Location = new Point(297, 289);
|
|
partsAddButton.Name = "partsAddButton";
|
|
partsAddButton.Size = new Size(42, 23);
|
|
partsAddButton.TabIndex = 6;
|
|
partsAddButton.Text = "Add";
|
|
partsAddButton.UseVisualStyleBackColor = true;
|
|
partsAddButton.Click += partsAddButton_Click;
|
|
//
|
|
// partsSearchButton
|
|
//
|
|
partsSearchButton.Anchor = AnchorStyles.Left;
|
|
partsSearchButton.Location = new Point(215, 75);
|
|
partsSearchButton.Name = "partsSearchButton";
|
|
partsSearchButton.Size = new Size(53, 23);
|
|
partsSearchButton.TabIndex = 5;
|
|
partsSearchButton.Text = "Search";
|
|
partsSearchButton.TextImageRelation = TextImageRelation.ImageAboveText;
|
|
partsSearchButton.UseVisualStyleBackColor = true;
|
|
partsSearchButton.Click += partsSearchButton_Click;
|
|
//
|
|
// partsSearchTextBox
|
|
//
|
|
partsSearchTextBox.Anchor = AnchorStyles.Left;
|
|
partsSearchTextBox.Location = new Point(274, 75);
|
|
partsSearchTextBox.Name = "partsSearchTextBox";
|
|
partsSearchTextBox.Size = new Size(178, 23);
|
|
partsSearchTextBox.TabIndex = 4;
|
|
//
|
|
// label2
|
|
//
|
|
label2.Anchor = AnchorStyles.Left;
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(12, 83);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(33, 15);
|
|
label2.TabIndex = 3;
|
|
label2.Text = "Parts";
|
|
//
|
|
// mainScreenLabel
|
|
//
|
|
mainScreenLabel.AutoSize = true;
|
|
mainScreenLabel.Location = new Point(12, 9);
|
|
mainScreenLabel.Name = "mainScreenLabel";
|
|
mainScreenLabel.Size = new Size(172, 15);
|
|
mainScreenLabel.TabIndex = 2;
|
|
mainScreenLabel.Text = "Inventory Management System";
|
|
//
|
|
// partsDataGridView
|
|
//
|
|
partsDataGridView.Anchor = AnchorStyles.Left;
|
|
partsDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
partsDataGridView.Location = new Point(12, 112);
|
|
partsDataGridView.Name = "partsDataGridView";
|
|
partsDataGridView.Size = new Size(440, 162);
|
|
partsDataGridView.TabIndex = 0;
|
|
//
|
|
// MainScreen
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(929, 450);
|
|
Controls.Add(panel1);
|
|
MaximumSize = new Size(945, 489);
|
|
MinimumSize = new Size(945, 489);
|
|
Name = "MainScreen";
|
|
Text = "Main Screen";
|
|
panel1.ResumeLayout(false);
|
|
panel1.PerformLayout();
|
|
((ISupportInitialize)productsDataGridView).EndInit();
|
|
((ISupportInitialize)partsDataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
#endregion
|
|
|
|
private DataGridView partsDataGridView;
|
|
private Label mainScreenLabel;
|
|
private Button partsSearchButton;
|
|
private TextBox partsSearchTextBox;
|
|
private Label label2;
|
|
private Button partsModifyButton;
|
|
private Button partsAddButton;
|
|
private Button productsDeleteButton;
|
|
private Button productsModifyButton;
|
|
private Button productsAddButton;
|
|
private Button productsSearchButton;
|
|
private TextBox productsSearchTextBox;
|
|
private Label productsLabel;
|
|
private DataGridView productsDataGridView;
|
|
private Button partsDeleteButton;
|
|
private Button exitButton;
|
|
} |