Click here to Skip to main content
16,015,274 members
Home / Discussions / C#
   

C#

 
AnswerRe: Text Box not in English Pin
I Believe In GOD2-Aug-10 3:28
I Believe In GOD2-Aug-10 3:28 
GeneralRe: Text Box not in English Pin
Bernhard Hiller2-Aug-10 4:03
Bernhard Hiller2-Aug-10 4:03 
GeneralRe: Text Box not in English Pin
I Believe In GOD2-Aug-10 5:32
I Believe In GOD2-Aug-10 5:32 
GeneralRe: Text Box not in English Pin
Maximilien2-Aug-10 8:23
Maximilien2-Aug-10 8:23 
GeneralRe: Text Box not in English Pin
Pete O'Hanlon2-Aug-10 8:26
mvePete O'Hanlon2-Aug-10 8:26 
AnswerRe: Text Box not in English Pin
Mustafa Ismail Mustafa3-Aug-10 6:01
Mustafa Ismail Mustafa3-Aug-10 6:01 
QuestionZoom in Picturebox using ScaleTransform Pin
ISharda1-Aug-10 23:21
ISharda1-Aug-10 23:21 
AnswerRe: Zoom in Picturebox using ScaleTransform Pin
Luc Pattyn2-Aug-10 1:08
sitebuilderLuc Pattyn2-Aug-10 1:08 
Hi,

no that won't work, as the Matrix stuff and the Transform methods only have their effect on the draw commands such as Graphics.DrawImage().

This would work, for some control, based on class members x, y, scale:

private void myControl_Paint(object sender, PaintEventArgs e) }
    Graphics g=e.Graphics;
    g.ScaleTransform(scale, scaale);
    g.DrawImage(myImage, x, y);
}


I would use a Panel for this, as a PictureBox is not helping a bit, all you need is a surface, a canvas, on which your drawing is happening. A PictureBox is meant for showing an image as is, not for drawing anything special.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Zoom in Picturebox using ScaleTransform Pin
ISharda2-Aug-10 2:58
ISharda2-Aug-10 2:58 
AnswerMessage Closed Pin
2-Aug-10 3:03
stancrm2-Aug-10 3:03 
GeneralRe: Zoom in Picturebox using ScaleTransform Pin
ISharda2-Aug-10 22:05
ISharda2-Aug-10 22:05 
Questionc# decorator pattern: how to pass the data from base to the last child object ? Pin
58831-Aug-10 15:44
58831-Aug-10 15:44 
AnswerRe: c# decorator pattern: how to pass the data from base to the last child object ? Pin
PIEBALDconsult1-Aug-10 17:30
mvePIEBALDconsult1-Aug-10 17:30 
GeneralRe: c# decorator pattern: how to pass the data from base to the last child object ? Pin
58832-Aug-10 15:35
58832-Aug-10 15:35 
AnswerRe: c# decorator pattern: how to pass the data from base to the last child object ? Pin
Bernhard Hiller1-Aug-10 21:25
Bernhard Hiller1-Aug-10 21:25 
Questiondbf creation Pin
mersad001-Aug-10 8:50
mersad001-Aug-10 8:50 
AnswerRe: dbf creation Pin
I Believe In GOD1-Aug-10 9:48
I Believe In GOD1-Aug-10 9:48 
AnswerRe: dbf creation Pin
Not Active1-Aug-10 12:29
mentorNot Active1-Aug-10 12:29 
GeneralRe: dbf creation Pin
PIEBALDconsult1-Aug-10 17:22
mvePIEBALDconsult1-Aug-10 17:22 
GeneralRe: dbf creation Pin
Not Active1-Aug-10 18:37
mentorNot Active1-Aug-10 18:37 
GeneralRe: dbf creation Pin
PIEBALDconsult2-Aug-10 2:48
mvePIEBALDconsult2-Aug-10 2:48 
GeneralRe: dbf creation Pin
Not Active2-Aug-10 3:11
mentorNot Active2-Aug-10 3:11 
QuestionRe: dbf creation Pin
mersad001-Aug-10 18:41
mersad001-Aug-10 18:41 
AnswerRe: dbf creation Pin
Bernhard Hiller1-Aug-10 21:32
Bernhard Hiller1-Aug-10 21:32 
AnswerRe: dbf creation Pin
Gerry Schmitz3-Aug-10 20:03
mveGerry Schmitz3-Aug-10 20:03 

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.