What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to save changes in GUI CC

Spewer

Member
Joined
Sep 17, 2010
Messages
202
Reaction score
0
Hey,

got a short question during writing my CustomClass.

How to make the GUI save my checked boxes.
I created a button "save and close" and various radio buttons.

if i check my radio buttons and then click the button the CC does not act.
Thats the button:
Code:
// 
            // save
            // 
            this.save.Location = new System.Drawing.Point(256, 164);
            this.save.Name = "save";
            this.save.Size = new System.Drawing.Size(161, 21);
            this.save.TabIndex = 5;
            this.save.Text = "Save and Close";
            this.save.UseVisualStyleBackColor = true;
            this.save.Click += new System.EventHandler(this.save_Click);

Here the config:
Code:
private void save_Click(object sender, EventArgs e)
        {
            this.Close();             
        }

But this is not working for me :(
Need help.
THX!
 
Back
Top