Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
AnswerRe: Designer calls to class constructor several times! Pin
Judah Gabriel Himango15-Sep-05 7:30
sponsorJudah Gabriel Himango15-Sep-05 7:30 
GeneralRe: Designer calls to class constructor several times! Pin
Lexa198315-Sep-05 8:19
Lexa198315-Sep-05 8:19 
GeneralRe: Designer calls to class constructor several times! Pin
Judah Gabriel Himango15-Sep-05 10:07
sponsorJudah Gabriel Himango15-Sep-05 10:07 
GeneralRe: Designer calls to class constructor several times! Pin
Lexa198315-Sep-05 11:21
Lexa198315-Sep-05 11:21 
QuestionPut part of a gif file into imagebox? Pin
Seraphin15-Sep-05 6:58
Seraphin15-Sep-05 6:58 
AnswerRe: Put part of a gif file into imagebox? Pin
Lexa198315-Sep-05 7:09
Lexa198315-Sep-05 7:09 
GeneralRe: Put part of a gif file into imagebox? Pin
Seraphin15-Sep-05 7:21
Seraphin15-Sep-05 7:21 
GeneralRe: Put part of a gif file into imagebox? Pin
Lexa198315-Sep-05 8:10
Lexa198315-Sep-05 8:10 
there is your code, I believe it works Smile | :)

<br />
//load needed image from file<br />
Image src = Image.FromFile(/*your image file name*/);<br />
<br />
Graphics gr = Graphics.FromImage(src);<br />
<br />
Point point = new Point(1, 0);<br />
<br />
for (int i=0; i<3; i++)<br />
{<br />
	//handles the pixels of separated image<br />
	Bitmap bitmap = new Bitmap(300, /*your image height*/, gr);<br />
			<br />
	//draw the needed part of entire image<br />
	gr.DrawImageUnscaled(src, point);<br />
<br />
	//make offset to next part<br />
	point.Offset(303, 0);<br />
<br />
	//save the destination image<br />
	bitmap.Save("filename.bmp", System.Drawing.Imaging.ImageFormat.Bmp);<br />
}<br />

GeneralRe: Put part of a gif file into imagebox? Pin
Seraphin15-Sep-05 9:45
Seraphin15-Sep-05 9:45 
Questiontreeview copy/paste Pin
xilefxilef15-Sep-05 6:50
xilefxilef15-Sep-05 6:50 
AnswerRe: treeview copy/paste Pin
Chals15-Sep-05 6:51
Chals15-Sep-05 6:51 
GeneralRe: treeview copy/paste Pin
xilefxilef15-Sep-05 7:36
xilefxilef15-Sep-05 7:36 
GeneralRe: treeview copy/paste Pin
Chals15-Sep-05 20:22
Chals15-Sep-05 20:22 
QuestionHow to get the last node of a TreeView Pin
Chals15-Sep-05 6:48
Chals15-Sep-05 6:48 
AnswerRe: How to get the last node of a TreeView Pin
xilefxilef15-Sep-05 6:59
xilefxilef15-Sep-05 6:59 
GeneralRe: How to get the last node of a TreeView Pin
Chals15-Sep-05 20:21
Chals15-Sep-05 20:21 
GeneralRe: How to get the last node of a TreeView Pin
xilefxilef17-Sep-05 9:59
xilefxilef17-Sep-05 9:59 
AnswerRe: How to get the last node of a TreeView Pin
Rcms Support29-Oct-17 20:02
Rcms Support29-Oct-17 20:02 
QuestionArraylists, Collections &amp; Dictionaries... Pin
raysot77715-Sep-05 5:41
raysot77715-Sep-05 5:41 
AnswerRe: Arraylists, Collections &amp; Dictionaries... Pin
Guffa15-Sep-05 6:18
Guffa15-Sep-05 6:18 
GeneralRe: Arraylists, Collections &amp; Dictionaries... Pin
raysot77715-Sep-05 16:05
raysot77715-Sep-05 16:05 
GeneralRe: Arraylists, Collections &amp; Dictionaries... Pin
Guffa15-Sep-05 20:38
Guffa15-Sep-05 20:38 
QuestionRemoting - Image problem Pin
The Liquidian15-Sep-05 4:30
The Liquidian15-Sep-05 4:30 
AnswerRe: Remoting - Image problem Pin
Judah Gabriel Himango15-Sep-05 7:24
sponsorJudah Gabriel Himango15-Sep-05 7:24 
QuestionUsing WebRequest / WebResponse Pin
Stefan_ Spenz15-Sep-05 3:41
Stefan_ Spenz15-Sep-05 3:41 

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.