C# make dynamic button permanent?

Viewed 24

hello so we are generating this beautiful button through another button in my forms app i found out how to save some settings with Properties.Settings but i still dont know how to make the generated button permanent. a feature to reset the button would be nice too how would i do that ?

here is the generated button

Button button8 = new Button();
                this.Controls.Add(button8);

                button8.Location = new System.Drawing.Point(187, 75);
                button8.Name = "button8";
                button8.Size = new System.Drawing.Size(75, 23);
                button8.TabIndex = 12;
                button8.Text = "dynamic";
                button8.UseVisualStyleBackColor = true;
                button8.Click += new System.EventHandler(this.button8_Click);
0 Answers
Related