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

C#

 
QuestionDatagridViewColumn displayIndex - column order wrong after setting them from control settings table. Pin
PoppysDad18-Feb-10 22:48
PoppysDad18-Feb-10 22:48 
AnswerRe: DatagridViewColumn displayIndex - column order wrong after setting them from control settings table. Pin
Vishal Bhatt115-Sep-10 22:58
Vishal Bhatt115-Sep-10 22:58 
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 
There are a some rectangular controls on a winform on which a dragdrop can happen.

When an item (which has a numeric value) is dragged over any of these controls, the control should show possible result by changing its shape (Increase area by numeric value).

This should be temporary. In case i move the item it out of the control without dropping, this change should revert back. Only in case the drop is done, the change should be permanent.

Now, this effect can be achieved using DragEnter and DragLeave. Currently, I am making the modification to the Control two times by adding the changes and removing the changes.

What I want to know now is whether it is possible to save the state of control so that it can be reverted back to the old state.

In reality, the changes are complicated than just adding area into the shape. But the concept remains same. Control needs to change temporarily and a simple method to restore its state needs to be achieved.

Is it possible?
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 
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 

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.