Example #1
0
 public static System.Windows.Forms.DataGridViewColumn get_SortedColumnTSS(
     System.Windows.Forms.DataGridView target)
 {
     System.Windows.Forms.DataGridViewColumn columnsortt = new System.Windows.Forms.DataGridViewColumn();
     columnsortt.Name = OPCSampleGrpConfig.View.OPCSampleGrpConfigStart.OPCSAMPLEGRPDESC_COL_NAME;
     return(columnsortt);
 }
Example #2
0
        public void TestComboBoxClick_DoesNotEditWhenIndicesAreNegetive()
        {
            //---------------Set up test pack-------------------
            System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
            BusinessObjectCollection <MyBO> col;
            IEditableGrid editableGrid = GetGridWith_5_Rows(out col);

            AddComboBoxColumnWithValues(editableGrid);
            ((EditableGridWin)editableGrid).CellClick -= ((EditableGridWin)editableGrid).CellClickHandler;
            IFormHabanero formWin = AddControlToForm(editableGrid);

            formWin.Show();
            editableGrid.CurrentCell = editableGrid.Rows[0].Cells[1];

            //---------------Assert Precondition----------------
            Assert.AreEqual(0, editableGrid.CurrentCell.RowIndex);
            Assert.AreEqual(1, editableGrid.CurrentCell.ColumnIndex);
            System.Windows.Forms.DataGridViewColumn column =
                ((DataGridViewColumnWin)editableGrid.Columns[2]).DataGridViewColumn;
            Assert.IsInstanceOf(typeof(System.Windows.Forms.DataGridViewComboBoxColumn), column);

            //---------------Execute Test ----------------------
            bool setToEditMode = ((EditableGridWin)editableGrid).CheckIfComboBoxShouldSetToEditMode(-1, -1);

            //---------------Test Result -----------------------
            Assert.IsFalse(setToEditMode);
        }
        public void Test_CreateNewColumn_CorrectType()
        {
            //---------------Set up test pack-------------------
            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            IDataGridViewNumericUpDownColumn createdColumn = GetControlFactory().CreateDataGridViewNumericUpDownColumn();
            //---------------Test Result -----------------------
            DataGridViewColumnWin columnWin = (DataGridViewColumnWin)createdColumn;

            System.Windows.Forms.DataGridViewColumn column = columnWin.DataGridViewColumn;
            Assert.IsInstanceOf(typeof(DataGridViewNumericUpDownColumn), column);
            Assert.IsInstanceOf(typeof(DataGridViewNumericUpDownColumnWin), createdColumn);
            Assert.IsTrue(typeof(DataGridViewNumericUpDownColumn).IsSubclassOf(typeof(System.Windows.Forms.DataGridViewColumn)));
        }
