Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
QuestionSyntax Highlighting in VS Pin
the_traveller25-Jan-06 6:39
the_traveller25-Jan-06 6:39 
QuestionRowUpdating Event Pin
lordofcsharp25-Jan-06 4:38
lordofcsharp25-Jan-06 4:38 
AnswerRe: RowUpdating Event Pin
J4amieC25-Jan-06 4:51
J4amieC25-Jan-06 4:51 
GeneralRe: RowUpdating Event Pin
lordofcsharp25-Jan-06 5:01
lordofcsharp25-Jan-06 5:01 
QuestionNetSend problem Pin
razi3lll25-Jan-06 3:53
razi3lll25-Jan-06 3:53 
AnswerRe: NetSend problem Pin
Dave Kreskowiak25-Jan-06 4:28
mveDave Kreskowiak25-Jan-06 4:28 
QuestionHelp me Pin
ltxuan25-Jan-06 3:52
ltxuan25-Jan-06 3:52 
AnswerRe: Help me Pin
Dave Kreskowiak25-Jan-06 4:22
mveDave Kreskowiak25-Jan-06 4:22 
AnswerRe: Help me Pin
Drew McGhie25-Jan-06 9:20
Drew McGhie25-Jan-06 9:20 
QuestionConsole that changes directory. Pin
Mitchell McCollum25-Jan-06 3:20
Mitchell McCollum25-Jan-06 3:20 
AnswerRe: Console that changes directory. Pin
leppie25-Jan-06 3:41
leppie25-Jan-06 3:41 
AnswerRe: Console that changes directory. Pin
Dave Kreskowiak25-Jan-06 4:20
mveDave Kreskowiak25-Jan-06 4:20 
GeneralRe: Console that changes directory. Pin
Mitchell McCollum25-Jan-06 7:18
Mitchell McCollum25-Jan-06 7:18 
GeneralRe: Console that changes directory. Pin
SeanCM25-Jan-06 8:12
SeanCM25-Jan-06 8:12 
AnswerRe: Console that changes directory. Pin
mde130021-Sep-09 10:45
mde130021-Sep-09 10:45 
QuestionGetting Mouse Scroll Wheel info Pin
NewbieDude25-Jan-06 2:58
NewbieDude25-Jan-06 2:58 
AnswerRe: Getting Mouse Scroll Wheel info Pin
DigitalKing25-Jan-06 9:59
DigitalKing25-Jan-06 9:59 
GeneralRe: Getting Mouse Scroll Wheel info Pin
NewbieDude25-Jan-06 19:06
NewbieDude25-Jan-06 19:06 
AnswerRe: Getting Mouse Scroll Wheel info Pin
DigitalKing25-Jan-06 20:11
DigitalKing25-Jan-06 20:11 
If you're working with images, the ImageBox control is the best choice. However, it lacks some crucial functionality. To implement scrolling and panning, you might be interested in this article:

http://www.codeproject.com/cs/miscctrl/zoompancontrol.asp

You could start with the your own version of the scrolling picturebox control, and add the code above to it. When the mouse wheel is rolled, check the cursor position over the control. Center the image at the cursor position (using AutoScrollPosition and the related fields), and then do the zoom-in.
GeneralRe: Getting Mouse Scroll Wheel info Pin
NewbieDude25-Jan-06 22:30
NewbieDude25-Jan-06 22:30 
GeneralRe: Getting Mouse Scroll Wheel info Pin
DigitalKing26-Jan-06 5:08
DigitalKing26-Jan-06 5:08 
AnswerRe: Getting Mouse Scroll Wheel info Pin
microsoc25-Jan-06 17:04
microsoc25-Jan-06 17:04 
Questionpass a variable to a report Pin
steve1_rm200025-Jan-06 2:45
steve1_rm200025-Jan-06 2:45 
Question.net 2.0 substring Pin
fmardani25-Jan-06 2:27
fmardani25-Jan-06 2:27 
AnswerRe: .net 2.0 substring Pin
Guffa25-Jan-06 2:45
Guffa25-Jan-06 2:45 

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.