Click here to Skip to main content
15,917,709 members
Home / Discussions / C#
   

C#

 
Questionedabout the Tapi3 by devang_binson Pin
sharapova8-Nov-05 3:36
sharapova8-Nov-05 3:36 
QuestionBitmap - show a rectangle area only Pin
Seraphin8-Nov-05 3:21
Seraphin8-Nov-05 3:21 
I don't know whats the failure of this code:

			Image src = Image.FromFile(@"C:\_sc\test.bmp");<br />
<br />
			Graphics gr = Graphics.FromImage(src);<br />
			gr.DrawImageUnscaled(src, 10, 10, 50, 50);<br />
			Bitmap bmp = new Bitmap(50, 50, gr);<br />
			pcCuted.Image = bmp;<br />
			pcCuted.Invalidate();


I load the test.bmp and redraw it new. So I make a new rectangle (50w,50h) and want to put only this area into the pcCuted Picturebox. Doesn't work.
Any way to do it right?
AnswerRe: Bitmap - show a rectangle area only Pin
J4amieC8-Nov-05 3:55
J4amieC8-Nov-05 3:55 
GeneralRe: Also, this doesn't work Pin
Seraphin8-Nov-05 4:09
Seraphin8-Nov-05 4:09 
GeneralRe: Also, this doesn't work Pin
J4amieC8-Nov-05 4:43
J4amieC8-Nov-05 4:43 
GeneralRe: Also, this doesn't work Pin
Seraphin8-Nov-05 5:05
Seraphin8-Nov-05 5:05 
GeneralRe: Also, this doesn't work Pin
[Marc]8-Nov-05 8:54
[Marc]8-Nov-05 8:54 
Questionusing multiple PC's to solve a problem Pin
Mridang Agarwalla8-Nov-05 2:30
Mridang Agarwalla8-Nov-05 2:30 
QuestionMAPI Pin
domyansumit8-Nov-05 1:23
domyansumit8-Nov-05 1:23 
QuestionWriting XSL file Pin
hellamasta8-Nov-05 0:10
hellamasta8-Nov-05 0:10 
QuestionWriting an XSL file Pin
hellamasta8-Nov-05 0:07
hellamasta8-Nov-05 0:07 
QuestionDataGridBoolColumn Pin
sameerbhise.pspl7-Nov-05 23:55
sameerbhise.pspl7-Nov-05 23:55 
AnswerRe: DataGridBoolColumn Pin
Heath Stewart8-Nov-05 7:08
protectorHeath Stewart8-Nov-05 7:08 
QuestionHi All Please Help in this Pin
ArunNeyaaSoft7-Nov-05 23:52
ArunNeyaaSoft7-Nov-05 23:52 
AnswerRe: Hi All Please Help in this Pin
J4amieC8-Nov-05 3:47
J4amieC8-Nov-05 3:47 
Questionformatting decimal number c# Pin
fady_sayegh7-Nov-05 23:46
fady_sayegh7-Nov-05 23:46 
AnswerRe: formatting decimal number c# Pin
Craig G Fraser7-Nov-05 23:57
Craig G Fraser7-Nov-05 23:57 
QuestionHow &amp;New on toolbar will let ALT + N to work Pin
Rizwan Bashir7-Nov-05 22:56
Rizwan Bashir7-Nov-05 22:56 
AnswerRe: How &amp;amp;New on toolbar will let ALT + N to work Pin
Heath Stewart8-Nov-05 7:03
protectorHeath Stewart8-Nov-05 7:03 
QuestionHow to make toolbar Pin
A.Grover7-Nov-05 22:54
A.Grover7-Nov-05 22:54 
AnswerRe: How to make toolbar Pin
FriendlyFiend7-Nov-05 23:37
FriendlyFiend7-Nov-05 23:37 
GeneralRe: How to make toolbar Pin
A.Grover10-Nov-05 0:15
A.Grover10-Nov-05 0:15 
QuestionVS2005 - MessageQueue Namespace Pin
Craig G Fraser7-Nov-05 22:42
Craig G Fraser7-Nov-05 22:42 
AnswerRe: VS2005 - MessageQueue Namespace Pin
Judah Gabriel Himango8-Nov-05 5:55
sponsorJudah Gabriel Himango8-Nov-05 5:55 
GeneralRe: VS2005 - MessageQueue Namespace Pin
Craig G Fraser9-Nov-05 1:13
Craig G Fraser9-Nov-05 1:13 

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.