Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generic event, or raise event based on generic type. Pin
Wendelius14-Jan-09 11:59
mentorWendelius14-Jan-09 11:59 
GeneralRe: Generic event, or raise event based on generic type. Pin
DaveyM6915-Jan-09 3:13
professionalDaveyM6915-Jan-09 3:13 
GeneralRe: Generic event, or raise event based on generic type. Pin
Wendelius15-Jan-09 3:19
mentorWendelius15-Jan-09 3:19 
GeneralRe: Generic event, or raise event based on generic type. Pin
DaveyM6915-Jan-09 4:01
professionalDaveyM6915-Jan-09 4:01 
GeneralRe: Generic event, or raise event based on generic type. Pin
Wendelius15-Jan-09 10:27
mentorWendelius15-Jan-09 10:27 
GeneralRe: Generic event, or raise event based on generic type. [modified] Pin
DaveyM6915-Jan-09 23:08
professionalDaveyM6915-Jan-09 23:08 
GeneralRe: Generic event, or raise event based on generic type. Pin
Wendelius15-Jan-09 23:25
mentorWendelius15-Jan-09 23:25 
QuestionKeep current view centered on Zoom Pin
Richard Blythe12-Jan-09 7:16
Richard Blythe12-Jan-09 7:16 
I'm developing a drawing app and I'm using a UserControl as a basis to paint on. Everything is working fine but I'm wanting to keep the current view centered when a ZoomIn/ZoomOut operation occurs. For instance, if the user is working on a Rectangle and wants to zoom in closer, he would want the rectangle to stay in focus instead of scaling out of bounds. In my initial test, I can't figure out how microsoft calculates the position of the scrollbar handle and therefore I can't perform any centering algorithms. I don't want to center the whole document, just the area where the user is currently scrolled to.
Any help would be greatly appreciated!!

Richard

My code this week has no errors. But it's Monday morning and I haven't got out of bed.

AnswerRe: Keep current view centered on Zoom [modified] Pin
Luc Pattyn12-Jan-09 8:01
sitebuilderLuc Pattyn12-Jan-09 8:01 
GeneralRe: Keep current view centered on Zoom Pin
Richard Blythe12-Jan-09 9:10
Richard Blythe12-Jan-09 9:10 
QuestionAddress Pin
boiDev12-Jan-09 6:56
boiDev12-Jan-09 6:56 
AnswerRe: Address Pin
EliottA12-Jan-09 7:21
EliottA12-Jan-09 7:21 
GeneralRe: Address Pin
boiDev12-Jan-09 11:25
boiDev12-Jan-09 11:25 
GeneralRe: Address Pin
EliottA12-Jan-09 11:29
EliottA12-Jan-09 11:29 
GeneralRe: Address Pin
boiDev12-Jan-09 11:43
boiDev12-Jan-09 11:43 
GeneralRe: Address Pin
EliottA12-Jan-09 12:28
EliottA12-Jan-09 12:28 
Questionincreasing panel size Pin
jananiSreedhar12-Jan-09 6:11
jananiSreedhar12-Jan-09 6:11 
AnswerRe: increasing panel size Pin
User 665812-Jan-09 6:18
User 665812-Jan-09 6:18 
AnswerRe: increasing panel size Pin
EliottA12-Jan-09 6:23
EliottA12-Jan-09 6:23 
QuestionString in UTF-8 format was inserted to DB Pin
Miro7712-Jan-09 5:44
Miro7712-Jan-09 5:44 
AnswerRe: String in UTF-8 format was inserted to DB Pin
Ben Fair12-Jan-09 8:06
Ben Fair12-Jan-09 8:06 
GeneralRe: String in UTF-8 format was inserted to DB Pin
Miro7712-Jan-09 20:23
Miro7712-Jan-09 20:23 
AnswerRe: String in UTF-8 format was inserted to DB Pin
Guffa12-Jan-09 13:34
Guffa12-Jan-09 13:34 
QuestionHow to create a class that can be used like a DataTable? Pin
Michael Sync12-Jan-09 4:57
Michael Sync12-Jan-09 4:57 
AnswerRe: How to create a class that can be used like a DataTable? Pin
Moim Hossain12-Jan-09 4:59
Moim Hossain12-Jan-09 4:59 

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.