Exemplo n.º 1
0
 private void InitializeComponent()
 {
     this.AccType = new PGCookie.PGCookie();
     this.label1 = new Label();
     this.AccSubType = new PGCookie.PGCookie();
     this.label2 = new Label();
     this.label3 = new Label();
     this.DescBox = new RichTextBox();
     this.CreateNewAccount = new Button();
     this.AccountAttributesGrid = new DataGrid();
     this.checkBox1 = new CheckBox();
     this.AccountAttributesGrid.BeginInit();
     base.SuspendLayout();
     this.AccType.BoundColumn = null;
     this.AccType.Location = new Point(40, 40);
     this.AccType.Name = "AccType";
     this.AccType.Size = new Size(0x90, 160);
     this.AccType.TabIndex = 0;
     this.AccType.TextBoxText = "";
     this.label1.Location = new Point(0x30, 8);
     this.label1.Name = "label1";
     this.label1.Size = new Size(120, 0x10);
     this.label1.TabIndex = 1;
     this.label1.Text = "Account Type :-";
     this.AccSubType.BoundColumn = null;
     this.AccSubType.Location = new Point(0xe0, 40);
     this.AccSubType.Name = "AccSubType";
     this.AccSubType.Size = new Size(160, 160);
     this.AccSubType.TabIndex = 1;
     this.AccSubType.TextBoxText = "";
     this.label2.Location = new Point(0xd8, 8);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x88, 0x10);
     this.label2.TabIndex = 3;
     this.label2.Text = "Account Of :-";
     this.label3.Location = new Point(400, 8);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x68, 0x10);
     this.label3.TabIndex = 4;
     this.label3.Text = "Description :-";
     this.DescBox.Location = new Point(0x1a0, 40);
     this.DescBox.Name = "DescBox";
     this.DescBox.Size = new Size(0xc0, 0x98);
     this.DescBox.TabIndex = 2;
     this.DescBox.Text = "A description for the account";
     this.CreateNewAccount.Location = new Point(0x198, 0x1a0);
     this.CreateNewAccount.Name = "CreateNewAccount";
     this.CreateNewAccount.Size = new Size(0xc0, 0x20);
     this.CreateNewAccount.TabIndex = 5;
     this.CreateNewAccount.Text = "Create Account";
     this.CreateNewAccount.Click += new EventHandler(this.CreateNewAccount_Click);
     this.AccountAttributesGrid.CaptionText = "Account Attributes";
     this.AccountAttributesGrid.DataMember = "";
     this.AccountAttributesGrid.HeaderForeColor = SystemColors.ControlText;
     this.AccountAttributesGrid.Location = new Point(40, 0xe0);
     this.AccountAttributesGrid.Name = "AccountAttributesGrid";
     this.AccountAttributesGrid.PreferredColumnWidth = 200;
     this.AccountAttributesGrid.RowHeadersVisible = false;
     this.AccountAttributesGrid.RowHeaderWidth = 200;
     this.AccountAttributesGrid.Size = new Size(0x238, 0xb0);
     this.AccountAttributesGrid.TabIndex = 8;
     this.checkBox1.Location = new Point(0x1a0, 200);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new Size(120, 0x10);
     this.checkBox1.TabIndex = 9;
     this.checkBox1.Text = "Is an Item";
     this.checkBox1.CheckedChanged += new EventHandler(this.checkBox1_CheckedChanged);
     this.AutoScaleBaseSize = new Size(5, 13);
     base.ClientSize = new Size(0x270, 0x1cd);
     base.Controls.Add(this.checkBox1);
     base.Controls.Add(this.AccountAttributesGrid);
     base.Controls.Add(this.CreateNewAccount);
     base.Controls.Add(this.DescBox);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.AccSubType);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.AccType);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "NewAccountForm";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "New Account Form";
     base.Load += new EventHandler(this.NewAccountForm_Load);
     this.AccountAttributesGrid.EndInit();
     base.ResumeLayout(false);
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     this.ItemCategory = new PGCookie.PGCookie();
     this.ItemSubCategory = new PGCookie.PGCookie();
     this.IsInventoryItem = new CheckBox();
     this.label1 = new Label();
     this.label2 = new Label();
     this.CreateNewItem = new Button();
     this.ItemAttributesGrid = new DataGrid();
     this.releaseToStock = new CheckBox();
     this.ItemAttributesGrid.BeginInit();
     base.SuspendLayout();
     this.ItemCategory.BoundColumn = "ItemCategoryName";
     this.ItemCategory.Location = new Point(40, 0x38);
     this.ItemCategory.Name = "ItemCategory";
     this.ItemCategory.Size = new Size(0xb8, 0xb0);
     this.ItemCategory.TabIndex = 0;
     this.ItemCategory.TextBoxText = "";
     this.ItemSubCategory.BoundColumn = "ItemSubCategoryName";
     this.ItemSubCategory.Location = new Point(0x100, 0x38);
     this.ItemSubCategory.Name = "ItemSubCategory";
     this.ItemSubCategory.Size = new Size(0xb0, 0xb0);
     this.ItemSubCategory.TabIndex = 1;
     this.ItemSubCategory.TextBoxText = "";
     this.IsInventoryItem.Location = new Point(480, 0x40);
     this.IsInventoryItem.Name = "IsInventoryItem";
     this.IsInventoryItem.Size = new Size(120, 0x18);
     this.IsInventoryItem.TabIndex = 2;
     this.IsInventoryItem.Text = "Inventory Item ?";
     this.IsInventoryItem.CheckedChanged += new EventHandler(this.IsInventoryItem_CheckedChanged);
     this.label1.Location = new Point(0x30, 0x10);
     this.label1.Name = "label1";
     this.label1.Size = new Size(160, 0x10);
     this.label1.TabIndex = 3;
     this.label1.Text = "Item Category :-";
     this.label2.Location = new Point(0x100, 0x10);
     this.label2.Name = "label2";
     this.label2.Size = new Size(160, 0x18);
     this.label2.TabIndex = 4;
     this.label2.Text = "Item Subcategory :-";
     this.CreateNewItem.Location = new Point(440, 440);
     this.CreateNewItem.Name = "CreateNewItem";
     this.CreateNewItem.Size = new Size(160, 0x18);
     this.CreateNewItem.TabIndex = 5;
     this.CreateNewItem.Text = "Create Item";
     this.CreateNewItem.Click += new EventHandler(this.CreateNewItem_Click);
     this.ItemAttributesGrid.CaptionText = "Item Attributes";
     this.ItemAttributesGrid.DataMember = "";
     this.ItemAttributesGrid.HeaderForeColor = SystemColors.ControlText;
     this.ItemAttributesGrid.Location = new Point(0x10, 0x100);
     this.ItemAttributesGrid.Name = "ItemAttributesGrid";
     this.ItemAttributesGrid.PreferredColumnWidth = 200;
     this.ItemAttributesGrid.RowHeadersVisible = false;
     this.ItemAttributesGrid.RowHeaderWidth = 200;
     this.ItemAttributesGrid.Size = new Size(0x238, 0xb0);
     this.ItemAttributesGrid.TabIndex = 9;
     this.releaseToStock.Location = new Point(480, 0x80);
     this.releaseToStock.Name = "releaseToStock";
     this.releaseToStock.Size = new Size(0x70, 0x18);
     this.releaseToStock.TabIndex = 10;
     this.releaseToStock.Text = "Release to stock";
     this.AutoScaleBaseSize = new Size(5, 13);
     base.ClientSize = new Size(0x260, 0x1e5);
     base.Controls.Add(this.releaseToStock);
     base.Controls.Add(this.ItemAttributesGrid);
     base.Controls.Add(this.CreateNewItem);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.IsInventoryItem);
     base.Controls.Add(this.ItemSubCategory);
     base.Controls.Add(this.ItemCategory);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "NewItemForm";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "New Item Form";
     base.Load += new EventHandler(this.NewItemForm_Load);
     this.ItemAttributesGrid.EndInit();
     base.ResumeLayout(false);
 }
