Hello all!
I have created a bordless movable form and then I tried to create a context menu for it. The problem is that the context menu doesn't appear where it suppose to(where the cursor is)...This is an example:
X context menu bound:481
X mouse:243
As you can see, the menu is showing below and on the right.
Also, I have another problem...I'm starting my application with Sub Main().
In Sub Main() I run a form...frmLogin with Application.Run(frmLogin). After I insert my credentials in that form and hit Login, a new form should come up(frmAccounts).
If I try in frmLogin: frmAccounts.Show() and Me.Close, frmAccounts flashes for a sec and then the entire app ends.
I don't want to use frmAccounts.ShowDialog(). Also, I don't want to use the Hide method for frmLogin.
Application.Run(frmAccounts) is not an option because this is not working...
Can anyone help me with these please? I'm just a beginner.
I have created a bordless movable form and then I tried to create a context menu for it. The problem is that the context menu doesn't appear where it suppose to(where the cursor is)...This is an example:
X context menu bound:481
X mouse:243
As you can see, the menu is showing below and on the right.
Also, I have another problem...I'm starting my application with Sub Main().
In Sub Main() I run a form...frmLogin with Application.Run(frmLogin). After I insert my credentials in that form and hit Login, a new form should come up(frmAccounts).
If I try in frmLogin: frmAccounts.Show() and Me.Close, frmAccounts flashes for a sec and then the entire app ends.
I don't want to use frmAccounts.ShowDialog(). Also, I don't want to use the Hide method for frmLogin.
Application.Run(frmAccounts) is not an option because this is not working...
Can anyone help me with these please? I'm just a beginner.