Click here to Skip to main content
15,890,375 members
Home / Discussions / C#
   

C#

 
Generalon VC# .net package Pin
ppp00123-Feb-04 0:39
ppp00123-Feb-04 0:39 
GeneralRe: on VC# .net package Pin
Heath Stewart23-Feb-04 4:52
protectorHeath Stewart23-Feb-04 4:52 
Generalconverting string value to money data type Pin
Qamarwis23-Feb-04 0:37
Qamarwis23-Feb-04 0:37 
GeneralRe: converting string value to money data type Pin
Werdna23-Feb-04 4:07
Werdna23-Feb-04 4:07 
GeneralRe: converting string value to money data type Pin
Werdna23-Feb-04 4:08
Werdna23-Feb-04 4:08 
QuestionHow to mute audio? Pin
mdundek22-Feb-04 23:56
mdundek22-Feb-04 23:56 
AnswerRe: How to mute audio? Pin
Heath Stewart23-Feb-04 6:43
protectorHeath Stewart23-Feb-04 6:43 
GeneralColorPalette class Pin
Stephane David22-Feb-04 22:31
Stephane David22-Feb-04 22:31 
How can it be used?

The only thing I can do is retrieve the colors in the Entries.

How can I change them?

I'd like to change the palette of a 256 color gif.

So I have Bitmap MyBitmap = new Bitmap("file.gif");

I tried MyBitmap.Palette.Entries[0] = Drawing.Color.Black, but it does nothing as Entries is a read only properties.

How can I change the palette entries? Or how can I create a new ColorPalette?

Bitmap.Palette is a read / write property, but there is no constructor for the ColorPalette class, and the ColorPalette.Entries are read only Confused | :confused:
GeneralRe: ColorPalette class Pin
Heath Stewart23-Feb-04 9:20
protectorHeath Stewart23-Feb-04 9:20 
GeneralDisposing of Dynamic Controls Pin
Andy H22-Feb-04 22:15
Andy H22-Feb-04 22:15 
GeneralRemove text selection in an RTB Pin
Fleischen22-Feb-04 21:02
Fleischen22-Feb-04 21:02 
GeneraldirectX in C# Pin
waliop22-Feb-04 20:11
waliop22-Feb-04 20:11 
GeneralRe: directX in C# Pin
Chen Pang22-Feb-04 22:07
Chen Pang22-Feb-04 22:07 
Generallisting bitmap on ListView Pin
azusakt22-Feb-04 19:01
azusakt22-Feb-04 19:01 
GeneralRe: listing bitmap on ListView Pin
Werdna23-Feb-04 4:14
Werdna23-Feb-04 4:14 
QuestionHow to change Size of Array Pin
god4k22-Feb-04 18:23
god4k22-Feb-04 18:23 
AnswerRe: How to change Size of Array Pin
Tom Larsen22-Feb-04 18:28
Tom Larsen22-Feb-04 18:28 
AnswerRe: How to change Size of Array Pin
Corinna John22-Feb-04 20:28
Corinna John22-Feb-04 20:28 
GeneralRe: How to change Size of Array Pin
CWIZO23-Feb-04 2:54
CWIZO23-Feb-04 2:54 
AnswerRe: How to change Size of Array Pin
turbochimp25-Feb-04 11:21
turbochimp25-Feb-04 11:21 
QuestionSocketPermission usage? Pin
Dilys22-Feb-04 16:58
Dilys22-Feb-04 16:58 
GeneralOne question about drawing rectangles. Pin
weihua99@263.net22-Feb-04 13:58
weihua99@263.net22-Feb-04 13:58 
GeneralRe: One question about drawing rectangles. Pin
Corinna John22-Feb-04 20:43
Corinna John22-Feb-04 20:43 
GeneralMonitoring Activation Count Pin
kimsangwoo22-Feb-04 13:50
kimsangwoo22-Feb-04 13:50 
Questionhow to find out how much graphics card memory and how much RAM I have? Pin
SIDDHARTH_JAIN22-Feb-04 10:01
SIDDHARTH_JAIN22-Feb-04 10:01 

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.