Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can't to load Form?
Message
 
 
To
18/01/2011 11:23:46
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Miscellaneous
Thread ID:
01496430
Message ID:
01496440
Views:
34
>HI ALL,
> My question is very speical....... i write the mainpage have MenuStrip,
>1.Company > go to clinetInformation.ShowDialog()
>2.job > go to jobInformation.ShowDialog()
>
> In clinetinformation form , i have a button, if onclick will go to job page
>
>
>clinetinformation form 
>----------------------------------------
>  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles butPost.Click
>        jobInformation.companypass = 1
>        jobInformation.Show()
>    End Sub
>
>jobInformation.form
>-----------------------------------
>  Dim pass As Integer = 0
>
> If pass = 1 Then
>.....
>else
>.....
>endif
>
> Public Property companypass() As Integer
>        Get
>            Return Me.pass
>        End Get
>        Set(ByVal value As Integer)
>            pass = value
>        End Set
>    End Property
>
>
>In first ,all form is no problem , and i set the job form breakpoint in public class, and form load.... if you go to 1.Company page and onlick button go to job is no problem , job form will load.. if you go to 2.job page, also no poblem , job form will load.
>But if you go to 2.job page first , job form ok will load , after question appear, you go to 1.company and onclick to
>jobInformation page.
> The jobInformation form can't to do all things. In jobInformation form breakpoint no interrupt...but jobinformation also show,
>important is all variable no reset...
>Why will appear this problem , and how can i do?


Do you really want all these dependencies between your forms? I realize you are just trying to solve an immediate problem but it you get a chance to redesign, maybe think about that.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform