Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: ADO.NET Pin
Dharma Dassanayake6-May-05 19:43
Dharma Dassanayake6-May-05 19:43 
GeneralRe: ADO.NET Pin
Polis Pilavas7-May-05 1:21
Polis Pilavas7-May-05 1:21 
GeneralRe: ADO.NET Pin
Dharma Dassanayake7-May-05 15:47
Dharma Dassanayake7-May-05 15:47 
GeneralRe: ADO.NET Pin
Polis Pilavas8-May-05 1:34
Polis Pilavas8-May-05 1:34 
Generalgetting "InvalidActiveXStateException" while using "AxWebBrowser" - HELP! Pin
Green Fuze5-May-05 15:27
Green Fuze5-May-05 15:27 
GeneralAssembly Files Pin
pmasknguyen5-May-05 13:19
pmasknguyen5-May-05 13:19 
GeneralMoving controls in a form and store/restore the position Pin
youssef5-May-05 12:46
youssef5-May-05 12:46 
GeneralRe: Moving controls in a form and store/restore the position Pin
MoustafaS5-May-05 13:47
MoustafaS5-May-05 13:47 
In the class level :
Point p = new Point(this.button1.Location.X,this.button1.Location.Y);
In the mouse down event :
void form1_mousedown()
{
//Write some code to add the point p to the config file ,Ican't remember how right now.
this.p = new Point(-e.X,-e.Y);
}
In the mouse move event :
void form1_mousemove()
{
if (e.Button == MouseButtons.Left)
{
Point mousepos = Control.MousePosition;
mousepos.Offset(this.p.X,this.p.Y);
this.button1.Location = mousepos;
}
}
QuestionHow to suspend drawing operation of a form ? Pin
DimaC5-May-05 12:02
DimaC5-May-05 12:02 
AnswerRe: How to suspend drawing operation of a form ? Pin
keith maddox6-May-05 2:56
keith maddox6-May-05 2:56 
GeneralRe: How to suspend drawing operation of a form ? Pin
DimaC6-May-05 3:03
DimaC6-May-05 3:03 
AnswerRe: How to suspend drawing operation of a form ? Pin
benjymous6-May-05 3:20
benjymous6-May-05 3:20 
GeneralRe: How to suspend drawing operation of a form ? Pin
DimaC6-May-05 3:31
DimaC6-May-05 3:31 
GeneralRe: How to suspend drawing operation of a form ? Pin
benjymous6-May-05 3:34
benjymous6-May-05 3:34 
GeneralRe: How to suspend drawing operation of a form ? Pin
DimaC6-May-05 3:39
DimaC6-May-05 3:39 
GeneralBinary serialization questions Pin
WujekSamoZlo5-May-05 11:09
WujekSamoZlo5-May-05 11:09 
GeneralRe: Binary serialization questions Pin
keith maddox6-May-05 2:46
keith maddox6-May-05 2:46 
GeneralRe: Binary serialization questions Pin
Mathew Hall7-May-05 21:30
Mathew Hall7-May-05 21:30 
Generalloading and display images(Bitmaps) Pin
malahat5-May-05 10:57
malahat5-May-05 10:57 
GeneralRe: loading and display images(Bitmaps) Pin
MoustafaS5-May-05 13:56
MoustafaS5-May-05 13:56 
GeneralPropertyGrid question Pin
bouli5-May-05 10:45
bouli5-May-05 10:45 
Generalconnecting to the net in a dialog window. Pin
Green Fuze5-May-05 8:44
Green Fuze5-May-05 8:44 
GeneralRe: connecting to the net in a dialog window. Pin
Dave Kreskowiak5-May-05 9:17
mveDave Kreskowiak5-May-05 9:17 
GeneralRe: connecting to the net in a dialog window. Pin
Green Fuze5-May-05 9:55
Green Fuze5-May-05 9:55 
GeneralRe: connecting to the net in a dialog window. Pin
Dave Kreskowiak5-May-05 17:38
mveDave Kreskowiak5-May-05 17:38 

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.