If I understand what you need, you need something like this (the first part is VERY similar to Michael's answer):
In the shape of:
Public MarketCOde As String ' whatever it is.
Public Sub New(mktCode As String)
' leave this line alone
InitializeComponent
MarketCOde = mktCode
End sub
Now that the code in your form needs to know in which market it works, it can link to MarketCode.
To create a form for working with a new market:
Dim frmAsia As New FORMNAME("ASIA")
Since the form will FORBID the market code, we pass it when we create the form. We arent cloning a form, but creating instanceto work with different, but specific markets. Now keep reading, because the bad news is:
If all the code is embedded in the form, it should be reorganized to link to MarketCode, and not to hard-coded links, probably now. Then your application should start a new path, since mainform will not receive this critical MktCode argument from VB.
Project Properties. :
' this is a new button on a new form to make Market Form instances.
Sub button1_click......
' USE THE ACTUAL FormName from your code!
Dim frmCentral as New FORMNAME("CENTRAL")
frmCentral.Show
End Sub
' each button makes a new market form,
Sub button2_click...... ' NOTE: Btn 2!
' the FormName from your code
Dim frmAsia as New FORMNAME("ASIA")
frmAsia.Show
End Sub
, ,
. . .