Hi,
Am doing this project that simulates how a storage device works. My interface just uses a panel to represent the device and contains a number of coloured labels that represent the cells in the device. I just change the color of the cells to demonstrate the cells being occupied by a text message that has been entered into an input box.
Using a button, I should be able to freeze or unfreeze the simulation as the labels change color. I thought of using Thread.suspend() and Thread.resume() methods only to discover they have been depracated in VS.Net 2005.
I can't find a good tutorial on how to implement the new way of supend() and resume() functionalty in my project.
Please help at least with some code illustrations and explanation. Thanks in advance.
Am doing this project that simulates how a storage device works. My interface just uses a panel to represent the device and contains a number of coloured labels that represent the cells in the device. I just change the color of the cells to demonstrate the cells being occupied by a text message that has been entered into an input box.
Using a button, I should be able to freeze or unfreeze the simulation as the labels change color. I thought of using Thread.suspend() and Thread.resume() methods only to discover they have been depracated in VS.Net 2005.
I can't find a good tutorial on how to implement the new way of supend() and resume() functionalty in my project.
Please help at least with some code illustrations and explanation. Thanks in advance.