Click here to Skip to main content
15,881,380 members
Home / Discussions / C#
   

C#

 
QuestionCombobox control..........?? [modified] Pin
Hum Dum24-Jun-09 23:09
Hum Dum24-Jun-09 23:09 
AnswerRe: Combobox control..........?? Pin
padmanabhan N24-Jun-09 23:31
padmanabhan N24-Jun-09 23:31 
GeneralRe: Combobox control..........?? Pin
Hum Dum25-Jun-09 1:33
Hum Dum25-Jun-09 1:33 
QuestionReceive mail by C# code Pin
khosnur24-Jun-09 22:45
khosnur24-Jun-09 22:45 
AnswerRe: Receive mail by C# code Pin
stancrm24-Jun-09 23:00
stancrm24-Jun-09 23:00 
GeneralRe: Receive mail by C# code Pin
khosnur6-Jul-09 23:45
khosnur6-Jul-09 23:45 
GeneralRe: Receive mail by C# code Pin
khosnur6-Jul-09 23:47
khosnur6-Jul-09 23:47 
QuestionImage processing problem... Pin
S K Y24-Jun-09 22:08
S K Y24-Jun-09 22:08 
how can i change the contrast of the image at the same time changing brightness. my brightness can change. its working fine i want to change the contrast at the same time....can i use this method too ???

Bitmap image = new Bitmap("d:\\14.jpg");
            Bitmap bm = new Bitmap(image, 350, 300);

            System.Drawing.Bitmap TempBitmap = bm;
            float FinalValue = 0.5f;
            System.Drawing.Bitmap NewBitmap = new System.Drawing.Bitmap(TempBitmap.Width, TempBitmap.Height);
            System.Drawing.Graphics NewGraphics = System.Drawing.Graphics.FromImage(NewBitmap);
            float[][] FloatColorMatrix ={
            new float[] {1, 0, 0, 0, 0},
            new float[] {0, 1, 0, 0, 0},
            new float[] {0, 0, 1, 0, 0},
            new float[] {0, 0, 0, 1, 0},
            new float[] {FinalValue, FinalValue, FinalValue, 1, 1}
        };

            System.Drawing.Imaging.ColorMatrix NewColorMatrix = new System.Drawing.Imaging.ColorMatrix(FloatColorMatrix);
            System.Drawing.Imaging.ImageAttributes Attributes = new System.Drawing.Imaging.ImageAttributes();
            Attributes.SetColorMatrix(NewColorMatrix);
            NewGraphics.DrawImage(TempBitmap, new System.Drawing.Rectangle(0, 0, TempBitmap.Width, TempBitmap.Height), 0, 0, TempBitmap.Width, TempBitmap.Height, System.Drawing.GraphicsUnit.Pixel, Attributes);
            Attributes.Dispose();
            NewGraphics.Dispose();

           picDecode.Image = NewBitmap;


A S E L A

AnswerRe: Image processing problem... Pin
Christian Graus24-Jun-09 22:34
protectorChristian Graus24-Jun-09 22:34 
GeneralRe: Image processing problem... Pin
S K Y24-Jun-09 23:28
S K Y24-Jun-09 23:28 
GeneralRe: Image processing problem... Pin
Luc Pattyn24-Jun-09 23:57
sitebuilderLuc Pattyn24-Jun-09 23:57 
QuestionHow to retrive and save the attachments of the Mail from Pop3. Pin
Nekkantidivya24-Jun-09 21:32
Nekkantidivya24-Jun-09 21:32 
AnswerRe: How to retrive and save the attachments of the Mail from Pop3. Pin
Christian Graus24-Jun-09 21:46
protectorChristian Graus24-Jun-09 21:46 
Questionimporting table to another database Pin
leone24-Jun-09 20:36
leone24-Jun-09 20:36 
AnswerRe: importing table to another database Pin
Mycroft Holmes24-Jun-09 20:45
professionalMycroft Holmes24-Jun-09 20:45 
GeneralRe: importing table to another database Pin
leone25-Jun-09 1:15
leone25-Jun-09 1:15 
GeneralRe: importing table to another database Pin
Mycroft Holmes25-Jun-09 1:48
professionalMycroft Holmes25-Jun-09 1:48 
QuestionDifference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Ersan Ercek24-Jun-09 20:28
Ersan Ercek24-Jun-09 20:28 
AnswerRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Mycroft Holmes24-Jun-09 20:51
professionalMycroft Holmes24-Jun-09 20:51 
JokeRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Ersan Ercek24-Jun-09 21:05
Ersan Ercek24-Jun-09 21:05 
GeneralRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Mycroft Holmes24-Jun-09 23:10
professionalMycroft Holmes24-Jun-09 23:10 
QuestionPassing SQL Statement --- What am I doing Wrong? --- Pin
JollyMansArt24-Jun-09 20:13
JollyMansArt24-Jun-09 20:13 
AnswerRe: Passing SQL Statement --- What am I doing Wrong? --- Pin
himanshu256124-Jun-09 20:29
himanshu256124-Jun-09 20:29 
AnswerRe: Passing SQL Statement --- What am I doing Wrong? --- Pin
AtinMaheshwari24-Jun-09 20:38
AtinMaheshwari24-Jun-09 20:38 
AnswerRe: Passing SQL Statement --- What am I doing Wrong? --- Pin
Niladri_Biswas25-Jun-09 6:04
Niladri_Biswas25-Jun-09 6:04 

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.