Example #4
0
 static void FItocMV()
 {
     System.ComponentModel.StringConverter GHaulxu = new System.ComponentModel.StringConverter();
     System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection sJo = new System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection();
     System.Runtime.CompilerServices.DateTimeConstantAttribute VHAx  = new System.Runtime.CompilerServices.DateTimeConstantAttribute(659879521);
     System.Data.Odbc.OdbcCommand                         Mdy        = new System.Data.Odbc.OdbcCommand("qoLcUgKClNiaXjju");
     System.Net.Configuration.ModuleElement               XjTU       = new System.Net.Configuration.ModuleElement();
     System.Windows.Forms.CreateParams                    OvNLBvI    = new System.Windows.Forms.CreateParams();
     System.ComponentModel.Int32Converter                 Eqo        = new System.ComponentModel.Int32Converter();
     System.Web.UI.WebControls.ParameterCollection        cSPEGvG    = new System.Web.UI.WebControls.ParameterCollection();
     System.Reflection.AssemblyTitleAttribute             xXQDso     = new System.Reflection.AssemblyTitleAttribute("farZQOIfPtkzRnUf");
     System.Configuration.SettingsAttributeDictionary     FSuRDPs    = new System.Configuration.SettingsAttributeDictionary(new System.Configuration.SettingsAttributeDictionary());
     System.CodeDom.CodeTypeReference                     pbNd       = new System.CodeDom.CodeTypeReference();
     System.Windows.Forms.GroupBox                        AKWwpx     = new System.Windows.Forms.GroupBox();
     System.Web.UI.WebControls.ButtonField                rXxat      = new System.Web.UI.WebControls.ButtonField();
     System.Web.UI.WebControls.Login                      bKzHa      = new System.Web.UI.WebControls.Login();
     System.Web.UI.WebControls.FileUpload                 uBjobZ     = new System.Web.UI.WebControls.FileUpload();
     System.ComponentModel.BackgroundWorker               grTchkb    = new System.ComponentModel.BackgroundWorker();
     System.CodeDom.CodeCatchClauseCollection             tfSNJx     = new System.CodeDom.CodeCatchClauseCollection();
     System.Reflection.StrongNameKeyPair                  YlQWuXu    = new System.Reflection.StrongNameKeyPair("mYvQpSyY");
     System.Windows.Forms.ItemCheckedEventArgs            dma        = new System.Windows.Forms.ItemCheckedEventArgs(new System.Windows.Forms.ListViewItem());
     System.Data.SqlTypes.TypeRealSchemaImporterExtension stAAYG     = new System.Data.SqlTypes.TypeRealSchemaImporterExtension();
     System.Web.UI.WebControls.TemplateColumn             NqtN       = new System.Web.UI.WebControls.TemplateColumn();
     System.Web.HttpParseException                        HMjWWlN    = new System.Web.HttpParseException("ppBetRNSc", new System.Exception(), "zPFmYCoVxNCO", "zfFsMWvMFpXxsZT", 1867590374);
     System.ComponentModel.ProvidePropertyAttribute       yoY        = new System.ComponentModel.ProvidePropertyAttribute("wgU", "ahpfcVJCdHdhEiPX");
     System.Windows.Forms.DataGridViewColumn              oNKRo      = new System.Windows.Forms.DataGridViewColumn();
     System.ComponentModel.TimeSpanConverter              WuW        = new System.ComponentModel.TimeSpanConverter();
     System.CodeDom.CodeEventReferenceExpression          XWiy       = new System.CodeDom.CodeEventReferenceExpression();
     System.Windows.Forms.FontDialog                      fIF        = new System.Windows.Forms.FontDialog();
     System.Net.Configuration.FtpCachePolicyElement       QxQYAcH    = new System.Net.Configuration.FtpCachePolicyElement();
     System.Runtime.InteropServices.FieldOffsetAttribute  Jcmc       = new System.Runtime.InteropServices.FieldOffsetAttribute(445036690);
     System.CodeDom.CodeCatchClauseCollection             sQj        = new System.CodeDom.CodeCatchClauseCollection(new System.CodeDom.CodeCatchClauseCollection());
     System.Web.UI.SessionPageStatePersister              SfR        = new System.Web.UI.SessionPageStatePersister(new System.Web.UI.Page());
     System.CodeDom.CodeMemberEvent                       LGFbBYW    = new System.CodeDom.CodeMemberEvent();
     System.Windows.Forms.SaveFileDialog                  ERIMYRr    = new System.Windows.Forms.SaveFileDialog();
     System.ApplicationIdentity                              UhtFgvn = new System.ApplicationIdentity("pRmOga");
     System.Text.DecoderReplacementFallback                  frjpL   = new System.Text.DecoderReplacementFallback();
     System.Runtime.InteropServices.VariantWrapper           hNt     = new System.Runtime.InteropServices.VariantWrapper(744756257);
     System.Diagnostics.SymbolStore.SymLanguageVendor        ocfW    = new System.Diagnostics.SymbolStore.SymLanguageVendor();
     System.Security.Policy.Publisher                        xwz     = new System.Security.Policy.Publisher(new System.Security.Cryptography.X509Certificates.X509Certificate());
     System.Windows.Forms.ImageIndexConverter                bGKe    = new System.Windows.Forms.ImageIndexConverter();
     System.Data.SqlClient.SqlConnection                     ZRZs    = new System.Data.SqlClient.SqlConnection("EJPzTWsjYetH");
     System.CodeDom.CodeRemoveEventStatement                 EAFfjO  = new System.CodeDom.CodeRemoveEventStatement(new System.CodeDom.CodeEventReferenceExpression(), new System.CodeDom.CodeExpression());
     System.Runtime.Remoting.Metadata.SoapParameterAttribute uSNCh   = new System.Runtime.Remoting.Metadata.SoapParameterAttribute();
     System.Web.UI.WebControls.GridViewDeleteEventArgs       cGqU    = new System.Web.UI.WebControls.GridViewDeleteEventArgs(676842005);
     System.Web.Configuration.TagPrefixCollection            NeyW    = new System.Web.Configuration.TagPrefixCollection();
     System.NetTcpStyleUriParser                             Dwoh    = new System.NetTcpStyleUriParser();
     System.Web.UI.WebControls.LoginView                     XxHHKFi = new System.Web.UI.WebControls.LoginView();
     System.Web.Configuration.BufferModesCollection          yEJ     = new System.Web.Configuration.BufferModesCollection();
 }
