Click here to Skip to main content
16,006,013 members
Home / Discussions / C#
   

C#

 
AnswerRe: Displaying data in a table format Pin
half-life6-Nov-07 3:24
half-life6-Nov-07 3:24 
GeneralRe: Displaying data in a table format Pin
Deques6-Nov-07 4:01
Deques6-Nov-07 4:01 
GeneralRe: Displaying data in a table format Pin
half-life6-Nov-07 5:36
half-life6-Nov-07 5:36 
QuestionSet DatagridviewComboBox Column Default Value Pin
Noemi Katinka6-Nov-07 2:42
Noemi Katinka6-Nov-07 2:42 
AnswerRe: Set DatagridviewComboBox Column Default Value Pin
half-life6-Nov-07 3:23
half-life6-Nov-07 3:23 
GeneralRe: Set DatagridviewComboBox Column Default Value Pin
Noemi Katinka6-Nov-07 22:48
Noemi Katinka6-Nov-07 22:48 
QuestionMoving map in picture box!! Pin
padamraj6-Nov-07 2:34
padamraj6-Nov-07 2:34 
AnswerRe: Moving map in picture box!! Pin
Luc Pattyn6-Nov-07 2:41
sitebuilderLuc Pattyn6-Nov-07 2:41 
Hi,

forget the PictureBox; replace it by a regular Panel plus some code:
- some initialization to load the picture
- a Paint handler to paint the relevant part of the Image in the Panel, using one
of the many overloads of Graphics.DrawImage().

By adjusting the source rectangle (one of the parameters in DrawImage) you can get any
pan&zoom you want; to update the display, you should adjust the parameters and call
Panel.Invalidate().

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


QuestionBackColor [modified] Pin
half-life6-Nov-07 2:28
half-life6-Nov-07 2:28 
AnswerRe: BackColor Pin
Michael Sync6-Nov-07 3:34
Michael Sync6-Nov-07 3:34 
GeneralRe: BackColor Pin
half-life6-Nov-07 3:47
half-life6-Nov-07 3:47 
AnswerRe: BackColor Pin
Christian Wikander6-Nov-07 3:37
Christian Wikander6-Nov-07 3:37 
GeneralRe: BackColor Pin
half-life6-Nov-07 3:45
half-life6-Nov-07 3:45 
GeneralRe: BackColor Pin
Anthony Mushrow6-Nov-07 3:57
professionalAnthony Mushrow6-Nov-07 3:57 
GeneralRe: BackColor Pin
half-life6-Nov-07 5:28
half-life6-Nov-07 5:28 
AnswerRe: BackColor Pin
Christian Wikander6-Nov-07 3:57
Christian Wikander6-Nov-07 3:57 
GeneralRe: BackColor Pin
half-life6-Nov-07 5:25
half-life6-Nov-07 5:25 
QuestionTabPage (Or - What's Wrong With that Control??) Pin
half-life6-Nov-07 1:09
half-life6-Nov-07 1:09 
AnswerRe: TabPage (Or - What's Wrong With that Control??) Pin
Anthony Mushrow6-Nov-07 1:14
professionalAnthony Mushrow6-Nov-07 1:14 
GeneralRe: TabPage (Or - What's Wrong With that Control??) Pin
half-life6-Nov-07 1:31
half-life6-Nov-07 1:31 
GeneralRe: TabPage (Or - What's Wrong With that Control??) Pin
Nagy Vilmos6-Nov-07 1:57
professionalNagy Vilmos6-Nov-07 1:57 
GeneralRe: TabPage (Or - What's Wrong With that Control??) Pin
half-life6-Nov-07 2:31
half-life6-Nov-07 2:31 
AnswerRe: TabPage (Or - What's Wrong With that Control??) Pin
Tamimi - Code6-Nov-07 3:46
Tamimi - Code6-Nov-07 3:46 
GeneralRe: TabPage (Or - What's Wrong With that Control??) Pin
half-life6-Nov-07 5:23
half-life6-Nov-07 5:23 
AnswerRe: TabPage (Or - What's Wrong With that Control??) Pin
snorkie6-Nov-07 4:59
professionalsnorkie6-Nov-07 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.