• Visit Rebornbuddy
  • How to save changes in GUI CC

    Discussion in 'Archives' started by Spewer, Jul 29, 2011.

    1. Spewer

      Spewer Member

      Joined:
      Sep 17, 2010
      Messages:
      202
      Likes Received:
      0
      Trophy Points:
      16
      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!
       

    Share This Page