Click here to Skip to main content
16,005,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to retrieve data from mysql database and display it into textbox in c# Pin
OriginalGriff20-Mar-12 1:14
mveOriginalGriff20-Mar-12 1:14 
AnswerRe: how to retrieve data from mysql database and display it into textbox in c# Pin
PIEBALDconsult20-Mar-12 3:42
mvePIEBALDconsult20-Mar-12 3:42 
QuestionHymns Pin
Bollyjames19-Mar-12 19:03
Bollyjames19-Mar-12 19:03 
AnswerRe: Hymns Pin
Mycroft Holmes19-Mar-12 20:52
professionalMycroft Holmes19-Mar-12 20:52 
AnswerRe: Hymns Pin
Abhinav S19-Mar-12 22:22
Abhinav S19-Mar-12 22:22 
AnswerRe: Hymns Pin
DaveyM6920-Mar-12 1:08
professionalDaveyM6920-Mar-12 1:08 
QuestionCAD system design Pin
Bollyjames19-Mar-12 18:58
Bollyjames19-Mar-12 18:58 
AnswerRe: CAD system design Pin
Alan Balkany21-Mar-12 4:54
Alan Balkany21-Mar-12 4:54 
The core of a CAD system is the capability to put objects on the screen, and move/resize them with the mouse. Start with this.

Your program will have a list of CAD objects, with their locations and sizes. When the user clicks the mouse, you get the coordinates they clicked, then go through your list to see if these coordinates are inside any of your objects. If so, the object is "selected".

If the user then moves the mouse (without releasing the button) you change the selected object's location, and update your display. Thus, the object appears to be following your mouse movements.

The next step is to attach resizing boxes to the selected object. When the user clicks and drags a resizing box, you resize the object rather than moving it.
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

Questioni have a global mouse hook working but.. Pin
gmes2919-Mar-12 14:07
gmes2919-Mar-12 14:07 
AnswerRe: i have a global mouse hook working but.. Pin
Dave Kreskowiak19-Mar-12 16:08
mveDave Kreskowiak19-Mar-12 16:08 
GeneralRe: i have a global mouse hook working but.. Pin
gmes2920-Mar-12 0:59
gmes2920-Mar-12 0:59 
Questionsame enumeration, different results? Pin
CCodeNewbie19-Mar-12 12:15
CCodeNewbie19-Mar-12 12:15 
AnswerRe: same enumeration, different results? Pin
PIEBALDconsult19-Mar-12 12:31
mvePIEBALDconsult19-Mar-12 12:31 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie19-Mar-12 12:39
CCodeNewbie19-Mar-12 12:39 
GeneralRe: same enumeration, different results? Pin
PIEBALDconsult19-Mar-12 12:43
mvePIEBALDconsult19-Mar-12 12:43 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie19-Mar-12 12:50
CCodeNewbie19-Mar-12 12:50 
GeneralRe: same enumeration, different results? Pin
PIEBALDconsult19-Mar-12 13:20
mvePIEBALDconsult19-Mar-12 13:20 
AnswerRe: same enumeration, different results? Pin
Luc Pattyn19-Mar-12 14:56
sitebuilderLuc Pattyn19-Mar-12 14:56 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie20-Mar-12 0:48
CCodeNewbie20-Mar-12 0:48 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie20-Mar-12 0:48
CCodeNewbie20-Mar-12 0:48 
GeneralRe: same enumeration, different results? Pin
PIEBALDconsult20-Mar-12 3:34
mvePIEBALDconsult20-Mar-12 3:34 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie20-Mar-12 8:29
CCodeNewbie20-Mar-12 8:29 
GeneralRe: same enumeration, different results? Pin
PIEBALDconsult20-Mar-12 11:03
mvePIEBALDconsult20-Mar-12 11:03 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie20-Mar-12 12:08
CCodeNewbie20-Mar-12 12:08 
GeneralRe: same enumeration, different results? Pin
CCodeNewbie20-Mar-12 2:30
CCodeNewbie20-Mar-12 2:30 

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.