It is now possible to register owned stocks for keeping track on them
This commit is contained in:
81
RepositoryPattern/frmRegisterStock.Designer.cs
generated
81
RepositoryPattern/frmRegisterStock.Designer.cs
generated
@ -51,8 +51,13 @@ namespace RepositoryPattern
|
||||
this.lblSoldDate = new System.Windows.Forms.Label();
|
||||
this.txtComment = new System.Windows.Forms.TextBox();
|
||||
this.lblComment = new System.Windows.Forms.Label();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.btnSaveStock = new System.Windows.Forms.Button();
|
||||
this.lwRegBuffer = new System.Windows.Forms.ListView();
|
||||
this.Stock = new System.Windows.Forms.ColumnHeader();
|
||||
this.Price = new System.Windows.Forms.ColumnHeader();
|
||||
this.Number = new System.Windows.Forms.ColumnHeader();
|
||||
this.Comment = new System.Windows.Forms.ColumnHeader();
|
||||
this.btnSaveToDB = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cmbStockChoser
|
||||
@ -128,6 +133,7 @@ namespace RepositoryPattern
|
||||
this.txtBoughtAmount.Name = "txtBoughtAmount";
|
||||
this.txtBoughtAmount.Size = new System.Drawing.Size(111, 23);
|
||||
this.txtBoughtAmount.TabIndex = 9;
|
||||
this.txtBoughtAmount.TextChanged += new System.EventHandler(this.txtBoughtAmount_TextChanged);
|
||||
//
|
||||
// lblBoughtAmount
|
||||
//
|
||||
@ -235,31 +241,74 @@ namespace RepositoryPattern
|
||||
this.lblComment.TabIndex = 20;
|
||||
this.lblComment.Text = "Comment";
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.ItemHeight = 15;
|
||||
this.listBox1.Location = new System.Drawing.Point(39, 467);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(383, 94);
|
||||
this.listBox1.TabIndex = 22;
|
||||
//
|
||||
// btnSaveStock
|
||||
//
|
||||
this.btnSaveStock.Location = new System.Drawing.Point(39, 424);
|
||||
this.btnSaveStock.Location = new System.Drawing.Point(39, 385);
|
||||
this.btnSaveStock.Name = "btnSaveStock";
|
||||
this.btnSaveStock.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnSaveStock.TabIndex = 23;
|
||||
this.btnSaveStock.Text = "Register";
|
||||
this.btnSaveStock.UseVisualStyleBackColor = true;
|
||||
this.btnSaveStock.Click += new System.EventHandler(this.btnSaveStock_Click);
|
||||
//
|
||||
// lwRegBuffer
|
||||
//
|
||||
this.lwRegBuffer.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.Stock,
|
||||
this.Price,
|
||||
this.Number,
|
||||
this.Comment});
|
||||
this.lwRegBuffer.GridLines = true;
|
||||
this.lwRegBuffer.HideSelection = false;
|
||||
this.lwRegBuffer.Location = new System.Drawing.Point(39, 427);
|
||||
this.lwRegBuffer.Name = "lwRegBuffer";
|
||||
this.lwRegBuffer.Size = new System.Drawing.Size(383, 119);
|
||||
this.lwRegBuffer.TabIndex = 24;
|
||||
this.lwRegBuffer.UseCompatibleStateImageBehavior = false;
|
||||
this.lwRegBuffer.View = System.Windows.Forms.View.Details;
|
||||
//
|
||||
// Stock
|
||||
//
|
||||
this.Stock.Name = "Stock";
|
||||
this.Stock.Text = "Stock";
|
||||
this.Stock.Width = 120;
|
||||
//
|
||||
// Price
|
||||
//
|
||||
this.Price.Name = "Price";
|
||||
this.Price.Text = "Price";
|
||||
this.Price.Width = 80;
|
||||
//
|
||||
// Number
|
||||
//
|
||||
this.Number.Name = "Number";
|
||||
this.Number.Text = "Number";
|
||||
this.Number.Width = 80;
|
||||
//
|
||||
// Comment
|
||||
//
|
||||
this.Comment.Name = "Comment";
|
||||
this.Comment.Text = "Comment";
|
||||
this.Comment.Width = 120;
|
||||
//
|
||||
// btnSaveToDB
|
||||
//
|
||||
this.btnSaveToDB.Location = new System.Drawing.Point(266, 567);
|
||||
this.btnSaveToDB.Name = "btnSaveToDB";
|
||||
this.btnSaveToDB.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnSaveToDB.TabIndex = 25;
|
||||
this.btnSaveToDB.Text = "Save";
|
||||
this.btnSaveToDB.UseVisualStyleBackColor = true;
|
||||
this.btnSaveToDB.Click += new System.EventHandler(this.btnSaveToDB_Click);
|
||||
//
|
||||
// frmRegisterStock
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(441, 602);
|
||||
this.Controls.Add(this.btnSaveToDB);
|
||||
this.Controls.Add(this.lwRegBuffer);
|
||||
this.Controls.Add(this.btnSaveStock);
|
||||
this.Controls.Add(this.listBox1);
|
||||
this.Controls.Add(this.txtComment);
|
||||
this.Controls.Add(this.lblComment);
|
||||
this.Controls.Add(this.txtSoldDate);
|
||||
@ -283,6 +332,7 @@ namespace RepositoryPattern
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.cmbStockChoser);
|
||||
this.Name = "frmRegisterStock";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "frmRegisterStock";
|
||||
this.Shown += new System.EventHandler(this.frmRegisterStock_Shown);
|
||||
this.ResumeLayout(false);
|
||||
@ -314,7 +364,12 @@ namespace RepositoryPattern
|
||||
private System.Windows.Forms.Label lblSoldDate;
|
||||
private System.Windows.Forms.TextBox txtComment;
|
||||
private System.Windows.Forms.Label lblComment;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.Button btnSaveStock;
|
||||
private System.Windows.Forms.ListView lwRegBuffer;
|
||||
private System.Windows.Forms.ColumnHeader Stock;
|
||||
private System.Windows.Forms.ColumnHeader Price;
|
||||
private System.Windows.Forms.ColumnHeader Number;
|
||||
private System.Windows.Forms.ColumnHeader Comment;
|
||||
private System.Windows.Forms.Button btnSaveToDB;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user