I am working on windows forms. I have two applications, one is parent and another one is child. In my main application i have a grid with bunch of records. user needs to select one record and click on button, i need to send that selected record's data to child application as arguments like,
Process.Start("path to child exe","selected record's data");
and after that i will get that sent data to child application as,
Environment.GetEnvironmentVariables()[0];
now when the processing with sent data from parent has been completed, child application needs to close automatically. after that in parent application the selected row of gridview need to shift one row forward and send that selected row information to child application and the process needs to iterate until it traverse all records in my gridview in main application.