The Form class, like all Control descendants has a ToBitmap method, I don't know if you might be able to make use of that.
I hesitate to expand on my answer, since to me a Minimized Form has no graphical representation to put in an image. When minimized a Form is only shown in the TaskBar, and then only if the appropriate properties are set.
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
You are absolutly correct on this, the form has not graphical representation, but how does M$ do it, when you look at vista or win7 thay can make an thumbnail of an window thats minimized... Thanks for the reply...
With great code, comes great complexity, so keep it simple stupid...
I need to clear all the Control field's - (Radiobuttonlist, Dropdownlist, Textboxes and Fileupload) values on a button click. I am able to do for Radiobuttonlist, Dropdownlist and Textboxes but not able to do for FileUpload control. Can anyone please help me out in this. Thanks in advance
But I want to make a user control in which I can allow the user to see row numbering and the selection check box. numbering is not so important but check box is keen requirement. And I want to give the check box option in the properties window so that in some cases if we dont want to show check box it will not generated. Iæve in mind that there is onpaint method where I've to write code but how I just want a move.
(This GV will be used very frequently in my appplication so that plz reply soon I wnat to develop it as soon as possible)
We are going to make PDF file from image tiff. Also we have co-ordinate information of the text. Now we want to hide the text in specified position. Is this dll has facility to hide the text in specified position?
actually i am using itextsharp.
i am able draw text in specified position by using coordinate but i want to hide that text means the text is show in invisible mode.
when we select the pdf text and copy to text or word he shows there..!!
so if there is any example to how to do this would be great help for me.
I am trying to pass a datatable as a parameter to a stored procedure. my sql server is 2008.
Also my database transactions happens with the class from enterprise library January 2006.
Following is my code:
DataTable dt = new DataTable();
DataColumn dcol = new DataColumn("Col1", typeof(int));
dr = dt.NewRow();
dr["Col1"] = 1;
SqlParameter parameter = new SqlParameter("@MenuRights", SqlDbType.Structured);
parameter.Value = dt;