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

VS 2005 How to use same helping form for all the forms.

$
0
0
Hi. I have 3 forms, Sale Form, My Purchase Form and "Prod Info Form, which is a helping form"
When i insert the SaleID on my Sale form so on its lost focus event, the helping form appears with a DGV on it, loaded with all Products Info. Right. I double click on any product, which is then loaded on Sale Form textbox (Prod Name, on Sale Form) right. I want to do the same thing with another form, which is MyPurchaseInfoForm. I did the same coding with that, but as i double click on DGV Cell, so both the forms (Sale Form and MyPurchaseInfoForm) are displayed.

My question is, that i want when i double click so the Helping form figues out that I'm called by which form; The Sale Form or My Purchase Form.? Please assist me. I hope this idea will be understandable.

Viewing all articles
Browse latest Browse all 27189

Trending Articles



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