Click here to Skip to main content
15,895,256 members
Home / Discussions / C#
   

C#

 
AnswerRe: DatagridViewColumn displayIndex - column order wrong after setting them from control settings table. Pin
Zombie_Inc18-Nov-10 20:24
Zombie_Inc18-Nov-10 20:24 
GeneralRe: DatagridViewColumn displayIndex - column order wrong after setting them from control settings table. Pin
henhao8-May-11 7:23
henhao8-May-11 7:23 
QuestionHow to check if Excel-workbook is empty? Pin
Thomas ST18-Feb-10 22:28
Thomas ST18-Feb-10 22:28 
AnswerRe: How to check if Excel-workbook is empty? Pin
Thomas ST18-Feb-10 22:41
Thomas ST18-Feb-10 22:41 
GeneralRe: How to check if Excel-workbook is empty? Pin
Member 766206128-Feb-11 21:40
Member 766206128-Feb-11 21:40 
QuestionTemporary Modification in a Control During Drag and Drop Pin
Som Shekhar18-Feb-10 22:11
Som Shekhar18-Feb-10 22:11 
AnswerRe: Temporary Modification in a Control During Drag and Drop Pin
Luc Pattyn19-Feb-10 0:26
sitebuilderLuc Pattyn19-Feb-10 0:26 
GeneralRe: Temporary Modification in a Control During Drag and Drop Pin
Som Shekhar19-Feb-10 0:35
Som Shekhar19-Feb-10 0:35 
OK. This is already there. Whenever there is a DragLeave event, the control checks if it was reshaped and then it draws itself once again after making changes back.

My question is how to save the details of control during DragEnter which can be easily resumed at DragLeave.

Serialization could be one solution. However implementing that within a class to handle itself, seems a bit tricky. Forms cannot be serialized easily.

So, basically I need a control that can save its state by serializing itself. When needed, it resumes from the serialized data. The fact that the control is on UI thread and it has to be a self managed code makes it tricky. I just need a clue how to implement this.
Questionproject using c#.net and sql server 2005 Pin
savitha87k18-Feb-10 20:37
savitha87k18-Feb-10 20:37 
AnswerRe: project using c#.net and sql server 2005 Pin
Saksida Bojan18-Feb-10 20:48
Saksida Bojan18-Feb-10 20:48 
QuestionHow to delete duplicate nodes from XML throgh C# Pin
deadlyabbas18-Feb-10 18:41
deadlyabbas18-Feb-10 18:41 
AnswerRe: How to delete duplicate nodes from XML throgh C# Pin
Saksida Bojan18-Feb-10 20:46
Saksida Bojan18-Feb-10 20:46 
QuestionSelect a HostName with Regex in C# ? Pin
Mohammad Dayyan18-Feb-10 17:19
Mohammad Dayyan18-Feb-10 17:19 
AnswerRe: Select a HostName with Regex in C# ? Pin
tonyonlinux18-Feb-10 18:05
tonyonlinux18-Feb-10 18:05 
GeneralRe: Select a HostName with Regex in C# ? Pin
Mohammad Dayyan18-Feb-10 21:55
Mohammad Dayyan18-Feb-10 21:55 
GeneralRe: Select a HostName with Regex in C# ? Pin
AspDotNetDev18-Feb-10 23:01
protectorAspDotNetDev18-Feb-10 23:01 
GeneralRe: Select a HostName with Regex in C# ? Pin
Mohammad Dayyan19-Feb-10 2:13
Mohammad Dayyan19-Feb-10 2:13 
AnswerRe: Select a HostName with Regex in C# ? Pin
AspDotNetDev18-Feb-10 20:17
protectorAspDotNetDev18-Feb-10 20:17 
GeneralRe: Select a HostName with Regex in C# ? Pin
OriginalGriff18-Feb-10 21:41
mveOriginalGriff18-Feb-10 21:41 
GeneralRe: Select a HostName with Regex in C# ? Pin
Gaurav Dudeja India18-Feb-10 21:43
Gaurav Dudeja India18-Feb-10 21:43 
GeneralRe: Select a HostName with Regex in C# ? Pin
AspDotNetDev18-Feb-10 21:44
protectorAspDotNetDev18-Feb-10 21:44 
GeneralRe: Select a HostName with Regex in C# ? Pin
Mohammad Dayyan18-Feb-10 21:54
Mohammad Dayyan18-Feb-10 21:54 
GeneralRe: Select a HostName with Regex in C# ? Pin
AspDotNetDev18-Feb-10 22:00
protectorAspDotNetDev18-Feb-10 22:00 
QuestionC# forms Changing and Keeping default Values Pin
Nexusfactor18-Feb-10 16:21
Nexusfactor18-Feb-10 16:21 
GeneralRe: C# forms Changing and Keeping default Values Pin
AspDotNetDev18-Feb-10 17:00
protectorAspDotNetDev18-Feb-10 17:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.