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.
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.