Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralInheriting ProxyAttribute Pin
Zgaddo13-Apr-05 2:56
Zgaddo13-Apr-05 2:56 
GeneralRe: Inheriting ProxyAttribute Pin
leppie13-Apr-05 3:02
leppie13-Apr-05 3:02 
GeneralODBC Pin
jobrown5vt13-Apr-05 2:36
jobrown5vt13-Apr-05 2:36 
GeneralRe: ODBC Pin
turbochimp13-Apr-05 3:19
turbochimp13-Apr-05 3:19 
GeneralRe: ODBC Pin
jobrown5vt13-Apr-05 4:34
jobrown5vt13-Apr-05 4:34 
GeneralRe: ODBC Pin
turbochimp13-Apr-05 5:13
turbochimp13-Apr-05 5:13 
GeneralStretching/Shrinking Images Pin
MarkMokris13-Apr-05 1:41
MarkMokris13-Apr-05 1:41 
GeneralRe: Stretching/Shrinking Images Pin
Mathew Hall13-Apr-05 2:21
Mathew Hall13-Apr-05 2:21 
You'll need to create a new Bitmap that is the desired size and then draw the original image onto the new bitmap:

Bitmap smallImage = new Bitmap(desiredX, desiredY);<br />
<br />
using (Graphics g = Graphics.FromImage(smallImage))<br />
{<br />
g.DrawImage(originalImage, new Rectangle(0, 0, desiredX, desiredY), 0, 0, originalImage.Width, originalImage.Height, GraphicsUnit.Pixel);<br />
}


"I think I speak on behalf of everyone here when I say huh?" - Buffy
GeneralData reading from ASP.NET to C# Pin
tgprakash13-Apr-05 1:25
tgprakash13-Apr-05 1:25 
GeneralRe: Data reading from ASP.NET to C# Pin
Esmo200013-Apr-05 4:27
Esmo200013-Apr-05 4:27 
GeneralRe: Data reading from ASP.NET to C# Pin
tgprakash13-Apr-05 20:17
tgprakash13-Apr-05 20:17 
GeneralMultiline Text input in PropertyGrid Pin
M. Noordam13-Apr-05 1:16
M. Noordam13-Apr-05 1:16 
GeneralRe: Multiline Text input in PropertyGrid Pin
MoustafaS13-Apr-05 4:48
MoustafaS13-Apr-05 4:48 
GeneralRe: Multiline Text input in PropertyGrid Pin
M. Noordam13-Apr-05 18:44
M. Noordam13-Apr-05 18:44 
GeneralDataView / DataBindings Pin
UschkinRedSunshine13-Apr-05 1:08
UschkinRedSunshine13-Apr-05 1:08 
GeneralI don't know how to use RandomNumberGenerator class. Pin
Mohammed Aijaz Mohiuddin13-Apr-05 0:47
Mohammed Aijaz Mohiuddin13-Apr-05 0:47 
GeneralRe: I don't know how to use RandomNumberGenerator class. Pin
hooray13-Apr-05 1:07
hooray13-Apr-05 1:07 
GeneralRe: I don't know how to use RandomNumberGenerator class. Pin
Sebastian Schneider13-Apr-05 1:32
Sebastian Schneider13-Apr-05 1:32 
GeneralData Grid: Row Based Control Pin
innocent7313-Apr-05 0:37
innocent7313-Apr-05 0:37 
General.NET 2.0 WebBrowser is flickering Pin
Anonymous13-Apr-05 0:07
Anonymous13-Apr-05 0:07 
GeneralRe: .NET 2.0 WebBrowser is flickering Pin
leppie13-Apr-05 5:09
leppie13-Apr-05 5:09 
GeneralRe: .NET 2.0 WebBrowser is flickering Pin
Anonymous13-Apr-05 6:03
Anonymous13-Apr-05 6:03 
GeneralRe: .NET 2.0 WebBrowser is flickering Pin
Dave Kreskowiak13-Apr-05 6:12
mveDave Kreskowiak13-Apr-05 6:12 
QuestionErratic datagrid behaviour? Pin
scotlandc12-Apr-05 22:53
scotlandc12-Apr-05 22:53 
QuestionRegistries????????? Pin
ddmcr12-Apr-05 22:53
ddmcr12-Apr-05 22: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.