Form Loosing Data
Hi
I have Two forms
frmMain and frmChild
in frmMain_Load, I am calling a function in frmChild which loads data into the textboxes of frmChild
Call frmChild.LoadData()
and after that I am saying frmChild.Show()
Problem is, once frmChild is loaded its not showing any data. I tried to debug and LoadData is calling correctly and assigning values to textboxes and somehow after calling Show(), they are loosing data..
Class definition for both forms is:
Friend Class frmMain
Inherits System.Windows.Forms.Form
Friend Class frmChild
Inherits System.Windows.Forms.Form
How to solve this issue..
I am using Visual Studio 2005, Win Forms.
Thanks
|