1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Second Form hide and show

Discussion in 'Programming' started by GroundZero, Aug 26, 2010.

  1. GroundZero

    GroundZero LOL Banned Coder Donor

    How can i Hide and Show a Second Form.
    Because there a Textboxes and Checkbox.
    Like in D.R.T Noobiebot where the Checkbox saved.

    Thanks for all help!
     
  2. GroundZero

    GroundZero LOL Banned Coder Donor

    I use now this to Hide
    And this to Show//the show function i have already used
    so there a Checkbox if i check the box and hide the form and then show it again the checkbox is unchecked.

    Thats my Problem
     
  3. King Virus

    King Virus Banned Banned

    That suppose to be like that, correct me if I'm wrong.

    Checked = Hide
    Un-Checked = Show
     
  4. GroundZero

    GroundZero LOL Banned Coder Donor

    now i make a picture cause i think you dont understand me really
    I need the function from noobie bot when you click on the button Hacks or so then i open a FOrm i need the save function
     
  5. King Virus

    King Virus Banned Banned

    Oh, you mean when you click on the button "hacks" on noobiebot, a windows pops up and u tick the hacks and it saves them, after done ticking them and then you close it.

    Thats what your trying to do?
     
  6. [D.R.T]

    [D.R.T] (҂ `з´ ).︻╦̵̵̿╤── Coder Donor

    gcnew form in your constructor main form
     
  7. GroundZero

    GroundZero LOL Banned Coder Donor

    Also i will write a full descripttion of my problem

    I created two Forms
    Form1:
    A Button named Show which show the Form 2//works wonderfull
    Form2:
    A checkBox and a Button named Hide which Hide this Form//works
    So
    i use this function for
    Show:
    Form2 ^form2 = gcnew Form2;
    form2->Show();
    Hide:
    this->Hide();

    So my Problem is now
    I Check Checkbox one then i click on Hide(Form2 is not anymore to see)
    Then i click on Show but the Checkbox isnt Checked now.
     
  8. [D.R.T]

    [D.R.T] (҂ `з´ ).︻╦̵̵̿╤── Coder Donor

    check this http://ccplz.net/showthread.php/812-Tutorial-Show-and-hide-a-new-form-in-visual-c?goto=newpost
     

Share This Page