Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
QuestionDataGrideView Pin
hadad5-May-07 20:17
hadad5-May-07 20:17 
AnswerRe: DataGrideView Pin
Muammar©5-May-07 23:38
Muammar©5-May-07 23:38 
AnswerRe: DataGrideView Pin
AFSEKI7-May-07 2:29
AFSEKI7-May-07 2:29 
QuestionMultiple Picture Boxes Pin
JMOdom5-May-07 20:01
JMOdom5-May-07 20:01 
AnswerRe: Multiple Picture Boxes Pin
BoneSoft5-May-07 20:41
BoneSoft5-May-07 20:41 
AnswerRe: Multiple Picture Boxes Pin
Arun.Immanuel5-May-07 21:17
Arun.Immanuel5-May-07 21:17 
AnswerRe: Multiple Picture Boxes Pin
AFSEKI7-May-07 2:37
AFSEKI7-May-07 2:37 
QuestionGet a palette from a clipped bitmap Pin
Sunset Towers5-May-07 16:25
Sunset Towers5-May-07 16:25 
I have a screen shot that I want to analyze. Rather than do it pixel by pixel I am cutting up the screen shot into different sections. I want to analyze the palette and if a certain range of colors exist then do some additional processing.

<br />
Bitmap test = new Bitmap(pictureBox1.Image).Clone(new Rectangle(0,0,100,50), System.Drawing.Imaging.PixelFormat.);<br />
Color[] Entries = test.Palette.Entries;<br />
foreach (Color colorSearch in Entries)<br />
{<br />
}<br />


However, with the above code the palette has no Palette.Entries. Is there a way to force palette creation on the bitmap or do I need to use a different image format(Something I hadn't thought until now).
I attempted to try and force the Format8bppIndexed enum from PixelFormat, but that failed with an out of memory error. I'm assuming because there are more than 256 colors in the rectangle.

Another idea I had, but have no clue how to implement, is to change all the colors that are similar to a single color. But I think that still won't work without a palette. I honestly have no idea here.
AnswerRe: Get a palette from a clipped bitmap Pin
Sunset Towers6-May-07 1:14
Sunset Towers6-May-07 1:14 
QuestionConvert the color image into the sketch in Visual Studio C# .Net Pin
zeeShan anSari5-May-07 10:33
zeeShan anSari5-May-07 10:33 
QuestionBluetooth.Net not supported on this device !! Pin
NiZaR.TecH5-May-07 8:44
NiZaR.TecH5-May-07 8:44 
AnswerRe: Bluetooth.Net not supported on this device !! Pin
Dave Kreskowiak5-May-07 18:11
mveDave Kreskowiak5-May-07 18:11 
GeneralRe: Bluetooth.Net not supported on this device !! Pin
NiZaR.TecH6-May-07 1:52
NiZaR.TecH6-May-07 1:52 
GeneralRe: Bluetooth.Net not supported on this device !! Pin
Dave Kreskowiak6-May-07 4:11
mveDave Kreskowiak6-May-07 4:11 
GeneralRe: Bluetooth.Net not supported on this device !! Pin
NiZaR.TecH10-May-07 6:12
NiZaR.TecH10-May-07 6:12 
QuestionC# Windows Application seems to be not responding! Pin
Adeel Chaudhry5-May-07 8:24
Adeel Chaudhry5-May-07 8:24 
AnswerRe: C# Windows Application seems to be not responding! Pin
Giorgi Dalakishvili5-May-07 8:38
mentorGiorgi Dalakishvili5-May-07 8:38 
GeneralRe: C# Windows Application seems to be not responding! Pin
Adeel Chaudhry5-May-07 8:55
Adeel Chaudhry5-May-07 8:55 
GeneralRe: C# Windows Application seems to be not responding! Pin
Giorgi Dalakishvili5-May-07 9:12
mentorGiorgi Dalakishvili5-May-07 9:12 
AnswerRe: C# Windows Application seems to be not responding! Pin
Rob Graham5-May-07 8:46
Rob Graham5-May-07 8:46 
GeneralRe: C# Windows Application seems to be not responding! Pin
Adeel Chaudhry5-May-07 8:58
Adeel Chaudhry5-May-07 8:58 
GeneralRe: C# Windows Application seems to be not responding! Pin
Adeel Chaudhry6-May-07 4:20
Adeel Chaudhry6-May-07 4:20 
AnswerRe: C# Windows Application seems to be not responding! Pin
AFSEKI7-May-07 2:47
AFSEKI7-May-07 2:47 
Questionload combobox from xml [modified] Pin
Planker5-May-07 3:48
Planker5-May-07 3:48 
AnswerRe: load combobox from xml Pin
CPallini5-May-07 6:23
mveCPallini5-May-07 6:23 

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.