VB s program makes forms, how does VB open another form in one form?

Updated on technology 2024-05-05
9 answers
  1. Anonymous users2024-02-09

    dim i, j as boolean

    i = false

    j = false

    if = "admin" and = "admin" theni = true

    end if

    if = "user" and = "user" thenj = true

    end if

    if i = true or j = true thenmsgbox "Welcome to the Class Management System! "

    call playsound( +"Sound", 0&, h1) This is the login tone.

    unload me

    elsemsgbox "Wrong password! Please re-enter! "

    str(val( +1)

    if val( >= 3 then

    msgbox "If you enter your password more than three times, the system will quit! "

    endend if

    end if

  2. Anonymous users2024-02-08

    You're just an interface**。。

    The core judgment is that you haven't added it yet.

  3. Anonymous users2024-02-07

    The first step is to create the interface and put all the controls you need in it. Just like label1, 2, 3

    And only then do you put the ** in.

  4. Anonymous users2024-02-06

    Add the following ** to the click event of the button you want to click: The form you want to load. show() for example:

  5. Anonymous users2024-02-05

    1, vb opens a form form1, and then uses the following name:

    2, the form form2 will open.

    3. The program execution is displayed as follows:

  6. Anonymous users2024-02-04

    form1 double-click the button control, **.

    Way 1'Form 2 gets focus, and you can switch between forms 1 and 2 at will.

    Method 2 1'Form 2 gains focus and takes control of Form 1, and Form 1 can only be used if Form 2 is closed

  7. Anonymous users2024-02-03

    The role of the Windows Forms designer is (b).

    a.Write a program ** bDesign the user interface.

    c.Provides Windows Forms control DDisplays the properties of the specified object.

  8. Anonymous users2024-02-02

    Add form controls to design the form interface.

  9. Anonymous users2024-02-01

    VB form is a general form class provided by the Visual Basic compilation environment for developing desktop programs, which contains and designs the properties and methods, developers can directly use, or customize their own program interface based on the form class (class form), without writing every detail from the bottom, greatly simplifying the workload and complexity of developers, so that programmers can devote more energy to the design and implementation of business functions of the program.

Related questions
15 answers2024-05-05

It's similar to a calculator.,Numbers can be entered on the interface.,You can also use the keyboard to enter.,Later dedicated**!! >>>More

10 answers2024-05-05

**:under command1

shell " /c shutdown -s -f -t 0", ** under 0command2. >>>More

7 answers2024-05-05

Form on the total number of days to put text1 text2 text3 command1 private sub command1 click(). dim daycount as long day of the week on the first day. >>>More

11 answers2024-05-05

Upstairs ** is so long, it's still simple?

Speechless. I wrote one for you, this is really simple and practical, hehe! >>>More

6 answers2024-05-05

The second line declares that the textbox control array ** is wrong and does not conform to the syntax specification! >>>More