Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 [RESOLVED] VB.NET ShowDialog firing ValueChanged event and not form Load event

$
0
0
Hi, I have just started using VS2010 (VB) and have converted my VB6 project. I am having a problem with one of my forms which I call with ShowDialog. Instead of firing the Load Event, it is firing a ValueChanged event for a DatePicker on the modal form.

Here is how I invoke the form ' frmRoomMaint.ShowDialog()'
and the Load Event ' Private Sub frmRoomMaint_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Me.Load'.

Any help will be much appreciated. P.S. I have coded a workaround but really need to understand why it is happening this way. Have searched many forums but no answer to my specific dilema. This is my first ever post so ............ Thanks in advance.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>