vb.net - How to open a frmWindow a second time wothout refreshing a grid in the first one? -
i have window grid making select mysql, , using .show()
function insted of showdialog()
.
i can open same window second time have 2 instances of same window.
now, when open second instance grid populates new selection in first window. how can make window open second time without refresing grid in again in first one?
if creating new instance of same form, based on variable "myform" different locations, in effect going "refresh" both forms.
one way around create second variable instance of frmmain in seperate function. (ie... not @ vb @ all, forgive vb programming skills.)
in 1 function:
dim myform new formmain() myform.show();
in second function
dim frmtwo new frmmain() frmtwo.show();
then make calls frmtwo, second form opened.
i hope helps.
Comments
Post a Comment