User Profile

Collapse

Profile Sidebar

Collapse
garrywang57
garrywang57
Last Activity: May 2 '19, 04:33 PM
Joined: Apr 24 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • You can do so using Show and Close method of the Form. Let us suppose that
    you have 3 forms, Form1 (the main form), Form2 and Form3.

    From Form2, if you want to open Form3 and close Form2, you can use the
    following code:

    Form3 f3 = new Form3();
    f3.Show(); // Opens the Form3

    this.Close(); // Closes the current form (Form2)

    If you close Form1 (which might be the main form),...
    See more | Go to post
    Last edited by Rabbit; May 3 '19, 04:27 PM. Reason: external link removed per forum policy

    Leave a comment:


  • garrywang57
    replied to C++ toupper()
    in C
    What does this mean?

    string.h is the C string header.
    cstring is the C++ version of the C header
    string is the header for the C++ string class inthe C++ Standard Library

    Why do you say <string> does not exist? It has to exist if the compiler is sold as C++ compiler.
    See more | Go to post
    Last edited by NeoPa; May 2 '19, 11:58 PM. Reason: Removed illegal link.

    Leave a comment:

No activity results to display
Show More
Working...