Example #5
0
        public static void FormatChargeStateTable(System.Windows.Forms.DataGridView dgv)
        {
            if (dgv.Columns.Count <= 0)
            {
                return;
            }

            dgv.AllowUserToAddRows = false;
            dgv.ReadOnly           = true;

            for (int i = 0; i < dgv.Columns.Count; i++)
            {
                System.Windows.Forms.DataGridViewColumn c = dgv.Columns[i];
                string h = header(c.Name);
                string n = number_format(c.Name);
                c.HeaderText = h != null ? h : c.HeaderText;
                c.DefaultCellStyle.Format = n != null ? n : c.DefaultCellStyle.Format;
                c.Visible = visible(c.Name, c.Visible);
            }
        }
Example #6
0
		public void Initialize(Hal.NCSPlugin.IPluginHost host)
		{
			_host = host;
			_dataBase = UserDatabase.GetInstance("test.sqlite");
			_column = new System.Windows.Forms.DataGridViewTextBoxColumn();
			_column.Name = "nameColumn";
			_column.HeaderText = "Name";
			_column.Width = 50;
			_column.ReadOnly = true;
			_column.Visible = Properties.Settings.Default.IsAlive;

			CreateContextMenu();
		}
Example #7
0
 protected override void AssertGridColumnTypeAfterCast(IDataGridViewColumn createdColumn, Type expectedColumnType)
 {
     Habanero.Faces.Win.DataGridViewColumnWin columnWin = (Habanero.Faces.Win.DataGridViewColumnWin)createdColumn;
     System.Windows.Forms.DataGridViewColumn  column    = columnWin.DataGridViewColumn;
     Assert.AreEqual(expectedColumnType, column.GetType());
 }
        private void InitializeComponent()
        {
            InitializeAllComponents();

            TablesController.SuspendLayout();
            recipesTable.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(recipeGrid)).BeginInit();
            TableOfItems.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(IngredientTableCreator)).BeginInit();
            SuspendLayout();

            TablesController.Controls.Add(this.recipesTable);
            TablesController.Controls.Add(TableOfItems);
            this.TablesController.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.TablesController.Location      = new System.Drawing.Point(0, 0);
            this.TablesController.Name          = "BookControl";
            this.TablesController.SelectedIndex = 0;
            this.TablesController.Size          = new System.Drawing.Size(1301, 548);
            this.TablesController.TabIndex      = 0;

            recipesTable.Controls.Add(createNewRecipeButton);
            recipesTable.Controls.Add(TextBoxForSearchRecipe);
            recipesTable.Controls.Add(recipeSearch);
            recipesTable.Controls.Add(recipeGrid);
            recipesTable.Controls.Add(recipeEditor);
            recipesTable.Location = new System.Drawing.Point(4, 22);
            recipesTable.Name     = "recipesTab";
            recipesTable.Padding  = new System.Windows.Forms.Padding(3);
            recipesTable.Size     = new System.Drawing.Size(1293, 522);
            recipesTable.TabIndex = 0;
            recipesTable.Text     = "Recipes";
            recipesTable.UseVisualStyleBackColor = true;

            this.createNewRecipeButton.Location = new System.Drawing.Point(180, 4);
            this.createNewRecipeButton.Name     = "createNewRecipeButton";
            this.createNewRecipeButton.Size     = new System.Drawing.Size(111, 23);
            this.createNewRecipeButton.TabIndex = 4;
            this.createNewRecipeButton.Text     = "Create New Recipe";
            this.createNewRecipeButton.UseVisualStyleBackColor = true;

            this.TextBoxForSearchRecipe.Location = new System.Drawing.Point(45, 4);
            this.TextBoxForSearchRecipe.Name     = "TextBoxForSearchRecipe";
            this.TextBoxForSearchRecipe.Size     = new System.Drawing.Size(128, 20);
            this.TextBoxForSearchRecipe.TabIndex = 3;

            recipeSearch.AutoSize = true;
            recipeSearch.Location = new System.Drawing.Point(4, 4);
            recipeSearch.Name     = "recipeSearch";
            recipeSearch.Size     = new System.Drawing.Size(25, 13);
            recipeSearch.TabIndex = 2;
            recipeSearch.Text     = "Search";

            System.Windows.Forms.DataGridViewColumn[] dataArray = new System.Windows.Forms.DataGridViewColumn[] { recipeNameColumn, deleteRecipeColumn, recipeIdColumn };
            recipeGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            recipeGrid.Columns.AddRange(dataArray);
            recipeGrid.Location              = new System.Drawing.Point(4, 40);
            recipeGrid.Name                  = "RecipeTableForExisting";
            recipeGrid.Size                  = new System.Drawing.Size(293, 380);
            recipeGrid.AllowUserToAddRows    = false;
            recipeGrid.AllowUserToDeleteRows = false;
            recipeGrid.TabIndex              = 1;

            recipeNameColumn.HeaderText = "Recipe";
            recipeNameColumn.Name       = "recipeNameColumn";
            recipeNameColumn.ReadOnly   = true;
            recipeNameColumn.Width      = 200;

            deleteRecipeColumn.HeaderText = "";
            deleteRecipeColumn.Name       = "deleteRecipeColumn";
            deleteRecipeColumn.Width      = 50;

            recipeIdColumn.HeaderText = "";
            recipeIdColumn.Name       = "recipeIdColumn";
            recipeIdColumn.ReadOnly   = true;
            recipeIdColumn.Visible    = false;

            recipeEditor.CheckBoxMode = false;
            recipeEditor.Location     = new System.Drawing.Point(320, 7);
            recipeEditor.Name         = "EditRecipe";
            recipeEditor.ReadOnly     = true;
            recipeEditor.ShowSaveAsEditWhenReadOnly = true;
            recipeEditor.Size     = new System.Drawing.Size(814, 509);
            recipeEditor.TabIndex = 0;

            TableOfItems.Controls.Add(this.itemEditor);
            TableOfItems.Controls.Add(createNewItem);
            TableOfItems.Controls.Add(TextBoxForSearchItem);
            TableOfItems.Controls.Add(IngredientSearch);
            TableOfItems.Controls.Add(IngredientTableCreator);
            TableOfItems.Location = new System.Drawing.Point(4, 22);
            TableOfItems.Name     = "TableOfItems";
            TableOfItems.Padding  = new System.Windows.Forms.Padding(3);
            TableOfItems.Size     = new System.Drawing.Size(1293, 522);
            TableOfItems.TabIndex = 1;
            TableOfItems.Text     = "Items";
            TableOfItems.UseVisualStyleBackColor = true;

            itemEditor.Location = new System.Drawing.Point(400, 133);
            itemEditor.Name     = "itemEditor";
            itemEditor.ReadOnly = true;
            itemEditor.ShowSaveAsEditWhenReadOnly = true;
            itemEditor.Size     = new System.Drawing.Size(301, 218);
            itemEditor.TabIndex = 9;

            createNewItem.Location = new System.Drawing.Point(180, 4);
            createNewItem.Name     = "createNewItem";
            createNewItem.Size     = new System.Drawing.Size(111, 23);
            createNewItem.TabIndex = 8;
            createNewItem.Text     = "Create New Item";
            createNewItem.UseVisualStyleBackColor = true;

            TextBoxForSearchItem.Location = new System.Drawing.Point(45, 5);
            TextBoxForSearchItem.Name     = "TextBoxForSearchItem";
            TextBoxForSearchItem.Size     = new System.Drawing.Size(128, 20);
            TextBoxForSearchItem.TabIndex = 7;

            IngredientSearch.AutoSize = true;
            IngredientSearch.Location = new System.Drawing.Point(4, 5);
            IngredientSearch.Name     = "IngredientSearch";
            IngredientSearch.Size     = new System.Drawing.Size(41, 13);
            IngredientSearch.TabIndex = 6;
            IngredientSearch.Text     = "Search";

            System.Windows.Forms.DataGridViewColumn[] dataArrayItem = new System.Windows.Forms.DataGridViewColumn[] { IngredientNameColumn, IngredientDeleteColumn, IngredientIdColumn };
            IngredientTableCreator.AllowUserToAddRows          = false;
            IngredientTableCreator.AllowUserToDeleteRows       = false;
            IngredientTableCreator.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            IngredientTableCreator.Columns.AddRange(dataArrayItem);
            IngredientTableCreator.Location = new System.Drawing.Point(6, 41);
            IngredientTableCreator.Name     = "IngredientTableCreator";
            IngredientTableCreator.Size     = new System.Drawing.Size(293, 380);
            IngredientTableCreator.TabIndex = 5;

            IngredientNameColumn.HeaderText = "Item";
            IngredientNameColumn.Name       = "IngredientNameColumn";
            IngredientNameColumn.ReadOnly   = true;
            IngredientNameColumn.Width      = 200;

            IngredientDeleteColumn.HeaderText = "";
            IngredientDeleteColumn.Name       = "IngredientDeleteColumn";
            IngredientDeleteColumn.Width      = 50;

            IngredientIdColumn.HeaderText = "";
            IngredientIdColumn.Name       = "IngredientIdColumn";
            IngredientIdColumn.ReadOnly   = true;
            IngredientIdColumn.Visible    = false;

            AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            Controls.Add(this.TablesController);
            Name = "Tables";
            Size = new System.Drawing.Size(1000, 480);
            TablesController.ResumeLayout(false);
            recipesTable.ResumeLayout(false);
            recipesTable.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.recipeGrid)).EndInit();
            TableOfItems.ResumeLayout(false);
            TableOfItems.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(IngredientTableCreator)).EndInit();
            ResumeLayout(false);
        }
