What should I do if I am processing large amount of data and the form will become white when I minimized it but it will back to it’s original form when the processing of file is complete.
ex:
this is what happened when I minimized the form.

and this is what happened after the processing of large amount of data.. It will back to it’s original form.

all I want to do is that, even though I am minimizing the form, the form will not turn into white and to show what is happening to the progress of processing of file..
I am using visual studio 2008, and C# language.
As Massimiliano’s answer implies, the reason for the white window is that you are performing processing on the UI thread. Since it is busy doing whatever (encrypting a file, by the looks of it), the thread isn’t free to draw the window.
Look into the BackgroundWorker class for good examples of how to do the processing on a background thread. There is an example about halfway down the page in the link above.