Click here to Skip to main content
15,911,132 members
Home / Discussions / C#
   

C#

 
AnswerRe: avoiding delegates Pin
Nader Elshehabi29-Aug-06 3:46
Nader Elshehabi29-Aug-06 3:46 
GeneralRe: avoiding delegates Pin
BadKarma29-Aug-06 4:12
BadKarma29-Aug-06 4:12 
GeneralRe: avoiding delegates Pin
lushgrass29-Aug-06 16:49
lushgrass29-Aug-06 16:49 
AnswerRe: avoiding delegates Pin
Nader Elshehabi30-Aug-06 8:49
Nader Elshehabi30-Aug-06 8:49 
Questionsingletone class Pin
srinandan..29-Aug-06 1:36
srinandan..29-Aug-06 1:36 
AnswerRe: singletone class Pin
Stefan Troschuetz29-Aug-06 2:30
Stefan Troschuetz29-Aug-06 2:30 
AnswerRe: Singleton class Pin
Michael P Butler29-Aug-06 3:57
Michael P Butler29-Aug-06 3:57 
AnswerRe: singletone class Pin
led mike29-Aug-06 4:49
led mike29-Aug-06 4:49 
QuestionDirectShow and C#.Net Web application Pin
MilindThakkar29-Aug-06 1:22
MilindThakkar29-Aug-06 1:22 
Questionplay flash file in Picturebox? Pin
MudkiSekhon29-Aug-06 0:30
MudkiSekhon29-Aug-06 0:30 
AnswerRe: play flash file in Picturebox? Pin
Mohamed El Gohary29-Aug-06 1:16
Mohamed El Gohary29-Aug-06 1:16 
AnswerRe: play flash file in Picturebox? Pin
AB777129-Aug-06 1:18
AB777129-Aug-06 1:18 
GeneralRe: play flash file in Picturebox? Pin
MudkiSekhon29-Aug-06 1:47
MudkiSekhon29-Aug-06 1:47 
GeneralRe: play flash file in Picturebox? Pin
Dan Neely29-Aug-06 2:20
Dan Neely29-Aug-06 2:20 
GeneralRe: play flash file in Picturebox? Pin
AB777129-Aug-06 2:22
AB777129-Aug-06 2:22 
QuestionGet text value from image file Pin
M Riaz Bashir29-Aug-06 0:17
M Riaz Bashir29-Aug-06 0:17 
AnswerRe: Get text value from image file Pin
J4amieC29-Aug-06 0:34
J4amieC29-Aug-06 0:34 
Questionbitmap problem ??? help please ... Pin
cmpeng3429-Aug-06 0:00
cmpeng3429-Aug-06 0:00 
AnswerRe: bitmap problem ??? help please ... [modified] Pin
Ed.Poore29-Aug-06 1:18
Ed.Poore29-Aug-06 1:18 
1) Open the bitmap
2) Create a new bitmap with the same height / width and 16 bpp
3) Draw the original image onto the new bitmap's Graphics object
4) Save

using (Bitmap original = new Bitmap(filename))
{
  using (Bitmap newone = new Bitmap(original.Width, original.Height, PixelFormat.16bppRgb))
  {
    using (Graphics gfx = Graphics.FromImage(newone))
    {
      gfx.DrawImage(original, 0, 0);
    }
    newone.Save(outputfile, ImageFormat.Bmp);
  }
}


 -- modified at 8:27 Tuesday 29th August, 2006 

<div class="ForumSig"><hr>Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog<sup><font color="green">9</font></sup>

Ed</div>

Questiondynamically retrieving webcontrols in a web page Pin
Sonu.T28-Aug-06 23:58
Sonu.T28-Aug-06 23:58 
AnswerRe: dynamically retrieving webcontrols in a web page Pin
_AK_29-Aug-06 0:15
_AK_29-Aug-06 0:15 
QuestionAccessing Another Form's Value Pin
M Riaz Bashir28-Aug-06 23:51
M Riaz Bashir28-Aug-06 23:51 
AnswerRe: Accessing Another Form's Value Pin
M Riaz Bashir28-Aug-06 23:59
M Riaz Bashir28-Aug-06 23:59 
AnswerRe: Accessing Another Form's Value Pin
Michael P Butler29-Aug-06 1:06
Michael P Butler29-Aug-06 1:06 
GeneralThank you Mr Michael Pin
M Riaz Bashir29-Aug-06 1:09
M Riaz Bashir29-Aug-06 1:09 

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.