Idea Transcript
AN AUTOMATED INVENTORY SYSTEM USING QUICK RESPONSE (QR) CODE AND BARCODE FOR PROPERTY MANAGEMENT OF THE BOY SCOUTS OF THE PHILIPPINES
by
Mark Anthony D. De Chavez Denise R. de Ocampo John Lerry M. Palma Romar M. Roca
A Design Report Submitted to the School of Electrical Engineering, Electronics Engineering, and Computer Engineering in Partial Fulfilment of the Requirements for the Degree
Bachelor of Science in Computer Engineering
Mapúa Institute of Technology September 2015
ii
ACKNOWLEDGEMENT
The proponents would like to acknowledge and extend their gratitude first, to their instructors, Engr. Dionis A. Padilla and Engr. Jumelyn L. Torres, for their patience and encouragement to complete the group’s design proposal and for their comments and advices for the success of the design project. The group would also like to thank their Design adviser, Engr. Analyn N. Yumang, and their panels, Engr. Meo Vincent C. Caya, Engr. Noel B. Linsangan, and Engr. Dionis A. Padilla, for giving them advices for the betterment and improvement of their Design project. They would also like to thank their family, especially their parents, for their continuous support and motivation. They are also thankful to their friends who supported them in order to accomplish this Design project. Most of all, they are very grateful and thankful to God for giving them the strength, knowledge, and wisdom that serve as the key to finished this project successfully, and for His continuous guidance and protection. They thank God for making all these things possible.
iii
ROLES AND RESPONSIBILITIES OF GROUP MEMBERS
De Chavez, Mark Anthony D.
Created the schematic diagram
Created the program for the system
Contributed in the documentation o Chapter 3 – Software Development o Chapter 3 – Prototype Development o Chapter 4 – Testing tables o Chapter 5 – Conclusion and Recommendation o Appendix o IEEE paper
Created the DFD, ERD, >true if managed resources
///
disposed;
/// the contents of this method with the code editor. /// private
void
InitializeComponent()
108
{
this.label4 this.components
=
new
new
System.Windows.Forms.Label();
System.ComponentModel.Container() ;
=
this.btnDecode
=
new
System.Windows.Forms.Button(); this.btnBack
=
new
System.Windows.Forms.Button(); this.btnAddItem
=
=
new
=
System.Windows.Forms.TextBox(); this.label7
new
=
System.Windows.Forms.TextBox();
System.Windows.Forms.TextBox(); this.txtBoxItemName = new System.Windows.Forms.TextBox();
System.Windows.Forms.Label();
new
this.txtBoxSerialNumber
this.txtBoxItemCode = new
=
=
System.Windows.Forms.Label();
System.Windows.Forms.Label();
this.label1
new
this.txtBoxPropertyNo = new
this.label8 new
=
System.Windows.Forms.Label();
System.Windows.Forms.Label(); this.label2
=
new
System.Windows.Forms.TextBox(); this.label3
new
this.txtBoxOfficeRegion
System.Windows.Forms.Label(); this.txtBoxDescription = new
=
System.Windows.Forms.Label();
new
System.Windows.Forms.Button(); this.label5
this.label6
new
=
new System.Windows.Forms.TextBox(); this.label9
=
new
System.Windows.Forms.Label(); this.label10
=
new
System.Windows.Forms.Label();
109
this.txtBoxAcquisitionMode =
this.txtBoxRemarks = new
new
System.Windows.Forms.TextBox();
System.Windows.Forms.TextBox(); this.label11
=
this.txtBoxUnit
new
this.label14
this.serialPort1
this.label12
=
=
new
System.Windows.Forms.Label();
new System.Windows.Forms.TextBox();
new
System.Windows.Forms.TextBox();
System.Windows.Forms.Label(); this.txtBoxAcquisitionCost =
=
=
new
System.IO.Ports.SerialPort(this.comp
new
onents);
System.Windows.Forms.Label(); this.txtBoxCategory = new System.Windows.Forms.TextBox(); this.pictureBoxQRCode
((System.ComponentModel.ISupportI nitialize)(this.pictureBoxQRCode)).Be
=
ginInit();
new
this.SuspendLayout();
System.Windows.Forms.PictureBox()
//
;
// btnBack this.txtBoxDateOfPurchase =
//
new
this.btnBack.BackColor
System.Windows.Forms.TextBox(); this.label13
=
System.Windows.Forms.Label();
=
System.Drawing.Color.DodgerBlue;
new
this.btnBack.Font
=
System.Drawing.Font("Segoe
new UI",
10F);
110
this.btnBack.ForeColor
=
System.Drawing.Color.White;
this.btnAddItem.BackColor = System.Drawing.Color.DodgerBlue;
this.btnBack.Location = new System.Drawing.Point(18, 432);
this.btnAddItem.Font = new System.Drawing.Font("Segoe
this.btnBack.Margin = new
10F);
System.Windows.Forms.Padding(2); this.btnBack.Name
=
this.btnAddItem.ForeColor = System.Drawing.Color.White;
"btnBack"; this.btnBack.Size
UI",
this.btnAddItem.Location = =
new
System.Drawing.Size(69, 32);
new 432);
this.btnBack.TabIndex = 13; this.btnBack.Text = "Back";
System.Drawing.Point(742,
this.btnAddItem.Margin
=
new System.Windows.Forms.Padding(2);
this.btnBack.UseVisualStyleBackColor = false;
this.btnAddItem.Name
=
"btnAddItem"; this.btnBack.Click += new
System.EventHandler(this.btnBack_C
this.btnAddItem.Size = new System.Drawing.Size(69, 32);
lick);
this.btnAddItem.TabIndex = //
13;
// btnAddItem //
this.btnAddItem.Text
=
"Add";
111
this.label5.Margin
=
new
this.btnAddItem.UseVisualStyleBackC
System.Windows.Forms.Padding(2,
olor = false;
0, 2, 0);
this.btnAddItem.Click
+=
this.label5.Name = "label5";
new
this.label5.Size
System.EventHandler(this.btnAddIte
new
System.Drawing.Size(245, 24);
m_Click);
this.label5.TabIndex = 41;
//
this.label5.Text
// label5
=
"Description";
// this.label5.Font
=
// =
new
// txtBoxDescription
System.Drawing.Font("Segoe
UI",
//
12F,
this.txtBoxDescription.Font
System.Drawing.FontStyle.Regular,
= new System.Drawing.Font("Segoe
System.Drawing.GraphicsUnit.Point,
UI",
((byte)(0)));
System.Drawing.FontStyle.Regular,
this.label5.ForeColor
=
System.Drawing.Color.White;
10.2F,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.Location = new System.Drawing.Point(278, 157);
this.txtBoxDescription.Location new
=
System.Drawing.Point(282,
184);
112
this.label3.ForeColor this.txtBoxDescription.Margin = new
=
System.Drawing.Color.White;
System.Windows.Forms.Padding(2);
this.label3.Location = new System.Drawing.Point(279, 372);
this.txtBoxDescription.Multiline
=
true;
this.label3.Margin
=
new
System.Windows.Forms.Padding(2, this.txtBoxDescription.Name
0, 2, 0);
= "txtBoxDescription";
this.label3.Name = "label3";
this.txtBoxDescription.Size = new System.Drawing.Size(242, 132);
this.label3.Size
=
new
System.Drawing.Size(245, 24); this.label3.TabIndex = 40;
this.txtBoxDescription.TabIndex
=
10;
this.label3.Text
=
"Item
Code"; //
//
// label3
// label2
//
//
this.label3.Font
=
new
System.Drawing.Font("Segoe
UI",
this.label2.Font
=
new
System.Drawing.Font("Segoe
UI",
12F,
12F,
System.Drawing.FontStyle.Regular,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
((byte)(0)));
113
this.label2.ForeColor
=
System.Drawing.Color.White;
this.txtBoxItemCode.Location = new
this.label2.Location = new
System.Drawing.Point(281, 398);
System.Drawing.Point(15, 50); this.label2.Margin
this.txtBoxItemCode.Margin
=
new
System.Windows.Forms.Padding(2,
=
new
System.Windows.Forms.Padding(2);
0, 2, 0);
this.txtBoxItemCode.Name this.label2.Name = "label2"; this.label2.Size
=
= "txtBoxItemCode";
new
System.Drawing.Size(245, 24);
this.txtBoxItemCode.Size = new System.Drawing.Size(242, 26);
this.label2.TabIndex = 39; this.label2.Text = "Name";
this.txtBoxItemCode.TabIndex = 11;
//
//
// txtBoxItemCode
// txtBoxItemName
//
//
this.txtBoxItemCode.Font = new
System.Drawing.Font("Segoe
UI",
10.2F,
this.txtBoxItemName.AutoComplete Mode
=
System.Drawing.FontStyle.Regular,
System.Windows.Forms.AutoComplet
System.Drawing.GraphicsUnit.Point,
eMode.Suggest;
((byte)(0))); this.txtBoxItemName.AutoCompleteS
114
ource
=
// label1
System.Windows.Forms.AutoComplet
//
eSource.CustomSource;
this.label1.Font
=
this.txtBoxItemName.Font =
System.Drawing.Font("Microsoft
new
System.Drawing.Font("Segoe
Sans
UI",
10.2F,
Serif",
new
12F,
System.Drawing.FontStyle.Bold,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
((byte)(0)));
this.label1.ForeColor
=
System.Drawing.Color.White; this.txtBoxItemName.Location = new System.Drawing.Point(19, 76);
this.label1.Location = new System.Drawing.Point(15, 17);
this.txtBoxItemName.Margin =
new
System.Windows.Forms.Padding(2); this.txtBoxItemName.Name = "txtBoxItemName"; this.txtBoxItemName.Size = new System.Drawing.Size(242, 26);
this.label1.Margin
=
new
System.Windows.Forms.Padding(2, 0, 2, 0); this.label1.Name = "label1"; this.label1.Size
=
new
System.Drawing.Size(267, 24); this.label1.TabIndex = 38; this.label1.Text = "Adding
this.txtBoxItemName.TabIndex = 1; //
new Item"; //
115
// label4
// btnDecode
//
//
this.label4.Font
=
new
System.Drawing.Font("Segoe
UI",
this.btnDecode.BackColor = System.Drawing.Color.DodgerBlue;
12F,
this.btnDecode.Font = new
System.Drawing.FontStyle.Regular,
System.Drawing.Font("Segoe
System.Drawing.GraphicsUnit.Point,
10F);
((byte)(0)));
this.btnDecode.ForeColor =
this.label4.ForeColor
=
System.Drawing.Color.White;
System.Drawing.Color.White;
this.btnDecode.Location
this.label4.Location = new
this.label4.Margin
=
this.btnDecode.Margin new
System.Windows.Forms.Padding(2,
System.Windows.Forms.Padding(2); this.btnDecode.Name
=
this.btnDecode.Size = new System.Drawing.Size(69, 32);
this.label4.TabIndex = 43; this.label4.Text
=
"Scan
this.btnDecode.TabIndex = 12;
Code";
this.btnDecode.Text //
=
"btnDecode";
new
System.Drawing.Size(245, 24);
=
new
0, 2, 0); this.label4.Name = "label4";
=
new System.Drawing.Point(742, 42);
System.Drawing.Point(545, 50);
this.label4.Size
UI",
=
"Scan";
116
this.label6.Name = "label6"; this.btnDecode.UseVisualStyleBackCo lor = false;
this.label6.Size
=
new
System.Drawing.Size(245, 24);
this.btnDecode.Click += new
this.label6.TabIndex = 46;
System.EventHandler(this.btnDecode _Click);
this.label6.Text
=
"Office/Region"; //
//
// label6
// txtBoxOfficeRegion
//
//
this.label6.Font
=
new
System.Drawing.Font("Segoe
UI",
this.txtBoxOfficeRegion.AutoComplet
12F,
eMode
=
System.Drawing.FontStyle.Regular,
System.Windows.Forms.AutoComplet
System.Drawing.GraphicsUnit.Point,
eMode.Suggest;
((byte)(0))); this.label6.ForeColor
=
System.Drawing.Color.White;
eSource
this.label6.Location = new System.Drawing.Point(15, 157); this.label6.Margin
=
this.txtBoxOfficeRegion.AutoComplet =
System.Windows.Forms.AutoComplet eSource.CustomSource;
new
this.txtBoxOfficeRegion.Font
System.Windows.Forms.Padding(2,
= new System.Drawing.Font("Segoe
0, 2, 0);
UI",
10.2F,
117
System.Drawing.FontStyle.Regular,
this.label7.Font
=
new
System.Drawing.GraphicsUnit.Point,
System.Drawing.Font("Segoe
UI",
((byte)(0)));
12F, System.Drawing.FontStyle.Regular,
this.txtBoxOfficeRegion.Location
=
new System.Drawing.Point(19, 184);
System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.ForeColor
this.txtBoxOfficeRegion.Margin
=
System.Drawing.Color.White;
new
this.label7.Location = new
System.Windows.Forms.Padding(2);
System.Drawing.Point(15, 210); this.label7.Margin
this.txtBoxOfficeRegion.Name
=
"txtBoxOfficeRegion";
new
=
new
System.Windows.Forms.Padding(2, 0, 2, 0);
this.txtBoxOfficeRegion.Size =
=
this.label7.Name = "label7";
System.Drawing.Size(242,
26);
this.label7.Size
=
new
System.Drawing.Size(245, 24); this.label7.TabIndex = 48;
this.txtBoxOfficeRegion.TabIndex 3;
=
this.label7.Text = "Property No.";
//
//
// label7
// txtBoxPropertyNo
//
//
118
this.txtBoxPropertyNo.Font
this.label8.Font
=
new
= new System.Drawing.Font("Segoe
System.Drawing.Font("Segoe
UI",
UI",
12F,
10.2F,
System.Drawing.FontStyle.Regular,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
((byte)(0))); this.label8.ForeColor
this.txtBoxPropertyNo.Location
=
=
System.Drawing.Color.White;
new System.Drawing.Point(19, 237);
this.label8.Location = new System.Drawing.Point(15, 264);
this.txtBoxPropertyNo.Margin = new
this.label8.Margin
System.Windows.Forms.Padding(2);
System.Windows.Forms.Padding(2,
this.txtBoxPropertyNo.Name = "txtBoxPropertyNo"; this.txtBoxPropertyNo.Size = new System.Drawing.Size(242, 26);
=
new
0, 2, 0); this.label8.Name = "label8"; this.label8.Size
=
new
System.Drawing.Size(245, 24); this.label8.TabIndex = 50;
this.txtBoxPropertyNo.TabIndex = 4; //
this.label8.Text
=
"Serial
Number";
// label8
//
//
// txtBoxSerialNumber //
119
this.txtBoxSerialNumber.Font = new
this.txtBoxSerialNumber.TabIndex =
System.Drawing.Font("Segoe
5;
UI",
10.2F,
//
System.Drawing.FontStyle.Regular,
// label9
System.Drawing.GraphicsUnit.Point,
//
((byte)(0)));
this.label9.Font
this.txtBoxSerialNumber.Location
=
new System.Drawing.Point(19, 291);
=
new
System.Drawing.Font("Segoe
UI",
12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
this.txtBoxSerialNumber.Margin
=
((byte)(0)));
new
this.label9.ForeColor
System.Windows.Forms.Padding(2);
=
System.Drawing.Color.White; this.label9.Location = new
this.txtBoxSerialNumber.Name
=
System.Drawing.Point(15, 318);
"txtBoxSerialNumber"; this.txtBoxSerialNumber.Size = 26);
new
System.Drawing.Size(242,
this.label9.Margin
=
new
System.Windows.Forms.Padding(2, 0, 2, 0); this.label9.Name = "label9"; this.label9.Size
=
new
System.Drawing.Size(245, 24);
120
this.label9.TabIndex = 52;
this.label10.Size
this.label9.Text = "Date of
new
System.Drawing.Size(245, 24);
Purchase";
this.label10.TabIndex = 56;
//
this.label10.Text = "Mode of
// label10
Acquisition";
// this.label10.Font
=
// =
System.Drawing.Font("Segoe
new
// txtBoxAcquisitionMode
UI",
//
12F, System.Drawing.FontStyle.Regular,
this.txtBoxAcquisitionMode.AutoCom
System.Drawing.GraphicsUnit.Point,
pleteMode
((byte)(0)));
System.Windows.Forms.AutoComplet
this.label10.ForeColor
=
=
eMode.Suggest;
System.Drawing.Color.White; this.label10.Location = new System.Drawing.Point(278, 103);
this.txtBoxAcquisitionMode.AutoCom pleteSource
this.label10.Margin = new System.Windows.Forms.Padding(2,
=
System.Windows.Forms.AutoComplet eSource.CustomSource;
0, 2, 0); this.label10.Name "label10";
=
this.txtBoxAcquisitionMode.Font
=
new
System.Drawing.Font("Segoe
UI",
10.2F,
121
System.Drawing.FontStyle.Regular,
//
System.Drawing.GraphicsUnit.Point,
this.label11.Font
((byte)(0)));
=
System.Drawing.Font("Segoe
new UI",
12F, this.txtBoxAcquisitionMode.Location
System.Drawing.FontStyle.Regular,
= new
System.Drawing.GraphicsUnit.Point,
System.Drawing.Point(282,
130);
((byte)(0))); this.label11.ForeColor
this.txtBoxAcquisitionMode.Margin =
=
System.Drawing.Color.White;
new
this.label11.Location = new
System.Windows.Forms.Padding(2);
System.Drawing.Point(278, 50); this.label11.Margin = new
this.txtBoxAcquisitionMode.Name =
System.Windows.Forms.Padding(2,
"txtBoxAcquisitionMode";
0, 2, 0); this.label11.Name
this.txtBoxAcquisitionMode.Size
=
new System.Drawing.Size(242, 26);
=
"label11"; this.label11.Size
=
new
System.Drawing.Size(245, 24); this.txtBoxAcquisitionMode.TabIndex
this.label11.TabIndex = 54;
= 9;
this.label11.Text // // label11
=
"Acquisition Cost"; //
122
// txtBoxAcquisitionCost //
this.txtBoxAcquisitionCost.TabIndex = 8;
this.txtBoxAcquisitionCost.Font
=
new
System.Drawing.Font("Segoe
UI",
10.2F,
// // label12 //
System.Drawing.FontStyle.Regular,
this.label12.Font
=
System.Drawing.GraphicsUnit.Point,
System.Drawing.Font("Segoe
((byte)(0)));
12F,
new UI",
System.Drawing.FontStyle.Regular, this.txtBoxAcquisitionCost.Location =
System.Drawing.GraphicsUnit.Point,
new System.Drawing.Point(282, 76);
((byte)(0))); this.label12.ForeColor
this.txtBoxAcquisitionCost.Margin
=
=
System.Drawing.Color.White;
new
this.label12.Location = new
System.Windows.Forms.Padding(2);
System.Drawing.Point(15, 103); this.label12.Margin = new
this.txtBoxAcquisitionCost.Name
=
"txtBoxAcquisitionCost";
System.Windows.Forms.Padding(2, 0, 2, 0); this.label12.Name
this.txtBoxAcquisitionCost.Size = new
=
"label12";
System.Drawing.Size(242, 26);
123
this.label12.Size
=
new
System.Drawing.Size(245, 24);
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.TabIndex = 59; this.label12.Text
=
"Category";
this.txtBoxCategory.Location =
new
System.Drawing.Point(19,
130);
//
this.txtBoxCategory.Margin
// txtBoxCategory
=
new
//
System.Windows.Forms.Padding(2); this.txtBoxCategory.Name =
this.txtBoxCategory.AutoCompleteMo de
=
System.Windows.Forms.AutoComplet
"txtBoxCategory"; this.txtBoxCategory.Size
=
new System.Drawing.Size(242, 26);
eMode.Suggest; this.txtBoxCategory.TabIndex = 2; this.txtBoxCategory.AutoCompleteSo
//
urce
// pictureBoxQRCode
=
System.Windows.Forms.AutoComplet
//
eSource.CustomSource; this.txtBoxCategory.Font
=
new
System.Drawing.Font("Segoe
UI",
10.2F,
this.pictureBoxQRCode.Location
=
new System.Drawing.Point(549, 76);
System.Drawing.FontStyle.Regular,
124
System.Drawing.FontStyle.Regular, this.pictureBoxQRCode.Margin = new
System.Drawing.GraphicsUnit.Point,
System.Windows.Forms.Padding(2);
((byte)(0)));
this.pictureBoxQRCode.Name
this.txtBoxDateOfPurchase.Location
=
"pictureBoxQRCode";
=
this.pictureBoxQRCode.Size =
new
new
System.Drawing.Point(18,
344);
System.Drawing.Size(262,
292);
this.txtBoxDateOfPurchase.Margin = new
this.pictureBoxQRCode.TabIndex
=
System.Windows.Forms.Padding(2);
62; this.txtBoxDateOfPurchase.Name this.pictureBoxQRCode.TabStop
=
=
"txtBoxDateOfPurchase";
false; //
this.txtBoxDateOfPurchase.Size
=
// txtBoxDateOfPurchase
new System.Drawing.Size(242, 26);
// this.txtBoxDateOfPurchase.TabIndex this.txtBoxDateOfPurchase.Font
=
new
System.Drawing.Font("Segoe
UI",
10.2F,
= 6; // // label13
125
// this.label13.Font
// txtBoxRemarks =
System.Drawing.Font("Segoe
new
//
UI",
12F,
this.txtBoxRemarks.AutoCompleteMo
System.Drawing.FontStyle.Regular,
de
System.Drawing.GraphicsUnit.Point,
System.Windows.Forms.AutoComplet
((byte)(0)));
eMode.Suggest;
this.label13.ForeColor
=
System.Drawing.Color.White;
this.txtBoxRemarks.AutoCompleteSo
this.label13.Location = new System.Drawing.Point(279, 318);
urce
eSource.CustomSource;
System.Windows.Forms.Padding(2,
this.txtBoxRemarks.Font
0, 2, 0); =
"label13"; this.label13.Size
new
System.Drawing.Font("Segoe
UI",
10.2F,
=
new
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label13.TabIndex = 65;
"Remarks";
=
System.Drawing.FontStyle.Regular,
System.Drawing.Size(245, 24);
this.label13.Text
=
System.Windows.Forms.AutoComplet
this.label13.Margin = new
this.label13.Name
=
=
this.txtBoxRemarks.Location = new
System.Drawing.Point(281,
344);
//
126
this.txtBoxRemarks.Margin =
this.txtBoxUnit.Margin
=
new
new
System.Windows.Forms.Padding(2);
System.Windows.Forms.Padding(2);
this.txtBoxRemarks.Name = "txtBoxRemarks";
this.txtBoxUnit.Name
=
"txtBoxUnit";
this.txtBoxRemarks.Size
=
new System.Drawing.Size(242, 26);
this.txtBoxUnit.Size = new System.Drawing.Size(242, 26); this.txtBoxUnit.TabIndex
this.txtBoxRemarks.TabIndex = 11;
7;
//
//
// txtBoxUnit
// label14
//
//
this.txtBoxUnit.Font = new
this.label14.Font
System.Drawing.Font("Segoe
UI",
=
=
System.Drawing.Font("Segoe
new UI",
10.2F,
12F,
System.Drawing.FontStyle.Regular,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
((byte)(0)));
this.txtBoxUnit.Location
=
new System.Drawing.Point(19, 398);
this.label14.ForeColor
=
System.Drawing.Color.White; this.label14.Location = new System.Drawing.Point(16, 372);
127
this.label14.Margin = new System.Windows.Forms.Padding(2,
this.Controls.Add(this.txtBoxUnit);
0, 2, 0); this.label14.Name
=
this.Controls.Add(this.label14);
new
this.Controls.Add(this.label13);
"label14"; this.label14.Size
=
System.Drawing.Size(245, 24); this.label14.TabIndex = 66;
this.Controls.Add(this.txtBoxRemarks
this.label14.Text = "Unit";
);
// // AddItem
this.Controls.Add(this.txtBoxDateOfP
//
urchase);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode
=
this.Controls.Add(this.pictureBoxQRC ode);
System.Windows.Forms.AutoScaleMo de.Font;
this.Controls.Add(this.label12); this.BackColor
=
System.Drawing.Color.DodgerBlue; this.ClientSize
=
new
this.Controls.Add(this.txtBoxCategory );
System.Drawing.Size(829, 475); this.Controls.Add(this.label10);
128
this.Controls.Add(this.txtBoxAcquisiti
this.Controls.Add(this.txtBoxOfficeRe
onMode);
gion);
this.Controls.Add(this.label11);
this.Controls.Add(this.btnDecode);
this.Controls.Add(this.txtBoxAcquisiti
this.Controls.Add(this.label4);
onCost); this.Controls.Add(this.btnBack); this.Controls.Add(this.label9); this.Controls.Add(this.btnAddItem); this.Controls.Add(this.label8); this.Controls.Add(this.label5); this.Controls.Add(this.txtBoxSerialNu mber);
this.Controls.Add(this.txtBoxDescripti on);
this.Controls.Add(this.label7); this.Controls.Add(this.label3); this.Controls.Add(this.txtBoxProperty No);
this.Controls.Add(this.label2);
this.Controls.Add(this.label6);
129
this.Controls.Add(this.txtBoxItemCod
((System.ComponentModel.ISupportI
e);
nitialize)(this.pictureBoxQRCode)).En dInit();
this.Controls.Add(this.txtBoxItemNa
this.ResumeLayout(false);
me);
this.PerformLayout();
this.Controls.Add(this.label1); this.FormBorderStyle
} =
System.Windows.Forms.FormBorder
#endregion
Style.None; this.Margin
=
new
System.Windows.Forms.Padding(2); this.Name = "AddItem"; this.StartPosition
private System.Windows.Forms.Button btnBack;
=
private
System.Windows.Forms.FormStartPo
System.Windows.Forms.Button
sition.CenterScreen;
btnAddItem;
this.Text = "AddItem"; this.Load
+=
private new
System.EventHandler(this.AddItem_L oad);
System.Windows.Forms.Label label5; private System.Windows.Forms.TextBox txtBoxDescription;
130
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox txtBoxItemCode; private
private System.Windows.Forms.Label label7; private System.Windows.Forms.TextBox txtBoxPropertyNo; private System.Windows.Forms.Label label8; private
System.Windows.Forms.TextBox
System.Windows.Forms.TextBox
txtBoxItemName;
txtBoxSerialNumber;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label4; private System.Windows.Forms.Button btnDecode; private System.Windows.Forms.Label label6; private System.Windows.Forms.TextBox
private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label10; private System.Windows.Forms.TextBox txtBoxAcquisitionMode; private System.Windows.Forms.Label label11;
txtBoxOfficeRegion;
131
private
private
System.Windows.Forms.TextBox
System.Windows.Forms.TextBox
txtBoxAcquisitionCost;
txtBoxUnit;
private
private
System.Windows.Forms.Label
System.Windows.Forms.Label
label12;
label14;
private
private
System.Windows.Forms.TextBox
System.IO.Ports.SerialPort
txtBoxCategory;
serialPort1;
private
}
System.Windows.Forms.PictureBox
}
pictureBoxQRCode;
BorrowingItemForm.cs
private
namespace
System.Windows.Forms.TextBox
InventorySystemDesktop.Views
txtBoxDateOfPurchase;
{
private System.Windows.Forms.Label label13; private System.Windows.Forms.TextBox
partial class BorrowingItemForm { /// /// Required designer variable. ///
txtBoxRemarks;
132
private System.ComponentModel.IContainer components = null;
#region
Windows
Designer generated code
///
///
/// Clean up any resources
///
being used.
Required
method
for
Designer support - do not modify
///
/// the contents of this method
///
true if managed
///
resources
private
should
be
disposed;
otherwise, false. protected
override
void
InitializeComponent() void
{
Dispose(bool disposing)
this.components
{
=
new
System.ComponentModel.Container() if
(disposing
&&
(components != null)) {
; this.label2
=
new
System.Windows.Forms.Label(); components.Dispose();
} base.Dispose(disposing); }
Form
this.groupBoxItems = new System.Windows.Forms.GroupBox(); this.btnDone
=
new
System.Windows.Forms.Button();
133
this.btnRemoveItem = new System.Windows.Forms.Button(); this.>true if managed resources
///
disposed;
/// the contents of this method with the code editor. /// private
void
InitializeComponent()
151
{
this.label13 this.btnBack
=
new
this.lblItemCode =
=
this.label11
=
this.lblItemName =
new
this.label8
=
=
this.btnDone new
=
=
new
=
System.Windows.Forms.Label();
=
new
System.Windows.Forms.Button(); this.groupBoxItems = new System.Windows.Forms.GroupBox();
System.Windows.Forms.Label(); this.lblItemStatus
new
this.btnRemoveItem = new
new System.Windows.Forms.Label(); this.label10
=
System.Windows.Forms.Button();
System.Windows.Forms.Button(); this.lblItemDescription
new
System.Windows.Forms.Button();
System.Windows.Forms.Label(); this.btnSave
=
this.btnScanItem
new
new
System.Windows.Forms.Label();
System.Windows.Forms.TextBox(); this.label3
=
System.Windows.Forms.Label();
System.Windows.Forms.GroupBox(); this.txtBoxRemarks = new
new
System.Windows.Forms.Label();
; this.groupBox1
new
System.Windows.Forms.Label();
new System.Windows.Forms.PictureBox()
new
System.Windows.Forms.Label();
System.Windows.Forms.Button(); this.pictureBoxQRCode
=
this.dataGridViewItems new
=
new System.Windows.Forms.DataGridVie w();
152
this.label2
=
new
System.Windows.Forms.Label();
this.btnBack.Font
=
System.Drawing.Font("Segoe
new UI",
10F); ((System.ComponentModel.ISupportI nitialize)(this.pictureBoxQRCode)).Be
this.btnBack.ForeColor
=
System.Drawing.Color.White;
ginInit();
this.btnBack.Location = new System.Drawing.Point(11, 547);
this.groupBox1.SuspendLayout();
this.btnBack.Margin = new System.Windows.Forms.Padding(2);
this.groupBoxItems.SuspendLayout() ;
this.btnBack.Name
=
"btnBack"; this.btnBack.Size
((System.ComponentModel.ISupportI
=
new
System.Drawing.Size(69, 32);
nitialize)(this.dataGridViewItems)).Be
this.btnBack.TabIndex = 16;
ginInit();
this.btnBack.Text = "Back";
this.SuspendLayout(); //
this.btnBack.UseVisualStyleBackColor
// btnBack
= false;
// this.btnBack.BackColor System.Drawing.Color.DodgerBlue;
this.btnBack.Click += new =
System.EventHandler(this.btnBack_C lick); //
153
// pictureBoxQRCode
//
// this.groupBox1.Controls.Add(this.txt this.pictureBoxQRCode.Location
=
BoxRemarks);
new System.Drawing.Point(9, 27); this.groupBox1.Controls.Add(this.lab this.pictureBoxQRCode.Margin = new
el3);
System.Windows.Forms.Padding(2); this.groupBox1.Controls.Add(this.btn this.pictureBoxQRCode.Name
=
Save);
"pictureBoxQRCode"; this.pictureBoxQRCode.Size =
new
System.Drawing.Size(112,
this.groupBox1.Controls.Add(this.pict ureBoxQRCode);
122); this.groupBox1.Controls.Add(this.lblI this.pictureBoxQRCode.TabIndex
=
temDescription);
59; this.groupBox1.Controls.Add(this.lab this.pictureBoxQRCode.TabStop
=
el10);
false; //
this.groupBox1.Controls.Add(this.lblI
// groupBox1
temStatus);
154
System.Drawing.GraphicsUnit.Point, this.groupBox1.Controls.Add(this.lab
((byte)(0)));
el13);
this.groupBox1.ForeColor = System.Drawing.Color.White;
this.groupBox1.Controls.Add(this.lblI temCode);
this.groupBox1.Location
=
new System.Drawing.Point(528, 34); this.groupBox1.Margin
=
this.groupBox1.Controls.Add(this.lab
new
el11);
System.Windows.Forms.Padding(2); this.groupBox1.Name
this.groupBox1.Controls.Add(this.lblI
=
"groupBox1";
temName);
this.groupBox1.Padding
=
new this.groupBox1.Controls.Add(this.lab
System.Windows.Forms.Padding(2);
el8);
this.groupBox1.Size = new System.Drawing.Size(290, 509);
this.groupBox1.Controls.Add(this.btn ScanItem);
this.groupBox1.TabIndex = 19;
this.groupBox1.Font = new System.Drawing.Font("Segoe
UI",
this.groupBox1.TabStop false;
12F, System.Drawing.FontStyle.Regular,
=
this.groupBox1.Text = "Item Details";
155
//
//
// txtBoxRemarks
// label3
//
// this.label3.Font
=
new
this.txtBoxRemarks.AutoCompleteMo
System.Drawing.Font("Segoe
UI
de
Semibold",
=
12F,
System.Windows.Forms.AutoComplet
System.Drawing.FontStyle.Bold,
eMode.Suggest;
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtBoxRemarks.AutoCompleteSo urce
=
this.label3.ForeColor System.Drawing.Color.White;
System.Windows.Forms.AutoComplet eSource.CustomSource;
this.label3.Location = new System.Drawing.Point(5, 363);
this.txtBoxRemarks.Location =
new
=
System.Drawing.Point(9,
390);
this.label3.Margin
=
new
System.Windows.Forms.Padding(2, 0, 2, 0);
this.txtBoxRemarks.Name = "txtBoxRemarks"; this.txtBoxRemarks.Size
this.label3.Name = "label3"; this.label3.Size
=
new System.Drawing.Size(247, 29);
new
System.Drawing.Size(250, 24); this.label3.TabIndex = 61; this.label3.Text
this.txtBoxRemarks.TabIndex = 62;
=
=
"Remarks";
156
// // btnSave
this.btnSave.UseVisualStyleBackColor
//
= false;
this.btnSave.BackColor
=
System.Drawing.Color.DodgerBlue; this.btnSave.Enabled
this.btnSave.Click += new System.EventHandler(this.btnSave_C
=
lick);
false;
// this.btnSave.Font
=
System.Drawing.Font("Segoe
new
// lblItemDescription
UI",
//
10F);
this.lblItemDescription.Font this.btnSave.ForeColor
=
System.Drawing.Color.White;
= new System.Drawing.Font("Segoe UI",
this.btnSave.Location = new System.Drawing.Point(126, 472);
12F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
this.btnSave.Margin = new
((byte)(0)));
System.Windows.Forms.Padding(2); this.btnSave.Name
=
"btnSave"; this.btnSave.Size
this.lblItemDescription.ForeColor
=
System.Drawing.Color.White; =
new
System.Drawing.Size(147, 32); this.btnSave.TabIndex = 60;
this.lblItemDescription.Location
=
new System.Drawing.Point(39, 328);
this.btnSave.Text = "Save";
157
this.label10.ForeColor this.lblItemDescription.Margin = new
System.Drawing.Color.White;
System.Windows.Forms.Padding(2,
this.label10.Location = new
0, 2, 0);
System.Drawing.Point(4, 304); this.lblItemDescription.Name
= "lblItemDescription";
new
this.label10.Margin = new System.Windows.Forms.Padding(2,
this.lblItemDescription.Size =
=
0, 2, 0);
System.Drawing.Size(234,
35);
this.label10.Name
=
"label10"; this.label10.Size
this.lblItemDescription.TabIndex
=
=
new
System.Drawing.Size(250, 24);
58;
this.label10.TabIndex = 57; //
this.label10.Text
// label10
"Description";
// this.label10.Font
=
// =
System.Drawing.Font("Segoe Semibold",
new
// lblItemStatus
UI
//
12F,
this.lblItemStatus.Font
=
System.Drawing.FontStyle.Bold,
new
System.Drawing.Font("Segoe
System.Drawing.GraphicsUnit.Point,
UI",
12F,
((byte)(0)));
System.Drawing.FontStyle.Regular,
158
System.Drawing.GraphicsUnit.Point,
System.Drawing.FontStyle.Bold,
((byte)(0)));
System.Drawing.GraphicsUnit.Point,
this.lblItemStatus.ForeColor
((byte)(0)));
= System.Drawing.Color.White;
this.label13.ForeColor
this.lblItemStatus.Location =
System.Drawing.Color.White;
new System.Drawing.Point(38, 280); this.lblItemStatus.Margin
=
=
this.label13.Location = new System.Drawing.Point(4, 255);
new
this.label13.Margin = new
System.Windows.Forms.Padding(2,
System.Windows.Forms.Padding(2,
0, 2, 0);
0, 2, 0); this.lblItemStatus.Name
=
"lblItemStatus";
this.label13.Name "label13";
this.lblItemStatus.Size
=
new System.Drawing.Size(235, 24);
this.label13.Size
this.label13.Text
=
"Item
Status";
// label13
//
//
// lblItemCode =
System.Drawing.Font("Segoe Semibold",
new
this.label13.TabIndex = 55;
= 56; //
=
System.Drawing.Size(250, 24);
this.lblItemStatus.TabIndex
this.label13.Font
=
new UI 12F,
// this.lblItemCode.Font = new System.Drawing.Font("Segoe
UI",
159
12F,
this.label11.Font
=
new
System.Drawing.FontStyle.Regular,
System.Drawing.Font("Segoe
System.Drawing.GraphicsUnit.Point,
Semibold",
((byte)(0)));
System.Drawing.FontStyle.Bold,
this.lblItemCode.ForeColor = System.Drawing.Color.White;
12F,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblItemCode.Location = new System.Drawing.Point(38, 231); this.lblItemCode.Margin
UI
this.label11.ForeColor System.Drawing.Color.White;
=
new
=
this.label11.Location = new System.Drawing.Point(4, 206);
System.Windows.Forms.Padding(2,
this.label11.Margin = new
0, 2, 0);
System.Windows.Forms.Padding(2, this.lblItemCode.Name
=
0, 2, 0);
"lblItemCode"; this.lblItemCode.Size = new
this.label11.Name "label11";
System.Drawing.Size(235, 24); this.lblItemCode.TabIndex =
=
this.label11.Size
=
new
System.Drawing.Size(250, 24);
54;
this.label11.TabIndex = 53; // // label11 //
this.label11.Text
=
"Item
Code"; // // lblItemName
160
//
// label8
this.lblItemName.Font
=
new
System.Drawing.Font("Segoe
UI",
12F,
// this.label8.Font
=
new
System.Drawing.Font("Segoe
UI
System.Drawing.FontStyle.Regular,
Semibold",
System.Drawing.GraphicsUnit.Point,
System.Drawing.FontStyle.Bold,
((byte)(0)));
System.Drawing.GraphicsUnit.Point,
this.lblItemName.ForeColor
((byte)(0)));
= System.Drawing.Color.White;
this.label8.ForeColor
this.lblItemName.Location =
=
=
System.Drawing.Color.White;
new System.Drawing.Point(38, 182); this.lblItemName.Margin
12F,
this.label8.Location = new System.Drawing.Point(4, 158);
new
this.label8.Margin
=
new
System.Windows.Forms.Padding(2,
System.Windows.Forms.Padding(2,
0, 2, 0);
0, 2, 0); this.lblItemName.Name
=
this.label8.Name = "label8";
"lblItemName"; this.lblItemName.Size = new
this.label8.Size
new
System.Drawing.Size(250, 24);
System.Drawing.Size(235, 24);
this.label8.TabIndex = 51;
this.lblItemName.TabIndex = 52;
=
this.label8.Text
=
"Item
Name"; //
//
161
// btnScanItem //
this.btnScanItem.UseVisualStyleBack
this.btnScanItem.BackColor
Color = false;
= System.Drawing.Color.DodgerBlue; this.btnScanItem.Font new
=
System.Drawing.Font("Segoe
UI", 10F);
this.btnScanItem.Click new
System.EventHandler(this.btnScanIte m_Click);
this.btnScanItem.ForeColor
//
= System.Drawing.Color.White;
// btnDone
this.btnScanItem.Location =
//
new System.Drawing.Point(126, 27); this.btnScanItem.Margin
=
this.btnDone.BackColor
this.btnDone.Enabled
System.Windows.Forms.Padding(2);
this.btnDone.Font
=
System.Drawing.Font("Segoe
this.btnScanItem.Size = new System.Drawing.Size(147, 32);
new UI",
10F); this.btnDone.ForeColor
this.btnScanItem.TabIndex
=
false;
=
"btnScanItem";
=
System.Drawing.Color.DodgerBlue;
new
this.btnScanItem.Name
+=
=
System.Drawing.Color.White;
= 49;
this.btnDone.Location = new this.btnScanItem.Text
=
System.Drawing.Point(378, 26);
"Scan Item";
162
this.btnDone.Margin = new System.Windows.Forms.Padding(2); this.btnDone.Name
= false;
=
"btnDone"; this.btnDone.Size
this.btnRemoveItem.Enabled
this.btnRemoveItem.Font = new
=
new
System.Drawing.Font("Segoe
UI", 10F);
System.Drawing.Size(130, 32); this.btnDone.TabIndex = 15;
this.btnRemoveItem.ForeColor
this.btnDone.Text
System.Drawing.Color.White;
=
=
"Return"; this.btnRemoveItem.Location = new this.btnDone.UseVisualStyleBackColo
System.Drawing.Point(4, 27);
r = false;
this.btnRemoveItem.Margin
this.btnDone.Click += new System.EventHandler(this.btnDone_ Click);
=
new
System.Windows.Forms.Padding(2); this.btnRemoveItem.Name
//
= "btnRemoveItem";
// btnRemoveItem
this.btnRemoveItem.Size =
//
this.btnRemoveItem.BackColor System.Drawing.Color.DodgerBlue;
new System.Drawing.Size(130, 32);
=
this.btnRemoveItem.TabIndex = 16; this.btnRemoveItem.Text = "Remove Item";
163
System.Drawing.FontStyle.Regular, this.btnRemoveItem.UseVisualStyleB
System.Drawing.GraphicsUnit.Point,
ackColor = false;
((byte)(0)));
this.btnRemoveItem.Click +=
new
System.EventHandler(this.btnRemov
this.groupBoxItems.ForeColor
=
System.Drawing.Color.White;
eItem_Click);
this.groupBoxItems.Location
//
=
// groupBoxItems
34);
//
new
System.Drawing.Point(11,
this.groupBoxItems.Margin =
this.groupBoxItems.Controls.Add(this
new
System.Windows.Forms.Padding(2);
.btnDone);
this.groupBoxItems.Name = "groupBoxItems";
this.groupBoxItems.Controls.Add(this .btnRemoveItem);
this.groupBoxItems.Padding =
new
System.Windows.Forms.Padding(2); this.groupBoxItems.Controls.Add(this .dataGridViewItems);
this.groupBoxItems.Size
=
new System.Drawing.Size(513, 509);
this.groupBoxItems.Font
=
new
System.Drawing.Font("Segoe
UI",
12F,
this.groupBoxItems.TabIndex = 17;
164
this.groupBoxItems.TabStop = false;
this.dataGridViewItems.Margin this.groupBoxItems.Text
=
"Items";
=
new System.Windows.Forms.Padding(2);
// // dataGridViewItems
this.dataGridViewItems.MultiSelect =
//
false;
this.dataGridViewItems.AllowUserTo
this.dataGridViewItems.Name
AddRows = false;
"dataGridViewItems";
this.dataGridViewItems.AllowUserTo
this.dataGridViewItems.ReadOnly =
DeleteRows = false;
true;
this.dataGridViewItems.ColumnHead
this.dataGridViewItems.RowTemplat
ersHeightSizeMode
e.Height = 24;
=
=
System.Windows.Forms.DataGridVie wColumnHeadersHeightSizeMode.Aut
this.dataGridViewItems.SelectionMod
oSize;
e
=
System.Windows.Forms.DataGridVie this.dataGridViewItems.Location
=
wSelectionMode.FullRowSelect;
new System.Drawing.Point(4, 65);
165
this.dataGridViewItems.Size =
new
System.Drawing.Size(504,
this.label2.Location = new System.Drawing.Point(9, 8);
439);
this.label2.Margin
=
new
System.Windows.Forms.Padding(2, this.dataGridViewItems.TabIndex
=
0, 2, 0);
4;
this.label2.Name = "label2"; this.label2.Size
this.dataGridViewItems.SelectionCha nged
+=
this.label2.TabIndex = 15;
System.EventHandler(this.dataGridVi
this.label2.Text = "Returning Items";
//
//
// label2
// ReturningItemForm
//
//
this.label2.Font
=
new
System.Drawing.Font("Microsoft Sans
Serif",
new
System.Drawing.Size(267, 24);
new
ewItems_SelectionChanged);
=
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
12F,
this.AutoScaleMode
=
System.Drawing.FontStyle.Bold,
System.Windows.Forms.AutoScaleMo
System.Drawing.GraphicsUnit.Point,
de.Font;
((byte)(0))); this.label2.ForeColor
this.BackColor =
=
System.Drawing.Color.DarkKhaki;
System.Drawing.Color.White;
166
this.ClientSize
=
new
System.Drawing.Size(829, 589);
((System.ComponentModel.ISupportI nitialize)(this.pictureBoxQRCode)).En
this.Controls.Add(this.btnBack);
dInit();
this.Controls.Add(this.groupBox1);
this.groupBox1.ResumeLayout(false) ;
this.Controls.Add(this.groupBoxItems );
this.groupBox1.PerformLayout();
this.Controls.Add(this.label2);
this.groupBoxItems.ResumeLayout(f
this.FormBorderStyle
=
alse);
System.Windows.Forms.FormBorder Style.None; this.Name
((System.ComponentModel.ISupportI =
"ReturningItemForm"; this.StartPosition
nitialize)(this.dataGridViewItems)).En dInit();
=
this.ResumeLayout(false);
System.Windows.Forms.FormStartPo sition.CenterScreen; this.Text "ReturningItemForm";
} = #endregion
167
private
private
System.Windows.Forms.Button
System.Windows.Forms.Label
btnBack;
lblItemCode;
private
private
System.Windows.Forms.PictureBox
System.Windows.Forms.Label
pictureBoxQRCode;
label11;
private
private
System.Windows.Forms.GroupBox
System.Windows.Forms.Label
groupBox1;
lblItemName;
private System.Windows.Forms.Label lblItemDescription; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label lblItemStatus; private System.Windows.Forms.Label
private System.Windows.Forms.Label label8; private System.Windows.Forms.Button btnScanItem; private System.Windows.Forms.Button btnDone; private System.Windows.Forms.Button btnRemoveItem;
label13;
168
private
private
System.Windows.Forms.GroupBox
System.Windows.Forms.TextBox
groupBoxItems;
txtBoxRemarks;
private System.Windows.Forms.DataGridVie
private System.Windows.Forms.Label label3;
w dataGridViewItems; private System.Windows.Forms.Label label2;
} }
private System.Windows.Forms.Button btnSave;
169
APPENDIX D PICTURES OF THE PROTOTYPE
Figure D.1: Final Prototype of the Design
170
Figure D.2: Design Prototype Pictures 171
APPENDIX E THE RESEARCHERS
Figure E.1: The Researchers with their Adviser
172