Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: ListView labeledit Pin
_Magnus_8-Sep-04 2:01
_Magnus_8-Sep-04 2:01 
Generalrefreshing datagrids Pin
Ashwin C8-Sep-04 0:23
Ashwin C8-Sep-04 0:23 
GeneralRe: refreshing datagrids Pin
Heath Stewart8-Sep-04 10:16
protectorHeath Stewart8-Sep-04 10:16 
Generalprevent new line in DataGrid Pin
BaraaSh7-Sep-04 23:41
BaraaSh7-Sep-04 23:41 
GeneralRe: prevent new line in DataGrid Pin
Mazdak8-Sep-04 1:47
Mazdak8-Sep-04 1:47 
GeneralRe: prevent new line in DataGrid Pin
BaraaSh8-Sep-04 3:48
BaraaSh8-Sep-04 3:48 
GeneralRe: prevent new line in DataGrid Pin
Heath Stewart8-Sep-04 10:15
protectorHeath Stewart8-Sep-04 10:15 
GeneralGraphics::DrawImage problem Pin
gijoebijoe7-Sep-04 23:19
gijoebijoe7-Sep-04 23:19 
I am doing an application in c# where i have 2 picture boxes.
In the first picture box i open a bitmap.
Then ,when i select a rectangle in this bitmap,the part of the image within the boundaries of the rectangle opens in the second picture box.
I cant actually open the part of the image (within the rectangle) as a separate image in the second picture box.
I used :
g=pictureBox2.CreateGraphics();
ImageAttributes remapAttributes;
ColorMap redToBlue;
redToBlue.oldColor = Color(255, 255, 0, 0);
redToBlue.newColor = Color(255, 0, 0, 255);
remapAttributes.SetRemapTable(1,&redToBlue);
g. DrawImage (globalImage,rect,zoomStart.X,zoomStart.Y,width,height,UnitPixel,remapAttributes,null,null);


but this code is giving many errors although its a copy from the one in the msdn.

please help
GeneralRe: Graphics::DrawImage problem Pin
mav.northwind8-Sep-04 0:10
mav.northwind8-Sep-04 0:10 
GeneralWH_JOURNALRECORD and WH_JOURNALPLAYBACK Pin
Hadi Fakhreddine7-Sep-04 21:11
Hadi Fakhreddine7-Sep-04 21:11 
Generalweb form divide problem Pin
amalatsliit7-Sep-04 20:12
amalatsliit7-Sep-04 20:12 
GeneralRe: web form divide problem Pin
duaneye20038-Sep-04 0:07
duaneye20038-Sep-04 0:07 
GeneralRe: web form divide problem Pin
PSK_8-Sep-04 1:04
PSK_8-Sep-04 1:04 
GeneralRe: web form divide problem Pin
duaneye20038-Sep-04 15:57
duaneye20038-Sep-04 15:57 
GeneralRe: web form divide problem Pin
amalatsliit8-Sep-04 18:19
amalatsliit8-Sep-04 18:19 
GeneralRe: web form divide problem Pin
PSK_9-Sep-04 0:56
PSK_9-Sep-04 0:56 
GeneralRe: web form divide problem Pin
amalatsliit9-Sep-04 17:25
amalatsliit9-Sep-04 17:25 
GeneralRe: web form divide problem Pin
Nick Parker8-Sep-04 9:51
protectorNick Parker8-Sep-04 9:51 
GeneralFiltering on time in a DataView Pin
WillemM7-Sep-04 20:04
WillemM7-Sep-04 20:04 
QuestionHow could i develop a running-once application Pin
ginee7-Sep-04 19:51
ginee7-Sep-04 19:51 
AnswerRe: How could i develop a running-once application Pin
mav.northwind7-Sep-04 20:37
mav.northwind7-Sep-04 20:37 
AnswerRe: How could i develop a running-once application Pin
Dave Kreskowiak8-Sep-04 7:25
mveDave Kreskowiak8-Sep-04 7:25 
AnswerRe: How could i develop a running-once application Pin
Nick Parker8-Sep-04 9:57
protectorNick Parker8-Sep-04 9:57 
GeneralDrag and Drop Pin
eggie57-Sep-04 17:32
eggie57-Sep-04 17:32 
GeneralRe: Drag and Drop Pin
Corinna John7-Sep-04 19:53
Corinna John7-Sep-04 19:53 

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.