Click here to Skip to main content
15,919,613 members

Comments by defunktlemon (Top 36 by date)

defunktlemon 6-Dec-14 13:37pm View    
Fortunately, it's the harder way of the two which I am seeking to complete :D
So, your first assumption was right Bill. Form2 only holds Controls that modify the process of analysis being carried out on Form1.
Flow-of-Control:
1. Form1 (Main Form) loads/shows: Form2 not visible.
2. Button on Form1 pressed to start process which is carried out on Form1 : Form2 shown. "Original" image, with no results, displayed on Form1. The results are sent to Form2 to be displayed there, strings and integers.
3. Analysis has finished running (probably in 500 milliseconds or so): various Controls on Form2 will setup changes which will regulate/change/limit the analysis going to be done on the same image displayed in Form1 again ,not on Form2 but on Form1.
4. at some intervals and when analysis is complete, the image on Form1 is updated.
So, Form2 is basically a control box which can change the parameters being sent to Form1 analysis and then all the results are returned to Form2 to be displayed there.
The kind of controls are threshold slider, move and resize scoll bars to repositon the region of interest being analysed and buttons to run a single or continuous analysis on many images stored. As I said, I have all the code working for these elements but only if it's done on the same form. It's the pathways for two-way interaction which is causing me the problem. My lack of experience in object oriented programming; which I'm finding tricky and frustrating.
I hope your brain enjoys the rest and look forward to your return Bill.
defunktlemon 6-Dec-14 8:12am View    
All sounds correct Bill apart from the process isn't started until the second UI is opened. This will actually start the process and control it.
Initially, the UI, Form1, needs to show a loaded image only after a process has already been ran. When the user either right clicks on the image or clicks a button on Form1 they can open the second UI which will have the inspection button along with other buttons to re-start and control the process.
So, for example, if this process ran and failed, I would then be able to see the failed image and open up the second UI to adjust settings and run the analysis on it again to test which settings worked.

To be clear, I am using Visual Studio Express 2013 to do this in.
defunktlemon 25-Feb-13 22:52pm View    
Deleted
I fail to see how you can accuse me of any rude or anti-social behavior. Perhaps not the same for the other side can be said, though I have more dignity than to say it.
defunktlemon 25-Feb-13 22:34pm View    
Deleted
You answered my question but you didn't solve my problem. I hope that answers your question. So apparently, that is not all that matters.
As to the numbers game, those that count will count.
I think it best that our communication stop here Sergey. Please allow me to be answered by others and free you up to spend your considerable time, free of charge, without any your interest, for other users problems.
Perhaps it best that you 'blackspot' me from your list of those you wish to help and instruct the site owners to delete this question / page.
defunktlemon 25-Feb-13 19:50pm View    
Deleted
I'm afraid that I cannot accept a solution until it has solved my problem, i.e. solution.
The problem is far from solved as far as I am concerned. Don't you think that might be the 'purpose' of 'accepting the answer formally' (green button)?
Ask yourself this, if it is still confusing you; where on this page have you seen me posting a successful result (probably with a smiley face attached)? And some kind of acknowledgement and thanks?