| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- namespace RestaurantApp
- {
- partial class DishForm
- {
- private System.ComponentModel.IContainer components = null;
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.dgvDishes = new System.Windows.Forms.DataGridView();
- this.panelTop = new System.Windows.Forms.Panel();
- this.chkAvailable = new System.Windows.Forms.CheckBox();
- this.cmbCategory = new System.Windows.Forms.ComboBox();
- this.lblCategory = new System.Windows.Forms.Label();
- this.txtSearch = new System.Windows.Forms.TextBox();
- this.btnSearch = new System.Windows.Forms.Button();
- this.btnRefresh = new System.Windows.Forms.Button();
- this.btnAdd = new System.Windows.Forms.Button();
- this.btnEdit = new System.Windows.Forms.Button();
- this.btnDelete = new System.Windows.Forms.Button();
- ((System.ComponentModel.ISupportInitialize)(this.dgvDishes)).BeginInit();
- this.panelTop.SuspendLayout();
- this.SuspendLayout();
- //
- // dgvDishes
- //
- this.dgvDishes.AllowUserToAddRows = false;
- this.dgvDishes.AllowUserToDeleteRows = false;
- this.dgvDishes.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
- this.dgvDishes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvDishes.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvDishes.Location = new System.Drawing.Point(0, 50);
- this.dgvDishes.Name = "dgvDishes";
- this.dgvDishes.ReadOnly = true;
- this.dgvDishes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dgvDishes.Size = new System.Drawing.Size(984, 550);
- this.dgvDishes.TabIndex = 0;
- //
- // panelTop
- //
- this.panelTop.Controls.Add(this.chkAvailable);
- this.panelTop.Controls.Add(this.cmbCategory);
- this.panelTop.Controls.Add(this.lblCategory);
- this.panelTop.Controls.Add(this.txtSearch);
- this.panelTop.Controls.Add(this.btnSearch);
- this.panelTop.Controls.Add(this.btnRefresh);
- this.panelTop.Controls.Add(this.btnAdd);
- this.panelTop.Controls.Add(this.btnEdit);
- this.panelTop.Controls.Add(this.btnDelete);
- this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
- this.panelTop.Location = new System.Drawing.Point(0, 0);
- this.panelTop.Name = "panelTop";
- this.panelTop.Size = new System.Drawing.Size(984, 50);
- this.panelTop.TabIndex = 1;
- //
- // chkAvailable
- //
- this.chkAvailable.AutoSize = true;
- this.chkAvailable.Location = new System.Drawing.Point(610, 17);
- this.chkAvailable.Name = "chkAvailable";
- this.chkAvailable.Size = new System.Drawing.Size(122, 17);
- this.chkAvailable.TabIndex = 7;
- this.chkAvailable.Text = "Только доступные";
- this.chkAvailable.UseVisualStyleBackColor = true;
- //
- // cmbCategory
- //
- this.cmbCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbCategory.Location = new System.Drawing.Point(100, 15);
- this.cmbCategory.Name = "cmbCategory";
- this.cmbCategory.Size = new System.Drawing.Size(150, 21);
- this.cmbCategory.TabIndex = 6;
- //
- // lblCategory
- //
- this.lblCategory.AutoSize = true;
- this.lblCategory.Location = new System.Drawing.Point(15, 18);
- this.lblCategory.Name = "lblCategory";
- this.lblCategory.Size = new System.Drawing.Size(63, 13);
- this.lblCategory.TabIndex = 5;
- this.lblCategory.Text = "Категория:";
- //
- // txtSearch
- //
- this.txtSearch.Location = new System.Drawing.Point(270, 15);
- this.txtSearch.Name = "txtSearch";
- this.txtSearch.Size = new System.Drawing.Size(150, 20);
- this.txtSearch.TabIndex = 4;
- //
- // btnSearch
- //
- this.btnSearch.Location = new System.Drawing.Point(430, 13);
- this.btnSearch.Name = "btnSearch";
- this.btnSearch.Size = new System.Drawing.Size(75, 23);
- this.btnSearch.TabIndex = 3;
- this.btnSearch.Text = "Поиск";
- this.btnSearch.UseVisualStyleBackColor = true;
- //
- // btnRefresh
- //
- this.btnRefresh.Location = new System.Drawing.Point(515, 13);
- this.btnRefresh.Name = "btnRefresh";
- this.btnRefresh.Size = new System.Drawing.Size(75, 23);
- this.btnRefresh.TabIndex = 2;
- this.btnRefresh.Text = "Обновить";
- this.btnRefresh.UseVisualStyleBackColor = true;
- //
- // btnAdd
- //
- this.btnAdd.BackColor = System.Drawing.Color.LimeGreen;
- this.btnAdd.Location = new System.Drawing.Point(750, 13);
- this.btnAdd.Name = "btnAdd";
- this.btnAdd.Size = new System.Drawing.Size(75, 23);
- this.btnAdd.TabIndex = 1;
- this.btnAdd.Text = "Добавить";
- this.btnAdd.UseVisualStyleBackColor = false;
- //
- // btnEdit
- //
- this.btnEdit.Location = new System.Drawing.Point(830, 13);
- this.btnEdit.Name = "btnEdit";
- this.btnEdit.Size = new System.Drawing.Size(75, 23);
- this.btnEdit.TabIndex = 1;
- this.btnEdit.Text = "Изменить";
- this.btnEdit.UseVisualStyleBackColor = true;
- //
- // btnDelete
- //
- this.btnDelete.Location = new System.Drawing.Point(910, 13);
- this.btnDelete.Name = "btnDelete";
- this.btnDelete.Size = new System.Drawing.Size(75, 23);
- this.btnDelete.TabIndex = 0;
- this.btnDelete.Text = "Удалить";
- this.btnDelete.UseVisualStyleBackColor = true;
- //
- // DishForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(984, 600);
- this.Controls.Add(this.dgvDishes);
- this.Controls.Add(this.panelTop);
- this.Name = "DishForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Управление меню";
- ((System.ComponentModel.ISupportInitialize)(this.dgvDishes)).EndInit();
- this.panelTop.ResumeLayout(false);
- this.panelTop.PerformLayout();
- this.ResumeLayout(false);
- }
- private System.Windows.Forms.DataGridView dgvDishes;
- private System.Windows.Forms.Panel panelTop;
- private System.Windows.Forms.TextBox txtSearch;
- private System.Windows.Forms.Button btnSearch;
- private System.Windows.Forms.Button btnRefresh;
- private System.Windows.Forms.Button btnAdd;
- private System.Windows.Forms.Button btnEdit;
- private System.Windows.Forms.Button btnDelete;
- private System.Windows.Forms.ComboBox cmbCategory;
- private System.Windows.Forms.Label lblCategory;
- private System.Windows.Forms.CheckBox chkAvailable;
- }
- }
|