Exemplo n.º 3
0
 private void InitializeComponent()
 {
     this.ItemCategory       = new PGCookie.PGCookie();
     this.ItemSubCategory    = new PGCookie.PGCookie();
     this.IsInventoryItem    = new CheckBox();
     this.label1             = new Label();
     this.label2             = new Label();
     this.CreateNewItem      = new Button();
     this.ItemAttributesGrid = new DataGrid();
     this.releaseToStock     = new CheckBox();
     this.ItemAttributesGrid.BeginInit();
     base.SuspendLayout();
     this.ItemCategory.BoundColumn        = "ItemCategoryName";
     this.ItemCategory.Location           = new Point(40, 0x38);
     this.ItemCategory.Name               = "ItemCategory";
     this.ItemCategory.Size               = new Size(0xb8, 0xb0);
     this.ItemCategory.TabIndex           = 0;
     this.ItemCategory.TextBoxText        = "";
     this.ItemSubCategory.BoundColumn     = "ItemSubCategoryName";
     this.ItemSubCategory.Location        = new Point(0x100, 0x38);
     this.ItemSubCategory.Name            = "ItemSubCategory";
     this.ItemSubCategory.Size            = new Size(0xb0, 0xb0);
     this.ItemSubCategory.TabIndex        = 1;
     this.ItemSubCategory.TextBoxText     = "";
     this.IsInventoryItem.Location        = new Point(480, 0x40);
     this.IsInventoryItem.Name            = "IsInventoryItem";
     this.IsInventoryItem.Size            = new Size(120, 0x18);
     this.IsInventoryItem.TabIndex        = 2;
     this.IsInventoryItem.Text            = "Inventory Item ?";
     this.IsInventoryItem.CheckedChanged += new EventHandler(this.IsInventoryItem_CheckedChanged);
     this.label1.Location                         = new Point(0x30, 0x10);
     this.label1.Name                             = "label1";
     this.label1.Size                             = new Size(160, 0x10);
     this.label1.TabIndex                         = 3;
     this.label1.Text                             = "Item Category :-";
     this.label2.Location                         = new Point(0x100, 0x10);
     this.label2.Name                             = "label2";
     this.label2.Size                             = new Size(160, 0x18);
     this.label2.TabIndex                         = 4;
     this.label2.Text                             = "Item Subcategory :-";
     this.CreateNewItem.Location                  = new Point(440, 440);
     this.CreateNewItem.Name                      = "CreateNewItem";
     this.CreateNewItem.Size                      = new Size(160, 0x18);
     this.CreateNewItem.TabIndex                  = 5;
     this.CreateNewItem.Text                      = "Create Item";
     this.CreateNewItem.Click                    += new EventHandler(this.CreateNewItem_Click);
     this.ItemAttributesGrid.CaptionText          = "Item Attributes";
     this.ItemAttributesGrid.DataMember           = "";
     this.ItemAttributesGrid.HeaderForeColor      = SystemColors.ControlText;
     this.ItemAttributesGrid.Location             = new Point(0x10, 0x100);
     this.ItemAttributesGrid.Name                 = "ItemAttributesGrid";
     this.ItemAttributesGrid.PreferredColumnWidth = 200;
     this.ItemAttributesGrid.RowHeadersVisible    = false;
     this.ItemAttributesGrid.RowHeaderWidth       = 200;
     this.ItemAttributesGrid.Size                 = new Size(0x238, 0xb0);
     this.ItemAttributesGrid.TabIndex             = 9;
     this.releaseToStock.Location                 = new Point(480, 0x80);
     this.releaseToStock.Name                     = "releaseToStock";
     this.releaseToStock.Size                     = new Size(0x70, 0x18);
     this.releaseToStock.TabIndex                 = 10;
     this.releaseToStock.Text                     = "Release to stock";
     this.AutoScaleBaseSize                       = new Size(5, 13);
     base.ClientSize = new Size(0x260, 0x1e5);
     base.Controls.Add(this.releaseToStock);
     base.Controls.Add(this.ItemAttributesGrid);
     base.Controls.Add(this.CreateNewItem);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.IsInventoryItem);
     base.Controls.Add(this.ItemSubCategory);
     base.Controls.Add(this.ItemCategory);
     base.MaximizeBox   = false;
     base.MinimizeBox   = false;
     base.Name          = "NewItemForm";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text          = "New Item Form";
     base.Load         += new EventHandler(this.NewItemForm_Load);
     this.ItemAttributesGrid.EndInit();
     base.ResumeLayout(false);
 }