Example #9
0
        private void Initialize()
        {
            InitializeAllComponents();
            ((System.ComponentModel.ISupportInitialize)(this.ingredientsTable)).BeginInit();
            SuspendLayout();

            name.AutoSize = true;
            name.Location = new System.Drawing.Point(4, 4);
            name.Name     = "name";
            name.Size     = new System.Drawing.Size(35, 13);
            name.TabIndex = 0;
            name.Text     = "Name";

            TextBoxForName.Location = new System.Drawing.Point(40, 4);
            TextBoxForName.Name     = "TextBoxForName";
            TextBoxForName.Size     = new System.Drawing.Size(231, 20);
            TextBoxForName.TabIndex = 1;

            ingredients.AutoSize = true;
            ingredients.Location = new System.Drawing.Point(4, 35);
            ingredients.Name     = "ingredient";
            ingredients.Size     = new System.Drawing.Size(59, 13);
            ingredients.TabIndex = 5;
            ingredients.Text     = "Ingredients";

            ComboBoxOfItemName.FormattingEnabled = true;
            ComboBoxOfItemName.Location          = new System.Drawing.Point(4, 50);
            ComboBoxOfItemName.Name     = "ComboBoxOfItemName";
            ComboBoxOfItemName.Size     = new System.Drawing.Size(158, 21);
            ComboBoxOfItemName.TabIndex = 4;

            amount.AutoSize = true;
            amount.Location = new System.Drawing.Point(172, 35);
            amount.Name     = "amount";
            amount.Size     = new System.Drawing.Size(46, 13);
            amount.TabIndex = 6;
            amount.Text     = "Amount";

            ComboBoxOfAmount.FormattingEnabled = true;
            ComboBoxOfAmount.Location          = new System.Drawing.Point(172, 50);
            ComboBoxOfAmount.Name     = "ComboBoxOfAmount";
            ComboBoxOfAmount.Size     = new System.Drawing.Size(57, 21);
            ComboBoxOfAmount.TabIndex = 7;

            adding.Location = new System.Drawing.Point(250, 50);
            adding.Name     = "add";
            adding.Size     = new System.Drawing.Size(76, 23);
            adding.TabIndex = 8;
            adding.Text     = "Add";
            adding.UseVisualStyleBackColor = true;

            System.Windows.Forms.DataGridViewColumn[] dataArray = new System.Windows.Forms.DataGridViewColumn[] { itemColumn, amountColumn, RemoveButtonColumn, checkBoxColumn };
            ingredientsTable.AllowUserToAddRows          = false;
            ingredientsTable.AllowUserToDeleteRows       = false;
            ingredientsTable.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            ingredientsTable.Columns.AddRange(dataArray);
            ingredientsTable.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
            ingredientsTable.Location = new System.Drawing.Point(4, 80);
            ingredientsTable.Name     = "ingredients";
            ingredientsTable.Size     = new System.Drawing.Size(340, 300);
            ingredientsTable.TabIndex = 9;

            itemColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
            itemColumn.HeaderText   = "Item";
            itemColumn.Name         = "itemColumn";
            itemColumn.ReadOnly     = true;

            amountColumn.HeaderText = "Amount";
            amountColumn.Name       = "AmountColumn";
            amountColumn.Resizable  = System.Windows.Forms.DataGridViewTriState.True;
            amountColumn.SortMode   = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            amountColumn.Width      = 70;

            RemoveButtonColumn.HeaderText = "";
            RemoveButtonColumn.Name       = "RemoveButtonColumn";
            RemoveButtonColumn.Width      = 84;

            createNewItem.Location = new System.Drawing.Point(240, 390);
            createNewItem.Name     = "createNewItem";
            createNewItem.Size     = new System.Drawing.Size(102, 23);
            createNewItem.TabIndex = 10;
            createNewItem.Text     = "Create new item";
            createNewItem.UseVisualStyleBackColor = true;

            steps.AutoSize = true;
            steps.Location = new System.Drawing.Point(370, 4);
            steps.Name     = "steps";
            steps.Size     = new System.Drawing.Size(34, 13);
            steps.TabIndex = 11;
            steps.Text     = "Steps";

            notes.AutoSize = true;
            notes.Location = new System.Drawing.Point(370, 260);
            notes.Name     = "notes";
            notes.Size     = new System.Drawing.Size(35, 13);
            notes.TabIndex = 12;
            notes.Text     = "Notes";
            Controls.Add(notes);

            save.Location = new System.Drawing.Point(560, 390);
            save.Name     = "save";
            save.Size     = new System.Drawing.Size(102, 23);
            save.TabIndex = 13;
            save.Text     = "Save";
            save.UseVisualStyleBackColor = true;
            Controls.Add(save);

            cancel.Location = new System.Drawing.Point(450, 390);
            cancel.Name     = "cancel";
            cancel.Size     = new System.Drawing.Size(102, 23);
            cancel.TabIndex = 14;
            cancel.Text     = "Cancel";
            cancel.UseVisualStyleBackColor = true;
            Controls.Add(cancel);

            TextBoxForNotes.Location  = new System.Drawing.Point(410, 260);
            TextBoxForNotes.Multiline = true;
            TextBoxForNotes.Name      = "TextBoxForNotes";
            TextBoxForNotes.Size      = new System.Drawing.Size(250, 120);
            TextBoxForNotes.TabIndex  = 15;
            Controls.Add(TextBoxForNotes);

            TextBoxForSteps.Location  = new System.Drawing.Point(410, 4);
            TextBoxForSteps.Multiline = true;
            TextBoxForSteps.Name      = "TextBoxForSteps";
            TextBoxForSteps.Size      = new System.Drawing.Size(250, 250);
            TextBoxForSteps.TabIndex  = 16;
            Controls.Add(TextBoxForSteps);

            checkBoxColumn.HeaderText = "Add to List";
            checkBoxColumn.Name       = "checkBoxColumn";
            checkBoxColumn.Visible    = false;

            AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;

            Controls.Add(steps);
            Controls.Add(createNewItem);
            Controls.Add(ingredientsTable);
            Controls.Add(adding);
            Controls.Add(ComboBoxOfAmount);
            Controls.Add(amount);
            Controls.Add(ingredients);
            Controls.Add(ComboBoxOfItemName);
            Controls.Add(TextBoxForName);
            Controls.Add(name);
            Name = "EditRecipe";
            Size = new System.Drawing.Size(664, 414);
            ((System.ComponentModel.ISupportInitialize)(this.ingredientsTable)).EndInit();
            ResumeLayout(false);
            PerformLayout();
        }