I
I
Igor Kaspersky2016-02-06 19:52:04
Visual Basic
Igor Kaspersky, 2016-02-06 19:52:04

Visual Basic 2013 forms?

Each form has the same button with the same function, but with different inputs.
How not to create several additional forms to register in one single form.
If Form1 = True Then
then the action happens with Form1
else If Form 2...
Or try switch case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2016-02-06
@SaNNy32

Move the button action functionality to a separate class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question